Searched defs:maxValue (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/
H A DAudioGain.java73 int minValue, int maxValue, int defaultValue, int stepValue,
79 mMaxValue = maxValue;
111 public int maxValue() { method in class:AudioGain
72 AudioGain(int index, int mode, int channelMask, int minValue, int maxValue, int defaultValue, int stepValue, int rampDurationMinMs, int rampDurationMaxMs) argument
/frameworks/base/libs/hwui/utils/
H A DMathUtils.h80 static inline T clamp(T a, T minValue, T maxValue) { argument
81 return min(max(a, minValue), maxValue);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dqc_main.c52 UWord16 maxValue[MAX_GROUPED_SFB]);
407 UWord16 maxValue[MAX_GROUPED_SFB])
426 maxValue[sfbOffs+sfb] = maxThisSfb;
402 calcMaxValueInSfb(Word16 sfbCnt, Word16 maxSfbPerGroup, Word16 sfbPerGroup, Word16 sfbOffset[MAX_GROUPED_SFB], Word16 quantSpectrum[FRAME_LEN_LONG], UWord16 maxValue[MAX_GROUPED_SFB]) argument
/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp367 uint8_t clamp(uint8_t v, uint8_t minValue, uint8_t maxValue) { argument
368 CHECK(maxValue >= minValue);
371 else if (v > maxValue) return maxValue;
/frameworks/native/services/inputflinger/
H A DEventHub.h85 int32_t maxValue; // maximum value member in struct:android::RawAbsoluteAxisInfo
93 maxValue = 0;
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java599 * @param maxValue The maximum size of the inset, used to clamp (relative *
604 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { argument
606 final float edgeSize = constrain(relativeValue * size, NO_MIN, maxValue);
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp93 static void scaleDivRange(int32_t* divs, int count, float scale, int maxValue) { argument
101 if (CC_UNLIKELY(divs[count - 1] > maxValue)) {
104 int highestAvailable = maxValue;
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java600 * @param maxValue The maximum size of the inset, used to clamp (relative *
605 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) { argument
607 final float edgeSize = constrain(relativeValue * size, NO_MIN, maxValue);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java491 * Return a random value v that satisfies minValue <= v < maxValue. The difference between
492 * maxValue and minValue must be less than Integer.MAX_VALUE.
494 private long jitterize(long minValue, long maxValue) { argument
496 long spread = maxValue - minValue;
498 throw new IllegalArgumentException("the difference between the maxValue and the "
/frameworks/rs/api/
H A Dgen_runtime.cpp113 string maxValue; member in struct:__anon1461::ParameterDefinition
647 maxValue = option.substr(pComma + 1, pParen - pComma - 1);
1483 << vectorSize << ", " << seed << ", " << param.minValue << ", " << param.maxValue
1502 double maxValue = 0.0; local
1508 maxValue = ldexp(0.95, (1 << bits) - 1);
1509 minValue = -maxValue;
1513 maxValue = MaxDoubleForInteger(compatibleType.significantBits,
1518 maxValue = MaxDoubleForInteger(compatibleType.significantBits,
1520 minValue = -maxValue - 1.0;
1524 file << minValue << ", " << maxValue << ")"; local
[all...]
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java1425 * @param maxValue The max value inclusive.
1432 public void setMaxValue(int maxValue) { argument
1433 if (mMaxValue == maxValue) {
1436 if (maxValue < 0) {
1437 throw new IllegalArgumentException("maxValue must be >= 0");
1439 mMaxValue = maxValue;
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp378 int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) {
384 info.maxValue = maxValue;
377 addAbsoluteAxis(int32_t deviceId, int axis, int32_t minValue, int32_t maxValue, int flat, int fuzz, int resolution = 0) argument

Completed in 312 milliseconds