/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | DefaultSubscriptionControllerTest.java | 114 final CharSequence[] entryValues = mListPreference.getEntryValues(); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() local 115 assertThat(entryValues.length).isEqualTo(3); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 116 assertThat(entryValues[0]).isEqualTo("111"); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 117 assertThat(entryValues[1]).isEqualTo("222"); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 118 assertThat(entryValues[2]).isEqualTo( in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 142 final CharSequence[] entryValues = mListPreference.getEntryValues(); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() local 143 assertThat(entryValues.length).isEqualTo(3); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 144 assertThat(entryValues[0]).isEqualTo("111"); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 145 assertThat(entryValues[1]).isEqualTo("222"); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 146 assertThat(entryValues[2]).isEqualTo( in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | LimitedMultiSelectDialogFragment.java | 68 final ArrayList<String> entries, final ArrayList<String> entryValues, in populateArguments() argument 72 args.putStringArrayList(ARG_ENTRY_VALUES, entryValues); in populateArguments() 83 final List<String> entryValues = getArguments().getStringArrayList(ARG_ENTRY_VALUES); in onCreateDialog() local 86 getActivity(), getArguments().getStringArrayList(ARG_ENTRIES), entryValues, in onCreateDialog() 119 for (int j = 0; j < entryValues.size(); j++) { in onCreateDialog() 120 if (entryValues.get(j).equals(value)) { in onCreateDialog() 163 final List<String> entryValues, final int maxSelectedValues) { 167 mEntryValues = ImmutableList.copyOf(entryValues);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | LocalePreference.java | 50 final CharSequence[] entryValues = new CharSequence[finalSize + 1]; in init() local 52 entryValues[0] = ""; in init() 57 entryValues[i + 1] = info.getLocale().toString(); in init() 61 setEntryValues(entryValues); in init()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | LocalePreference.java | 50 final CharSequence[] entryValues = new CharSequence[finalSize + 1]; in init() local 52 entryValues[0] = ""; in init() 57 entryValues[i + 1] = info.getLocale().toString(); in init() 61 setEntryValues(entryValues); in init()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TtsEngineSettingsFragment.java | 164 final CharSequence[] entryValues = in onCreatePreferences() local 170 mLocalePreference.setEntryValues(entryValues); in onCreatePreferences() 291 CharSequence[] entryValues = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref() local 294 entryValues[0] = ""; in updateDefaultLocalePref() 302 entryValues[i++] = entry.second.toString(); in updateDefaultLocalePref() 306 mLocalePreference.setEntryValues(entryValues); in updateDefaultLocalePref()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/display/ |
D | ThemePreferenceControllerTest.java | 99 CharSequence[] entryValues = arg.getValue(); in testUpdateState() local 100 assertThat(entryValues).asList().containsExactly( in testUpdateState() 138 CharSequence[] entryValues = arg.getValue(); in testUpdateState_withStaticOverlay() local 139 assertThat(entryValues).asList().containsExactly("com.android.Theme2"); in testUpdateState_withStaticOverlay()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 209 CharSequence entryValues[] = new CharSequence[maxValue - minValue + 1]; in buildExposureCompensation() local 211 entryValues[maxValue - i] = Integer.toString(Math.round(i / step)); in buildExposureCompensation() 217 exposure.setEntryValues(entryValues); in buildExposureCompensation() 228 CharSequence[] entryValues = new CharSequence[numOfCameras]; in buildCameraId() local 230 entryValues[i] = "" + i; in buildCameraId() 232 preference.setEntryValues(entryValues); in buildCameraId()
|
D | IconListPreference.java | 89 CharSequence entryValues[] = getEntryValues(); in filterUnsupported() local 94 for (int i = 0, len = entryValues.length; i < len; i++) { in filterUnsupported() 95 if (supported.indexOf(entryValues[i].toString()) >= 0) { in filterUnsupported()
|
D | ListPreference.java | 149 ArrayList<CharSequence> entryValues = new ArrayList<CharSequence>(); in filterUnsupported() local 153 entryValues.add(mEntryValues[i]); in filterUnsupported() 158 mEntryValues = entryValues.toArray(new CharSequence[size]); in filterUnsupported()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/ |
D | TmaPrefsFragment.java | 61 CharSequence[] entryValues = new CharSequence[count]; in createEnumPref() local 64 entryValues[i] = enumValues[i].getId(); in createEnumPref() 67 prefWidget.setEntryValues(entryValues); in createEnumPref()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/ |
D | TextToSpeechSettings.java | 188 final CharSequence[] entryValues = in onCreate() local 193 mLocalePreference.setEntryValues(entryValues); in onCreate() 518 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref() local 521 entryValues[0] = ""; in updateDefaultLocalePref() 529 entryValues[i++] = entry.second.toString(); in updateDefaultLocalePref() 533 mLocalePreference.setEntryValues(entryValues); in updateDefaultLocalePref()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 188 final CharSequence[] entryValues = in onCreate() local 193 mLocalePreference.setEntryValues(entryValues); in onCreate() 518 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLocalePref() local 521 entryValues[0] = ""; in updateDefaultLocalePref() 529 entryValues[i++] = entry.second.toString(); in updateDefaultLocalePref() 533 mLocalePreference.setEntryValues(entryValues); in updateDefaultLocalePref()
|
/packages/apps/Car/Settings/src/com/android/car/settings/tts/ |
D | TtsPlaybackPreferenceController.java | 352 CharSequence[] entryValues = new CharSequence[availableLangs.size() + 1]; in updateDefaultLanguagePreference() local 355 entryValues[0] = ""; in updateDefaultLanguagePreference() 360 entryValues[i++] = locale.toString(); in updateDefaultLanguagePreference() 364 mDefaultLanguagePreference.setEntryValues(entryValues); in updateDefaultLanguagePreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherSecurityPreferenceController.java | 59 String[] entryValues = {Integer.toString(WifiConfiguration.KeyMgmt.WPA2_PSK), in onCreateInternal() local 61 getPreference().setEntryValues(entryValues); in onCreateInternal()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 420 String[] entryValues = new String[selectedSizes.size()]; in setEntriesForSelection() local 424 entryValues[i] = SettingsUtil.sizeToSettingString(size); in setEntriesForSelection() 427 preference.setEntryValues(entryValues); in setEntriesForSelection()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | EffectSettingPopup.java | 78 CharSequence[] entryValues = mPreference.getEntryValues(); in initialize() local 88 String value = entryValues[i].toString(); in initialize()
|