Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp58 const uint32_t maxVal = ranges[nRanges * 2 - 1]; in initFromRanges() local
59 if (maxVal >= kMaximumCapacity) { in initFromRanges()
62 mMaxVal = maxVal; in initFromRanges()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DEventRecurrence.java679 public static int parseIntRange(String str, int minVal, int maxVal, boolean allowZero) { in parseIntRange() argument
686 if (val < minVal || val > maxVal || (val == 0 && !allowZero)) { in parseIntRange()
704 public static int[] parseNumberList(String listStr, int minVal, int maxVal, in parseNumberList() argument
711 values[0] = parseIntRange(listStr, minVal, maxVal, allowZero); in parseNumberList()
717 values[i] = parseIntRange(valueStrs[i], minVal, maxVal, allowZero); in parseNumberList()
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dbit_cnt.h96 Word16 maxVal,
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dbit_cnt.c471 Word16 maxVal, in bitCount() argument
478 if(maxVal == 0) in bitCount()
483 maxVal = min(maxVal, CODE_BOOK_ESC_LAV); in bitCount()
484 countFuncTable[maxVal](values,width,bitCount); in bitCount()
Ddyn_bits.c49 Word16 sfbWidth, maxVal; in buildBitLookUp() local
56 maxVal = sfbMax[i]; in buildBitLookUp()
57 bitCount(quantSpectrum + sfbOffset[i], sfbWidth, maxVal, bitLookUp[i]); in buildBitLookUp()
Dtransform.c442 Word16 maxVal = 0; in getScalefactorOfShortVectorStride() local
448 maxVal |= absVal; in getScalefactorOfShortVectorStride()
451 return( maxVal ? norm_s(maxVal) : 15); in getScalefactorOfShortVectorStride()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce_backward.java141 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
149 if (input[idx] > maxVal) { in findMinAndMax()
150 maxVal = input[idx]; in findMinAndMax()
DUT_reduce.java530 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
538 if ((maxIdx < 0) || (input[idx] > maxVal)) { in findMinAndMax()
539 maxVal = input[idx]; in findMinAndMax()
1014 private static int[] computeSizePoints(int maxVal, int sparseness) { in computeSizePoints() argument
1015 assertTrue((maxVal >= 0) && (sparseness > 0)); in computeSizePoints()
1017 final boolean maxValIsExtra = ((maxVal % sparseness) != 0); in computeSizePoints()
1018 int[] result = new int[1 + maxVal / sparseness + (maxValIsExtra ? 1 : 0)]; in computeSizePoints()
1020 for (int i = 0; i * sparseness <= maxVal; ++i) in computeSizePoints()
1023 result[result.length - 1] = maxVal; in computeSizePoints()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce_backward.java143 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
151 if (input[idx] > maxVal) { in findMinAndMax()
152 maxVal = input[idx]; in findMinAndMax()
DUT_reduce.java532 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
540 if ((maxIdx < 0) || (input[idx] > maxVal)) { in findMinAndMax()
541 maxVal = input[idx]; in findMinAndMax()
1016 private static int[] computeSizePoints(int maxVal, int sparseness) { in computeSizePoints() argument
1017 assertTrue((maxVal >= 0) && (sparseness > 0)); in computeSizePoints()
1019 final boolean maxValIsExtra = ((maxVal % sparseness) != 0); in computeSizePoints()
1020 int[] result = new int[1 + maxVal / sparseness + (maxValIsExtra ? 1 : 0)]; in computeSizePoints()
1022 for (int i = 0; i * sparseness <= maxVal; ++i) in computeSizePoints()
1025 result[result.length - 1] = maxVal; in computeSizePoints()