Home
last modified time | relevance | path

Searched refs:preferenceKey (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/packages/apps/Settings/src/com/android/settings/password/
DScreenLockType.java62 public final String preferenceKey; field in ScreenLockType
64 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument
65 this(quality, quality, preferenceKey); in ScreenLockType()
68 ScreenLockType(int defaultQuality, int maxQuality, String preferenceKey) { in ScreenLockType() argument
71 this.preferenceKey = preferenceKey; in ScreenLockType()
101 if (lock.preferenceKey.equals(key)) { in fromKey()
DChooseLockGeneric.java510 findPreference(ScreenLockType.NONE.preferenceKey).setViewId(R.id.lock_none); in addPreferences()
513 findPreference(ScreenLockType.PIN.preferenceKey).setViewId(R.id.lock_pin); in addPreferences()
514 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password); in addPreferences()
557 removePreference(ScreenLockType.MANAGED.preferenceKey); in updatePreferenceText()
569 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle()
576 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle()
583 Preference preference = findPreference(lock.preferenceKey); in setPreferenceSummary()
601 return ScreenLockType.NONE.preferenceKey; in getKeyForCurrent()
606 return lock != null ? lock.preferenceKey : null; in getKeyForCurrent()
636 String key = lock.preferenceKey; in disableUnusablePreferencesImpl()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DScreenLockType.java62 public final String preferenceKey; field in ScreenLockType
64 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument
65 this(quality, quality, preferenceKey); in ScreenLockType()
68 ScreenLockType(int defaultQuality, int maxQuality, String preferenceKey) { in ScreenLockType() argument
71 this.preferenceKey = preferenceKey; in ScreenLockType()
101 if (lock.preferenceKey.equals(key)) { in fromKey()
DChooseLockGeneric.java499 findPreference(ScreenLockType.NONE.preferenceKey).setViewId(R.id.lock_none); in addPreferences()
502 findPreference(ScreenLockType.PIN.preferenceKey).setViewId(R.id.lock_pin); in addPreferences()
503 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password); in addPreferences()
546 removePreference(ScreenLockType.MANAGED.preferenceKey); in updatePreferenceText()
558 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle()
565 Preference preference = findPreference(lock.preferenceKey); in setPreferenceTitle()
572 Preference preference = findPreference(lock.preferenceKey); in setPreferenceSummary()
590 return ScreenLockType.NONE.preferenceKey; in getKeyForCurrent()
595 return lock != null ? lock.preferenceKey : null; in getKeyForCurrent()
625 String key = lock.preferenceKey; in disableUnusablePreferencesImpl()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DSuppServicesUiUtil.java58 String preferenceKey) { in showBlockingSuppServicesDialog() argument
63 String message = makeMessage(context, preferenceKey, phone); in showBlockingSuppServicesDialog()
87 public static String makeMessage(Context context, String preferenceKey, Phone phone) { in makeMessage() argument
90 String suppServiceName = getSuppServiceName(context, preferenceKey); in makeMessage()
119 private static String getSuppServiceName(Context context, String preferenceKey) { in getSuppServiceName() argument
121 if (preferenceKey.equals(GsmUmtsCallOptions.CALL_FORWARDING_KEY)) { in getSuppServiceName()
123 } else if (preferenceKey.equals(GsmUmtsCallOptions.CALL_BARRING_KEY)) { in getSuppServiceName()
125 } else if (preferenceKey.equals(GsmUmtsAdditionalCallOptions.BUTTON_CLIR_KEY)) { in getSuppServiceName()
127 } else if (preferenceKey.equals(GsmUmtsAdditionalCallOptions.BUTTON_CW_KEY)) { in getSuppServiceName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DBaseTimeZonePreferenceControllerTest.java70 private TestPreferenceController(Context context, String preferenceKey) { in TestPreferenceController() argument
71 super(context, preferenceKey); in TestPreferenceController()
73 mTestPreference.setKey(preferenceKey); in TestPreferenceController()
78 private TestPreference(Context context, String preferenceKey) { in TestPreference() argument
80 setKey(preferenceKey); in TestPreference()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditMedicalInfoFragment.java52 String preferenceKey = PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO[i]; in onCreatePreferences() local
54 Preference preference = findPreference(preferenceKey); in onCreatePreferences()
110 for (String preferenceKey : PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO) { in reloadFromPreference()
112 findPreference(preferenceKey); in reloadFromPreference()
DEditInfoFragment.java67 for (String preferenceKey : PreferenceKeys.KEYS_EDIT_EMERGENCY_INFO) { in onCreatePreferences()
68 Preference preference = findPreference(preferenceKey); in onCreatePreferences()
69 mMedicalInfoPreferences.put(preferenceKey, preference); in onCreatePreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DClearAdbKeysPreferenceControllerTest.java111 final String preferenceKey = mController.getPreferenceKey(); in handlePreferenceTreeClick_clearAdbKeysPreference_shouldShowWarningDialog() local
112 when(mPreference.getKey()).thenReturn(preferenceKey); in handlePreferenceTreeClick_clearAdbKeysPreference_shouldShowWarningDialog()
136 final String preferenceKey = mController.getPreferenceKey(); in handlePreferenceTreeClick_monkeyUser_shouldReturnFalse() local
137 when(mPreference.getKey()).thenReturn(preferenceKey); in handlePreferenceTreeClick_monkeyUser_shouldReturnFalse()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySlicePreferenceController.java45 public AccessibilitySlicePreferenceController(Context context, String preferenceKey) { in AccessibilitySlicePreferenceController() argument
46 super(context, preferenceKey); in AccessibilitySlicePreferenceController()
51 "Illegal Component Name from: " + preferenceKey); in AccessibilitySlicePreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DAccessibilitySlicePreferenceController.java45 public AccessibilitySlicePreferenceController(Context context, String preferenceKey) { in AccessibilitySlicePreferenceController() argument
46 super(context, preferenceKey); in AccessibilitySlicePreferenceController()
51 "Illegal Component Name from: " + preferenceKey); in AccessibilitySlicePreferenceController()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java342 private int getValueFromSeekBarProgress(String preferenceKey, int progress) { in getValueFromSeekBarProgress() argument
343 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getValueFromSeekBarProgress()
345 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getValueFromSeekBarProgress()
355 private int getSeekBarProgressFromValue(String preferenceKey, int value) { in getSeekBarProgressFromValue() argument
356 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getSeekBarProgressFromValue()
358 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getSeekBarProgressFromValue()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java342 private int getValueFromSeekBarProgress(String preferenceKey, int progress) { in getValueFromSeekBarProgress() argument
343 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getValueFromSeekBarProgress()
345 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getValueFromSeekBarProgress()
355 private int getSeekBarProgressFromValue(String preferenceKey, int value) { in getSeekBarProgressFromValue() argument
356 if (preferenceKey.equals(KEY_DEFAULT_RATE)) { in getSeekBarProgressFromValue()
358 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) { in getSeekBarProgressFromValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsTest.java167 private void verifyAccessibilityTimeoutSummary(String preferenceKey, int resId) { in verifyAccessibilityTimeoutSummary() argument
169 doReturn(preference).when(mSettings).findPreference(preferenceKey); in verifyAccessibilityTimeoutSummary()
170 preference.setKey(preferenceKey); in verifyAccessibilityTimeoutSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DBadPreferenceController.java23 public BadPreferenceController(Context context, String preferenceKey) { in BadPreferenceController() argument
24 super(context, preferenceKey); in BadPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DFakeCopyableController.java25 public FakeCopyableController(Context context, String preferenceKey) { in FakeCopyableController() argument
26 super(context, preferenceKey); in FakeCopyableController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceSettingsPreferenceController.java30 public FaceSettingsPreferenceController(Context context, String preferenceKey) { in FaceSettingsPreferenceController() argument
31 super(context, preferenceKey); in FaceSettingsPreferenceController()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureController.java26 public PictureInPictureController(Context context, String preferenceKey) { in PictureInPictureController() argument
27 super(context, preferenceKey); in PictureInPictureController()
DPictureInPictureScreenPreferenceController.java27 String preferenceKey) { in PictureInPictureScreenPreferenceController() argument
28 super(context, preferenceKey); in PictureInPictureScreenPreferenceController()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DNotificationAccessScreenPreferenceController.java26 public NotificationAccessScreenPreferenceController(Context context, String preferenceKey) { in NotificationAccessScreenPreferenceController() argument
27 super(context, preferenceKey); in NotificationAccessScreenPreferenceController()
DNotificationAccessController.java26 public NotificationAccessController(Context context, String preferenceKey) { in NotificationAccessController() argument
27 super(context, preferenceKey); in NotificationAccessController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DFakePreferenceController.java25 public FakePreferenceController(Context context, String preferenceKey) { in FakePreferenceController() argument
26 super(context, preferenceKey); in FakePreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/notificationaccess/
DNotificationAccessScreenPreferenceController.java26 public NotificationAccessScreenPreferenceController(Context context, String preferenceKey) { in NotificationAccessScreenPreferenceController() argument
27 super(context, preferenceKey); in NotificationAccessScreenPreferenceController()
/packages/apps/Settings/src/com/android/settings/development/
DDefaultLaunchPreferenceController.java35 public DefaultLaunchPreferenceController(Context context, String preferenceKey) { in DefaultLaunchPreferenceController() argument
38 mPreferenceKey = preferenceKey; in DefaultLaunchPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureController.java26 public PictureInPictureController(Context context, String preferenceKey) { in PictureInPictureController() argument
27 super(context, preferenceKey); in PictureInPictureController()

12345678910>>...18