Home
last modified time | relevance | path

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

/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/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_reduce_backward.java135 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
143 if (input[idx] > maxVal) { in findMinAndMax()
144 maxVal = input[idx]; in findMinAndMax()
DUT_reduce.java426 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
434 if (input[idx] > maxVal) { in findMinAndMax()
435 maxVal = input[idx]; in findMinAndMax()
889 private static int[] computeSizePoints(int maxVal, int sparseness) { in computeSizePoints() argument
890 assertTrue((maxVal >= 0) && (sparseness > 0)); in computeSizePoints()
892 final boolean maxValIsExtra = ((maxVal % sparseness) != 0); in computeSizePoints()
893 int[] result = new int[1 + maxVal/sparseness + (maxValIsExtra ? 1 : 0)]; in computeSizePoints()
895 for (int i = 0; i * sparseness <= maxVal; ++i) in computeSizePoints()
898 result[result.length - 1] = maxVal; in computeSizePoints()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_reduce.java125 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
133 if (input[idx] > maxVal) { in findMinAndMax()
134 maxVal = input[idx]; in findMinAndMax()
DUT_reduce_backward.java125 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax() local
133 if (input[idx] > maxVal) { in findMinAndMax()
134 maxVal = input[idx]; in findMinAndMax()
/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.c45 Word16 sfbWidth, maxVal; in buildBitLookUp() local
52 maxVal = sfbMax[i]; in buildBitLookUp()
53 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()