/packages/apps/Settings/src/com/android/settings/development/gamedriver/ |
D | GameDriverAppPreferenceController.java | 243 final ListPreference listPreference = new ListPreference(context); in createListPreference() local 245 listPreference.setKey(packageName); in createListPreference() 246 listPreference.setTitle(appName); in createListPreference() 247 listPreference.setDialogTitle(mPreferenceTitle); in createListPreference() 248 listPreference.setEntries(mEntryList); in createListPreference() 249 listPreference.setEntryValues(mEntryList); in createListPreference() 254 listPreference.setValue(mPreferenceSystem); in createListPreference() 255 listPreference.setSummary(mPreferenceSystem); in createListPreference() 257 listPreference.setValue(mPreferencePrereleaseDriver); in createListPreference() 258 listPreference.setSummary(mPreferencePrereleaseDriver); in createListPreference() [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 381 ListPreference listPreference = (ListPreference) preference; in setEntries() local 382 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setEntries() 383 setEntriesForSelection(mPictureSizes.backCameraSizes, listPreference); in setEntries() 384 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setEntries() 385 setEntriesForSelection(mPictureSizes.frontCameraSizes, listPreference); in setEntries() 386 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setEntries() 387 setEntriesForSelection(mPictureSizes.videoQualitiesBack.orNull(), listPreference); in setEntries() local 388 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setEntries() 389 setEntriesForSelection(mPictureSizes.videoQualitiesFront.orNull(), listPreference); in setEntries() local 402 ListPreference listPreference = (ListPreference) preference; in setSummary() local [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 57 final ListPreference listPreference = (ListPreference) mPreference; in displayPreference() local 58 final CharSequence[] entries = listPreference.getEntries(); in displayPreference() 60 listPreference.setEntries(entries); in displayPreference() 66 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 67 if (listPreference.findIndexOfValue(newValueString) <= 0) { in onPreferenceChange() 78 final ListPreference listPreference = (ListPreference) preference; in updateState() local 79 final CharSequence[] entries = listPreference.getEntries(); in updateState() 83 index = listPreference.findIndexOfValue(currentValue); in updateState() 90 listPreference.setValueIndex(index); in updateState() 91 listPreference.setSummary(entries[index]); in updateState()
|
D | SimulateColorSpacePreferenceController.java | 76 final ListPreference listPreference = (ListPreference) mPreference; in updateSimulateColorSpace() local 81 listPreference.setValue(mode); in updateSimulateColorSpace() 82 final int index = listPreference.findIndexOfValue(mode); in updateSimulateColorSpace() 86 listPreference.setSummary(res.getString(R.string.daltonizer_type_overridden, in updateSimulateColorSpace() 89 listPreference.setSummary("%s"); in updateSimulateColorSpace() 92 listPreference.setValue( in updateSimulateColorSpace()
|
D | BluetoothAvrcpVersionPreferenceController.java | 64 final ListPreference listPreference = (ListPreference) preference; in updateState() local 73 listPreference.setValue(mListValues[index]); in updateState() 74 listPreference.setSummary(mListSummaries[index]); in updateState()
|
D | SecondaryDisplayPreferenceController.java | 78 final ListPreference listPreference = (ListPreference) mPreference; in updateSecondaryDisplayDevicesOptions() local 79 listPreference.setValue(mListValues[index]); in updateSecondaryDisplayDevicesOptions() 80 listPreference.setSummary(mListSummaries[index]); in updateSecondaryDisplayDevicesOptions()
|
D | DebugNonRectClipOperationsPreferenceController.java | 82 final ListPreference listPreference = (ListPreference) mPreference; in updateShowNonRectClipOptions() local 83 listPreference.setValue(mListValues[index]); in updateShowNonRectClipOptions() 84 listPreference.setSummary(mListSummaries[index]); in updateShowNonRectClipOptions()
|
D | DebugGpuOverdrawPreferenceController.java | 82 final ListPreference listPreference = (ListPreference) mPreference; in updateDebugHwOverdrawOptions() local 83 listPreference.setValue(mListValues[index]); in updateDebugHwOverdrawOptions() 84 listPreference.setSummary(mListSummaries[index]); in updateDebugHwOverdrawOptions()
|
D | ProfileGpuRenderingPreferenceController.java | 80 final ListPreference listPreference = (ListPreference) mPreference; in updateTrackFrameTimeOptions() local 81 listPreference.setValue(mListValues[index]); in updateTrackFrameTimeOptions() 82 listPreference.setSummary(mListSummaries[index]); in updateTrackFrameTimeOptions()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 57 final ListPreference listPreference = (ListPreference) mPreference; in displayPreference() local 58 final CharSequence[] entries = listPreference.getEntries(); in displayPreference() 60 listPreference.setEntries(entries); in displayPreference() 66 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 67 if (listPreference.findIndexOfValue(newValueString) <= 0) { in onPreferenceChange() 78 final ListPreference listPreference = (ListPreference) preference; in updateState() local 79 final CharSequence[] entries = listPreference.getEntries(); in updateState() 83 index = listPreference.findIndexOfValue(currentValue); in updateState() 90 listPreference.setValueIndex(index); in updateState() 91 listPreference.setSummary(entries[index]); in updateState()
|
D | SimulateColorSpacePreferenceController.java | 76 final ListPreference listPreference = (ListPreference) mPreference; in updateSimulateColorSpace() local 81 listPreference.setValue(mode); in updateSimulateColorSpace() 82 final int index = listPreference.findIndexOfValue(mode); in updateSimulateColorSpace() 86 listPreference.setSummary(res.getString(R.string.daltonizer_type_overridden, in updateSimulateColorSpace() 89 listPreference.setSummary("%s"); in updateSimulateColorSpace() 92 listPreference.setValue( in updateSimulateColorSpace()
|
D | BluetoothAvrcpVersionPreferenceController.java | 64 final ListPreference listPreference = (ListPreference) preference; in updateState() local 73 listPreference.setValue(mListValues[index]); in updateState() 74 listPreference.setSummary(mListSummaries[index]); in updateState()
|
D | BluetoothMapVersionPreferenceController.java | 64 final ListPreference listPreference = (ListPreference) preference; in updateState() local 73 listPreference.setValue(mListValues[index]); in updateState() 74 listPreference.setSummary(mListSummaries[index]); in updateState()
|
D | DebugGpuOverdrawPreferenceController.java | 82 final ListPreference listPreference = (ListPreference) mPreference; in updateDebugHwOverdrawOptions() local 83 listPreference.setValue(mListValues[index]); in updateDebugHwOverdrawOptions() 84 listPreference.setSummary(mListSummaries[index]); in updateDebugHwOverdrawOptions()
|
D | ProfileGpuRenderingPreferenceController.java | 80 final ListPreference listPreference = (ListPreference) mPreference; in updateTrackFrameTimeOptions() local 81 listPreference.setValue(mListValues[index]); in updateTrackFrameTimeOptions() 82 listPreference.setSummary(mListSummaries[index]); in updateTrackFrameTimeOptions()
|
D | SecondaryDisplayPreferenceController.java | 78 final ListPreference listPreference = (ListPreference) mPreference; in updateSecondaryDisplayDevicesOptions() local 79 listPreference.setValue(mListValues[index]); in updateSecondaryDisplayDevicesOptions() 80 listPreference.setSummary(mListSummaries[index]); in updateSecondaryDisplayDevicesOptions()
|
D | DebugNonRectClipOperationsPreferenceController.java | 82 final ListPreference listPreference = (ListPreference) mPreference; in updateShowNonRectClipOptions() local 83 listPreference.setValue(mListValues[index]); in updateShowNonRectClipOptions() 84 listPreference.setSummary(mListSummaries[index]); in updateShowNonRectClipOptions()
|
D | BackgroundProcessLimitPreferenceController.java | 82 final ListPreference listPreference = (ListPreference) mPreference; in updateAppProcessLimitOptions() local 83 listPreference.setValue(mListValues[index]); in updateAppProcessLimitOptions() 84 listPreference.setSummary(mListSummaries[index]); in updateAppProcessLimitOptions()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/gamedriver/ |
D | GameDriverAppPreferenceController.java | 227 final ListPreference listPreference = new ListPreference(context); in createListPreference() local 229 listPreference.setKey(packageName); in createListPreference() 230 listPreference.setTitle(appName); in createListPreference() 231 listPreference.setDialogTitle(mPreferenceTitle); in createListPreference() 232 listPreference.setEntries(mEntryList); in createListPreference() 233 listPreference.setEntryValues(mEntryList); in createListPreference() 238 listPreference.setValue(mPreferenceSystem); in createListPreference() 239 listPreference.setSummary(mPreferenceSystem); in createListPreference() 241 listPreference.setValue(mPreferenceGameDriver); in createListPreference() 242 listPreference.setSummary(mPreferenceGameDriver); in createListPreference() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 54 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 59 listPreference.setSummary(defaultSummary); in onPreferenceChange() 69 listPreference.setSummary(btDevice.getAlias()); in onPreferenceChange() 157 final ListPreference listPreference = (ListPreference) preference; in setPreference() local 158 listPreference.setEntries(mediaOutputs); in setPreference() 159 listPreference.setEntryValues(mediaValues); in setPreference() 160 listPreference.setValueIndex(mSelectedIndex); in setPreference() 161 listPreference.setSummary(mediaOutputs[mSelectedIndex]); in setPreference() 162 mAudioSwitchPreferenceCallback.onPreferenceDataChanged(listPreference); in setPreference()
|
/packages/apps/Settings/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceController.java | 54 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 59 listPreference.setSummary(defaultSummary); in onPreferenceChange() 69 listPreference.setSummary(btDevice.getAlias()); in onPreferenceChange() 157 final ListPreference listPreference = (ListPreference) preference; in setPreference() local 158 listPreference.setEntries(mediaOutputs); in setPreference() 159 listPreference.setEntryValues(mediaValues); in setPreference() 160 listPreference.setValueIndex(mSelectedIndex); in setPreference() 161 listPreference.setSummary(mediaOutputs[mSelectedIndex]); in setPreference() 162 mAudioSwitchPreferenceCallback.onPreferenceDataChanged(listPreference); in setPreference()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/cdma/ |
D | CdmaSystemSelectPreferenceController.java | 41 final ListPreference listPreference = (ListPreference) preference; in updateState() local 42 listPreference.setVisible(getAvailabilityStatus() == AVAILABLE); in updateState() 47 listPreference.setValue(Integer.toString(mode)); in updateState() 56 listPreference.setEnabled( in updateState() 74 final ListPreference listPreference = (ListPreference) mPreference; in resetCdmaRoamingModeToDefault() local 76 listPreference.setValue(Integer.toString(TelephonyManager.CDMA_ROAMING_MODE_ANY)); in resetCdmaRoamingModeToDefault()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/ |
D | CdmaSystemSelectPreferenceController.java | 42 final ListPreference listPreference = (ListPreference) preference; in updateState() local 43 listPreference.setVisible(getAvailabilityStatus() == AVAILABLE); in updateState() 48 listPreference.setValue(Integer.toString(mode)); in updateState() 57 listPreference.setEnabled( in updateState() 75 final ListPreference listPreference = (ListPreference) mPreference; in resetCdmaRoamingModeToDefault() local 77 listPreference.setValue(Integer.toString(TelephonyManager.CDMA_ROAMING_MODE_ANY)); in resetCdmaRoamingModeToDefault()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SubScreenFragment.java | 58 final ListPreference listPreference = (ListPreference)screen.findPreference(prefKey); in updateListPreferenceSummaryToCurrentValue() local 59 if (listPreference == null) { in updateListPreferenceSummaryToCurrentValue() 62 final CharSequence entries[] = listPreference.getEntries(); in updateListPreferenceSummaryToCurrentValue() 63 final int entryIndex = listPreference.findIndexOfValue(listPreference.getValue()); in updateListPreferenceSummaryToCurrentValue() 64 listPreference.setSummary(entryIndex < 0 ? null : entries[entryIndex]); in updateListPreferenceSummaryToCurrentValue()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceController.java | 77 final ListPreference listPreference = (ListPreference) preference; in updateState() local 79 listPreference.setValue(Integer.toString(networkMode)); in updateState() 80 listPreference.setSummary(getPreferredNetworkModeSummaryResId(networkMode)); in updateState() 91 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 92 listPreference.setSummary(getPreferredNetworkModeSummaryResId(settingsMode)); in onPreferenceChange()
|