Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java123 bgR = (bgR < 0.03928f) ? bgR / 12.92f : (float) Math.pow((bgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
124 bgG = (bgG < 0.03928f) ? bgG / 12.92f : (float) Math.pow((bgG + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
125 bgB = (bgB < 0.03928f) ? bgB / 12.92f : (float) Math.pow((bgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
131 fgR = (fgR < 0.03928f) ? fgR / 12.92f : (float) Math.pow((fgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
132 fgG = (fgG < 0.03928f) ? fgG / 12.92f : (float) Math.pow((fgG + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
133 fgB = (fgB < 0.03928f) ? fgB / 12.92f : (float) Math.pow((fgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors()
/frameworks/base/core/java/android/util/
DFloatMath.java117 public static float pow(float x, float y) { in pow() method in FloatMath
118 return (float) Math.pow(x, y); in pow()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DDisappearAnimationUtils.java48 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale); in calculateDelay()
55 return (float) (Math.pow((numRows - row), 2) / numRows);
/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/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/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/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;
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];
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.cpp149 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in LookupGammaFontRenderer()
175 const float black = pow(v, blackGamma); in Lookup3GammaFontRenderer()
176 const float white = pow(v, whiteGamma); in Lookup3GammaFontRenderer()
DInterpolator.cpp39 return pow(input, mDoubleFactor); in interpolate()
81 result = 1.0f - pow((1.0f - input), 2 * mFactor); in interpolate()
/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/support/v4/java/android/support/v4/graphics/
DColorUtils.java65 red = red < 0.03928 ? red / 12.92 : Math.pow((red + 0.055) / 1.055, 2.4); in calculateLuminance()
68 green = green < 0.03928 ? green / 12.92 : Math.pow((green + 0.055) / 1.055, 2.4); in calculateLuminance()
71 blue = blue < 0.03928 ? blue / 12.92 : Math.pow((blue + 0.055) / 1.055, 2.4); in calculateLuminance()
/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/services/core/java/com/android/server/policy/
DLogDecelerateInterpolator.java35 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java122 progress *= Math.pow(1 + mEmptyDragAmount / mDensity / 300, 0.3f); in getClockScale()
158 t = (float) Math.pow(t, 0.3f); in getClockYExpansionRubberbandFactor()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dcontrast.rs24 brightM = pow(2.f, v / 100.f);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dcontrast.rs24 brightM = pow(2.f, v / 100.f);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dcontrast.rs24 brightM = pow(2.f, v / 100.f);

12345