Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp53 const uint32_t maxVal = ranges[nRanges * 2 - 1]; in initFromRanges() local
54 if (maxVal >= kMaximumCapacity) { in initFromRanges()
57 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/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()