Home
last modified time | relevance | path

Searched refs:getEntryValues (Results 1 – 25 of 49) 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.java153 mPreference.callChangeListener(mPreference.getEntryValues()[0]); in changeOptions_shouldUpdateEntryAndSummary()
159 mPreference.callChangeListener(mPreference.getEntryValues()[1]); in changeOptions_shouldUpdateEntryAndSummary()
172 mPreference.callChangeListener(mPreference.getEntryValues()[0]); in changeOptions_checkMetrics()
178 mPreference.callChangeListener(mPreference.getEntryValues()[1]); in changeOptions_checkMetrics()
/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/robotests/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java114 final CharSequence[] entryValues = mListPreference.getEntryValues(); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues()
142 final CharSequence[] entryValues = mListPreference.getEntryValues(); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues()
170 final CharSequence[] entryValues = mListPreference.getEntryValues(); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues()
298 final CharSequence[] entryValues = mListPreference.getEntryValues(); in onSubscriptionsChanged_goFromTwoToThreeSubscriptions_listGetsUpdated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/
DGameDriverAppPreferenceControllerTest.java179 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configDefault_shouldSetDefaultAttributes()
195 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configGAME_DRIVER_shouldSetGameDriverAttributes()
211 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configPRERELEASE_DRIVER_shouldSetPrereleaseDriverAttributes()
225 assertThat(preference.getEntryValues()).isEqualTo(mValueList); in createPreference_configSystem_shouldSetSystemAttributes()
/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()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/settings/common/
DSettingsListPreferenceDialogFragment.java63 if (preference.getEntries() == null || preference.getEntryValues() == null) { in onCreate()
70 mEntryValues = preference.getEntryValues(); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsListPreferenceDialogFragment.java63 if (preference.getEntries() == null || preference.getEntryValues() == null) { in onCreate()
70 mEntryValues = preference.getEntryValues(); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java210 mLocalePreference.getEntryValues()); in onSaveInstanceState()
361 for (int i=0; i < mLocalePreference.getEntryValues().length; i++) { in updateLanguageTo()
362 if (localeString.equalsIgnoreCase(mLocalePreference.getEntryValues()[i].toString())) { in updateLanguageTo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DSettingsListPreferenceDialogFragmentTest.java94 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[1]); in itemSelected_setsPreferenceValue()
105 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[0]); in onDialogClosed_negativeResult_doesNothing()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/settings/common/
DSettingsListPreferenceDialogFragmentTest.java94 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[1]); in itemSelected_setsPreferenceValue()
105 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[0]); in onDialogClosed_negativeResult_doesNothing()
/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.java240 if (which < 0 || which >= preference.getEntryValues().length) { in getOnItemClickListener()
243 String entryValue = preference.getEntryValues()[which].toString(); in getOnItemClickListener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DCustomListPreference.java154 if (mClickedDialogEntryIndex >= 0 && preference.getEntryValues() != null) { in getValue()
155 return preference.getEntryValues()[mClickedDialogEntryIndex].toString(); in getValue()
DRestrictedListPreference.java240 if (which < 0 || which >= preference.getEntryValues().length) { in getOnItemClickListener()
243 String entryValue = preference.getEntryValues()[which].toString(); in getOnItemClickListener()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreference.java109 super(context, rowResourceId, listPreference.getEntryValues()); in SelectorAdapter()
140 myState.mEntryValues = getEntryValues(); in onSaveInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DListWithEntrySummaryPreference.java109 super(context, rowResourceId, listPreference.getEntryValues()); in SelectorAdapter()
140 myState.mEntryValues = getEntryValues(); in onSaveInstanceState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java1009 CharSequence[] values = mTrackFrameTime.getEntryValues(); in updateTrackFrameTimeOptions()
1035 CharSequence[] values = mShowNonRectClip.getEntryValues(); in updateShowNonRectClipOptions()
1082 CharSequence[] values = mDebugHwOverdraw.getEntryValues(); in updateDebugHwOverdrawOptions()
1280 CharSequence[] values = pref.getEntryValues(); in updateAnimationScaleValue()
1319 CharSequence[] values = mOverlayDisplayDevices.getEntryValues(); in updateOverlayDisplayDevicesOptions()
1340 CharSequence[] values = mOpenGLTraces.getEntryValues(); in updateOpenGLTracesOptions()
1361 CharSequence[] values = mAppProcessLimit.getEntryValues(); in updateAppProcessLimitOptions()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java286 mLocalePreference.getEntryValues()); in onSaveInstanceState()
636 for (int i = 0; i < mLocalePreference.getEntryValues().length; i++) { in updateLanguageTo()
637 if (localeString.equalsIgnoreCase(mLocalePreference.getEntryValues()[i].toString())) { in updateLanguageTo()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java286 mLocalePreference.getEntryValues()); in onSaveInstanceState()
636 for (int i = 0; i < mLocalePreference.getEntryValues().length; i++) { in updateLanguageTo()
637 if (localeString.equalsIgnoreCase(mLocalePreference.getEntryValues()[i].toString())) { in updateLanguageTo()
/packages/services/Telephony/src/com/android/phone/
DNetworkSelectListPreference.java427 myState.mDialogListEntryValues = getEntryValues(); in onSaveInstanceState()
445 if (getEntryValues() == null && myState.mDialogListEntryValues != null) { in onRestoreInstanceState()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DEmailPreferenceActivityTests.java143 CharSequence[] values = mCheckFrequency.getEntryValues(); in frequencySpinnerHasValue()
/packages/apps/LegacyCamera/src/com/android/camera/
DIconListPreference.java89 CharSequence entryValues[] = getEntryValues(); in filterUnsupported()

12