Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/
DDarkModeScheduleSelectorControllerTest.java99 doNothing().when(mPreference).setValueIndex(anyInt()); in setUp()
123 verify(mPreference).setValueIndex(0); in nightMode_updateStateNone_dropDownValueChangedToNone()
133 verify(mPreference).setValueIndex(1); in nightMode_updateStateNone_dropDownValueChangedToAuto()
143 verify(mPreference).setValueIndex(2); in nightMode_updateStateNone_dropDownValueChangedToCustom()
158 verify(mPreference).setValueIndex(3); in nightMode_updateStateNone_bedtimeEnabled_dropDownValueChangedToCustomBedtime()
173 verify(mPreference).setValueIndex(2); in nightMode_updateStateNone_bedtimeDisabled_dropDownValueChangedToCustom()
186 verify(mPreference).setValueIndex(2); in nightMode_updateStateNone_bedtimeNotInstalled_dropDownValueChangedToCustom()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcForegroundPreferenceControllerTest.java158 mPreference.setValueIndex(1); in changeOptions_shouldUpdateEntryAndSummary()
164 mPreference.setValueIndex(0); in changeOptions_shouldUpdateEntryAndSummary()
177 mPreference.setValueIndex(1); in changeOptions_checkMetrics()
183 mPreference.setValueIndex(0); in changeOptions_checkMetrics()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java1101 mTrackFrameTime.setValueIndex(i); in updateTrackFrameTimeOptions()
1106 mTrackFrameTime.setValueIndex(0); in updateTrackFrameTimeOptions()
1127 mShowNonRectClip.setValueIndex(i); in updateShowNonRectClipOptions()
1132 mShowNonRectClip.setValueIndex(0); in updateShowNonRectClipOptions()
1174 mDebugHwOverdraw.setValueIndex(i); in updateDebugHwOverdrawOptions()
1179 mDebugHwOverdraw.setValueIndex(0); in updateDebugHwOverdrawOptions()
1489 pref.setValueIndex(i); in updateAnimationScaleValue()
1494 pref.setValueIndex(values.length - 1); in updateAnimationScaleValue()
1527 mOverlayDisplayDevices.setValueIndex(i); in updateOverlayDisplayDevicesOptions()
1532 mOverlayDisplayDevices.setValueIndex(0); in updateOverlayDisplayDevicesOptions()
[all …]
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java220 pref.setValueIndex(floatToIndex(scale, in readAnimationPreference()
232 pref.setValueIndex(floatToIndex(mCurConfig.fontScale, in readFontSizePreference()
238 pref.setValueIndex(Settings.System.getInt(getContentResolver(), in readEndButtonPreference()
/packages/services/Telephony/src/com/android/phone/settings/
DAccountSelectionPreference.java104 setValueIndex(selectedIndex); in setModel()
120 setValueIndex(index); in onPreferenceChange()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingItem.java69 mPreference.setValueIndex(mIndex); in changeIndex()
DBasicSettingPopup.java99 mPreference.setValueIndex(index); in onItemClick()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothMaxConnectedAudioDevicesPreferenceController.java94 listPreference.setValueIndex(index); in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/accessibility/
DCaptionsTextSizeListPreferenceController.java77 preference.setValueIndex(currentFontSizeIndex); in updateState()
DCaptionsTextStyleListPreferenceController.java78 preference.setValueIndex(currentFontStyleIndex); in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceController.java91 preference.setValueIndex(linkStateToIndex(state)); in updateState()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeScheduleSelectorController.java76 mPreference.setValueIndex(mCurrentMode); in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageCycleBasePreferenceController.java136 preference.setValueIndex(0); in updateCycle()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceController.java96 preference.setValueIndex(selectedIndex); in updateState()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckerPreference.java83 setValueIndex(i); in setSelected()
/packages/apps/LegacyCamera/src/com/android/camera/
DListPreference.java121 public void setValueIndex(int index) { in setValueIndex() method in ListPreference
DCameraSettings.java275 pref.setValueIndex(0); in resetIfInvalid()
/packages/apps/Settings/src/com/android/settings/sound/
DHandsFreeProfileOutputPreferenceController.java161 listPreference.setValueIndex(mSelectedIndex); in setPreference()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/
DPreferenceCompat.java318 public void setValueIndex(int valueIndex) { in setValueIndex() method in PreferenceCompat
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.kt266 it.setValueIndex(idx) in refresh()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java604 mAuthType.setValueIndex(authVal); in fillUI()
663 mAuthType.setValueIndex(authValIndex); in fillUI()
795 mAuthType.setValueIndex(index); in onPreferenceChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardFragment.java167 currentKeyboardPref.setValueIndex(defaultIndex); in updateCurrentKeyboardPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java320 mLocalePreference.setValueIndex(index); in setLocalePreference()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java172 mDefaultLanguagePreference.setValueIndex(mSelectedLocaleIndex); in updateState()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java575 mLocalePreference.setValueIndex(index); in setLocalePreference()