Home
last modified time | relevance | path

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

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DPickerColumn.java28 private int mMaxValue; field in PickerColumn
105 return mMaxValue - mMinValue + 1; in getCount()
121 return mMaxValue; in getMaxValue()
137 mMaxValue = maxValue; in setMaxValue()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java39 private int mMaxValue = 99; field in NumericTextView
140 if (mMaxValue != maxValue) { in setRange()
141 mMaxValue = maxValue; in setRange()
160 return mMaxValue; in getRangeMaximum()
218 for (int i = 0; i < mMaxValue; i++) { in updateMinimumWidth()
272 if (newValue <= mMaxValue) { in handleKeyUp()
295 final boolean isFinished = mCount >= mMaxCount || mValue * RADIX > mMaxValue; in handleKeyUp()
/frameworks/base/media/java/android/media/
DAudioGain.java64 private final int mMaxValue; field in AudioGain
79 mMaxValue = maxValue; in AudioGain()
112 return mMaxValue; in maxValue()
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DFlingAnimation.java166 if (mValue > mMaxValue) { in updateValueAndVelocity()
167 mValue = mMaxValue; in updateValueAndVelocity()
184 return value >= mMaxValue in isAtEquilibrium()
DDynamicAnimation.java308 float mMaxValue = Float.MAX_VALUE; field in DynamicAnimation
309 float mMinValue = -mMaxValue;
420 mMaxValue = max; in setMaxValue()
619 if (mValue > mMaxValue || mValue < mMinValue) { in startAnimationInternal()
649 mValue = Math.min(mValue, mMaxValue); in doAnimationFrame()
DSpringAnimation.java202 if (finalPosition > mMaxValue) { in sanityCheck()
245 mValue = Math.min(mValue, mMaxValue); in updateValueAndVelocity()
/frameworks/base/core/java/android/widget/
DNumberPicker.java279 private int mMaxValue; field in NumberPicker
1139 && selectorIndices[SELECTOR_MIDDLE_ITEM_INDEX] >= mMaxValue) { in scrollBy()
1156 if (!mWrapSelectorWheel && selectorIndices[SELECTOR_MIDDLE_ITEM_INDEX] >= mMaxValue) { in scrollBy()
1172 return (mMaxValue - mMinValue + 1) * mSelectorElementHeight; in computeVerticalScrollRange()
1320 int current = mMaxValue; in tryComputeMaxWidth()
1389 final boolean wrappingAllowed = (mMaxValue - mMinValue) >= mSelectorIndices.length; in updateWrapSelectorWheel()
1459 return mMaxValue; in getMaxValue()
1473 if (mMaxValue == maxValue) { in setMaxValue()
1479 mMaxValue = maxValue; in setMaxValue()
1480 if (mMaxValue < mValue) { in setMaxValue()
[all …]
/frameworks/native/libs/sensor/
DSensor.cpp31 mMinValue(0), mMaxValue(0), mResolution(0), in Sensor()
49 mMaxValue = hwSensor.maxRange; // FIXME: maxValue in Sensor()
353 return mMaxValue; in getMaxValue()
459 sizeof(mMinValue) + sizeof(mMaxValue) + sizeof(mResolution) + in getFlattenedSize()
484 FlattenableUtils::write(buffer, size, mMaxValue); in flatten()
521 sizeof(mMaxValue) + sizeof(mResolution) + sizeof(mPower) + sizeof(mMinDelay) + in unflatten()
531 FlattenableUtils::read(buffer, size, mMaxValue); in unflatten()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h119 float mMaxValue; variable
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7084 Landroid/widget/NumberPicker;->mMaxValue:I