Home
last modified time | relevance | path

Searched refs:pow (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/compile/slang/
Drslib.ll26 declare float @llvm.pow.f32(float, float) nounwind readonly
32 %retx = tail call float @llvm.pow.f32(float %x, float %exp) ; <float> [#uses=1]
33 %rety = tail call float @llvm.pow.f32(float %y, float %exp) ; <float> [#uses=1]
34 %retz = tail call float @llvm.pow.f32(float %z, float %exp) ; <float> [#uses=1]
/frameworks/base/tests/RenderScriptTests/PerfTest/res/raw/
Dshaderv.glsl20 light0_Specular = pow(light0Spec, UNI_light0_CosinePower) * UNI_light0_Specular;
26 light1_Specular = pow(light1Spec, UNI_light1_CosinePower) * UNI_light1_Specular;
Dshader2f.glsl14 float light0_Specular = pow(light0Spec, UNI_light0_CosinePower) * UNI_light0_Specular;
20 float light1_Specular = pow(light1Spec, UNI_light1_CosinePower) * UNI_light1_Specular;
/frameworks/base/libs/hwui/
DGammaFontRenderer.cpp73 const float black = pow(v, blackGamma); in GammaFontRenderer()
74 const float white = pow(v, whiteGamma); in GammaFontRenderer()
DFontRenderer.cpp805 weights[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2); in computeGaussianWeights()
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_cl.c390 extern float __attribute__((overloadable)) pow(float, float);
393 return pow(10.f, v); in exp10()
477 FN_FUNC_FN_FN(pow) in FN_FUNC_FN_FN() argument
480 return pow(v, (float)p); in FN_FUNC_FN_FN()
483 return pow(v, (float2)p); in pown()
486 return pow(v, (float3)p); in pown()
489 return pow(v, (float4)p); in pown()
493 return pow(v, p); in powr()
496 return pow(v, p); in powr()
499 return pow(v, p); in powr()
[all …]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
Dm4venc_oscl.h39 #define M4VENC_POW(x,y) pow(x,y)
/frameworks/base/core/java/android/util/
DMathUtils.java54 public static float pow(float a, float b) { in pow() method in MathUtils
55 return (float) Math.pow(a, b); in pow()
/frameworks/base/core/java/android/view/animation/
DDecelerateInterpolator.java57 result = (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor)); in getInterpolation()
DAccelerateInterpolator.java64 return (float)Math.pow(input, mDoubleFactor); in getInterpolation()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java224 final double xFloorSq = Math.pow(xFloor - x, 2); in plot()
225 final double yFloorSq = Math.pow(yFloor - y, 2); in plot()
226 final double xCeilingSq = Math.pow(xCeiling - x, 2); in plot()
227 final double yCeilingSq = Math.pow(yCeiling - y, 2); in plot()
548 float rightside = (float) Math.sqrt(Math.pow(value, 2) - b); in computeOrientation()
DGestureStroke.java72 len += Math.sqrt(Math.pow(p.x - tmpPoints[(i - 1) * 2], 2) in GestureStroke()
73 + Math.pow(p.y - tmpPoints[(i -1 ) * 2 + 1], 2)); in GestureStroke()
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/
Dvignette_fs.glsl8 vec2 powers = pow(abs((gl_FragCoord.xy / vec2(UNI_width, UNI_height)) - 0.5), vec2(2.0));
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
Dthreshold.rs51 gaussian[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2);
Dvertical_blur.rs80 temp = pow(temp, (float3)gamma);
/frameworks/base/opengl/tests/angeles/
Ddemo.c188 return (float)(pow(pow(fabs(cos(p[0] * t / 4)) / p[1], p[4]) + in ssFunc()
189 pow(fabs(sin(p[0] * t / 4)) / p[2], p[5]), 1 / p[3])); in ssFunc()
/frameworks/base/core/java/android/widget/
DStackView.java908 return (float) (Math.pow(2 * r - 1, 3) + 1) / 2.0f;
1043 float d = (float) Math.sqrt(Math.pow(viewLp.horizontalOffset, 2) +
1044 Math.pow(viewLp.verticalOffset, 2));
1045 float maxd = (float) Math.sqrt(Math.pow(mSlideAmount, 2) +
1046 Math.pow(0.4f * mSlideAmount, 2));
/frameworks/base/libs/rs/driver/
DrsdRuntimeMath.cpp32 return pow(10.f, v); in SC_exp10()
60 return pow(v, 1.f / r); in SC_rootn()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs124 TEST_FUNC_2(pow);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dmath.rs305 TEST_FN_FUNC_FN_FN(pow);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java535 return (float) (1f - Math.pow(1f - (x / scaleDurationPct), 2f)); in createScreenshotDropOutAnimation()
/frameworks/base/libs/rs/scriptc/
Drs_cl.rsh302 extern float __attribute__((overloadable)) pow(float x, float y);
303 FN_FUNC_FN_FN(pow)
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Drsbench.rs359 int meshCount = (int)pow(10.0f, (float)(meshMode + 1));
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Drate_control.cpp492 …Qstep = (int)(prev_QP * (sqrt(prev_RD / curr_RD) + pow(prev_RD / curr_RD, 1.0 / 3.0)) / 2.0 + 0.9); in calculateQuantizer_Multipass()
/frameworks/base/core/java/android/hardware/
DSensorManager.java1657 return 44330.0f * (1.0f - (float)Math.pow(p/p0, coef)); in getAltitude()

12