/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestFloor.rscript | 24 return floor(inV); 28 return floor(inV); 32 return floor(inV); 36 return floor(inV); 40 return floor(inV); 44 return floor(inV); 48 return floor(inV); 52 return floor(inV);
|
/cts/tests/tests/libcorelegacy22/src/android/util/cts/ |
D | FloatMathTest.java | 32 assertEquals(78, FloatMath.floor(78.89f), 0); in testFloor() 33 assertEquals(-79, FloatMath.floor(-78.89f), 0); in testFloor() 34 assertEquals(7.0f, FloatMath.floor(7.2f)); in testFloor() 35 assertEquals(-7.0f, FloatMath.floor(-6.3f)); in testFloor()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | intrinsic_resize.rscript | 49 int startx = (int) floor(xf - 1); 50 int starty = (int) floor(yf - 1); 51 xf = xf - floor(xf); 52 yf = yf - floor(yf); 99 int startx = (int) floor(xf - 1); 100 int starty = (int) floor(yf - 1); 101 xf = xf - floor(xf); 102 yf = yf - floor(yf); 149 int startx = (int) floor(xf - 1); 150 int starty = (int) floor(yf - 1); [all …]
|
D | intrinsic_3dlut.rscript | 34 int4 coord1 = convert_int4(floor(baseCoord));
|
D | CoreMathVerifier.java | 74 static native float floor(float x); in floor() method in CoreMathVerifier 644 static private Target.Floaty floor(double d, Target t) { in floor() method in CoreMathVerifier 647 Math.floor(in.mid()), in floor() 648 Math.floor(in.min()), in floor() 649 Math.floor(in.max())); in floor() 683 d - Math.floor(d), in fract() 1975 args.out = floor(args.inVDouble, t); in computeFloor() 1982 floor(args.inV), in computeFloor() 1983 floor(in.min32()), in computeFloor() 1984 floor(in.max32())); in computeFloor() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | HalfTest.java | 311 public void floor() { in floor() method in HalfTest 312 assertShortEquals(POSITIVE_INFINITY, Half.floor(POSITIVE_INFINITY)); in floor() 313 assertShortEquals(NEGATIVE_INFINITY, Half.floor(NEGATIVE_INFINITY)); in floor() 314 assertShortEquals(POSITIVE_ZERO, Half.floor(POSITIVE_ZERO)); in floor() 315 assertShortEquals(NEGATIVE_ZERO, Half.floor(NEGATIVE_ZERO)); in floor() 316 assertShortEquals(NaN, Half.floor(NaN)); in floor() 317 assertShortEquals(LOWEST_VALUE, Half.floor(LOWEST_VALUE)); in floor() 318 assertShortEquals(POSITIVE_ZERO, Half.floor(MIN_NORMAL)); in floor() 319 assertShortEquals(POSITIVE_ZERO, Half.floor((short) 0x3ff)); in floor() 320 assertShortEquals(POSITIVE_ZERO, Half.floor(toHalf(0.2f))); in floor() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Common.java | 86 samplePrefixArray[i] = (1 - index + Math.floor(index)) * prefixArray[(int) Math.floor(index)] in prefix()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutGetLineLeftRightTest.java | 157 expectedLeft = (float) Math.floor((mWidth - mLeadingMargin - textWidth) / 2); in testGetLineLeft() 159 expectedLeft = (float) Math.floor(mLeadingMargin in testGetLineLeft()
|
/cts/apps/CameraITS/utils/ |
D | capture_request_utils.py | 182 return [{'numerator': math.floor(val*denom+0.5), 'denominator': denom} 185 return {'numerator': math.floor(f*denom+0.5), 'denominator': denom}
|
D | image_processing_utils.py | 42 math.floor((MAX_LUT_SIZE-1) * math.pow(i/(MAX_LUT_SIZE-1), 1/2.2) + 0.5) 604 wtile = int(math.floor(wnorm * wfull)) 605 htile = int(math.floor(hnorm * hfull))
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 74 x = (int)Math.floor(a.getDouble(i+0) * width + 0.5f); in getJsonWeightedRectsFromArray() 75 y = (int)Math.floor(a.getDouble(i+1) * height + 0.5f); in getJsonWeightedRectsFromArray() 76 w = (int)Math.floor(a.getDouble(i+2) * width + 0.5f); in getJsonWeightedRectsFromArray() 77 h = (int)Math.floor(a.getDouble(i+3) * height + 0.5f); in getJsonWeightedRectsFromArray()
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | WatchPercentageScreenDimenTest.java | 104 return (widthDp - (float) Math.floor(widthDp)) / widthDp; in getMaxErrorRatio()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 372 (int) Math.ceil(texturePosF.top), (int) Math.floor(texturePosF.right), in testSamplingWithTransform() 373 (int) Math.floor(texturePosF.bottom)); in testSamplingWithTransform()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 648 assertEquals((int) Math.floor(origOutlineRect.right * scale), tempOutlineRect.right); in verifyOutlinePreloadDensityInner() 649 assertEquals((int) Math.floor(origOutlineRect.bottom * scale), tempOutlineRect.bottom); in verifyOutlinePreloadDensityInner()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorDirectReportTest.java | 1431 minEvents = (int) Math.floor( in checkSharedMemoryContent() 1619 minMax[0] = (int) Math.floor( in calculateExpectedNEvents() 1709 minMax[0] = Math.max((int) Math.floor(
|
/cts/tools/cts-media/ |
D | get_achievable_rates.py | 156 … p95, med, p5 = perc(data, P, math.floor), perc(data, 50, round), perc(data, 100 - P, math.ceil)
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferGLTest.cpp | 193 return 1 + static_cast<int>(std::floor(std::log2(static_cast<float>(std::max(width, height))))); in MipLevelCount()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 3462 int minBurstFps = (int) Math.floor(1e9 / frameDuration + 0.05f); in getSuitableFpsRangeForDuration()
|