Searched refs:preferenceKey (Results 26 - 50 of 51) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
H A DBatteryTipPreferenceController.java62 public BatteryTipPreferenceController(Context context, String preferenceKey) { argument
63 this(context, preferenceKey, null, null, null);
66 public BatteryTipPreferenceController(Context context, String preferenceKey, argument
69 super(context, preferenceKey);
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
H A DClearAdbKeysPreferenceControllerTest.java110 final String preferenceKey = mController.getPreferenceKey();
111 when(mPreference.getKey()).thenReturn(preferenceKey);
135 final String preferenceKey = mController.getPreferenceKey();
136 when(mPreference.getKey()).thenReturn(preferenceKey);
H A DSelectDebugAppPreferenceControllerTest.java76 final String preferenceKey = mController.getPreferenceKey();
78 when(mPreference.getKey()).thenReturn(preferenceKey);
H A DMockLocationAppPreferenceControllerTest.java128 final String preferenceKey = mController.getPreferenceKey();
129 when(mPreference.getKey()).thenReturn(preferenceKey);
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
H A DScreenLockTypeTest.java56 assertThat(ScreenLockType.fromKey(lock.preferenceKey)).isEqualTo(lock);
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DToggleAutoclickPreferenceFragment.java95 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { argument
96 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0);
H A DToggleDaltonizerPreferenceFragment.java67 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { argument
H A DAccessibilityShortcutPreferenceFragment.java123 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { argument
124 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0);
H A DToggleAccessibilityServicePreferenceFragment.java105 public void onPreferenceToggled(String preferenceKey, boolean enabled) { argument
106 ComponentName toggledService = ComponentName.unflattenFromString(preferenceKey);
H A DToggleScreenMagnificationPreferenceFragment.java175 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { argument
176 MagnificationPreferenceFragment.setChecked(getContentResolver(), preferenceKey, enabled);
H A DToggleFeaturePreferenceFragment.java94 protected abstract void onPreferenceToggled(String preferenceKey, boolean enabled); argument
/packages/apps/Settings/src/com/android/settings/core/
H A DBasePreferenceController.java145 public BasePreferenceController(Context context, String preferenceKey) { argument
147 mPreferenceKey = preferenceKey;
/packages/apps/Settings/src/com/android/settings/notification/
H A DBadgingNotificationPreferenceController.java57 public BadgingNotificationPreferenceController(Context context, String preferenceKey) { argument
58 super(context, preferenceKey);
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
H A DBasePreferenceControllerTest.java171 public FakeBasePreferenceController(Context context, String preferenceKey) { argument
172 super(context, preferenceKey);
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
H A DPreferenceControllerFragmentTest.java138 private MultiplePreferenceController(Context context, String preferenceKey) {
140 mPreferenceKey = preferenceKey;
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
H A DToggleFeaturePreferenceFragmentTest.java58 protected void onPreferenceToggled(String preferenceKey, boolean enabled) {} argument
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
H A DToggleFeaturePreferenceFragmentTest.java81 protected void onPreferenceToggled(String preferenceKey, boolean enabled) { argument
/packages/apps/Settings/src/com/android/settings/password/
H A DChooseLockGeneric.java440 findPreference(ScreenLockType.NONE.preferenceKey).setViewId(R.id.lock_none);
442 findPreference(ScreenLockType.PIN.preferenceKey).setViewId(R.id.lock_pin);
443 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password);
459 removePreference(ScreenLockType.MANAGED.preferenceKey);
468 Preference preference = findPreference(lock.preferenceKey);
475 Preference preference = findPreference(lock.preferenceKey);
482 Preference preference = findPreference(lock.preferenceKey);
500 return ScreenLockType.NONE.preferenceKey;
505 return lock != null ? lock.preferenceKey : null;
535 String key = lock.preferenceKey;
[all...]
/packages/apps/SpareParts/src/com/android/spare_parts/
H A DSpareParts.java75 PreferenceGroup parentPreferenceGroup, String preferenceKey, int flags) {
77 Preference preference = parentPreferenceGroup.findPreference(preferenceKey);
74 updatePreferenceToSpecificActivityOrRemove(Context context, PreferenceGroup parentPreferenceGroup, String preferenceKey, int flags) argument
/packages/apps/Settings/src/com/android/settings/tts/
H A DTextToSpeechSettings.java338 private int getValueFromSeekBarProgress(String preferenceKey, int progress) { argument
339 if (preferenceKey.equals(KEY_DEFAULT_RATE)) {
341 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) {
351 private int getSeekBarProgressFromValue(String preferenceKey, int value) { argument
352 if (preferenceKey.equals(KEY_DEFAULT_RATE)) {
354 } else if (preferenceKey.equals(KEY_DEFAULT_PITCH)) {
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
H A DAppPermissionsFragmentWear.java405 private void setPreferenceCheckedIfPresent(String preferenceKey, boolean checked) { argument
406 Preference pref = findPreference(preferenceKey);
/packages/apps/Settings/src/com/android/settings/sound/
H A DAudioSwitchPreferenceController.java98 public AudioSwitchPreferenceController(Context context, String preferenceKey) { argument
99 super(context, preferenceKey);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryAppListPreferenceController.java115 public BatteryAppListPreferenceController(Context context, String preferenceKey, argument
124 mPreferenceKey = preferenceKey;
/packages/apps/Settings/src/com/android/settings/
H A DUtils.java132 * @param preferenceKey The key of the preference whose intent is being
141 PreferenceGroup parentPreferenceGroup, String preferenceKey, int flags) {
143 Preference preference = parentPreferenceGroup.findPreference(preferenceKey);
140 updatePreferenceToSpecificActivityOrRemove(Context context, PreferenceGroup parentPreferenceGroup, String preferenceKey, int flags) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
H A DDevelopmentFragment.java1635 * @param preferenceKey Key for the preference the dialog is for
1637 private void recreateDialogForKey(String preferenceKey) { argument
1643 if (TextUtils.equals(preferenceKey, dialogController.getPreferenceKey())) {
1644 dialogController.showConfirmationDialog(findPreference(preferenceKey));

Completed in 582 milliseconds

123