Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java339 private int mMaxValue;
528 mMaxValue = max;
543 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
551 if (value < mMinValue || value > mMaxValue) {
577 } else if (mCurrentValue >= mMinValue && mCurrentValue <= mMaxValue) {
586 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
598 int interval = mMaxValue - mMinValue + 1;
599 if (value < mMinValue - interval || value > mMaxValue + interval) {
604 : (value > mMaxValue) ? value - interval : value;
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java175 @Nullable private final T mMaxValue; field in CarPropertyConfig.AreaConfig
179 mMaxValue = maxValue; in AreaConfig()
202 mMaxValue = (T) in.readValue(getClass().getClassLoader()); in AreaConfig()
206 @Nullable public T getMaxValue() { return mMaxValue; } in getMaxValue()
216 dest.writeValue(mMaxValue); in writeToParcel()
223 ", mMaxValue=" + mMaxValue + in toString()
/packages/apps/TV/src/com/android/tv/dialog/
DPinDialogFragment.java386 private int mMaxValue;
609 mMaxValue = max;
626 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
664 if (mCurrentValue >= mMinValue && mCurrentValue <= mMaxValue) {
678 int interval = mMaxValue - mMinValue + 1;
679 if (value < mMinValue - interval || value > mMaxValue + interval) {
684 : (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/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DSetting.java28 private int mMaxValue; field in Setting
42 mMaxValue = max; in Setting()
70 return mMaxValue; in getMaxValue()