/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestMin.rscript | 26 return min(inA, inB); 31 return min(inA, inB); 36 return min(inA, inB); 41 return min(inA, inB); 46 return min(inA, inB); 51 return min(inA, inB); 56 return min(inA, inB); 61 return min(inA, inB); 66 return min(inA, inB); 71 return min(inA, inB); [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RSUtils.java | 70 public static void genRandomDoubles(long seed, double min, double max, double array[], in genRandomDoubles() argument 73 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomDoubles() 81 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 in genRandomDoubles() 83 if (rand < min || rand > max) { in genRandomDoubles() 92 array[i] = min + rand * (max - min); in genRandomDoubles() 98 if (min <= d && d <= max) { in genRandomDoubles() 102 array[r.nextInt(array.length)] = min; in genRandomDoubles() 121 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() argument 124 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomFloats() 132 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 in genRandomFloats() [all …]
|
D | reduce.rscript | 43 // Finds LOCATION of min and max float values 55 IndexedVal min, max; 59 accum->min.val = posInf; 60 accum->min.idx = -1; 70 if (me.val <= accum->min.val) 71 accum->min = me; 78 if ((accum->min.idx < 0) || (val->min.val < accum->min.val)) 79 accum->min = val->min; 86 result->x = val->min.idx; 92 // finds min and max half values (not their locations) [all …]
|
D | intrinsic_convolve5x5.rscript | 30 uint32_t x3 = min((int32_t)x+1, gWidth-1); 31 uint32_t x4 = min((int32_t)x+2, gWidth-1); 36 uint32_t y3 = min((int32_t)y+1, gHeight-1); 37 uint32_t y4 = min((int32_t)y+2, gHeight-1); 77 uint32_t x3 = min((int32_t)x+1, gWidth-1); 78 uint32_t x4 = min((int32_t)x+2, gWidth-1); 83 uint32_t y3 = min((int32_t)y+1, gHeight-1); 84 uint32_t y4 = min((int32_t)y+2, gHeight-1); 124 uint32_t x3 = min((int32_t)x+1, gWidth-1); 125 uint32_t x4 = min((int32_t)x+2, gWidth-1); [all …]
|
D | intrinsic_resize.rscript | 58 uint32_t xs2 = (uint32_t) min(maxx, startx + 2); 59 uint32_t xs3 = (uint32_t) min(maxx, startx + 3); 63 uint32_t ys2 = (uint32_t) min(maxy, starty + 2); 64 uint32_t ys3 = (uint32_t) min(maxy, starty + 3); 108 uint32_t xs2 = (uint32_t) min(maxx, startx + 2); 109 uint32_t xs3 = (uint32_t) min(maxx, startx + 3); 113 uint32_t ys2 = (uint32_t) min(maxy, starty + 2); 114 uint32_t ys3 = (uint32_t) min(maxy, starty + 3); 158 uint32_t xs2 = (uint32_t) min(maxx, startx + 2); 159 uint32_t xs3 = (uint32_t) min(maxx, startx + 3); [all …]
|
D | intrinsic_convolve3x3.rscript | 26 uint32_t x1 = min((int32_t)x+1, gWidth-1); 28 uint32_t y1 = min((int32_t)y+1, gHeight-1); 67 uint32_t x1 = min((int32_t)x+1, gWidth-1); 69 uint32_t y1 = min((int32_t)y+1, gHeight-1); 108 uint32_t x1 = min((int32_t)x+1, gWidth-1); 110 uint32_t y1 = min((int32_t)y+1, gHeight-1); 149 uint32_t x1 = min((int32_t)x+1, gWidth-1); 151 uint32_t y1 = min((int32_t)y+1, gHeight-1); 190 uint32_t x1 = min((int32_t)x+1, gWidth-1); 192 uint32_t y1 = min((int32_t)y+1, gHeight-1); [all …]
|
D | RSBaseCompute.java | 119 double min = -4.0 * Math.PI; in createRandomAllocation() local 121 RSUtils.genRandomDoubles(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 126 float min = -4.0f * (float) Math.PI; in createRandomAllocation() local 128 RSUtils.genRandomFloats(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 132 double min = -4.0 * Math.PI; in createRandomAllocation() local 134 RSUtils.genRandomFloat16s(seed, min, max, inArray, includeExtremes); in createRandomAllocation() 335 long min = minArray[i] &0xffffffffl; in enforceOrdering() local 337 if (min > max) { in enforceOrdering() 339 maxArray[i] = (int) min; in enforceOrdering() 364 int min = minArray[i] &0xffff; in enforceOrdering() local [all …]
|
D | CoreMathVerifier.java | 244 Math.acos(in.min()), in acos() 263 acosh((float) in.min()), in acosh() 287 Math.asin(in.min()), in asin() 305 asinh((float) in.min()), in asinh() 329 Math.atan(in.min()), in atan() 347 atanh((float) in.min()), in atanh() 372 Math.atan2(numerator.min(), denominator.min()), in atan2() 373 Math.atan2(numerator.min(), denominator.max()), in atan2() 374 Math.atan2(numerator.max(), denominator.min()), in atan2() 401 Math.cbrt(in.min()), in cbrt() [all …]
|
D | Target.java | 272 double min = Math.sqrt(a.mMinValue); in sqrt() local 281 values = new double[]{f, 0., min, max}; in sqrt() 283 values = new double[]{f, min, max}; in sqrt() 559 u = Math.min(u, smallestNormal(-1.f)); in NegativeUlp() 607 public double min() { return mMinValue; } in min() method in Target.Floaty 638 float min = (float)mMinValue; in toString() local 641 s += String.format("%11.9g {%08x} to %11.9g {%08x} to %11.9g {%08x}", min, in toString() 642 Float.floatToRawIntBits(min), mid, in toString()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | Versions.java | 38 public static void requireMinimumVersion(int min) { in requireMinimumVersion() argument 39 if (!meetsSdkVersionRequirements(min, ANY)) { in requireMinimumVersion() 42 + versionToLetter(min) in requireMinimumVersion() 72 public static boolean meetsMinimumSdkVersionRequirement(int min) { in meetsMinimumSdkVersionRequirement() argument 73 return meetsSdkVersionRequirements(min, ANY); in meetsMinimumSdkVersionRequirement() 81 public static boolean meetsSdkVersionRequirements(int min, int max) { in meetsSdkVersionRequirements() argument 82 if (min != ANY) { in meetsSdkVersionRequirements() 83 if (min == Build.VERSION_CODES.CUR_DEVELOPMENT) { in meetsSdkVersionRequirements() 87 } else if (min > Build.VERSION.SDK_INT) { in meetsSdkVersionRequirements()
|
/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 51 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomDoubles() 59 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 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() 80 array[r.nextInt(array.length)] = min; in genRandomDoubles() 99 public static void genRandomFloats(long seed, float min, float max, float array[], in genRandomFloats() argument 102 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomFloats() 110 int sign = (min >= 0) ? 1 : 1 - r.nextInt(2) * 2; // -1 or 1 in genRandomFloats() [all …]
|
/cts/hostsidetests/packagemanager/parsing/host/src/android/content/pm/parsing/cts/host/ |
D | UsesSdkTest.kt | 66 assertSdks(result, min = 1, target = 0) in defaultsNoTag() 81 assertSdks(result, min = 1, target = 1) in defaultsWithTag() 96 assertSdks(result, min = 1, target = 29) in missingMinDefaults() 111 assertSdks(result, min = 29, target = 29) in missingTargetCoercedToMin() 149 assertSdks(result, min = 1, target = 1, extensions = emptyMap()) in emptyUsesSdk() 182 assertSdks(result, min = 29, target = 29) in takeLastMinSdk() 202 assertSdks(result, min = 1, target = 1, extensions = mapOf(31 to 0)) in takeLastExtensionSdk() 220 assertSdks(result, min = 1, target = 30, extensions = emptyMap()) in lastDeclarationOverridesAllPrevious() 240 assertSdks(result, min = 30, target = 30, extensions = mapOf(31 to 0)) in takeLastAfterAppTag() 245 min: Int = 1, in assertSdks() [all …]
|
/cts/tools/incremental-cts/testdata/ |
D | perf_dump.txt | 3 pgoff 0x0, maj 253, min 9, ino 14709, ino_generation 2575019956 11 pgoff 0x0, maj 253, min 9, ino 14709, ino_generation 2575019956 31 pgoff 0x0, maj 253, min 9, ino 14709, ino_generation 2575019956 39 pgoff 0x0, maj 253, min 9, ino 14709, ino_generation 2575019956 47 pgoff 0x0, maj 253, min 9, ino 14709, ino_generation 2575019956 55 pgoff 0x0, maj 253, min 9, ino 14709, ino_generation 2575019956 63 pgoff 0x0, maj 253, min 9, ino 14709, ino_generation 2575019956
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 332 List<T> list, T min) { in expectValuesGreaterOrEqual() argument 336 min.toString()), value.compareTo(min) >= 0); in expectValuesGreaterOrEqual() 348 T[] array, T min) { in expectValuesGreaterOrEqual() argument 349 expectValuesGreaterOrEqual(msg, Arrays.asList(array), min); in expectValuesGreaterOrEqual() 361 T min, T max) { in expectValuesInRange() argument 365 min.toString(), max.toString()), in expectValuesInRange() 366 value.compareTo(max)<= 0 && value.compareTo(min) >= 0); in expectValuesInRange() 379 T min, T max) { in expectValuesInRange() argument 380 expectValuesInRange(msg, Arrays.asList(array), min, max); in expectValuesInRange() 391 public void expectValuesInRange(String msg, int[] array, int min, int max) { in expectValuesInRange() argument [all …]
|
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
D | SustainedPerformanceHostTest.java | 117 double min = Double.MAX_VALUE, max = Double.MIN_VALUE; in analyzeResults() local 141 if (testSet[5] < min) { in analyzeResults() 142 min = testSet[5]; in analyzeResults() 149 double diff = (max - min)*100/max; in analyzeResults() 151 appResultsWithMode.add(0, min); in analyzeResults() 155 appResultsWithoutMode.add(0, min); in analyzeResults()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 244 final Point min = getScreenSize(); in suggestDesiredDimensionsTest() local 245 int w = min.x * 3; in suggestDesiredDimensionsTest() 246 int h = min.y * 2; in suggestDesiredDimensionsTest() 251 w = Math.min(w, max); in suggestDesiredDimensionsTest() 252 h = Math.min(h, max); in suggestDesiredDimensionsTest() 255 assertDesiredDimension(new Point(min.x / 2, min.y / 2), new Point(min.x / 2, min.y / 2)); in suggestDesiredDimensionsTest() 259 assertDesiredDimension(new Point(min.x / 2, h), new Point(min.x / 2, h)); in suggestDesiredDimensionsTest() 261 assertDesiredDimension(new Point(w, min.y / 2), new Point(w, min.y / 2)); in suggestDesiredDimensionsTest()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | EventBasicVerification.java | 112 long expectedBatchUs = Math.min(maximumFifoUs, askedBatchUs); in getDefault() 124 long minBatchUs = Math.min(reservedFifoUs, askedBatchUs); in getDefault() 125 long maxBatchUs = Math.min(maximumFifoUs, askedBatchUs); in getDefault() 152 double ratio = Math.min(Math.abs(worstBatchUs - minBatchUs), in getDefault()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | Animatable2Callback.java | 110 public void assertAVDRuntime(long min, long max) { in assertAVDRuntime() argument 115 min + "," + max, durationNs <= max && durationNs >= min); in assertAVDRuntime()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/image/ |
D | RangeLinearDepthTransform.java | 54 return Math.max(0, Math.min(255, in quantize() 60 return near + (far - near) * Math.max(0, Math.min(255, value)) / 255f; in reconstruct()
|
D | RangeInverseDepthTransform.java | 53 return Math.max(0, Math.min(255, in quantize() 60 Math.max(0, Math.min(255, value)) / 255f); in reconstruct()
|
/cts/tests/uwb/src/android/uwb/cts/ |
D | UwbTestUtils.java | 92 private static double getDoubleInRange(double min, double max) { in getDoubleInRange() argument 93 return min + (max - min) * Math.random(); in getDoubleInRange()
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_lens_movement_reporting.py | 163 min_loc = min([v['loc'] for v in d_af_fd.values()]) 170 min_sharp = min([v['sharpness'] for v in d_af_fd.values()]) 177 first_key = min(d_af_fd.keys()) # find 1st non-moving frame 185 min_loc = min([v['loc'] for v in d_min_fd.values()]) 192 min_sharp = min([v['sharpness'] for v in d_min_fd.values()])
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ColorUtils.java | 40 int temp = Math.min(b, Math.min(r, g)); in hue()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsPolicyTest.java | 214 Insets stableAndSystem = Insets.min(insets.getSystemWindowInsets(), in commonAsserts() 275 private static Matcher<Insets> insetsGreaterThanOrEqualTo(Insets min) { 276 return new CustomTypeSafeMatcher<Insets>("must be greater on each side than " + min) { 279 return actual.left >= min.left && actual.top >= min.top 280 && actual.right >= min.right && actual.bottom >= min.bottom;
|
D | TvMaxWindowSizeTests.java | 72 mDisplayShortestWidth = Math.min(displaySize.x, displaySize.y); in setUp() 83 final int shortestWidth = Math.min(sizeInfo.windowAppWidth, sizeInfo.windowAppHeight); in test_preSApplication_1080p_windowSizeCap() 94 final int shortestWidth = Math.min(sizeInfo.windowAppWidth, sizeInfo.windowAppHeight); in test_windowSize_notLargerThan_displaySize()
|