/frameworks/base/media/java/android/media/ |
D | AudioGain.java | 73 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/ |
D | FontUtilsTest.cpp | 47 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/ |
D | NinePatchPeeker.cpp | 51 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/ |
D | PickerColumn.java | 136 public void setMaxValue(int maxValue) { in setMaxValue() argument 137 mMaxValue = maxValue; in setMaxValue()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 135 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()
|
D | AutoScrollHelper.java | 604 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/ |
D | MathUtils.h | 82 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/ |
D | AudioGain.h | 40 void setMaxValueInMb(int maxValue) { mGain.max_value = maxValue; } in setMaxValueInMb() argument
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | Flagged.h | 132 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/ |
D | FlingAnimation.java | 122 public FlingAnimation setMaxValue(float maxValue) { in setMaxValue() argument 123 super.setMaxValue(maxValue); in setMaxValue()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 805 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/ |
D | GenerateTestFiles.cpp | 336 << 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()
|
D | Specification.h | 104 std::string maxValue; member
|
D | Specification.cpp | 191 maxValue = testOption.substr(pComma + 1, pParen - pComma - 1); in parseParameterDefinition()
|
/frameworks/base/core/java/android/widget/ |
D | TimePickerSpinnerDelegate.java | 123 int maxValue = mMinuteSpinner.getMaxValue(); in TimePickerSpinnerDelegate() 124 if (oldVal == maxValue && newVal == minValue) { in TimePickerSpinnerDelegate() 131 } else if (oldVal == minValue && newVal == maxValue) { in TimePickerSpinnerDelegate()
|
D | RadialTimePickerView.java | 1116 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()
|
D | NumberPicker.java | 1472 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/ |
D | BridgeInflater.java | 460 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/ |
D | AutoScrollHelper.java | 615 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/ |
D | TypefaceCompatTest.java | 118 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/ |
D | EventHub.h | 83 int32_t maxValue; // maximum value member 91 maxValue = 0; in clear()
|
D | EventHub.cpp | 317 outAxisInfo->maxValue = info.maximum; in getAbsoluteAxisInfo()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 643 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/ |
D | TvInputHardwareManager.java | 909 int steps = (sourceGain.maxValue() - sourceGain.minValue()) in updateAudioConfigLocked() 915 gainValue = sourceGain.maxValue(); in updateAudioConfigLocked()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 823 private long jitterize(long minValue, long maxValue) { in jitterize() argument 825 long spread = maxValue - minValue; in jitterize()
|