Home
last modified time | relevance | path

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

/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java86 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[0]); in testReloadFromPreference()
104 for (int i = 0; i < mPreference.getEntryValues().length; i++) { in testSetValue()
105 mPreference.setValue((String) mPreference.getEntryValues()[i]); in testSetValue()
107 assertThat(mPreference.getValue()).isEqualTo(mPreference.getEntryValues()[i]); in testSetValue()
108 if (!TextUtils.isEmpty(mPreference.getEntryValues()[i])) { in testSetValue()
/packages/apps/Settings/src/com/android/settings/notification/
DRestrictedDropDownPreference.java105 if (position < 0 || position >= getEntryValues().length) { in getRestrictedItemForPosition()
108 CharSequence entryValue = getEntryValues()[position]; in getRestrictedItemForPosition()
174 if (position >= 0 && position < getEntryValues().length) {
175 String value = getEntryValues()[position].toString();
DNotificationLockscreenPreference.java81 mShowRemoteInput = getEntryValues().length == 3; in onPrepareDialogBuilder()
/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()
DEffectSettingPopup.java78 CharSequence[] entryValues = mPreference.getEntryValues(); in initialize()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTtsEngineSettingsFragment.java203 mLocalePreference.getEntryValues()); in onSaveInstanceState()
359 for (int i=0; i < mLocalePreference.getEntryValues().length; i++) { in updateLanguageTo()
360 if (localeString.equalsIgnoreCase(mLocalePreference.getEntryValues()[i].toString())) { in updateLanguageTo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java990 CharSequence[] values = mTrackFrameTime.getEntryValues(); in updateTrackFrameTimeOptions()
1016 CharSequence[] values = mShowNonRectClip.getEntryValues(); in updateShowNonRectClipOptions()
1063 CharSequence[] values = mDebugHwOverdraw.getEntryValues(); in updateDebugHwOverdrawOptions()
1332 CharSequence[] values = pref.getEntryValues(); in updateAnimationScaleValue()
1371 CharSequence[] values = mOverlayDisplayDevices.getEntryValues(); in updateOverlayDisplayDevicesOptions()
1395 CharSequence[] values = mOpenGLTraces.getEntryValues(); in updateOpenGLTracesOptions()
1416 CharSequence[] values = mAppProcessLimit.getEntryValues(); in updateAppProcessLimitOptions()
/packages/apps/Settings/src/com/android/settings/
DCustomListPreference.java151 if (mClickedDialogEntryIndex >= 0 && preference.getEntryValues() != null) { in getValue()
152 return preference.getEntryValues()[mClickedDialogEntryIndex].toString(); in getValue()
DRestrictedListPreference.java208 if (which < 0 || which >= preference.getEntryValues().length) { in getOnItemClickListener()
211 String entryValue = preference.getEntryValues()[which].toString(); in getOnItemClickListener()
DTimeoutListPreference.java41 mInitialValues = getEntryValues(); in TimeoutListPreference()
DSecuritySettings.java1122 final CharSequence[] values = mLockAfter.getEntryValues(); in updateLockAfterPreferenceSummary()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java114 assertThat(preference.getEntries().length).isEqualTo(preference.getEntryValues().length); in testProperties_organDonor()
129 assertThat(preference.getEntries().length).isEqualTo(preference.getEntryValues().length); in testProperties_bloodType()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java276 mLocalePreference.getEntryValues()); in onSaveInstanceState()
639 for (int i = 0; i < mLocalePreference.getEntryValues().length; i++) { in updateLanguageTo()
640 if (localeString.equalsIgnoreCase(mLocalePreference.getEntryValues()[i].toString())) { in updateLanguageTo()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSettings.java1230 CharSequence[] values = mTrackFrameTime.getEntryValues(); in updateTrackFrameTimeOptions()
1256 CharSequence[] values = mShowNonRectClip.getEntryValues(); in updateShowNonRectClipOptions()
1303 CharSequence[] values = mDebugHwOverdraw.getEntryValues(); in updateDebugHwOverdrawOptions()
1328 CharSequence[] values = mDebugHwRenderer.getEntryValues(); in updateDebugHwRendererOptions()
2257 CharSequence[] values = pref.getEntryValues(); in updateAnimationScaleValue()
2294 CharSequence[] values = mOverlayDisplayDevices.getEntryValues(); in updateOverlayDisplayDevicesOptions()
2315 CharSequence[] values = mAppProcessLimit.getEntryValues(); in updateAppProcessLimitOptions()
/packages/services/Telephony/src/com/android/phone/
DNetworkSelectListPreference.java437 myState.mDialogListEntryValues = getEntryValues(); in onSaveInstanceState()
455 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()
DListPreference.java80 public CharSequence[] getEntryValues() { in getEntryValues() method in ListPreference
DCameraSettings.java472 CharSequence[] values = videoEffect.getEntryValues(); in initVideoEffect()
/packages/apps/Settings/src/com/android/settings/display/
DTimeoutPreferenceController.java105 final CharSequence[] values = preference.getEntryValues(); in updateTimeoutPreferenceDescription()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSimpleMenuPreference.java93 setSelectedPosition(getEntryValues(), lastSelectedOriginalPosition, index); in setSummary()
/packages/apps/Calendar/src/com/android/calendar/
DOtherPreferences.java236 CharSequence[] values = mSkipReminders.getEntryValues(); in updateSkipRemindersSummary()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsFragment.java224 mCheckFrequency.getEntryValues()); in onSaveInstanceState()