/packages/apps/Settings/src/com/android/settings/password/ |
D | ScreenLockType.java | 65 public final String preferenceKey; field in ScreenLockType 67 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument 68 this(quality, quality, preferenceKey); in ScreenLockType() 71 ScreenLockType(int defaultQuality, int maxQuality, String preferenceKey) { in ScreenLockType() argument 74 this.preferenceKey = preferenceKey; in ScreenLockType() 104 if (lock.preferenceKey.equals(key)) { in fromKey()
|
D | ChooseLockGeneric.java | 448 findPreference(ScreenLockType.NONE.preferenceKey).setViewId(R.id.lock_none); in addPreferences() 450 findPreference(ScreenLockType.PIN.preferenceKey).setViewId(R.id.lock_pin); in addPreferences() 451 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password); in addPreferences() 467 removePreference(ScreenLockType.MANAGED.preferenceKey); in updatePreferenceText() 476 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle() 483 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle() 490 Preference preference = findPreference(lock.preferenceKey); in setPreferenceSummary() 508 return ScreenLockType.NONE.preferenceKey; in getKeyForCurrent() 513 return lock != null ? lock.preferenceKey : null; in getKeyForCurrent() 543 String key = lock.preferenceKey; in disableUnusablePreferencesImpl() [all …]
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditMedicalInfoFragment.java | 43 String preferenceKey = PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO[i]; in onCreatePreferences() local 45 Preference preference = findPreference(preferenceKey); in onCreatePreferences() 92 for (String preferenceKey : PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO) { in reloadFromPreference() 94 findPreference(preferenceKey); in reloadFromPreference()
|
D | EditInfoFragment.java | 58 for (String preferenceKey : PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO) { in onCreatePreferences() 59 Preference preference = findPreference(preferenceKey); in onCreatePreferences() 60 mMedicalInfoPreferences.put(preferenceKey, preference); in onCreatePreferences()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 334 private int getValueFromSeekBarProgress(String preferenceKey, int progress) { in getValueFromSeekBarProgress() argument 335 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getValueFromSeekBarProgress() 337 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getValueFromSeekBarProgress() 347 private int getSeekBarProgressFromValue(String preferenceKey, int value) { in getSeekBarProgressFromValue() argument 348 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getSeekBarProgressFromValue() 350 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getSeekBarProgressFromValue()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewEmergencyInfoFragment.java | 42 for (String preferenceKey : PreferenceKeys.KEYS_VIEW_EMERGENCY_INFO) { in onCreatePreferences() 43 Preference preference = findPreference(preferenceKey); in onCreatePreferences()
|
/packages/apps/Settings/tests/app/src/com/android/settings/ |
D | SettingsPreferenceFragmentTest.java | 64 final String preferenceKey = preference.getKey(); in testHighlightCaptions() local 65 if (preferenceKey.equals(prefKey)) { in testHighlightCaptions()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAutoclickPreferenceFragment.java | 97 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { in onPreferenceToggled() argument 98 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0); in onPreferenceToggled() local
|
D | AccessibilityShortcutPreferenceFragment.java | 101 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { in onPreferenceToggled() argument 102 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0); in onPreferenceToggled() local
|
D | ToggleScreenMagnificationPreferenceFragment.java | 178 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { in onPreferenceToggled() argument 179 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0); in onPreferenceToggled() local
|
D | ToggleAccessibilityServicePreferenceFragment.java | 105 public void onPreferenceToggled(String preferenceKey, boolean enabled) { in onPreferenceToggled() argument 106 ComponentName toggledService = ComponentName.unflattenFromString(preferenceKey); in onPreferenceToggled()
|
D | ToggleDaltonizerPreferenceFragment.java | 65 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { in onPreferenceToggled() argument
|
D | ToggleFeaturePreferenceFragment.java | 91 protected abstract void onPreferenceToggled(String preferenceKey, boolean enabled); in onPreferenceToggled() argument
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | SpareParts.java | 75 PreferenceGroup parentPreferenceGroup, String preferenceKey, int flags) { in updatePreferenceToSpecificActivityOrRemove() argument 77 Preference preference = parentPreferenceGroup.findPreference(preferenceKey); in updatePreferenceToSpecificActivityOrRemove()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsPreferenceFragment.java | 427 final String preferenceKey = preference.getKey(); in findListPositionFromKey() local 428 if (preferenceKey != null && preferenceKey.equals(key)) { in findListPositionFromKey()
|
D | SecuritySettings.java | 463 private void disableIfPasswordQualityManaged(String preferenceKey, int userId) { in disableIfPasswordQualityManaged() argument 469 (RestrictedPreference) getPreferenceScreen().findPreference(preferenceKey); in disableIfPasswordQualityManaged()
|
D | Utils.java | 171 PreferenceGroup parentPreferenceGroup, String preferenceKey, int flags) { in updatePreferenceToSpecificActivityOrRemove() argument 173 Preference preference = parentPreferenceGroup.findPreference(preferenceKey); in updatePreferenceToSpecificActivityOrRemove()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/ |
D | AppPermissionsFragmentWear.java | 405 private void setPreferenceCheckedIfPresent(String preferenceKey, boolean checked) { in setPreferenceCheckedIfPresent() argument 406 Preference pref = findPreference(preferenceKey); in setPreferenceCheckedIfPresent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ScreenLockTypeTest.java | 61 assertThat(ScreenLockType.fromKey(lock.preferenceKey)).isEqualTo(lock); in fromKey_shouldReturnLockWithGivenKey()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/ |
D | ToggleFeaturePreferenceFragmentTest.java | 73 protected void onPreferenceToggled(String preferenceKey, boolean enabled) {} in onPreferenceToggled() argument
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintServiceSettingsFragment.java | 187 private void onPreferenceToggled(String preferenceKey, boolean enabled) { in onPreferenceToggled() argument
|