Home
last modified time | relevance | path

Searched refs:mMin (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java46 private int mMin; field in SeekBarPreference
78 if (seekBar.getProgress() + mMin != mSeekBarValue) {
128 mMin = a.getInt(R.styleable.SeekBarPreference_min, 0); in SeekBarPreference()
166 mSeekBar.setMax(mMax - mMin); in onBindViewHolder()
177 mSeekBar.setProgress(mSeekBarValue - mMin); in onBindViewHolder()
200 if (min != mMin) { in setMin()
201 mMin = min; in setMin()
208 return mMin; in getMin()
213 if (max < mMin) { in setMax()
214 max = mMin; in setMax()
[all …]
DProgressBarPreference.java42 private int mMin; field in ProgressBarPreference
71 mMin = a.getInteger(R.styleable.ProgressBarPreference_min, 0); in init()
98 if (mMin != min) { in setMin()
99 mMin = min; in setMin()
130 progressBar.setMin(mMin); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSeekBarPreference.java44 private int mMin; field in SeekBarPreference
62 setMin(a.getInt(com.android.internal.R.styleable.ProgressBar_min, mMin)); in SeekBarPreference()
107 mSeekBar.setMin(mMin); in onBindViewHolder()
184 if (min != mMin) { in setMin()
185 mMin = min; in setMin()
195 return mMin; in getMin()
227 if (progress < mMin) { in setProgress()
228 progress = mMin; in setProgress()
314 myState.min = mMin; in onSaveInstanceState()
331 mMin = myState.min; in onRestoreInstanceState()
/packages/apps/Settings/src/com/android/settings/widget/
DSeekBarPreference.java44 private int mMin; field in SeekBarPreference
62 setMin(a.getInt(com.android.internal.R.styleable.ProgressBar_min, mMin)); in SeekBarPreference()
118 mSeekBar.setMin(mMin); in onBindViewHolder()
195 if (min != mMin) { in setMin()
196 mMin = min; in setMin()
206 return mMin; in getMin()
238 if (progress < mMin) { in setProgress()
239 progress = mMin; in setProgress()
325 myState.min = mMin; in onSaveInstanceState()
342 mMin = myState.min; in onRestoreInstanceState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/display/
DBrightnessLevelPreferenceControllerTest.java52 private int mMin; field in BrightnessLevelPreferenceControllerTest
63 mMin = mContext.getResources().getInteger( in setUp()
67 mMid = (mMax + mMin) / 2; in setUp()
94 Settings.System.SCREEN_BRIGHTNESS, mMin, in testRefreshUi_minValue() local
120 mMin, mMax)); in testRefreshUi_midValue()
129 assertThat(currentSettingsVal).isEqualTo(mMin); in testHandlePreferenceChanged_minValue()
143 mSeekBarPreference.callChangeListener(convertLinearToGamma(mMid, mMin, mMax)); in testHandlePreferenceChanged_midValue()