Home
last modified time | relevance | path

Searched refs:mMaxValue (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java443 private int mMaxValue;
632 mMaxValue = max;
647 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
654 if (value < mMinValue || value > mMaxValue) {
681 } else if (mCurrentValue >= mMinValue && mCurrentValue <= mMaxValue) {
690 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
702 int interval = mMaxValue - mMinValue + 1;
703 if (value < mMinValue - interval || value > mMaxValue + interval) {
708 : (value > mMaxValue) ? value - interval : value;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSeekBarDialogPreference.java42 private final int mMaxValue; field in SeekBarDialogPreference
55 mMaxValue = a.getInt(R.styleable.SeekBarDialogPreference_maxValue, 0); in SeekBarDialogPreference()
72 mSeekBar.setMax(mMaxValue - mMinValue); in onCreateDialogView()
87 final int clippedValue = Math.min(mMaxValue, Math.max(mMinValue, value)); in clipValue()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java428 @Nullable private final T mMaxValue; field in CarPropertyConfig.AreaConfig
432 mMaxValue = maxValue; in AreaConfig()
455 mMaxValue = (T) in.readValue(getClass().getClassLoader()); in AreaConfig()
463 return mMaxValue; in getMaxValue()
474 dest.writeValue(mMaxValue); in writeToParcel()
481 + ", mMaxValue=" + mMaxValue in toString()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DAnimatedTemperatureView.java93 private final float mMaxValue; field in AnimatedTemperatureView
119 mMaxValue = getResources().getFloat(R.dimen.hvac_max_value_celsius); in AnimatedTemperatureView()
232 return !Float.isNaN(mMaxValue) && isApproxEqual(temp, mMaxValue); in isMaxValue()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
DDepthController.java73 private final float mMaxValue; field in DepthController.ClampedDepthProperty
78 mMaxValue = maxValue; in ClampedDepthProperty()
83 depthController.setDepth(Utilities.boundToRange(depth, mMinValue, mMaxValue)); in setValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioDeviceInfoTest.java246 int mMaxValue = MAX_GAIN; field in CarAudioDeviceInfoTest.GainBuilder
257 mMaxValue = maxValue; in setMaxValue()
279 when(mockGain.maxValue()).thenReturn(mMaxValue); in build()