/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/base/libs/hwui/utils/ |
D | MathUtils.h | 80 static inline T clamp(T a, T minValue, T maxValue) { in clamp() argument 81 return min(max(a, minValue), maxValue); in clamp()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 803 int maxValue = 0; in performAccessibilityAction() local 807 maxValue = 23; in performAccessibilityAction() 809 maxValue = 12; in performAccessibilityAction() 813 maxValue = 55; in performAccessibilityAction() 815 if (value > maxValue) { in performAccessibilityAction() 820 value = maxValue; in performAccessibilityAction()
|
/frameworks/av/media/libstagefright/yuv/ |
D | YUVImage.cpp | 367 uint8_t clamp(uint8_t v, uint8_t minValue, uint8_t maxValue) { in clamp() argument 368 CHECK(maxValue >= minValue); in clamp() 371 else if (v > maxValue) return maxValue; in clamp()
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
D | Palette.java | 330 float maxValue = 0f; 341 if (max == null || thisValue > maxValue) { 343 maxValue = thisValue;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | qc_main.c | 52 UWord16 maxValue[MAX_GROUPED_SFB]); 407 UWord16 maxValue[MAX_GROUPED_SFB]) in calcMaxValueInSfb() 426 maxValue[sfbOffs+sfb] = maxThisSfb; in calcMaxValueInSfb()
|
/frameworks/rs/api/ |
D | gen_runtime.cpp | 113 string maxValue; member 647 maxValue = option.substr(pComma + 1, pParen - pComma - 1); in parseParameterDefinition() 1483 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue in writeJavaInputAllocationDefinition() 1502 double maxValue = 0.0; in writeJavaRandomCompatibleFloatAllocation() local 1508 maxValue = ldexp(0.95, (1 << bits) - 1); in writeJavaRandomCompatibleFloatAllocation() 1509 minValue = -maxValue; in writeJavaRandomCompatibleFloatAllocation() 1513 maxValue = MaxDoubleForInteger(compatibleType.significantBits, in writeJavaRandomCompatibleFloatAllocation() 1518 maxValue = MaxDoubleForInteger(compatibleType.significantBits, in writeJavaRandomCompatibleFloatAllocation() 1520 minValue = -maxValue - 1.0; in writeJavaRandomCompatibleFloatAllocation() 1524 file << minValue << ", " << maxValue << ")"; in writeJavaRandomCompatibleFloatAllocation()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 1808 name, axis.minValue, axis.maxValue, axis.flat, axis.fuzz, axis.resolution); in dumpRawAbsoluteAxisInfo() 2969 int32_t rawWidth = mRawPointerAxes.x.maxValue - mRawPointerAxes.x.minValue + 1; in configureSurface() 2970 int32_t rawHeight = mRawPointerAxes.y.maxValue - mRawPointerAxes.y.minValue + 1; in configureSurface() 3104 && mRawPointerAxes.touchMajor.maxValue != 0) { in configureSurface() 3105 mSizeScale = 1.0f / mRawPointerAxes.touchMajor.maxValue; in configureSurface() 3107 && mRawPointerAxes.toolMajor.maxValue != 0) { in configureSurface() 3108 mSizeScale = 1.0f / mRawPointerAxes.toolMajor.maxValue; in configureSurface() 3158 && mRawPointerAxes.pressure.maxValue != 0) { in configureSurface() 3159 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue; in configureSurface() 3179 mRawPointerAxes.tiltX.maxValue); in configureSurface() [all …]
|
D | EventHub.h | 85 int32_t maxValue; // maximum value member 93 maxValue = 0; in clear()
|
D | EventHub.cpp | 293 outAxisInfo->maxValue = info.maximum; in getAbsoluteAxisInfo()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | AutoScrollHelper.java | 605 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { in getEdgeValue() argument 607 final float edgeSize = constrain(relativeValue * size, NO_MIN, maxValue); in getEdgeValue()
|
/frameworks/base/core/java/android/widget/ |
D | TimePickerClockDelegate.java | 126 int maxValue = mMinuteSpinner.getMaxValue(); in TimePickerClockDelegate() 127 if (oldVal == maxValue && newVal == minValue) { in TimePickerClockDelegate() 134 } else if (oldVal == minValue && newVal == maxValue) { in TimePickerClockDelegate()
|
D | RadialTimePickerView.java | 1434 int maxValue = 0; in performAccessibilityAction() local 1438 maxValue = 23; in performAccessibilityAction() 1440 maxValue = 12; in performAccessibilityAction() 1444 maxValue = 55; in performAccessibilityAction() 1446 if (value > maxValue) { in performAccessibilityAction() 1451 value = maxValue; in performAccessibilityAction()
|
D | NumberPicker.java | 1432 public void setMaxValue(int maxValue) { in setMaxValue() argument 1433 if (mMaxValue == maxValue) { in setMaxValue() 1436 if (maxValue < 0) { in setMaxValue() 1439 mMaxValue = maxValue; in setMaxValue()
|
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 91 static void scaleDivRange(int32_t* divs, int count, float scale, int maxValue) { in scaleDivRange() argument 99 if (CC_UNLIKELY(divs[count - 1] > maxValue)) { in scaleDivRange() 102 int highestAvailable = maxValue; in scaleDivRange()
|
/frameworks/base/core/java/com/android/internal/widget/ |
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/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 714 int steps = (sourceGain.maxValue() - sourceGain.minValue()) in updateAudioConfigLocked() 720 gainValue = sourceGain.maxValue(); in updateAudioConfigLocked()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 494 private long jitterize(long minValue, long maxValue) { in jitterize() argument 496 long spread = maxValue - minValue; in jitterize()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 378 int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) { in addAbsoluteAxis() argument 384 info.maxValue = maxValue; in addAbsoluteAxis()
|