Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/media/java/android/media/
DAudioGain.java73 int minValue, int maxValue, int defaultValue, int stepValue, in AudioGain() argument
79 mMaxValue = maxValue; in AudioGain()
111 public int maxValue() { in maxValue() method in AudioGain
/frameworks/minikin/tests/unittest/
DFontUtilsTest.cpp47 Fvar(uint32_t tag, float minValue, float defaultValue, float maxValue) in Fvar()
48 : tag(tag), minValue(minValue), defaultValue(defaultValue), maxValue(maxValue) {} in Fvar()
53 float maxValue; member
74 head = writeU32(floatToFixed(fvar.maxValue), out.data(), head); in buildFvarTable()
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.cpp51 static void scaleDivRange(int32_t* divs, int count, float scale, int maxValue) { in scaleDivRange() argument
59 if (CC_UNLIKELY(divs[count - 1] > maxValue)) { in scaleDivRange()
62 int highestAvailable = maxValue; in scaleDivRange()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DPickerColumn.java136 public void setMaxValue(int maxValue) { in setMaxValue() argument
137 mMaxValue = maxValue; in setMaxValue()
/frameworks/base/core/java/com/android/internal/widget/
DNumericTextView.java135 public final void setRange(int minValue, int maxValue) { in setRange() argument
140 if (mMaxValue != maxValue) { in setRange()
141 mMaxValue = maxValue; in setRange()
142 mMaxCount = 1 + (int) (Math.log(maxValue) / LOG_RADIX); in setRange()
DAutoScrollHelper.java604 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { in getEdgeValue() argument
606 final float edgeSize = constrain(relativeValue * size, NO_MIN, maxValue); in getEdgeValue()
/frameworks/base/libs/hwui/utils/
DMathUtils.h82 static inline T clamp(T a, T minValue, T maxValue) { in clamp() argument
83 return std::min(std::max(a, minValue), maxValue); in clamp()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioGain.h40 void setMaxValueInMb(int maxValue) { mGain.max_value = maxValue; } in setMaxValueInMb() argument
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DFlagged.h132 static constexpr Flag minMask(Flag maxValue, int shift=sizeof(Flag) * 4) {
135 return shift ? minMask<Flag>(Flag(maxValue | (maxValue >> shift)), shift >> 1) : maxValue;
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
DFlingAnimation.java122 public FlingAnimation setMaxValue(float maxValue) { in setMaxValue() argument
123 super.setMaxValue(maxValue); in setMaxValue()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialPickerLayout.java805 int maxValue = 0; in performAccessibilityAction() local
809 maxValue = 23; in performAccessibilityAction()
811 maxValue = 12; in performAccessibilityAction()
815 maxValue = 55; in performAccessibilityAction()
817 if (value > maxValue) { in performAccessibilityAction()
822 value = maxValue; in performAccessibilityAction()
/frameworks/rs/script_api/
DGenerateTestFiles.cpp336 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue in writeJavaInputAllocationDefinition()
354 double maxValue = 0.0; in writeJavaRandomCompatibleFloatAllocation() local
360 maxValue = ldexp(0.95, (1 << bits) - 1); in writeJavaRandomCompatibleFloatAllocation()
361 minValue = -maxValue; in writeJavaRandomCompatibleFloatAllocation()
365 maxValue = maxDoubleForInteger(compatibleType.significantBits, in writeJavaRandomCompatibleFloatAllocation()
370 maxValue = maxDoubleForInteger(compatibleType.significantBits, in writeJavaRandomCompatibleFloatAllocation()
372 minValue = -maxValue - 1.0; in writeJavaRandomCompatibleFloatAllocation()
376 *mJava << minValue << ", " << maxValue << ")"; in writeJavaRandomCompatibleFloatAllocation()
DSpecification.h104 std::string maxValue; member
DSpecification.cpp191 maxValue = testOption.substr(pComma + 1, pParen - pComma - 1); in parseParameterDefinition()
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java123 int maxValue = mMinuteSpinner.getMaxValue(); in TimePickerSpinnerDelegate()
124 if (oldVal == maxValue && newVal == minValue) { in TimePickerSpinnerDelegate()
131 } else if (oldVal == minValue && newVal == maxValue) { in TimePickerSpinnerDelegate()
DRadialTimePickerView.java1116 final int maxValue; in adjustPicker() local
1125 maxValue = 23; in adjustPicker()
1129 maxValue = 12; in adjustPicker()
1135 maxValue = 55; in adjustPicker()
1139 final int clampedValue = MathUtils.constrain(nextValue, minValue, maxValue); in adjustPicker()
DNumberPicker.java1472 public void setMaxValue(int maxValue) { in setMaxValue() argument
1473 if (mMaxValue == maxValue) { in setMaxValue()
1476 if (maxValue < 0) { in setMaxValue()
1479 mMaxValue = maxValue; in setMaxValue()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java460 String maxValue = attrs.getAttributeValue(BridgeConstants.NS_TOOLS_URI, "maxValue"); in setupViewInContext() local
461 if (maxValue != null) { in setupViewInContext()
462 numberPicker.setMaxValue(Integer.parseInt(maxValue)); in setupViewInContext()
/frameworks/support/compat/src/main/java/androidx/core/widget/
DAutoScrollHelper.java615 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { in getEdgeValue() argument
617 final float edgeSize = constrain(relativeValue * size, NO_MIN, maxValue); in getEdgeValue()
/frameworks/support/compat/src/androidTest/java/androidx/core/graphics/
DTypefaceCompatTest.java118 float maxValue = Float.MIN_VALUE; in getSelectedFontResourceId() local
120 if (maxValue < widths[i]) { in getSelectedFontResourceId()
122 maxValue = widths[i]; in getSelectedFontResourceId()
/frameworks/native/services/inputflinger/
DEventHub.h83 int32_t maxValue; // maximum value member
91 maxValue = 0; in clear()
DEventHub.cpp317 outAxisInfo->maxValue = info.maximum; in getAbsoluteAxisInfo()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java643 long actualvalue, double minValue, double maxValue) { in assertValueRange() argument
645 actualvalue, minValue, maxValue); in assertValueRange()
646 assertTrue(errorMsg, actualvalue < maxValue); in assertValueRange()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java909 int steps = (sourceGain.maxValue() - sourceGain.minValue()) in updateAudioConfigLocked()
915 gainValue = sourceGain.maxValue(); in updateAudioConfigLocked()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java823 private long jitterize(long minValue, long maxValue) { in jitterize() argument
825 long spread = maxValue - minValue; in jitterize()

12