/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 278 mTmpHSL[0] = fract(h[fitIndex]) * 360.0f; in getColorInt() 364 if (candidate.maxHue > 1.0f && h >= 0.0f && h <= fract(candidate.maxHue)) { in findTonalPalette() 369 if (candidate.minHue < 0.0f && h >= fract(candidate.minHue) && h <= 1.0f) { in findTonalPalette() 380 } else if (candidate.maxHue > 1.0f && h >= fract(candidate.maxHue) in findTonalPalette() 381 && h - fract(candidate.maxHue) < error) { in findTonalPalette() 383 error = h - fract(candidate.maxHue); in findTonalPalette() 384 } else if (candidate.minHue < 0.0f && h <= fract(candidate.minHue) in findTonalPalette() 385 && fract(candidate.minHue) - h < error) { in findTonalPalette() 387 error = fract(candidate.minHue) - h; in findTonalPalette() 394 private static float fract(float v) { in fract() method in Tonal
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_24.rscript | 37 TEST_FN_FUNC_FN(fract);
|
D | math_fp16.rscript | 155 TEST_HN_FUNC_HN(fract); 156 TEST_HN_FUNC_HN_PHN(fract);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | math_24.rscript | 39 TEST_FN_FUNC_FN(fract);
|
D | apitest.rscript | 742 f = fract(f, (float *)&f); 743 f2 = fract(f2, (float2 *)&f2); 744 f3 = fract(f3, (float3 *)&f3); 745 f4 = fract(f4, (float4 *)&f4); 746 f = fract(f); 747 f2 = fract(f2); 748 f3 = fract(f3); 749 f4 = fract(f4); 1210 f = fract(f);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | bugdroid.rscript | 43 float angle = fabs(2 * fract(atan2pi(vec.z, vec.y) * 5) - 1); 63 float angle = fabs(2 * fract(atan2pi(vec.y, vec.x) * 6) - 1); 106 float angle = fabs(2 * fract(atan2pi(vec.y, vec.x) * 20) - 1);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationController.java | 1255 float fract = animation.getAnimatedFraction(); in onAnimationUpdate() local 1257 (mEndMagnificationSpec.scale - mStartMagnificationSpec.scale) * fract; in onAnimationUpdate() 1260 * fract; in onAnimationUpdate() 1263 * fract; in onAnimationUpdate()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 740 f = fract(f, (float *)&f); 741 f2 = fract(f2, (float2 *)&f2); 742 f3 = fract(f3, (float3 *)&f3); 743 f4 = fract(f4, (float4 *)&f4); 744 f = fract(f); 745 f2 = fract(f2); 746 f3 = fract(f3); 747 f4 = fract(f4); 1208 f = fract(f);
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 509 extern float __attribute__((overloadable)) fract(float v, float *iptr) { in FN_FUNC_FN_FN() 516 FN_FUNC_FN_PFN(fract) in FN_FUNC_FN_PFN() argument 518 extern float __attribute__((const, overloadable)) fract(float v) { in FN_FUNC_FN_PFN() 520 return fract(v, &unused); in FN_FUNC_FN_PFN() 522 FN_FUNC_FN(fract) 1941 extern half __attribute__((overloadable)) fract(half v, half *iptr) { in fract() function 1954 SCALARIZE_HN_FUNC_HN_PHN(fract); 1956 extern half __attribute__((const, overloadable)) fract(half v) { in fract() function 1958 return fract(v, &unused); in fract() 1961 extern half2 __attribute__((const, overloadable)) fract(half2 v) { in fract() function [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | apitest.rscript | 722 f = fract(f, (float *)&f); 723 f2 = fract(f2, (float2 *)&f2); 724 f3 = fract(f3, (float3 *)&f3); 725 f4 = fract(f4, (float4 *)&f4); 726 f = fract(f); 727 f2 = fract(f2); 728 f3 = fract(f3); 729 f4 = fract(f4);
|
D | math.rscript | 280 TEST_FN_FUNC_FN_PFN(fract);
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 107 TEST_FUNC_2P(fract);
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 1054 function: fract 1065 For example, <code>fract(1.3f, &val)</code> returns 0.3f and sets val to 1.f. 1066 <code>fract(-1.3f, &val)</code> returns 0.7f and sets val to -2.f. 1069 function: fract 1078 return fract(v, &unused); 1081 function: fract 1089 function: fract 1098 function: fract 3389 deprecated: 22, Use @fract() instead.
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 1910 * fract: Positive fractional part 1914 * For example, fract(1.3f, &val) returns 0.3f and sets val to 1.f. 1915 * fract(-1.3f, &val) returns 0.7f and sets val to -2.f. 1922 fract(float v, float* floor); 1925 fract(float2 v, float2* floor); 1928 fract(float3 v, float3* floor); 1931 fract(float4 v, float4* floor); 1935 fract(float v) { 1937 return fract(v, &unused); 1943 fract(float2 v) { [all …]
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 147 TEST_FN_FUNC_FN_PFN(fract);
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 266 TEST_FN_FUNC_FN_PFN(fract);
|
D | math.rs.orig | 280 TEST_FN_FUNC_FN_PFN(fract);
|
D | math.rscript | 280 TEST_FN_FUNC_FN_PFN(fract);
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rscript | 2758 *(float*)buf726 = fract(*(float*)buf727, (float*) buf728); 2759 *(float2*)buf729 = fract(*(float2*)buf730, (float2*) buf731); 2760 *(float3*)buf732 = fract(*(float3*)buf733, (float3*) buf734); 2761 *(float4*)buf735 = fract(*(float4*)buf736, (float4*) buf737); 2762 *(float*)buf738 = fract(*(float*)buf739); 2763 *(float2*)buf740 = fract(*(float2*)buf741); 2764 *(float3*)buf742 = fract(*(float3*)buf743); 2765 *(float4*)buf744 = fract(*(float4*)buf745);
|
/frameworks/compile/slang/tests/P_all_api_15/ |
D | all15.rscript | 2758 *(float*)buf726 = fract(*(float*)buf727, (float*) buf728); 2759 *(float2*)buf729 = fract(*(float2*)buf730, (float2*) buf731); 2760 *(float3*)buf732 = fract(*(float3*)buf733, (float3*) buf734); 2761 *(float4*)buf735 = fract(*(float4*)buf736, (float4*) buf737); 2762 *(float*)buf738 = fract(*(float*)buf739); 2763 *(float2*)buf740 = fract(*(float2*)buf741); 2764 *(float3*)buf742 = fract(*(float3*)buf743); 2765 *(float4*)buf744 = fract(*(float4*)buf745);
|
/frameworks/compile/slang/tests/P_all_api_11/ |
D | all11.rscript | 2688 *(float*)buf726 = fract(*(float*)buf727, (float*) buf728); 2689 *(float2*)buf729 = fract(*(float2*)buf730, (float2*) buf731); 2690 *(float3*)buf732 = fract(*(float3*)buf733, (float3*) buf734); 2691 *(float4*)buf735 = fract(*(float4*)buf736, (float4*) buf737); 2692 *(float*)buf738 = fract(*(float*)buf739); 2693 *(float2*)buf740 = fract(*(float2*)buf741); 2694 *(float3*)buf742 = fract(*(float3*)buf743); 2695 *(float4*)buf744 = fract(*(float4*)buf745);
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rscript | 2688 *(float*)buf726 = fract(*(float*)buf727, (float*) buf728); 2689 *(float2*)buf729 = fract(*(float2*)buf730, (float2*) buf731); 2690 *(float3*)buf732 = fract(*(float3*)buf733, (float3*) buf734); 2691 *(float4*)buf735 = fract(*(float4*)buf736, (float4*) buf737); 2692 *(float*)buf738 = fract(*(float*)buf739); 2693 *(float2*)buf740 = fract(*(float2*)buf741); 2694 *(float3*)buf742 = fract(*(float3*)buf743); 2695 *(float4*)buf744 = fract(*(float4*)buf745);
|
/frameworks/compile/slang/tests/P_all_api_13/ |
D | all13.rscript | 2688 *(float*)buf726 = fract(*(float*)buf727, (float*) buf728); 2689 *(float2*)buf729 = fract(*(float2*)buf730, (float2*) buf731); 2690 *(float3*)buf732 = fract(*(float3*)buf733, (float3*) buf734); 2691 *(float4*)buf735 = fract(*(float4*)buf736, (float4*) buf737); 2692 *(float*)buf738 = fract(*(float*)buf739); 2693 *(float2*)buf740 = fract(*(float2*)buf741); 2694 *(float3*)buf742 = fract(*(float3*)buf743); 2695 *(float4*)buf744 = fract(*(float4*)buf745);
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rscript | 280 TEST_FN_FUNC_FN_PFN(fract);
|
/frameworks/compile/slang/tests/P_all_api_16/ |
D | all16.rscript | 2850 *(float*)buf726 = fract(*(float*)buf727, (float*) buf728); 2851 *(float2*)buf729 = fract(*(float2*)buf730, (float2*) buf731); 2852 *(float3*)buf732 = fract(*(float3*)buf733, (float3*) buf734); 2853 *(float4*)buf735 = fract(*(float4*)buf736, (float4*) buf737); 2854 *(float*)buf738 = fract(*(float*)buf739); 2855 *(float2*)buf740 = fract(*(float2*)buf741); 2856 *(float3*)buf742 = fract(*(float3*)buf743); 2857 *(float4*)buf744 = fract(*(float4*)buf745);
|