Home
last modified time | relevance | path

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

123456789

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java26 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 …]
DDevelopmentFragment.java60 import androidx.preference.ListPreference;
180 private ListPreference mBtHciSnoopLog;
208 private ListPreference mDebugHwOverdraw;
211 private ListPreference mUsbConfiguration;
212 private ListPreference mTrackFrameTime;
213 private ListPreference mShowNonRectClip;
214 private ListPreference mWindowAnimationScale;
215 private ListPreference mTransitionAnimationScale;
216 private ListPreference mAnimatorDurationScale;
217 private ListPreference mOverlayDisplayDevices;
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.java24 import androidx.preference.ListPreference;
167 final ListPreference preference = (ListPreference) pref; in onPreferenceChange()
183 updateAutoSnoozeSummary((ListPreference) pref, delay); in onPreferenceChange()
228 if (preference instanceof ListPreference) { in onDisplayPreferenceDialog()
254 final ListPreference homeTimezonePref = (ListPreference) findPreference(KEY_HOME_TZ); in loadTimeZoneList()
262 final ListPreference autoSilencePref = in refresh()
263 (ListPreference) findPreference(KEY_AUTO_SILENCE); in refresh()
286 final ListPreference homeTimezonePref = (ListPreference) findPreference(KEY_HOME_TZ); in refresh()
290 refreshListPreference((ListPreference) findPreference(KEY_ALARM_CRESCENDO)); in refresh()
291 refreshListPreference((ListPreference) findPreference(KEY_TIMER_CRESCENDO)); in refresh()
[all …]
DSettingsActivity.kt27 import androidx.preference.ListPreference
132 val preference: ListPreference = pref as ListPreference in onPreferenceChange()
146 updateAutoSnoozeSummary(pref as ListPreference, delay) in onPreferenceChange()
186 f = if (preference is ListPreference) { in onDisplayPreferenceDialog()
213 val homeTimezonePref: ListPreference? = findPreference(KEY_HOME_TZ) in loadTimeZoneList()
223 val autoSilencePref: ListPreference? = findPreference(KEY_AUTO_SILENCE) in refresh()
250 val homeTimezonePref: ListPreference? = findPreference(KEY_HOME_TZ) in refresh()
280 private fun refreshListPreference(preference: ListPreference) { in refreshListPreference()
285 private fun updateAutoSnoozeSummary(listPref: ListPreference, delay: String) { in updateAutoSnoozeSummary()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamFragment.java34 import androidx.preference.ListPreference;
107 final ListPreference activeDreamPref = (ListPreference) findPreference(KEY_ACTIVE_DREAM); in onCreatePreferences()
111 final ListPreference dreamTimePref = (ListPreference) findPreference(KEY_DREAM_TIME); in onCreatePreferences()
115 final ListPreference sleepTimePref = (ListPreference) findPreference(KEY_SLEEP_TIME); in onCreatePreferences()
123 private void refreshActiveDreamPref(ListPreference activeDreamPref) { in refreshActiveDreamPref()
222 final ListPreference activeDreamPref = (ListPreference) findPreference(KEY_ACTIVE_DREAM); in refreshFromBackend()
227 final ListPreference dreamTimePref = (ListPreference) findPreference(KEY_DREAM_TIME); in refreshFromBackend()
232 final ListPreference sleepTimePref = (ListPreference) findPreference(KEY_SLEEP_TIME); in refreshFromBackend()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DOtherSettingsPopup.java20 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/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java32 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/LegacyCamera/src/com/android/camera/
DCameraSettings.java136 ListPreference videoQuality = group.findPreference(KEY_VIDEO_QUALITY); in initPreference()
137ListPreference 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 …]
DPreferenceGroup.java63 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/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java21 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DBluetoothMaxConnectedAudioDevicesPreferenceController.java23 import androidx.preference.ListPreference;
57 final ListPreference listPreference = (ListPreference) mPreference; in displayPreference()
66 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange()
78 final ListPreference listPreference = (ListPreference) preference; in updateState()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothMaxConnectedAudioDevicesPreferenceController.java23 import androidx.preference.ListPreference;
57 final ListPreference listPreference = (ListPreference) mPreference; in displayPreference()
66 final ListPreference listPreference = (ListPreference) preference; in onPreferenceChange()
78 final ListPreference listPreference = (ListPreference) preference; in updateState()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java28 import android.preference.ListPreference;
201 public void fill(List<Size> sizes, ListPreference preference) { in onResume()
377 if (!(preference instanceof ListPreference)) { in setEntries()
381 ListPreference listPreference = (ListPreference) preference; in setEntries()
398 if (!(preference instanceof ListPreference)) { in setSummary()
402 ListPreference listPreference = (ListPreference) preference; in setSummary()
426 ListPreference preference) { in setEntriesForSelection()
450 ListPreference preference) { in setEntriesForSelection()
475 ListPreference preference) { in setSummaryForSelection()
494 ListPreference preference) { in setSummaryForSelection()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/cdma/
DCdmaSystemSelectPreferenceController.java23 import androidx.preference.ListPreference;
32 implements ListPreference.OnPreferenceChangeListener {
41 final ListPreference listPreference = (ListPreference) preference; in updateState()
74 final ListPreference listPreference = (ListPreference) mPreference; in resetCdmaRoamingModeToDefault()
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/
DCdmaSystemSelectPreferenceController.java23 import androidx.preference.ListPreference;
33 implements ListPreference.OnPreferenceChangeListener {
42 final ListPreference listPreference = (ListPreference) preference; in updateState()
75 final ListPreference listPreference = (ListPreference) mPreference; in resetCdmaRoamingModeToDefault()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceController.java28 import androidx.preference.ListPreference;
39 AppLaunchSettingsBasePreferenceController<ListPreference> {
53 protected Class<ListPreference> getPreferenceType() { in getPreferenceType()
54 return ListPreference.class; in getPreferenceType()
65 protected void updateState(ListPreference preference) { in updateState()
91 protected boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherSecurityPreferenceController.java26 import androidx.preference.ListPreference;
35 WifiTetherBasePreferenceController<ListPreference> {
49 protected Class<ListPreference> getPreferenceType() { in getPreferenceType()
50 return ListPreference.class; in getPreferenceType()
66 protected boolean handlePreferenceChanged(ListPreference preference, in handlePreferenceChanged()
75 protected void updateState(ListPreference preference) { in updateState()
DNetworkSecurityPreferenceController.java24 import androidx.preference.ListPreference;
37 public class NetworkSecurityPreferenceController extends PreferenceController<ListPreference> {
64 protected Class<ListPreference> getPreferenceType() { in getPreferenceType()
65 return ListPreference.class; in getPreferenceType()
87 protected void updateState(ListPreference preference) { in updateState()
92 protected boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
DWifiTetherApBandPreferenceController.java24 import androidx.preference.ListPreference;
33 WifiTetherBasePreferenceController<ListPreference> {
46 protected Class<ListPreference> getPreferenceType() { in getPreferenceType()
47 return ListPreference.class; in getPreferenceType()
60 public void updateState(ListPreference preference) { in updateState()
103 public boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModePriorityMessagesPreferenceControllerTest.java33 import androidx.preference.ListPreference;
49 import androidx.preference.ListPreference;
62 private ListPreference mockPref;
111 final ListPreference mockPref = mock(ListPreference.class); in updateState_TotalSilence()
122 final ListPreference mockPref = mock(ListPreference.class); in updateState_AlarmsOnly()
DZenModePriorityCallsPreferenceControllerTest.java33 import androidx.preference.ListPreference;
49 import androidx.preference.ListPreference;
62 private ListPreference mockPref;
111 final ListPreference mockPref = mock(ListPreference.class); in updateState_TotalSilence()
122 final ListPreference mockPref = mock(ListPreference.class); in updateState_AlarmsOnly()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceController.java26 import androidx.preference.ListPreference;
40 PreferenceController<ListPreference> {
52 protected Class<ListPreference> getPreferenceType() { in getPreferenceType()
53 return ListPreference.class; in getPreferenceType()
63 protected void updateState(ListPreference preference) { in updateState()
101 protected boolean handlePreferenceChanged(ListPreference preference, Object newValue) { in handlePreferenceChanged()
/packages/apps/Settings/src/com/android/settings/development/gamedriver/
DGameDriverEnableForAllAppsPreferenceController.java27 import androidx.preference.ListPreference;
59 private ListPreference mPreference;
105 final ListPreference listPref = (ListPreference) preference; in updateState()
123 final ListPreference listPref = (ListPreference) preference; in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/widget/
DUpdatableListPreferenceDialogFragment.java24 import androidx.preference.ListPreference;
88 final ListPreference preference = getListPreference(); in onDialogClosed()
148 ListPreference getListPreference() { in getListPreference()
149 return (ListPreference) getPreference(); in getListPreference()
152 private void setPreferenceData(ListPreference preference) { in setPreferenceData()
161 public void onListPreferenceUpdated(ListPreference preference) { in onListPreferenceUpdated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUpdatableListPreferenceDialogFragment.java24 import androidx.preference.ListPreference;
88 final ListPreference preference = getListPreference(); in onDialogClosed()
148 ListPreference getListPreference() { in getListPreference()
149 return (ListPreference) getPreference(); in getListPreference()
152 private void setPreferenceData(ListPreference preference) { in setPreferenceData()
161 public void onListPreferenceUpdated(ListPreference preference) { in onListPreferenceUpdated()

123456789