/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestMax.rs | 26 return max(inA, inB); 31 return max(inA, inB); 36 return max(inA, inB); 41 return max(inA, inB); 46 return max(inA, inB); 51 return max(inA, inB); 56 return max(inA, inB); 61 return max(inA, inB); 66 return max(inA, inB); 71 return max(inA, inB); [all …]
|
/cts/libs/commonutil/src/com/android/cts/util/ |
D | Stat.java | 36 public StatResult(double average, double min, double max, double stddev, int dataCount) { in StatResult() argument 39 mMax = max; in StatResult() 51 double max = data[0]; in getStat() local 56 if (data[i] > max) { in getStat() 57 max = data[i]; in getStat() 67 return new StatResult(average, min, max, stddev, data.length); in getStat() 90 double max = median; in getStatWithOutlierRejection() local 98 if (data[i] > max) { in getStatWithOutlierRejection() 99 max = data[i]; in getStatWithOutlierRejection() 118 return new StatResult(average, min, max, stddev, validDataCounter); in getStatWithOutlierRejection() [all …]
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | Stat.java | 35 public StatResult(double average, double min, double max, double stddev, int dataCount) { in StatResult() argument 38 mMax = max; in StatResult() 50 double max = data[0]; in getStat() local 55 if (data[i] > max) { in getStat() 56 max = data[i]; in getStat() 66 return new StatResult(average, min, max, stddev, data.length); in getStat() 89 double max = median; in getStatWithOutlierRejection() local 97 if (data[i] > max) { in getStatWithOutlierRejection() 98 max = data[i]; in getStatWithOutlierRejection() 117 return new StatResult(average, min, max, stddev, validDataCounter); in getStatWithOutlierRejection() [all …]
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
D | RSUtils.java | 48 public static void genRandomDoubles(long seed, double min, double max, double array[], in genRandomDoubles() argument 52 int maxExponent = Math.max(Math.getExponent(max), 0); in genRandomDoubles() 61 if (rand < min || rand > max) { in genRandomDoubles() 70 array[i] = min + rand * (max - min); in genRandomDoubles() 76 if (min <= d && d <= max) { in genRandomDoubles() 81 array[r.nextInt(array.length)] = max; in genRandomDoubles() 99 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() argument 103 int maxExponent = Math.max(Math.getExponent(max), 0); in genRandomFloats() 112 if (rand < min || rand > max) { in genRandomFloats() 121 array[i] = min + rand * (max - min); in genRandomFloats() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSUtils.java | 48 public static void genRandomDoubles(long seed, double min, double max, double array[], in genRandomDoubles() argument 52 int maxExponent = Math.max(Math.getExponent(max), 0); in genRandomDoubles() 61 if (rand < min || rand > max) { in genRandomDoubles() 70 array[i] = min + rand * (max - min); in genRandomDoubles() 76 if (min <= d && d <= max) { in genRandomDoubles() 81 array[r.nextInt(array.length)] = max; in genRandomDoubles() 99 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() argument 103 int maxExponent = Math.max(Math.getExponent(max), 0); in genRandomFloats() 112 if (rand < min || rand > max) { in genRandomFloats() 121 array[i] = min + rand * (max - min); in genRandomFloats() [all …]
|
D | intrinsic_convolve5x5.rs | 27 uint32_t x0 = max((int32_t)x-2, 0); 28 uint32_t x1 = max((int32_t)x-1, 0); 33 uint32_t y0 = max((int32_t)y-2, 0); 34 uint32_t y1 = max((int32_t)y-1, 0); 74 uint32_t x0 = max((int32_t)x-2, 0); 75 uint32_t x1 = max((int32_t)x-1, 0); 80 uint32_t y0 = max((int32_t)y-2, 0); 81 uint32_t y1 = max((int32_t)y-1, 0); 121 uint32_t x0 = max((int32_t)x-2, 0); 122 uint32_t x1 = max((int32_t)x-1, 0); [all …]
|
D | intrinsic_resize.rs | 56 uint32_t xs0 = (uint32_t) max(0, startx + 0); 57 uint32_t xs1 = (uint32_t) max(0, startx + 1); 61 uint32_t ys0 = (uint32_t) max(0, starty + 0); 62 uint32_t ys1 = (uint32_t) max(0, starty + 1); 106 uint32_t xs0 = (uint32_t) max(0, startx + 0); 107 uint32_t xs1 = (uint32_t) max(0, startx + 1); 111 uint32_t ys0 = (uint32_t) max(0, starty + 0); 112 uint32_t ys1 = (uint32_t) max(0, starty + 1); 156 uint32_t xs0 = (uint32_t) max(0, startx + 0); 157 uint32_t xs1 = (uint32_t) max(0, startx + 1); [all …]
|
D | intrinsic_convolve3x3.rs | 27 uint32_t x2 = max((int32_t)x-1, 0); 29 uint32_t y2 = max((int32_t)y-1, 0); 68 uint32_t x2 = max((int32_t)x-1, 0); 70 uint32_t y2 = max((int32_t)y-1, 0); 109 uint32_t x2 = max((int32_t)x-1, 0); 111 uint32_t y2 = max((int32_t)y-1, 0); 150 uint32_t x2 = max((int32_t)x-1, 0); 152 uint32_t y2 = max((int32_t)y-1, 0); 191 uint32_t x2 = max((int32_t)x-1, 0); 193 uint32_t y2 = max((int32_t)y-1, 0); [all …]
|
D | RSBaseCompute.java | 118 double max = 4.0 * Math.PI; in createRandomAllocation() local 119 RSUtils.genRandomDoubles(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 125 float max = 4.0f * (float) Math.PI; in createRandomAllocation() local 126 RSUtils.genRandomFloats(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 308 long max = maxArray[i] &0xffffffffl; in enforceOrdering() local 309 if (min > max) { in enforceOrdering() 310 minArray[i] = (int) max; in enforceOrdering() 337 int max = maxArray[i] &0xffff; in enforceOrdering() local 338 if (min > max) { in enforceOrdering() 339 minArray[i] = (short) max; in enforceOrdering() [all …]
|
D | verify.rs | 122 e = max(e, d.x); 123 e = max(e, d.y); 124 e = max(e, d.z); 125 e = max(e, d.w); 132 merr = max(e, merr); 148 e = max(e, d.x); 149 e = max(e, d.y); 150 e = max(e, d.z); 157 merr = max(e, merr); 173 e = max(e, d.x); [all …]
|
D | Target.java | 198 f.mMaxValue = Math.max(-a.mMinValue, a.mMaxValue); in abs() 211 double max = Math.sqrt(a.mMaxValue); in sqrt() local 219 values = new double[]{f, 0., min, max}; in sqrt() 221 values = new double[]{f, min, max}; in sqrt() 427 u = Math.max(u, smallestNormal(1.f)); in Ulp() 516 float max = (float)mMaxValue; in toString() local 519 Float.floatToRawIntBits(mid), max, in toString() 520 Float.floatToRawIntBits(max)); in toString()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | Sphere.java | 101 short[] indexBuffer = new short[max(mNumIndices)]; in Sphere() 152 private int max(int[] array) { in max() method in Sphere 153 int max = array[0]; in max() local 155 if (array[i] > max) max = array[i]; in max() 157 return max; in max()
|
D | GlVboPerfTest.java | 139 float max = data[0]; in findMinMax() local 142 if (data[i] > max) max = data[i]; in findMinMax() 145 float[] result = {min, max}; in findMinMax()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsSeekBarTest.java | 191 int max = progress + 1; in testSetMax() local 192 myAbsSeekBar.setMax(max); in testSetMax() 193 assertEquals(max, myAbsSeekBar.getMax()); in testSetMax() 197 max = progress - 1; in testSetMax() 198 myAbsSeekBar.setMax(max); in testSetMax() 199 assertEquals(max, myAbsSeekBar.getMax()); in testSetMax() 200 assertEquals(max, myAbsSeekBar.getProgress()); in testSetMax() 206 max = (keyProgressIncrement - 1) * 20; in testSetMax() 207 myAbsSeekBar.setMax(max); in testSetMax() 209 max = (keyProgressIncrement + 1) * 20; in testSetMax() [all …]
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
D | Vector2D.cpp | 59 void Vector2D::limit(float max) { in limit() argument 60 if (magnitude() > max) { in limit() 62 scale(max); in limit()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | verify.rs | 130 e = max(e, d.x); 131 e = max(e, d.y); 132 e = max(e, d.z); 133 e = max(e, d.w); 140 merr = max(e, merr); 157 e = max(e, d.x); 158 e = max(e, d.y); 159 e = max(e, d.z); 166 merr = max(e, merr); 183 e = max(e, d.x); [all …]
|
D | RSUtils.java | 49 public static void genRandom(long seed, int max, int factor, int offset, int array[]) { in genRandom() argument 52 array[i] = (r.nextInt(max) * factor + offset); in genRandom() 69 public static void genRandom(long seed, int max, int factor, int offset, int array[], in genRandom() argument 77 array[i * stride + j] = r.nextInt(max) * factor + offset; in genRandom()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | AspectRatioTest.java | 69 int max = Math.max(metrics.widthPixels, metrics.heightPixels); in getRealAspectRatio() local 71 return (double) max / min; in getRealAspectRatio()
|
D | ConfigurationScreenLayoutTest.java | 102 int max = Math.max(metrics.widthPixels, metrics.heightPixels); in reduceScreenLayout() local 104 int longSize = (int) (max / metrics.density); in reduceScreenLayout()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTestingUtils.java | 26 final int w = Math.max(d.getIntrinsicWidth(), x + 1); in getPixel() 27 final int h = Math.max(d.getIntrinsicHeight(), y + 1); in getPixel()
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_burst_sameness_fullres_auto.py | 84 delta_max_pos = numpy.max(deltas) 86 delta_maxes.append(max(abs(delta_max_pos), abs(delta_max_neg))) 87 max_delta_max = max(delta_maxes)
|
/cts/tests/tests/util/src/android/util/cts/ |
D | EventLogTest.java | 80 final int max = 4096 - 20 - 4 - 1; in testWriteEventWithOversizeValue() local 84 assertEquals(max - 5, val0.length()); in testWriteEventWithOversizeValue() 90 assertEquals(max - 2 - 5 - 2 - 5, ((String) arr1[1]).length()); in testWriteEventWithOversizeValue() 96 assertEquals(max - 2 - 5 - 5, ((String) arr2[1]).length()); in testWriteEventWithOversizeValue() 102 assertEquals(max - 2 - 9 - 5, ((String) arr3[1]).length()); in testWriteEventWithOversizeValue() 108 assertEquals(max - 2 - 5 - 5, ((String) arr4[1]).length()); in testWriteEventWithOversizeValue() 113 assertEquals(max - 2 - 5, ((String) arr5[0]).length()); in testWriteEventWithOversizeValue()
|
/cts/apps/CtsVerifier/src/android/support/wearable/view/ |
D | BoxInsetLayout.java | 146 maxWidth = Math.max(maxWidth, in onMeasure() 148 maxHeight = Math.max(maxHeight, in onMeasure() 160 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure() 161 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure() 166 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure() 167 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth()); in onMeasure() 175 int boxInset = (int) (FACTOR * Math.max(getMeasuredWidth(), getMeasuredHeight())); in onMeasure() 246 int boxInset = (int)(FACTOR * Math.max(right - left, bottom - top)); in layoutBoxChildren()
|
/cts/apps/CameraITS/pymodules/its/ |
D | dng.py | 113 CM = CM / max(numpy.dot(CM, (0.9642957, 1.0, 0.8251046))) 163 ASN = ASN / max(ASN)
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_locked_burst.py | 69 spread = max(means) - min(means) 71 " (min/max: ", min(means), "/", max(means), ")"
|