Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestFloor.rs24 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/
DFloatMathTest.java32 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/
Dintrinsic_resize.rs49 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 …]
Dintrinsic_3dlut.rs34 int4 coord1 = convert_int4(floor(baseCoord));
DCoreMathVerifier.java74 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/
DHalfTest.java288 public void floor() { in floor() method in HalfTest
289 assertShortEquals(POSITIVE_INFINITY, Half.floor(POSITIVE_INFINITY)); in floor()
290 assertShortEquals(NEGATIVE_INFINITY, Half.floor(NEGATIVE_INFINITY)); in floor()
291 assertShortEquals(POSITIVE_ZERO, Half.floor(POSITIVE_ZERO)); in floor()
292 assertShortEquals(NEGATIVE_ZERO, Half.floor(NEGATIVE_ZERO)); in floor()
293 assertShortEquals(NaN, Half.floor(NaN)); in floor()
294 assertShortEquals(LOWEST_VALUE, Half.floor(LOWEST_VALUE)); in floor()
295 assertShortEquals(POSITIVE_ZERO, Half.floor(MIN_NORMAL)); in floor()
296 assertShortEquals(POSITIVE_ZERO, Half.floor((short) 0x3ff)); in floor()
297 assertShortEquals(POSITIVE_ZERO, Half.floor(toHalf(0.2f))); in floor()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java62 x = (int)Math.floor(a.getDouble(i+0) * width + 0.5f); in getJsonWeightedRectsFromArray()
63 y = (int)Math.floor(a.getDouble(i+1) * height + 0.5f); in getJsonWeightedRectsFromArray()
64 w = (int)Math.floor(a.getDouble(i+2) * width + 0.5f); in getJsonWeightedRectsFromArray()
65 h = (int)Math.floor(a.getDouble(i+3) * height + 0.5f); in getJsonWeightedRectsFromArray()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCommon.java86 samplePrefixArray[i] = (1 - index + Math.floor(index)) * prefixArray[(int) Math.floor(index)] in prefix()
/cts/apps/CameraITS/pymodules/its/
Dobjects.py53 return [{"numerator":math.floor(val*denom+0.5), "denominator":denom}
56 return {"numerator":math.floor(f*denom+0.5), "denominator":denom}
Dimage.py38 [math.floor(65535 * math.pow(i/65535.0, 1/2.2) + 0.5)
42 [math.floor(65535 * math.pow(i/65535.0, 2.2) + 0.5)
627 wtile = math.floor(wnorm * wfull)
628 htile = math.floor(hnorm * hfull)
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java434 minEvents = (int) Math.floor( in checkSharedMemoryContent()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java636 assertEquals((int) Math.floor(origOutlineRect.right * scale), tempOutlineRect.right); in verifyOutlinePreloadDensityInner()
637 assertEquals((int) Math.floor(origOutlineRect.bottom * scale), tempOutlineRect.bottom); in verifyOutlinePreloadDensityInner()
/cts/tools/cts-media/
Dget_achievable_rates.py156 … p95, med, p5 = perc(data, P, math.floor), perc(data, 50, round), perc(data, 100 - P, math.ceil)
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java825 int minBurstFps = (int) Math.floor(1e9 / frameDuration + 0.05f); in getSuitableFpsRangeForDuration()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/cts/tools/dex-tools/dex/
Dclasses0.out.dex16753 public static native double floor(
17980 public static native double floor(
Dclasses.out.dex81106 public static native float floor(