Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/property/
DAreaIdConfig.java44 @Nullable private final T mMinValue; field in AreaIdConfig
55 mMinValue = minValue; in AreaIdConfig()
65 mMinValue = (T) in.readValue(getClass().getClassLoader()); in AreaIdConfig()
124 return mMinValue;
172 dest.writeValue(mMinValue);
184 if (mMinValue != null) {
185 sb.append(", mMinValue=").append(mMinValue);
212 private T mMinValue = null;
231 mMinValue = minValue;
265 return new AreaIdConfig<>(mAreaId, mMinValue, mMaxValue, mSupportedEnumValues, mAccess,
/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/tests/carservice_unit_test/src/com/android/car/audio/
DGainBuilder.java32 private int mMinValue = MIN_GAIN; field in GainBuilder
47 mMinValue = minValue; in setMinValue()
65 when(mockGain.minValue()).thenReturn(mMinValue); in build()
DHalAudioDeviceInfoBuilder.java46 private int mMinValue = MIN_GAIN; field in HalAudioDeviceInfoBuilder
71 mMinValue = minVal; in setMinValue()
103 minValue = mMinValue; in build()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java476 private int mMinValue;
665 mMinValue = min;
667 mNextValue = mCurrentValue = mMinValue - 1;
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) {
725 mNextValue = mCurrentValue = mMinValue;
736 int interval = mMaxValue - mMinValue + 1;
737 if (value < mMinValue - interval || value > mMaxValue + interval) {
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java484 @Nullable private final T mMinValue; field in CarPropertyConfig.AreaConfig
489 mMinValue = minValue; in AreaConfig()
512 mMinValue = (T) in.readValue(getClass().getClassLoader()); in AreaConfig()
517 return mMinValue; in getMinValue()
531 dest.writeValue(mMinValue); in writeToParcel()
538 + "mMinValue=" + mMinValue in toString()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAnimUtils.java258 private final float mMinValue; field in ClampedProperty
264 mMinValue = minValue; in ClampedProperty()
270 mProperty.set(t, Utilities.boundToRange(v, mMinValue, mMaxValue)); in setValue()