Home
last modified time | relevance | path

Searched refs:KEY_PREF_DEFAULT (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DToggleAutoclickPreferenceControllerTest.java59 private static final String KEY_PREF_DEFAULT = "accessibility_control_autoclick_default"; field in ToggleAutoclickPreferenceControllerTest
79 setUpController(KEY_PREF_DEFAULT); in getAvailabilityStatus_available()
86 setUpController(KEY_PREF_DEFAULT); in setClickListenerOnDelayModePref_whenDisplay_success()
96 setUpController(KEY_PREF_DEFAULT); in onStart_registerOnSharedPreferenceChangeListener()
106 setUpController(KEY_PREF_DEFAULT); in onStop_unregisterOnSharedPreferenceChangeListener()
115 setUpController(KEY_PREF_DEFAULT); in onRadioButtonClicked_offMode_disableAutoClick()
156 setUpController(KEY_PREF_DEFAULT); in onSharedPreferenceChanged_offMode_shouldNotShowCustomSeekbar()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appcompat/
DUserAspectRatioDetailsTest.java27 import static com.android.settings.applications.appcompat.UserAspectRatioDetails.KEY_PREF_DEFAULT;
126 < mFragment.findPreference(KEY_PREF_DEFAULT).getOrder()); in testOrderOfOptionsFollowsConfig()
134 mRadioButtonPref.setKey(KEY_PREF_DEFAULT);
148 mRadioButtonPref.setKey(KEY_PREF_DEFAULT);
163 mRadioButtonPref.setKey(KEY_PREF_DEFAULT);
194 doReturn(mRadioButtonPref).when(mFragment).findPreference(KEY_PREF_DEFAULT);
211 mRadioButtonPref.setKey(KEY_PREF_DEFAULT);
217 assertEquals(KEY_PREF_DEFAULT, mFragment.mSelectedKey);
225 assertEquals(KEY_PREF_DEFAULT, mFragment.mSelectedKey);
/packages/apps/Settings/src/com/android/settings/applications/appcompat/
DUserAspectRatioDetails.java79 static final String KEY_PREF_DEFAULT = "app_default_pref"; field in UserAspectRatioDetails
84 @NonNull String mSelectedKey = KEY_PREF_DEFAULT;
171 .getOrDefault(KEY_PREF_DEFAULT, USER_MIN_ASPECT_RATIO_UNSET); in getSelectedUserMinAspectRatio()
178 .getOrDefault(USER_MIN_ASPECT_RATIO_UNSET, KEY_PREF_DEFAULT); in getSelectedKey()
218 addPreference(KEY_PREF_DEFAULT, USER_MIN_ASPECT_RATIO_APP_DEFAULT); in initPreferences()
220 addPreference(KEY_PREF_DEFAULT, USER_MIN_ASPECT_RATIO_UNSET); in initPreferences()
275 case KEY_PREF_DEFAULT: in getSelectedAspectRatioAction()
296 case KEY_PREF_DEFAULT: in getUnselectedAspectRatioAction()