/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 61 final ListPreference listPreference = (ListPreference) mPreference; in displayPreference() local 62 final CharSequence[] entries = listPreference.getEntries(); in displayPreference() 64 listPreference.setEntries(entries); in displayPreference() 70 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 71 if (listPreference.findIndexOfValue(newValueString) <= 0) { in onPreferenceChange() 82 final ListPreference listPreference = (ListPreference) preference; in updateState() local 83 final CharSequence[] entries = listPreference.getEntries(); in updateState() 87 index = listPreference.findIndexOfValue(currentValue); in updateState() 94 listPreference.setValueIndex(index); in updateState() 95 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 | BluetoothMapVersionPreferenceController.java | 67 final ListPreference listPreference = (ListPreference) preference; in updateState() local 76 listPreference.setValue(mListValues[index]); in updateState() 77 listPreference.setSummary(mListSummaries[index]); in updateState()
|
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 | 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 | 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 | 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 | 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()
|
D | TransitionAnimationScalePreferenceController.java | 102 final ListPreference listPreference = (ListPreference) mPreference; in updateAnimationScaleValue() local 103 listPreference.setValue(mListValues[index]); in updateAnimationScaleValue() 104 listPreference.setSummary(mListSummaries[index]); in updateAnimationScaleValue()
|
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverAppPreferenceController.java | 249 final ListPreference listPreference = new ListPreference(context); in createListPreference() local 251 listPreference.setKey(packageName); in createListPreference() 252 listPreference.setTitle(appName); in createListPreference() 253 listPreference.setDialogTitle(mPreferenceTitle); in createListPreference() 254 listPreference.setEntries(mEntryList); in createListPreference() 255 listPreference.setEntryValues(mEntryList); in createListPreference() 260 listPreference.setValue(mPreferenceSystem); in createListPreference() 261 listPreference.setSummary(mPreferenceSystem); in createListPreference() 263 listPreference.setValue(mPreferencePrereleaseDriver); in createListPreference() 264 listPreference.setSummary(mPreferencePrereleaseDriver); in createListPreference() [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 373 ListPreference listPreference = (ListPreference) preference; in setEntries() local 374 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setEntries() 375 setEntriesForSelection(mPictureSizes.backCameraSizes, listPreference); in setEntries() 376 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setEntries() 377 setEntriesForSelection(mPictureSizes.frontCameraSizes, listPreference); in setEntries() 378 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setEntries() 379 setEntriesForSelection(mPictureSizes.videoQualitiesBack.orNull(), listPreference); in setEntries() local 380 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setEntries() 381 setEntriesForSelection(mPictureSizes.videoQualitiesFront.orNull(), listPreference); in setEntries() local 394 ListPreference listPreference = (ListPreference) preference; in setSummary() local [all …]
|
/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() 158 final ListPreference listPreference = (ListPreference) preference; in setPreference() local 159 listPreference.setEntries(mediaOutputs); in setPreference() 160 listPreference.setEntryValues(mediaValues); in setPreference() 161 listPreference.setValueIndex(mSelectedIndex); in setPreference() 162 listPreference.setSummary(mediaOutputs[mSelectedIndex]); in setPreference() 163 mAudioSwitchPreferenceCallback.onPreferenceDataChanged(listPreference); in setPreference()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/ |
D | CdmaSystemSelectPreferenceController.java | 47 final ListPreference listPreference = (ListPreference) preference; in updateState() local 49 listPreference.setVisible(isVisible); in updateState() 61 listPreference.setValue(Integer.toString(mode)); in updateState() 74 listPreference.setEnabled(enableList); in updateState() 95 final ListPreference listPreference = (ListPreference) mPreference; in resetCdmaRoamingModeToDefault() local 97 listPreference.setValue(Integer.toString(TelephonyManager.CDMA_ROAMING_MODE_ANY)); in resetCdmaRoamingModeToDefault()
|
D | CdmaSubscriptionPreferenceController.java | 56 final ListPreference listPreference = (ListPreference) preference; in updateState() local 57 listPreference.setVisible(getAvailabilityStatus() == AVAILABLE); in updateState() 62 listPreference.setValue(Integer.toString(mode)); in updateState()
|
/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/nfc/ |
D | NfcForegroundPreferenceController.java | 95 final ListPreference listPreference = (ListPreference) preference; in updateState() local 96 listPreference.setIconSpaceReserved(false); in updateState() 97 listPreference.setValue(mListValues[mPaymentBackend.isForegroundMode() ? 1 : 0]); in updateState() 111 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 113 listPreference.setSummary(mListEntries[listPreference.findIndexOfValue(newValueString)]); in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityButtonGesturePreferenceController.java | 50 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 55 updateState(listPreference); in onPreferenceChange() 63 final ListPreference listPreference = (ListPreference) preference; in updateState() local 65 listPreference.setValue(getCurrentAccessibilityButtonMode()); in updateState()
|
D | AccessibilityButtonLocationPreferenceController.java | 50 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 55 updateState(listPreference); in onPreferenceChange() 63 final ListPreference listPreference = (ListPreference) preference; in updateState() local 65 listPreference.setValue(getCurrentAccessibilityButtonMode()); in updateState()
|
D | SelectLongPressTimeoutPreferenceController.java | 53 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 57 updateState(listPreference); in onPreferenceChange() 68 final ListPreference listPreference = (ListPreference) preference; in updateState() local 69 listPreference.setValue(getLongPressTimeoutValue()); in updateState()
|
D | FloatingMenuSizePreferenceController.java | 97 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 101 updateState(listPreference); in onPreferenceChange() 109 final ListPreference listPreference = (ListPreference) preference; in updateState() local 111 listPreference.setValue(String.valueOf(getAccessibilityFloatingMenuSize(mDefaultSize))); in updateState()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceController.java | 72 final ListPreference listPreference = (ListPreference) preference; in updateState() local 74 listPreference.setValue(Integer.toString(networkMode)); in updateState() 75 listPreference.setSummary(getPreferredNetworkModeSummaryResId(networkMode)); in updateState() 86 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() local 87 listPreference.setSummary(getPreferredNetworkModeSummaryResId(newPreferredNetworkMode)); in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiPrivacyPreferenceController2.java | 68 final ListPreference listPreference = (ListPreference) preference; in updateState() local 72 listPreference.setValue(Integer.toString(randomizationLevel)); in updateState() 73 updateSummary(listPreference, randomizationLevel); in updateState() 77 listPreference.setSummary(R.string.wifi_privacy_settings_ephemeral_summary); in updateState()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleCallsPreferenceController.java | 68 ListPreference listPreference = (ListPreference) preference; in updateFromContactsValue() local 69 listPreference.setSummary(mBackend.getContactsCallsSummary(mRule.getZenPolicy())); in updateFromContactsValue() 72 listPreference.setValue(mListValues[getIndexOfSendersValue(currentVal)]); in updateFromContactsValue()
|
D | ZenRuleMessagesPreferenceController.java | 69 ListPreference listPreference = (ListPreference) preference; in updateFromContactsValue() local 70 listPreference.setSummary(mBackend.getContactsMessagesSummary(mRule.getZenPolicy())); in updateFromContactsValue() 73 listPreference.setValue(mListValues[getIndexOfSendersValue(currentVal)]); in updateFromContactsValue()
|