Home
last modified time | relevance | path

Searched refs:SeekBarPreference (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java43 public class SeekBarPreference extends CarUiPreference { class
116 public SeekBarPreference( in SeekBarPreference() method in SeekBarPreference
121 attrs, R.styleable.SeekBarPreference, defStyleAttr, defStyleRes); in SeekBarPreference()
136 public SeekBarPreference(Context context, AttributeSet attrs, int defStyleAttr) { in SeekBarPreference() method in SeekBarPreference
140 public SeekBarPreference(Context context, AttributeSet attrs) { in SeekBarPreference() method in SeekBarPreference
144 public SeekBarPreference(Context context) { in SeekBarPreference() method in SeekBarPreference
326 final SeekBarPreference.SavedState myState = new SeekBarPreference.SavedState(superState); in onSaveInstanceState()
335 if (!state.getClass().equals(SeekBarPreference.SavedState.class)) { in onRestoreInstanceState()
342 SeekBarPreference.SavedState myState = (SeekBarPreference.SavedState) state; in onRestoreInstanceState()
385 public static final Parcelable.Creator<SeekBarPreference.SavedState> CREATOR =
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/display/
DBrightnessLevelPreferenceController.java32 import com.android.car.settings.common.SeekBarPreference;
35 public class BrightnessLevelPreferenceController extends PreferenceController<SeekBarPreference> {
52 protected Class<SeekBarPreference> getPreferenceType() { in getPreferenceType()
53 return SeekBarPreference.class; in getPreferenceType()
57 protected void updateState(SeekBarPreference preference) { in updateState()
64 protected boolean handlePreferenceChanged(SeekBarPreference preference, Object newValue) { in handlePreferenceChanged()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java39 import com.android.car.settings.common.SeekBarPreference;
138 SeekBarPreference preference = (SeekBarPreference) mPreferenceGroup.getPreference(0); in testRefreshUi_createdPreferenceHasMinMax()
148 SeekBarPreference preference = (SeekBarPreference) mPreferenceGroup.getPreference(0); in testOnPreferenceChange_ringtonePlays()
157 SeekBarPreference preference = (SeekBarPreference) mPreferenceGroup.getPreference(0); in testOnPreferenceChange_audioManagerSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSeekBarPreferenceTest.java50 private SeekBarPreference mSeekBarPreference;
57 mSeekBarPreference = spy(new SeekBarPreference(mContext)); in setUp()
68 final SeekBarPreference preference = new SeekBarPreference(mContext); in testSaveAndRestoreInstanceState()
93 final SeekBarPreference seekBarPreference = fragment.findPreference("seek_bar"); in isSelectable_default_returnFalse()
108 final SeekBarPreference seekBarPreference = fragment.findPreference("seek_bar"); in isSelectable_selectableInXml_returnTrue()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java43 import com.android.car.settings.common.SeekBarPreference;
61 private final List<SeekBarPreference> mVolumePreferences = new ArrayList<>();
75 SeekBarPreference volumePreference = createVolumeSeekBarPreference(
125 for (SeekBarPreference preference : mVolumePreferences) { in updateState()
139 private SeekBarPreference createVolumeSeekBarPreference( in createVolumeSeekBarPreference()
142 SeekBarPreference preference = new SeekBarPreference(getContext()); in createVolumeSeekBarPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java40 import com.android.car.settings.common.SeekBarPreference;
74 private SeekBarPreference mSpeechRatePreference;
75 private SeekBarPreference mVoicePitchPreference;
370 private SeekBarPreference initSpeechRatePreference() { in initSpeechRatePreference()
371 SeekBarPreference speechRatePreference = (SeekBarPreference) getPreference().findPreference( in initSpeechRatePreference()
392 private SeekBarPreference initVoicePitchPreference() { in initVoicePitchPreference()
393 SeekBarPreference pitchPreference = (SeekBarPreference) getPreference().findPreference( in initVoicePitchPreference()
/packages/apps/Settings/src/com/android/settings/core/
DSliderPreferenceController.java37 if (preference instanceof com.android.settings.widget.SeekBarPreference) { in updateState()
38 ((com.android.settings.widget.SeekBarPreference) preference) in updateState()
40 } else if (preference instanceof androidx.preference.SeekBarPreference) { in updateState()
41 ((androidx.preference.SeekBarPreference) preference) in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DSliderPreferenceController.java37 if (preference instanceof com.android.car.developeroptions.widget.SeekBarPreference) { in updateState()
38 ((com.android.car.developeroptions.widget.SeekBarPreference) preference) in updateState()
40 } else if (preference instanceof androidx.preference.SeekBarPreference) { in updateState()
41 ((androidx.preference.SeekBarPreference) preference) in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSeekBarPreference.java39 public class SeekBarPreference extends RestrictedPreference class
55 public SeekBarPreference( in SeekBarPreference() method in SeekBarPreference
66 com.android.internal.R.styleable.SeekBarPreference, defStyleAttr, defStyleRes); in SeekBarPreference()
75 public SeekBarPreference(Context context, AttributeSet attrs, int defStyleAttr) { in SeekBarPreference() method in SeekBarPreference
79 public SeekBarPreference(Context context, AttributeSet attrs) { in SeekBarPreference() method in SeekBarPreference
85 public SeekBarPreference(Context context) { in SeekBarPreference() method in SeekBarPreference
/packages/apps/Settings/src/com/android/settings/widget/
DSeekBarPreference.java39 public class SeekBarPreference extends RestrictedPreference class
55 public SeekBarPreference( in SeekBarPreference() method in SeekBarPreference
66 com.android.internal.R.styleable.SeekBarPreference, defStyleAttr, defStyleRes); in SeekBarPreference()
82 public SeekBarPreference(Context context, AttributeSet attrs, int defStyleAttr) { in SeekBarPreference() method in SeekBarPreference
86 public SeekBarPreference(Context context, AttributeSet attrs) { in SeekBarPreference() method in SeekBarPreference
92 public SeekBarPreference(Context context) { in SeekBarPreference() method in SeekBarPreference
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DSliderPreferenceControllerTest.java21 import androidx.preference.SeekBarPreference;
37 private SeekBarPreference mPreference;
42 mPreference = new SeekBarPreference(mContext); in setUp()
DSettingsSliderPreferenceControllerTest.java22 import com.android.settings.widget.SeekBarPreference;
35 private SeekBarPreference mPreference;
39 mPreference = new SeekBarPreference(RuntimeEnvironment.application); in setUp()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarController.java31 import com.android.settings.widget.SeekBarPreference;
52 public SeekBarPreference mSeekBarPreference;
57 mSeekBarPreference = new SeekBarPreference(context); in BatterySaverScheduleSeekBarController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarController.java31 import com.android.car.developeroptions.widget.SeekBarPreference;
52 public SeekBarPreference mSeekBarPreference;
57 mSeekBarPreference = new SeekBarPreference(context); in BatterySaverScheduleSeekBarController()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAutoclickPreferenceFragment.java33 import com.android.settings.widget.SeekBarPreference;
75 private SeekBarPreference mDelay;
135 mDelay = (SeekBarPreference) findPreference("autoclick_delay"); in onCreate()
DBalanceSeekBarPreference.java33 import com.android.settings.widget.SeekBarPreference;
36 public class BalanceSeekBarPreference extends SeekBarPreference {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/display/
DBrightnessLevelPreferenceControllerTest.java34 import com.android.car.settings.common.SeekBarPreference;
51 private SeekBarPreference mSeekBarPreference;
72 mSeekBarPreference = new SeekBarPreference(mContext); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleAutoclickPreferenceFragment.java33 import com.android.car.developeroptions.widget.SeekBarPreference;
75 private SeekBarPreference mDelay;
135 mDelay = (SeekBarPreference) findPreference("autoclick_delay"); in onCreate()
DBalanceSeekBarPreference.java33 import com.android.car.developeroptions.widget.SeekBarPreference;
36 public class BalanceSeekBarPreference extends SeekBarPreference {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java44 import com.android.car.settings.common.SeekBarPreference;
84 private SeekBarPreference mSpeechRatePreference;
85 private SeekBarPreference mVoicePitchPreference;
107 mSpeechRatePreference = new SeekBarPreference(mContext); in setUp()
111 mVoicePitchPreference = new SeekBarPreference(mContext); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayIntensityPreferenceController.java27 import com.android.car.developeroptions.widget.SeekBarPreference;
56 final SeekBarPreference preference = screen.findPreference(getPreferenceKey()); in displayPreference()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayIntensityPreferenceController.java27 import com.android.settings.widget.SeekBarPreference;
56 final SeekBarPreference preference = screen.findPreference(getPreferenceKey()); in displayPreference()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java48 import com.android.settings.widget.SeekBarPreference;
113 private SeekBarPreference mDefaultPitchPref;
114 private SeekBarPreference mDefaultRatePref;
168 mDefaultPitchPref = (SeekBarPreference) findPreference(KEY_DEFAULT_PITCH); in onCreate()
169 mDefaultRatePref = (SeekBarPreference) findPreference(KEY_DEFAULT_RATE); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/tts/
DTextToSpeechSettings.java48 import com.android.car.developeroptions.widget.SeekBarPreference;
113 private SeekBarPreference mDefaultPitchPref;
114 private SeekBarPreference mDefaultRatePref;
168 mDefaultPitchPref = (SeekBarPreference) findPreference(KEY_DEFAULT_PITCH); in onCreate()
169 mDefaultRatePref = (SeekBarPreference) findPreference(KEY_DEFAULT_RATE); in onCreate()
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreference.java35 import com.android.settings.widget.SeekBarPreference;
40 public class VolumeSeekBarPreference extends SeekBarPreference {

12