Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/property/
DAreaIdConfig.java45 @Nullable private final T mMaxValue; field in AreaIdConfig
56 mMaxValue = maxValue; in AreaIdConfig()
66 mMaxValue = (T) in.readValue(getClass().getClassLoader()); in AreaIdConfig()
135 return mMaxValue;
173 dest.writeValue(mMaxValue);
187 if (mMaxValue != null) {
188 sb.append(", mMaxValue=").append(mMaxValue);
213 private T mMaxValue = null;
238 mMaxValue = maxValue;
265 return new AreaIdConfig<>(mAreaId, mMinValue, mMaxValue, mSupportedEnumValues, mAccess,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DGainBuilder.java31 private int mMaxValue = MAX_GAIN; field in GainBuilder
42 mMaxValue = maxValue; in setMaxValue()
64 when(mockGain.maxValue()).thenReturn(mMaxValue); in build()
DHalAudioDeviceInfoBuilder.java45 private int mMaxValue = MAX_GAIN; field in HalAudioDeviceInfoBuilder
76 mMaxValue = maxVal; in setMaxValue()
104 maxValue = mMaxValue; in build()
/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/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java477 private int mMaxValue;
666 mMaxValue = max;
681 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
688 if (value < mMinValue || value > mMaxValue) {
715 } else if (mCurrentValue >= mMinValue && mCurrentValue <= mMaxValue) {
724 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
736 int interval = mMaxValue - mMinValue + 1;
737 if (value < mMinValue - interval || value > mMaxValue + interval) {
742 : (value > mMaxValue) ? value - interval : value;
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java485 @Nullable private final T mMaxValue; field in CarPropertyConfig.AreaConfig
490 mMaxValue = maxValue; in AreaConfig()
513 mMaxValue = (T) in.readValue(getClass().getClassLoader()); in AreaConfig()
521 return mMaxValue; in getMaxValue()
532 dest.writeValue(mMaxValue); in writeToParcel()
539 + ", mMaxValue=" + mMaxValue in toString()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAnimUtils.java259 private final float mMaxValue; field in ClampedProperty
265 mMaxValue = maxValue; in ClampedProperty()
270 mProperty.set(t, Utilities.boundToRange(v, mMinValue, mMaxValue)); in setValue()