/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | CaptionCustomFragment.java | 26 import androidx.preference.ListPreference; 48 private ListPreference mFontFamilyPref; 49 private ListPreference mTextColorPref; 50 private ListPreference mTextOpacityPref; 51 private ListPreference mEdgeTypePref; 52 private ListPreference mEdgeColorPref; 54 private ListPreference mBackgroundColorPref; 55 private ListPreference mBackgroundOpacityPref; 57 private ListPreference mWindowColorPref; 58 private ListPreference mWindowOpacityPref; [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | OtherSettingsPopup.java | 20 import com.android.camera.ListPreference; 44 private ArrayList<ListPreference> mListItem = new ArrayList<ListPreference>(); 59 private int getSettingLayoutId(ListPreference pref) { in getSettingLayoutId() 76 ListPreference pref = mListItem.get(position); in getView() 99 ListPreference pref = group.findPreference(keys[i]); in initialize() 126 ListPreference pref = (ListPreference) mListItem.get(j); in overrideSettings() 148 ListPreference pref = (ListPreference) mListItem.get(i); in reloadPreference()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/ |
D | BannerOptionsActivity.java | 26 import androidx.preference.ListPreference; 60 private ListPreference mOnClickPreference; 61 private ListPreference mSizePreference; 84 mOnClickPreference = (ListPreference) findPreferenceOrFail("banner_on_click"); in configurePreferences() 86 mSizePreference = (ListPreference) findPreferenceOrFail("banner_ad_size"); in configurePreferences() 87 final ListPreference viewTypePreference = in configurePreferences() 88 (ListPreference) findPreferenceOrFail("banner_view_type"); in configurePreferences() 138 ListPreference.SimpleSummaryProvider.getInstance()); in refreshOnClickEnabled() 158 ListPreference.SimpleSummaryProvider.getInstance()); in refreshAdSize()
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | SpareParts.java | 32 import android.preference.ListPreference; 64 private ListPreference mWindowAnimationsPref; 65 private ListPreference mTransitionAnimationsPref; 68 private ListPreference mFontSizePref; 69 private ListPreference mEndButtonPref; 116 mWindowAnimationsPref = (ListPreference) prefSet.findPreference(WINDOW_ANIMATIONS_PREF); in onCreate() 118 … mTransitionAnimationsPref = (ListPreference) prefSet.findPreference(TRANSITION_ANIMATIONS_PREF); in onCreate() 122 mFontSizePref = (ListPreference) prefSet.findPreference(FONT_SIZE_PREF); in onCreate() 124 mEndButtonPref = (ListPreference) prefSet.findPreference(END_BUTTON_PREF); in onCreate() 217 public void readAnimationPreference(int which, ListPreference pref) { in readAnimationPreference() [all …]
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcForegroundPreferenceController.java | 21 import androidx.preference.ListPreference; 38 private ListPreference mPreference; 96 if (!(preference instanceof ListPreference)) { in updateState() 99 final ListPreference listPreference = (ListPreference) preference; in updateState() 111 if (!(preference instanceof ListPreference)) { in onPreferenceChange() 115 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceController.java | 24 import androidx.preference.ListPreference; 61 final ListPreference listPreference = (ListPreference) mPreference; in displayPreference() 70 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange() 82 final ListPreference listPreference = (ListPreference) preference; in updateState()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingFragment.java | 21 import android.preference.ListPreference; 78 ListPreference countryChooserPref = in onCreate() 79 (ListPreference) in onCreate() 89 private void updateCountryChooserSummary(ListPreference countryChooserPref) { in updateCountryChooserSummary() 120 private void updateCountryChoices(ListPreference countryChooserPref) { in updateCountryChoices() 156 private void ameliorateInvalidSelectedValue(ListPreference countryChooserPref) { in ameliorateInvalidSelectedValue() 165 ListPreference countryChooserPref) { in buildDefaultCountryChooserKeysAndValues() 193 ListPreference listPref = (ListPreference) pref; in updateListSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | CycleResetDayOfMonthPickerPreferenceController.java | 25 import androidx.preference.ListPreference; 37 DataWarningAndLimitBasePreferenceController<ListPreference> { 50 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 51 return ListPreference.class; in getPreferenceType() 63 protected void updateState(ListPreference preference) { in updateState() 76 protected boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
|
D | DataUsageCycleBasePreferenceController.java | 24 import androidx.preference.ListPreference; 42 PreferenceController<ListPreference> { 64 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 65 return ListPreference.class; in getPreferenceType() 70 protected void updateState(ListPreference preference) { in updateState() 118 private void updateCycle(ListPreference preference) { in updateCycle()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 136 ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY); in initPreference() 137 … ListPreference timeLapseInterval = group.findPreference(KEY_VIDEO_TIME_LAPSE_FRAME_INTERVAL); in initPreference() 138 ListPreference pictureSize = group.findPreference(KEY_PICTURE_SIZE); in initPreference() 139 ListPreference whiteBalance = group.findPreference(KEY_WHITE_BALANCE); in initPreference() 140 ListPreference sceneMode = group.findPreference(KEY_SCENE_MODE); in initPreference() 141 ListPreference flashMode = group.findPreference(KEY_FLASH_MODE); in initPreference() 142 ListPreference focusMode = group.findPreference(KEY_FOCUS_MODE); in initPreference() 143 ListPreference exposure = group.findPreference(KEY_EXPOSURE); in initPreference() 146 ListPreference videoFlashMode = in initPreference() 148 ListPreference videoEffect = group.findPreference(KEY_VIDEO_EFFECT); in initPreference() [all …]
|
D | PreferenceGroup.java | 63 public ListPreference findPreference(String key) { in findPreference() 68 if (pref instanceof ListPreference) { in findPreference() 69 ListPreference listPref = (ListPreference) pref; in findPreference() 72 ListPreference listPref = in findPreference()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/ |
D | CdmaSystemSelectPreferenceController.java | 28 import androidx.preference.ListPreference; 37 implements ListPreference.OnPreferenceChangeListener { 47 final ListPreference listPreference = (ListPreference) preference; in updateState() 95 final ListPreference listPreference = (ListPreference) mPreference; in resetCdmaRoamingModeToDefault()
|
D | CdmaSubscriptionPreferenceController.java | 26 import androidx.preference.ListPreference; 35 implements ListPreference.OnPreferenceChangeListener { 40 ListPreference mPreference; 56 final ListPreference listPreference = (ListPreference) preference; in updateState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accessibility/ |
D | CaptionsTextSizeListPreferenceController.java | 24 import androidx.preference.ListPreference; 34 public class CaptionsTextSizeListPreferenceController extends PreferenceController<ListPreference> { 68 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 69 return ListPreference.class; in getPreferenceType() 73 protected void updateState(ListPreference preference) { in updateState() 82 public boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
|
D | CaptionsTextStyleListPreferenceController.java | 24 import androidx.preference.ListPreference; 35 PreferenceController<ListPreference> { 69 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 70 return ListPreference.class; in getPreferenceType() 74 protected void updateState(ListPreference preference) { in updateState() 83 public boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHearingAidsPresetsControllerTest.java | 38 import androidx.preference.ListPreference; 133 final ListPreference presetPreference = getTestPresetPreference(KEY_HEARING_AIDS_PRESETS); in onPreferenceChange_keyMatched_verifyStatusUpdated() 144 final ListPreference presetPreference = getTestPresetPreference("wrong_key"); in onPreferenceChange_keyNotMatched_doNothing() 155 final ListPreference presetPreference = getTestPresetPreference(KEY_HEARING_AIDS_PRESETS); in onPreferenceChange_supportGroupOperation_validGroupId_verifySelectPresetForGroup() 166 final ListPreference presetPreference = getTestPresetPreference(KEY_HEARING_AIDS_PRESETS); in onPreferenceChange_notSupportGroupOperation_verifySelectPreset() 177 final ListPreference presetPreference = getTestPresetPreference(KEY_HEARING_AIDS_PRESETS); in onPreferenceChange_invalidGroupId_verifySelectPreset() 188 final ListPreference presetPreference = getTestPresetPreference(KEY_HEARING_AIDS_PRESETS); in onPreferenceChange_notSupportGroupOperation_hasSubDevice_verifyStatusUpdated() 200 final ListPreference presetPreference = getTestPresetPreference(KEY_HEARING_AIDS_PRESETS); in onPreferenceChange_notSupportGroupOperation_hasMemberDevice_verifyStatusUpdated() 272 private ListPreference getTestPresetPreference(String key) { in getTestPresetPreference() 273 final ListPreference presetPreference = spy(new ListPreference(mContext)); in getTestPresetPreference()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.kt | 27 import androidx.preference.ListPreference 131 val preference: ListPreference = pref as ListPreference in onPreferenceChange() 145 updateAutoSnoozeSummary(pref as ListPreference, delay) in onPreferenceChange() 185 f = if (preference is ListPreference) { in onDisplayPreferenceDialog() 211 val homeTimezonePref: ListPreference? = findPreference(KEY_HOME_TZ) in loadTimeZoneList() 221 val autoSilencePref: ListPreference? = findPreference(KEY_AUTO_SILENCE) in refresh() 248 val homeTimezonePref: ListPreference? = findPreference(KEY_HOME_TZ) in refresh() 278 private fun refreshListPreference(preference: ListPreference) { in refreshListPreference() 283 private fun updateAutoSnoozeSummary(listPref: ListPreference, delay: String) { in updateAutoSnoozeSummary()
|
D | ScreensaverSettingsActivity.kt | 24 import androidx.preference.ListPreference 74 val clockStylePref: ListPreference = pref as ListPreference in onPreferenceChange() 82 val clockStylePref = findPreference<ListPreference>(KEY_CLOCK_STYLE) as ListPreference in refresh()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiMeteredPreferenceController2.java | 24 import androidx.preference.ListPreference; 46 final ListPreference listPreference = (ListPreference) preference; in updateState() 66 updateSummary((ListPreference) preference, getMeteredOverride()); in onPreferenceChange() 79 private void updateSummary(ListPreference preference, int meteredOverride) { in updateSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | AudioRouteSelectorController.java | 24 import androidx.preference.ListPreference; 37 public class AudioRouteSelectorController extends PreferenceController<ListPreference> { 54 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 55 return ListPreference.class; in getPreferenceType() 66 protected boolean handlePreferenceChanged(ListPreference preference, in handlePreferenceChanged() 110 protected void updateState(ListPreference preference) { in updateState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/ |
D | AppLinkStatePreferenceController.java | 29 import androidx.preference.ListPreference; 40 AppLaunchSettingsBasePreferenceController<ListPreference> { 59 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 60 return ListPreference.class; in getPreferenceType() 71 protected void updateState(ListPreference preference) { in updateState() 97 protected boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherSecurityPreferenceController.java | 27 import androidx.preference.ListPreference; 40 WifiTetherBasePreferenceController<ListPreference> implements WifiManager.SoftApCallback { 70 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 71 return ListPreference.class; in getPreferenceType() 98 protected boolean handlePreferenceChanged(ListPreference preference, in handlePreferenceChanged() 117 protected void updateState(ListPreference preference) { in updateState()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsAudioDeviceTypeController.java | 34 import androidx.preference.ListPreference; 63 private ListPreference mAudioDeviceTypePreference; 101 if (preference instanceof ListPreference) { in onPreferenceChange() 102 final ListPreference pref = (ListPreference) preference; in onPreferenceChange() 152 mAudioDeviceTypePreference = new ListPreference(context); in createAudioDeviceTypePreference() 200 ListPreference getAudioDeviceTypePreference() { in getAudioDeviceTypePreference()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/ |
D | TwoPanelListPreferenceDialogFragment.java | 28 import androidx.preference.ListPreference; 70 if (preference instanceof ListPreference) { in onCreate() 72 mEntriesCopy = ((ListPreference) preference).getEntries(); in onCreate() 73 mEntryValuesCopy = ((ListPreference) preference).getEntryValues(); in onCreate() 77 mInitialSelectionCopy = ((ListPreference) preference).getValue(); in onCreate() 180 final ListPreference preference = (ListPreference) getPreference(); in onItemClick()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceController.java | 26 import androidx.preference.ListPreference; 40 PreferenceController<ListPreference> { 51 protected Class<ListPreference> getPreferenceType() { in getPreferenceType() 52 return ListPreference.class; in getPreferenceType() 62 protected void updateState(ListPreference preference) { in updateState() 100 protected boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
|