Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java153 bgR = (bgR < 0.03928f) ? bgR / 12.92f : (float) Math.pow((bgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
154 bgG = (bgG < 0.03928f) ? bgG / 12.92f : (float) Math.pow((bgG + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
155 bgB = (bgB < 0.03928f) ? bgB / 12.92f : (float) Math.pow((bgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
161 fgR = (fgR < 0.03928f) ? fgR / 12.92f : (float) Math.pow((fgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
162 fgG = (fgG < 0.03928f) ? fgG / 12.92f : (float) Math.pow((fgG + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
163 fgB = (fgB < 0.03928f) ? fgB / 12.92f : (float) Math.pow((fgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DFloatMath_Delegate.java116 /*package*/ static float pow(float x, float y) { in pow() method in FloatMath_Delegate
117 return (float)Math.pow(x, y); in pow()
/frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
Dpaintf.glsl14 float light0_Specular = pow(light0Spec, 150.0) * 0.5;
21 float fresnel = mix(pow(1.0 - light0_Diffuse, 15.0), 1.0, 0.1);
Dplastic_lights.glsl14 float light0_Specular = pow(light0Spec, 10.0) * 0.7;
20 float light1_Specular = pow(light1Spec, 10.0) * 0.7;
/frameworks/rs/driver/runtime/ll64/
Dmath.ll5 declare float @llvm.pow.f32(float, float)
17 %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
/frameworks/base/tests/RenderScriptTests/MiscSamples/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;
Dshaderarrayv.glsl22 light0_Specular = pow(light0Spec, UNI_light_CosinePower[0]) * UNI_light_Specular[0];
28 light1_Specular = pow(light1Spec, UNI_light_CosinePower[1]) * UNI_light_Specular[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/rs/driver/runtime/ll32/
Dmath.ll5 declare float @llvm.pow.f32(float, float)
17 %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCSVWriterFilter.java100 float vectorAccel = (float) Math.sqrt(Math.pow(motionValues[0], 2) + in onProcess()
101 Math.pow(motionValues[1], 2) + Math.pow(motionValues[2], 2)); in onProcess()
/frameworks/base/libs/hwui/
DGammaFontRenderer.cpp149 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in LookupGammaFontRenderer()
174 const float black = pow(v, blackGamma); in Lookup3GammaFontRenderer()
175 const float white = pow(v, whiteGamma); in Lookup3GammaFontRenderer()
DInterpolator.cpp41 return pow(input, mDoubleFactor); in interpolate()
83 result = 1.0f - pow((1.0f - input), 2 * mFactor); in interpolate()
/frameworks/support/v7/palette/src/android/support/v7/graphics/
DColorUtils.java50 red = red < 0.03928 ? red / 12.92 : Math.pow((red + 0.055) / 1.055, 2.4); in calculateLuminance()
53 green = green < 0.03928 ? green / 12.92 : Math.pow((green + 0.055) / 1.055, 2.4); in calculateLuminance()
56 blue = blue < 0.03928 ? blue / 12.92 : Math.pow((blue + 0.055) / 1.055, 2.4); in calculateLuminance()
/frameworks/base/core/java/android/util/
DFloatMath.java93 public static native float pow(float x, float y); in pow() method in FloatMath
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java176 fraction = (float) Math.pow(fraction, 0.8f); in updateScrimKeyguard()
177 behindFraction = (float) Math.pow(behindFraction, 0.8f); in updateScrimKeyguard()
200 final float k = (float)(1f-0.5f*(1f-Math.cos(3.14159f * Math.pow(1f-frac, 2f)))); in updateScrimNormal()
DKeyguardClockPositionAlgorithm.java122 progress *= Math.pow(1 + mEmptyDragAmount / mDensity / 300, 0.3f); in getClockScale()
158 t = (float) Math.pow(t, 0.3f); in getClockYExpansionRubberbandFactor()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/animation/
DLogAccelerateInterpolator.java34 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
DLogDecelerateInterpolator.java35 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dm4venc_oscl.h39 #define M4VENC_POW(x,y) pow(x,y)
/frameworks/base/policy/src/com/android/internal/policy/impl/
DLogDecelerateInterpolator.java35 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dcontrast.rs24 brightM = pow(2.f, v / 100.f);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dcontrast.rs24 brightM = pow(2.f, v / 100.f);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DDisappearAnimationUtils.java43 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale); in calculateDelay()

1234