/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModeScheduleSelectorController.java | 96 return mPreference.findIndexOfValue(mContext.getString(resId)); in getCurrentMode() 101 final int newMode = mPreference.findIndexOfValue((String) newValue); in onPreferenceChange() 105 if (newMode == mPreference.findIndexOfValue( in onPreferenceChange() 112 } else if (newMode == mPreference.findIndexOfValue( in onPreferenceChange() 119 } else if (newMode == mPreference.findIndexOfValue( in onPreferenceChange() 122 } else if (newMode == mPreference.findIndexOfValue( in onPreferenceChange()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/ |
D | AppLinkStatePreferenceController.java | 127 return getPreference().findIndexOfValue( in linkStateToIndex() 130 return getPreference().findIndexOfValue( in linkStateToIndex() 134 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/Settings/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 71 if (listPreference.findIndexOfValue(newValueString) <= 0) { in onPreferenceChange() 87 index = listPreference.findIndexOfValue(currentValue); in updateState()
|
D | SimulateColorSpacePreferenceController.java | 81 final int index = listPreference.findIndexOfValue(mode); in updateSimulateColorSpace() 124 final int index = ((ListPreference) mPreference).findIndexOfValue(mode); in usingDevelopmentColorSpace()
|
D | AbstractBluetoothA2dpPreferenceController.java | 103 final int index = mPreference.findIndexOfValue(newValue.toString()); in onPreferenceChange()
|
/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()
|
D | BasicSettingPopup.java | 83 int index = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
|
D | InLineSettingKnob.java | 122 int index = mPreference.findIndexOfValue(mOverrideValue); in updateView()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.kt | 132 val index: Int = preference.findIndexOfValue(newValue as String) in onPreferenceChange() 137 val i: Int = simpleMenuPreference.findIndexOfValue(newValue as String) in onPreferenceChange() 265 val idx: Int = it.findIndexOfValue(value) in refresh()
|
D | ScreensaverSettingsActivity.kt | 75 val index: Int = clockStylePref.findIndexOfValue(newValue as String?) in onPreferenceChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | SimulateColorSpacePreferenceControllerTest.java | 126 when(mPreference.findIndexOfValue(anyString())).thenReturn(-1); in updateState_settingOnControlledByAccessibility_shouldSetOverridedSummary() 141 when(mPreference.findIndexOfValue(anyString())).thenReturn(-1); in onDeveloperOptionsSwitchDisabled_notControlledByDevOptions_shouldDisableAndReset()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | ListWithEntrySummaryPreference.java | 94 builder.setSingleChoiceItems(la, findIndexOfValue(getValue()), listener); in onPrepareDialogBuilder() 128 if (position == mSelector.findIndexOfValue(mSelector.getValue())) { in getView()
|
/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/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyListPreference.java | 66 int index = findIndexOfValue(value); in getSummary()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SubScreenFragment.java | 63 final int entryIndex = listPreference.findIndexOfValue(listPreference.getValue()); in updateListPreferenceSummaryToCurrentValue()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcForegroundPreferenceController.java | 117 listPreference.setSummary(mListEntries[listPreference.findIndexOfValue(newValueString)]); in onPreferenceChange()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccountSelectionPreference.java | 119 if (index != findIndexOfValue(getValue())) { in onPreferenceChange()
|
/packages/apps/Car/Settings/src/com/android/car/settings/tts/ |
D | TtsPlaybackPreferenceController.java | 305 return mDefaultLanguagePreference.findIndexOfValue(localeString); in findLocaleIndex() 322 int index = mDefaultLanguagePreference.findIndexOfValue(mSampleTextLocale.toString()); in isDefaultLocaleValid()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceController.java | 102 int index = preference.findIndexOfValue(subscriptionIdStr); in handlePreferenceChanged()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | UpdatableListPreferenceDialogFragment.java | 158 mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue()); in setPreferenceData()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | SpellCheckerPreference.java | 73 builder.setSingleChoiceItems(getEntries(), findIndexOfValue(getValue()), listener); in onPrepareDialogBuilder()
|