Home
last modified time | relevance | path

Searched refs:mMinValue (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java383 private int mMinValue;
572 mMinValue = min;
574 mNextValue = mCurrentValue = mMinValue - 1;
588 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
595 if (value < mMinValue || value > mMaxValue) {
622 } else if (mCurrentValue >= mMinValue && mCurrentValue <= mMaxValue) {
631 if (mCurrentValue < mMinValue || mCurrentValue > mMaxValue) {
632 mNextValue = mCurrentValue = mMinValue;
643 int interval = mMaxValue - mMinValue + 1;
644 if (value < mMinValue - interval || value > mMaxValue + interval) {
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSeekBarDialogPreference.java43 private final int mMinValue; field in SeekBarDialogPreference
56 mMinValue = a.getInt(R.styleable.SeekBarDialogPreference_minValue, 0); in SeekBarDialogPreference()
72 mSeekBar.setMax(mMaxValue - mMinValue); in onCreateDialogView()
79 return value - mMinValue; in getProgressFromValue()
83 return progress + mMinValue; in getValueFromProgress()
87 final int clippedValue = Math.min(mMaxValue, Math.max(mMinValue, value)); in clipValue()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java416 @Nullable private final T mMinValue; field in CarPropertyConfig.AreaConfig
420 mMinValue = minValue; in AreaConfig()
443 mMinValue = (T) in.readValue(getClass().getClassLoader()); in AreaConfig()
447 @Nullable public T getMinValue() { return mMinValue; } in getMinValue()
457 dest.writeValue(mMinValue); in writeToParcel()
464 "mMinValue=" + mMinValue + in toString()