/frameworks/support/core-utils/java/android/support/v4/graphics/ |
D | ColorUtils.java | 381 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ() 383 sg = sg < 0.04045 ? sg / 12.92 : Math.pow((sg + 0.055) / 1.055, 2.4); in RGBToXYZ() 385 sb = sb < 0.04045 ? sb / 12.92 : Math.pow((sb + 0.055) / 1.055, 2.4); in RGBToXYZ() 449 double tmp = Math.pow(fx, 3); 451 final double yr = l > XYZ_KAPPA * XYZ_EPSILON ? Math.pow(fy, 3) : l / XYZ_KAPPA; 453 tmp = Math.pow(fz, 3); 480 r = r > 0.0031308 ? 1.055 * Math.pow(r, 1 / 2.4) - 0.055 : 12.92 * r; in XYZToColor() 481 g = g > 0.0031308 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : 12.92 * g; in XYZToColor() 482 b = b > 0.0031308 ? 1.055 * Math.pow(b, 1 / 2.4) - 0.055 : 12.92 * b; in XYZToColor() 511 return Math.sqrt(Math.pow(labX[0] - labY[0], 2) in distanceEuclidean() [all …]
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | camera_response.rsh | 45 const float pow_va = pow(v, camera_response->a); 49 return pow(x1 / x2, camera_response->c); 54 const float pow_vc = pow(v, 1.0f / camera_response->c); 56 return pow(pow_vc / x2, 1.0f / camera_response->a); 60 const float pow_va = pow(v, kDefaultA); 64 return pow(x1 / x2, kDefaultC); 68 const float pow_vc = pow(v, 1.0f / kDefaultC); 70 return pow(pow_vc / x2, 1.0f / kDefaultA);
|
D | camera_response_fast.rsh | 37 const float pow_va = pow(v, kDefaultA); 41 return pow(x1 / x2, kDefaultC); 45 const float pow_vc = pow(v, 1.0f / kDefaultC); 47 return pow(pow_vc / x2, 1.0f / kDefaultA);
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 515 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); in RGBToXYZ() 517 sg = sg < 0.04045 ? sg / 12.92 : Math.pow((sg + 0.055) / 1.055, 2.4); in RGBToXYZ() 519 sb = sb < 0.04045 ? sb / 12.92 : Math.pow((sb + 0.055) / 1.055, 2.4); in RGBToXYZ() 583 double tmp = Math.pow(fx, 3); 585 final double yr = l > XYZ_KAPPA * XYZ_EPSILON ? Math.pow(fy, 3) : l / XYZ_KAPPA; 587 tmp = Math.pow(fz, 3); 614 r = r > 0.0031308 ? 1.055 * Math.pow(r, 1 / 2.4) - 0.055 : 12.92 * r; in XYZToColor() 615 g = g > 0.0031308 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : 12.92 * g; in XYZToColor() 616 b = b > 0.0031308 ? 1.055 * Math.pow(b, 1 / 2.4) - 0.055 : 12.92 * b; in XYZToColor() 647 ? Math.pow(component, 1 / 3.0) in pivotXyzComponent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | Utilities.java | 178 bgR = (bgR < 0.03928f) ? bgR / 12.92f : (float) Math.pow((bgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors() 179 bgG = (bgG < 0.03928f) ? bgG / 12.92f : (float) Math.pow((bgG + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors() 180 bgB = (bgB < 0.03928f) ? bgB / 12.92f : (float) Math.pow((bgB + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors() 186 fgR = (fgR < 0.03928f) ? fgR / 12.92f : (float) Math.pow((fgR + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors() 187 fgG = (fgG < 0.03928f) ? fgG / 12.92f : (float) Math.pow((fgG + 0.055f) / 1.055f, 2.4f); in computeContrastBetweenColors() 188 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/ |
D | FloatMath.java | 117 public static float pow(float x, float y) { in pow() method in FloatMath 118 return (float) Math.pow(x, y); in pow()
|
D | MathUtils.java | 58 public static float pow(float a, float b) { in pow() method in MathUtils 59 return (float) Math.pow(a, b); in pow()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
D | DisappearAnimationUtils.java | 48 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/rs/driver/runtime/ll64/ |
D | math.ll | 5 declare float @llvm.pow.f32(float, float) 17 %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
|
/frameworks/rs/driver/runtime/ll32/ |
D | math.ll | 5 declare float @llvm.pow.f32(float, float) 17 %1 = tail call float @llvm.pow.f32(float %v1, float %v2)
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 125 red = red < 0.03928 ? red / 12.92 : Math.pow((red + 0.055) / 1.055, 2.4); in luminance() 127 green = green < 0.03928 ? green / 12.92 : Math.pow((green + 0.055) / 1.055, 2.4); in luminance() 129 blue = blue < 0.03928 ? blue / 12.92 : Math.pow((blue + 0.055) / 1.055, 2.4); in luminance()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CSVWriterFilter.java | 100 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/ |
D | Interpolator.cpp | 39 return pow(input, mDoubleFactor); in interpolate() 81 result = 1.0f - pow((1.0f - input), 2 * mFactor); in interpolate()
|
D | GammaFontRenderer.cpp | 31 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in GammaFontRenderer()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 224 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/ |
D | KeyguardClockPositionAlgorithm.java | 127 progress *= Math.pow(1 + mEmptyDragAmount / mDensity / 300, 0.3f); in getClockScale() 163 t = (float) Math.pow(t, 0.3f); in getClockYExpansionRubberbandFactor()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/animation/ |
D | LogDecelerateInterpolator.java | 35 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
|
D | LogAccelerateInterpolator.java | 34 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LogDecelerateInterpolator.java | 35 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | m4venc_oscl.h | 39 #define M4VENC_POW(x,y) pow(x,y)
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | contrast.rs | 24 brightM = pow(2.f, v / 100.f);
|
D | IPControls.java | 298 geometricMean[0] = java.lang.Math.pow(geometricMean[0], 1.0 / count[0]); in onActivityResult() 299 geometricMean[1] = java.lang.Math.pow(geometricMean[1], 1.0 / count[1]); in onActivityResult() 300 geometricMean[2] = java.lang.Math.pow(geometricMean[2], 1.0 / count[2]); in onActivityResult()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | contrast.rs | 24 brightM = pow(2.f, v / 100.f);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | contrast.rs | 24 brightM = pow(2.f, v / 100.f);
|
/frameworks/wilhelm/src/android/ |
D | android_sles_conversions.h | 85 return pow(10, (float)level/2000); in sles_to_android_amplification()
|