/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModeScheduleSelectorController.java | 81 return mPreference.findIndexOfValue(mContext.getString(resId)); in getCurrentMode() 86 final int newMode = mPreference.findIndexOfValue((String) newValue); in onPreferenceChange() 90 if (newMode == mPreference.findIndexOfValue( in onPreferenceChange() 97 } else if (newMode == mPreference.findIndexOfValue( in onPreferenceChange() 104 } else if (newMode == mPreference.findIndexOfValue( in onPreferenceChange()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/ |
D | AppLinkStatePreferenceController.java | 121 return getPreference().findIndexOfValue( in linkStateToIndex() 124 return getPreference().findIndexOfValue( in linkStateToIndex() 128 return getPreference().findIndexOfValue( in linkStateToIndex()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ListPreference.java | 116 if (findIndexOfValue(value) < 0) throw new IllegalArgumentException(); in setValue() 125 public int findIndexOfValue(String value) { in findIndexOfValue() method in ListPreference 133 return mEntries[findIndexOfValue(getValue())].toString(); in getEntry()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.java | 168 final int index = preference.findIndexOfValue((String) newValue); in onPreferenceChange() 175 final int i = simpleMenuPreference.findIndexOfValue((String) newValue); in onPreferenceChange() 303 final int idx = weekStartPref.findIndexOfValue(value); in refresh()
|
D | ScreensaverSettingsActivity.java | 82 final int index = clockStylePref.findIndexOfValue((String) newValue); in onPreferenceChange()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 67 if (listPreference.findIndexOfValue(newValueString) <= 0) { in onPreferenceChange() 83 index = listPreference.findIndexOfValue(currentValue); in updateState()
|
D | BluetoothAudioCodecPreferenceController.java | 61 final int index = mPreference.findIndexOfValue(newValue.toString()); in writeConfigurationValues() 68 switch (mPreference.findIndexOfValue(oldValue)) { in writeConfigurationValues()
|
D | SimulateColorSpacePreferenceController.java | 82 final int index = listPreference.findIndexOfValue(mode); in updateSimulateColorSpace() 123 final int index = ((ListPreference) mPreference).findIndexOfValue(mode); in usingDevelopmentColorSpace()
|
D | BluetoothAudioQualityPreferenceController.java | 61 final int index = mPreference.findIndexOfValue(newValue.toString()); in writeConfigurationValues()
|
D | BluetoothAudioChannelModePreferenceController.java | 61 final int index = mPreference.findIndexOfValue(newValue.toString()); in writeConfigurationValues()
|
D | BluetoothAudioBitsPerSamplePreferenceController.java | 61 final int index = mPreference.findIndexOfValue(newValue.toString()); in writeConfigurationValues()
|
D | BluetoothAudioSampleRatePreferenceController.java | 61 final int index = mPreference.findIndexOfValue(newValue.toString()); in writeConfigurationValues()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 67 if (listPreference.findIndexOfValue(newValueString) <= 0) { in onPreferenceChange() 83 index = listPreference.findIndexOfValue(currentValue); in updateState()
|
D | SimulateColorSpacePreferenceController.java | 82 final int index = listPreference.findIndexOfValue(mode); in updateSimulateColorSpace() 123 final int index = ((ListPreference) mPreference).findIndexOfValue(mode); in usingDevelopmentColorSpace()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorButton.java | 59 index = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference() 61 index = mPreference.findIndexOfValue(mOverrideValue); in reloadPreference()
|
D | CameraPicker.java | 63 int index = mPreference.findIndexOfValue(mPreference.getValue()); in onClick()
|
D | InLineSettingItem.java | 80 mIndex = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
|
D | InLineSettingSwitch.java | 66 int index = mPreference.findIndexOfValue(mOverrideValue); in updateView()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | ListWithEntrySummaryPreference.java | 92 builder.setSingleChoiceItems(la, findIndexOfValue(getValue()), listener); in onPrepareDialogBuilder() 126 if (position == mSelector.findIndexOfValue(mSelector.getValue())) { in getView()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | ListWithEntrySummaryPreference.java | 92 builder.setSingleChoiceItems(la, findIndexOfValue(getValue()), listener); in onPrepareDialogBuilder() 126 if (position == mSelector.findIndexOfValue(mSelector.getValue())) { in getView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | SimulateColorSpacePreferenceControllerTest.java | 129 when(mPreference.findIndexOfValue(anyString())).thenReturn(-1); in updateState_settingOnControlledByAccessibility_shouldSetOverridedSummary() 142 when(mPreference.findIndexOfValue(anyString())).thenReturn(-1); in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingFragment.java | 98 entries[countryChooserPref.findIndexOfValue(userHomeCountryCode.get())]; in updateCountryChooserSummary() 195 listPref.setSummary(entries[listPref.findIndexOfValue(newValue.toString())]); in updateListSummary()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | PhoneAccountSettingsFragment.java | 168 mUseSipCalling.findIndexOfValue(mSipPreferences.getSipCallOption()); in onResume() 174 mUseSipCalling.findIndexOfValue(mSipPreferences.getSipCallOption()); in onResume() 213 mUseSipCalling.setValueIndex(mUseSipCalling.findIndexOfValue(option)); in onPreferenceChange()
|
/packages/apps/Car/Settings/src/com/android/car/settings/tts/ |
D | TtsPlaybackPreferenceController.java | 297 return mDefaultLanguagePreference.findIndexOfValue(localeString); in findLocaleIndex() 314 int index = mDefaultLanguagePreference.findIndexOfValue(mSampleTextLocale.toString()); in isDefaultLocaleValid()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyListPreference.java | 66 int index = findIndexOfValue(value); in getSummary()
|