Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 13 of 13) 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/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.py37 [math.floor(65535 * math.pow(i/65535.0, 1/2.2) + 0.5)
41 [math.floor(65535 * math.pow(i/65535.0, 2.2) + 0.5)
592 wtile = math.floor(wnorm * wfull)
593 htile = math.floor(hnorm * hfull)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java61 x = (int)Math.floor(a.getDouble(i+0) * width + 0.5f); in getJsonWeightedRectsFromArray()
62 y = (int)Math.floor(a.getDouble(i+1) * height + 0.5f); in getJsonWeightedRectsFromArray()
63 w = (int)Math.floor(a.getDouble(i+2) * width + 0.5f); in getJsonWeightedRectsFromArray()
64 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/tests/camera/src/android/hardware/camera2/cts/
DBurstCaptureTest.java103 int minBurstFps = (int) Math.floor(1e9 / minStillFrameDuration + 0.05f); in yuvBurstTestByCamera()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java609 assertEquals((int) Math.floor(origOutlineRect.right * scale), tempOutlineRect.right); in testOutlinePreloadDensityInner()
610 assertEquals((int) Math.floor(origOutlineRect.bottom * scale), tempOutlineRect.bottom); in testOutlinePreloadDensityInner()
/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(