Home
last modified time | relevance | path

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

12

/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java80 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[0]); in testReloadFromPreference()
99 for (int i = 0; i < mPreference.getEntryValues().length; i++) { in testSetValue()
100 mPreference.setValue((String) mPreference.getEntryValues()[i]); in testSetValue()
102 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[i]); in testSetValue()
103 if (!TextUtils.isEmpty(mPreference.getEntryValues()[i])) { in testSetValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcForegroundPreferenceControllerTest.java159 mPreference.callChangeListener(mPreference.getEntryValues()[1]); in changeOptions_shouldUpdateEntryAndSummary()
165 mPreference.callChangeListener(mPreference.getEntryValues()[0]); in changeOptions_shouldUpdateEntryAndSummary()
178 mPreference.callChangeListener(mPreference.getEntryValues()[1]); in changeOptions_checkMetrics()
184 mPreference.callChangeListener(mPreference.getEntryValues()[0]); in changeOptions_checkMetrics()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DCameraPicker.java54 mCameras = pref.getEntryValues(); in initialize()
64 CharSequence[] values = mPreference.getEntryValues(); in onClick()
DInLineSettingItem.java67 if (index >= mPreference.getEntryValues().length || index < 0) return false; in changeIndex()
DInLineSettingKnob.java119 mPrevButton.setVisibility(mIndex == mPreference.getEntryValues().length - 1 in updateView()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java129 newValues.add(countryChooserPref.getEntryValues()[0]); in updateCountryChoices()
158 countryChooserPref.setValue(countryChooserPref.getEntryValues()[0].toString()); in ameliorateInvalidSelectedValue()
167 CharSequence[] values = countryChooserPref.getEntryValues(); in buildDefaultCountryChooserKeysAndValues()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceControllerTest.java206 assertThat(mPreference.getEntryValues()) in updateState_LteWorldPhone_GlobalHasLte()
221 assertThat(mPreference.getEntryValues()) in updateState_5gWorldPhone_GlobalHasNr()
260 assertThat(mPreference.getEntryValues()) in updateState_disAllowed5g_5gOptionHidden()
304 assertThat(mPreference.getEntryValues()) in updateState_NrEnableBoolFalse_5gOptionHidden()
324 assertThat(mPreference.getEntryValues()) in updateState_GlobalDisAllowed5g_GlobalWithoutNR()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceControllerTest.java188 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configDefault_shouldSetDefaultAttributes()
204 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configProduction_DRIVER_shouldSetProductionDriverAttributes()
220 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configPRERELEASE_DRIVER_shouldSetPrereleaseDriverAttributes()
236 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configSystem_shouldSetSystemAttributes()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java111 super(context, rowResourceId, listPreference.getEntryValues()); in SelectorAdapter()
142 myState.mEntryValues = getEntryValues(); in onSaveInstanceState()
/packages/apps/Settings/src/com/android/settings/
DCustomListPreference.java154 if (mClickedDialogEntryIndex >= 0 && preference.getEntryValues() != null) { in getValue()
155 return preference.getEntryValues()[mClickedDialogEntryIndex].toString(); in getValue()
DRestrictedListPreference.java231 if (which < 0 || which >= preference.getEntryValues().length) { in getOnItemClickListener()
234 String entryValue = preference.getEntryValues()[which].toString(); in getOnItemClickListener()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java213 mLocalePreference.getEntryValues()); in onSaveInstanceState()
370 for (int i=0; i < mLocalePreference.getEntryValues().length; i++) { in updateLanguageTo()
371 if (localeString.equalsIgnoreCase(mLocalePreference.getEntryValues()[i].toString())) { in updateLanguageTo()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DAudioRouteSelectorControllerTest.java147 assertThat(mPreference.getEntryValues()[0].toString()).isEqualTo(ACTIVE_ADDRESS); in onCreate_testUpdatePreferenceOptions()
148 assertThat(mPreference.getEntryValues()[1].toString()).isEqualTo(INACTIVE_ADDRESS); in onCreate_testUpdatePreferenceOptions()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java115 assertThat(preference.getEntries().length).isEqualTo(preference.getEntryValues().length); in testProperties_organDonor()
130 assertThat(preference.getEntries().length).isEqualTo(preference.getEntryValues().length); in testProperties_bloodType()
/packages/apps/Settings/src/com/android/settings/development/
DIngressRateLimitPreferenceController.java65 final CharSequence[] entryValues = ((ListPreference) preference).getEntryValues(); in updateState()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DLeanbackListPreferenceDialogFragmentCompat.java100 this.mEntryValues = ((ListPreference) preference).getEntryValues(); in onCreate()
110 this.mEntryValues = ((MultiSelectListPreference) preference).getEntryValues(); in onCreate()
/packages/apps/LegacyCamera/src/com/android/camera/
DIconListPreference.java89 CharSequence entryValues[] = getEntryValues(); in filterUnsupported()
DListPreference.java80 public CharSequence[] getEntryValues() { in getEntryValues() method in ListPreference
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java1098 CharSequence[] values = mTrackFrameTime.getEntryValues(); in updateTrackFrameTimeOptions()
1124 CharSequence[] values = mShowNonRectClip.getEntryValues(); in updateShowNonRectClipOptions()
1171 CharSequence[] values = mDebugHwOverdraw.getEntryValues(); in updateDebugHwOverdrawOptions()
1485 CharSequence[] values = pref.getEntryValues(); in updateAnimationScaleValue()
1524 CharSequence[] values = mOverlayDisplayDevices.getEntryValues(); in updateOverlayDisplayDevicesOptions()
1545 CharSequence[] values = mOpenGLTraces.getEntryValues(); in updateOpenGLTracesOptions()
1566 CharSequence[] values = mAppProcessLimit.getEntryValues(); in updateAppProcessLimitOptions()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSimpleMenuPreference.kt65 setSelectedPosition(getEntryValues(), lastSelectedOriginalPosition, index) in setSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DBluetoothSnoopLogPreferenceControllerTest.java68 mListValues = mPreference.getEntryValues(); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DLockAfterTimeoutPreferenceControllerTest.java126 when(mPreference.getEntryValues()).thenReturn(new CharSequence[] {"10000"}); in testUpdateStateWithAdminTimeouts()
/packages/apps/Settings/src/com/android/settings/widget/
DUpdatableListPreferenceDialogFragment.java162 mEntryValues = preference.getEntryValues(); in setPreferenceData()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java304 mLocalePreference.getEntryValues()); in onSaveInstanceState()
667 for (int i = 0; i < mLocalePreference.getEntryValues().length; i++) { in updateLanguageTo()
668 if (localeString.equalsIgnoreCase(mLocalePreference.getEntryValues()[i].toString())) { in updateLanguageTo()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutListPreference.java51 mInitialValues = getEntryValues(); in TimeoutListPreference()

12