Searched refs:mMax (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | SeekBarPreference.java | 47 private int mMax; field in SeekBarPreference 166 mSeekBar.setMax(mMax - mMin); in onBindViewHolder() 197 if (min > mMax) { in setMin() 198 min = mMax; in setMin() 216 if (max != mMax) { in setMax() 217 mMax = max; in setMax() 242 mSeekBarIncrement = Math.min(mMax - mMin, Math.abs(seekBarIncrement)); in setSeekBarIncrement() 249 return mMax; in getMax() 281 if (seekBarValue > mMax) { in setValueInternal() 282 seekBarValue = mMax; in setValueInternal() [all …]
|
D | ProgressBarPreference.java | 43 private int mMax; field in ProgressBarPreference 72 mMax = a.getInteger(R.styleable.ProgressBarPreference_max, 100); in init() 106 if (mMax != max) { in setMax() 107 mMax = max; in setMax() 131 progressBar.setMax(mMax); in onBindViewHolder()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlaybackProgressBar.java | 34 private long mMax = 100; field in PlaybackProgressBar 84 if (max != mMax) { in setMax() 85 mMax = max; in setMax() 101 start = constrain(start, 0, mMax); in setProgressRange() 102 end = constrain(end, start, mMax); in setProgressRange() 141 if (mMax == 0) { in setProgressBound() 150 int left = (int) (width * start / mMax); in setProgressBound() 151 int right = (int) (width * end / mMax); in setProgressBound()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SeekBarPreference.java | 43 private int mMax; field in SeekBarPreference 61 setMax(a.getInt(com.android.internal.R.styleable.ProgressBar_max, mMax)); in SeekBarPreference() 106 mSeekBar.setMax(mMax); in onBindViewHolder() 177 if (max != mMax) { in setMax() 178 mMax = max; in setMax() 191 return mMax; in getMax() 224 if (progress > mMax) { in setProgress() 225 progress = mMax; in setProgress() 313 myState.max = mMax; in onSaveInstanceState() 330 mMax = myState.max; in onRestoreInstanceState()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SeekBarPreference.java | 43 private int mMax; field in SeekBarPreference 61 setMax(a.getInt(com.android.internal.R.styleable.ProgressBar_max, mMax)); in SeekBarPreference() 117 mSeekBar.setMax(mMax); in onBindViewHolder() 188 if (max != mMax) { in setMax() 189 mMax = max; in setMax() 202 return mMax; in getMax() 235 if (progress > mMax) { in setProgress() 236 progress = mMax; in setProgress() 324 myState.max = mMax; in onSaveInstanceState() 341 mMax = myState.max; in onRestoreInstanceState()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 53 private int mMax; field in BrightnessLevelPreferenceControllerTest 65 mMax = mContext.getResources().getInteger( in setUp() 67 mMid = (mMax + mMin) / 2; in setUp() 104 Settings.System.SCREEN_BRIGHTNESS, mMax, in testRefreshUi_maxValue() local 120 mMin, mMax)); in testRefreshUi_midValue() 138 assertThat(currentSettingsVal).isEqualTo(mMax); in testHandlePreferenceChanged_maxValue() 143 mSeekBarPreference.callChangeListener(convertLinearToGamma(mMid, mMin, mMax)); in testHandlePreferenceChanged_midValue()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeTestFragment.java | 108 public String mMax; field in VolumeTestFragment.VolumeInfo 185 mVolumeInfos[0].mMax = "Max"; in initVolumeInfo() 198 mVolumeInfos[i].mMax = String.valueOf(max); in initVolumeInfo() 200 Log.d(TAG, groupId + " max: " + mVolumeInfos[i].mMax + " current: " in initVolumeInfo()
|
D | VolumeAdapter.java | 66 vh.maxVolume.setText(String.valueOf(mVolumeList[position].mMax)); in getView()
|