/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 241 int32_t yf1 = rint(yf * 0x10000); in mkYCoeff() 242 int32_t yf2 = rint(yf * yf * 0x10000); in mkYCoeff() 243 int32_t yf3 = rint(yf * yf * yf * 0x10000); in mkYCoeff() 363 long xf16 = rint(xf * 0x10000); in kernelU4() 364 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU4() 440 long xf16 = rint(xf * 0x10000); in kernelU2() 441 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU2() 518 long xf16 = rint(xf * 0x10000); in kernelU1() 519 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU1()
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 129 TEST_FUNC_1(rint);
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 741 if (isSimplePath && dx == Math.rint(dx) && dy == Math.rint(dy)) { in offset()
|
/frameworks/base/core/java/android/util/ |
D | Half.java | 526 return FP16.rint(h); in round()
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 2940 function: rint 2951 rint() rounds half values to even. For example, <code>rint(0.5f)</code> returns 0.f and function 2952 <code>rint(1.5f)</code> returns 2.f. Similarly, <code>rint(-0.5f)</code> returns -0.f and 2953 <code>rint(-1.5f)</code> returns -2.f. 2958 function: rint 3008 @rint() is similar but rounds half values toward even. @trunc() truncates the decimal fraction. 3359 See @rint() and @round() for other rounding options.
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rscript | 825 f = rint(f); 826 f2 = rint(f2); 827 f3 = rint(f3); 828 f4 = rint(f4);
|
D | math.rscript | 311 TEST_FN_FUNC_FN(rint);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 845 f = rint(f); 846 f2 = rint(f2); 847 f3 = rint(f3); 848 f4 = rint(f4);
|
D | math.rscript | 336 TEST_FN_FUNC_FN(rint);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 843 f = rint(f); 844 f2 = rint(f2); 845 f3 = rint(f3); 846 f4 = rint(f4);
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 169 TEST_FN_FUNC_FN(rint);
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 5764 * rint: Round to even 5768 * rint() rounds half values to even. For example, rint(0.5f) returns 0.f and 5769 * rint(1.5f) returns 2.f. Similarly, rint(-0.5f) returns -0.f and 5770 * rint(-1.5f) returns -2.f. 5775 rint(float v); 5778 rint(float2 v); 5781 rint(float3 v); 5784 rint(float4 v); 5788 rint(half v); 5793 rint(half2 v); [all …]
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 297 TEST_FN_FUNC_FN(rint);
|
D | math.rs.orig | 311 TEST_FN_FUNC_FN(rint);
|
D | math.rscript | 311 TEST_FN_FUNC_FN(rint);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_fp16.rscript | 237 TEST_HN_FUNC_HN(rint);
|
D | math.rscript | 334 TEST_FN_FUNC_FN(rint);
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rscript | 311 TEST_FN_FUNC_FN(rint);
|
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rscript | 380 BENCH_FN_FUNC_FN(rint);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 920 value = (float) (Math.rint(value * scale) / scale);
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 671 float __attribute__((overloadable)) rint(float v) { in rint() function 674 FN_FUNC_FN(rint) in FN_FUNC_FN() argument 2135 HN_FUNC_HN(rint);
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rscript | 2927 *(float*)buf1203 = rint(*(float*)buf1204); 2928 *(float2*)buf1205 = rint(*(float2*)buf1206); 2929 *(float3*)buf1207 = rint(*(float3*)buf1208); 2930 *(float4*)buf1209 = rint(*(float4*)buf1210);
|
/frameworks/compile/slang/tests/P_all_api_15/ |
D | all15.rscript | 2927 *(float*)buf1203 = rint(*(float*)buf1204); 2928 *(float2*)buf1205 = rint(*(float2*)buf1206); 2929 *(float3*)buf1207 = rint(*(float3*)buf1208); 2930 *(float4*)buf1209 = rint(*(float4*)buf1210);
|
/frameworks/compile/slang/tests/P_all_api_11/ |
D | all11.rscript | 2857 *(float*)buf1203 = rint(*(float*)buf1204); 2858 *(float2*)buf1205 = rint(*(float2*)buf1206); 2859 *(float3*)buf1207 = rint(*(float3*)buf1208); 2860 *(float4*)buf1209 = rint(*(float4*)buf1210);
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rscript | 2857 *(float*)buf1203 = rint(*(float*)buf1204); 2858 *(float2*)buf1205 = rint(*(float2*)buf1206); 2859 *(float3*)buf1207 = rint(*(float3*)buf1208); 2860 *(float4*)buf1209 = rint(*(float4*)buf1210);
|