Searched refs:mMin (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | SeekBarPreference.java | 48 private int mMin; field in SeekBarPreference 81 if (seekBar.getProgress() + mMin != mSeekBarValue) { 182 mMin = a.getInt(R.styleable.SeekBarPreference_min, 0); in SeekBarPreference() 223 mSeekBar.setMax(mMax - mMin); in onBindViewHolder() 234 mSeekBar.setProgress(mSeekBarValue - mMin); in onBindViewHolder() 261 if (min != mMin) { in setMin() 262 mMin = min; in setMin() 269 return mMin; in getMin() 274 if (max < mMin) { in setMax() 275 max = mMin; in setMax() [all …]
|
D | ProgressBarPreference.java | 42 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/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/ |
D | QCSlider.java | 29 private int mMin = 0; field in QCSlider 38 mMin = min; in QCSlider() 47 mMin = in.readInt(); in QCSlider() 63 dest.writeInt(mMin); in writeToParcel() 89 return mMin; in getMin() 116 private int mMin = 0; field in QCSlider.Builder 128 mMin = min; in setMin() 185 return new QCSlider(mMin, mMax, mValue, mIsEnabled, mIsClickableWhileDisabled, in build()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SeekBarPreference.java | 55 private int mMin; field in SeekBarPreference 77 setMin(a.getInt(com.android.internal.R.styleable.ProgressBar_min, mMin)); in SeekBarPreference() 137 mSeekBar.setMin(mMin); in onBindViewHolder() 215 if (min != mMin) { in setMin() 216 mMin = min; in setMin() 226 return mMin; in getMin() 269 if (progress < mMin) { in setProgress() 270 progress = mMin; in setProgress() 299 if (progress == mMax || progress == mMin) { in syncProgress() 398 myState.min = mMin; in onSaveInstanceState() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 63 private int mMin; field in BrightnessLevelPreferenceControllerTest 85 mMin = mController.mMinimumBacklight; in setUp() 87 mMid = (mMax + mMin) / 2; in setUp() 118 mController.saveScreenBrightnessLinearValue(mMin); in testRefreshUi_minValue() 137 assertThat(mSeekBarPreference.getValue()).isEqualTo(convertLinearToGamma(mMid, mMin, mMax)); in testRefreshUi_midValue() 144 assertThat(mController.getScreenBrightnessLinearValue()).isEqualTo(mMin); in testHandlePreferenceChanged_minValue() 156 mSeekBarPreference.callChangeListener(convertLinearToGamma(mMid, mMin, mMax)); in testHandlePreferenceChanged_midValue()
|