/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 117 public static float pow(float x, float y) { method in class:FloatMath 118 return (float) Math.pow(x, y);
|
H A D | MathUtils.java | 58 public static float pow(float a, float b) { method in class:MathUtils 59 return (float) Math.pow(a, b);
|
/frameworks/base/libs/hwui/ |
H A D | GammaFontRenderer.cpp | 31 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f));
|
H A D | Interpolator.cpp | 39 return pow(input, mDoubleFactor); 81 result = 1.0f - pow((1.0f - input), 2 * mFactor);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | m4venc_oscl.h | 39 #define M4VENC_POW(x,y) pow(x,y)
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | LogDecelerateInterpolator.java | 35 return (float) -Math.pow(base, -t) + 1 + (drift * t);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/animation/ |
H A D | LogAccelerateInterpolator.java | 34 return (float) -Math.pow(base, -t) + 1 + (drift * t);
|
H A D | LogDecelerateInterpolator.java | 35 return (float) -Math.pow(base, -t) + 1 + (drift * t);
|
/frameworks/wilhelm/src/android/ |
H A D | android_sles_conversions.h | 85 return pow(10, (float)level/2000);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
H A D | DisappearAnimationUtils.java | 48 return (long) ((row * 60 + col * (Math.pow(row, 0.4) + 0.4) * 10) * mDelayScale); 55 return (float) (Math.pow((numRows - row), 2) / numRows);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | contrast.rs | 24 brightM = pow(2.f, v / 100.f);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | contrast.rs | 24 brightM = pow(2.f, v / 100.f);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | contrast.rs | 24 brightM = pow(2.f, v / 100.f);
|
/frameworks/support/v4/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 381 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); 383 sg = sg < 0.04045 ? sg / 12.92 : Math.pow((sg + 0.055) / 1.055, 2.4); 385 sb = sb < 0.04045 ? sb / 12.92 : Math.pow((sb + 0.055) / 1.055, 2.4); 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; 481 g = g > 0.0031308 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : 12.92 * g; 482 b = b > 0.0031308 ? 1.055 * Math.pow(b, 1 / 2.4) - 0.055 : 12.92 * b; 511 return Math.sqrt(Math.pow(lab [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 125 red = red < 0.03928 ? red / 12.92 : Math.pow((red + 0.055) / 1.055, 2.4); 127 green = green < 0.03928 ? green / 12.92 : Math.pow((green + 0.055) / 1.055, 2.4); 129 blue = blue < 0.03928 ? blue / 12.92 : Math.pow((blue + 0.055) / 1.055, 2.4);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | CSVWriterFilter.java | 100 float vectorAccel = (float) Math.sqrt(Math.pow(motionValues[0], 2) + 101 Math.pow(motionValues[1], 2) + Math.pow(motionValues[2], 2));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | Utilities.java | 178 bgR = (bgR < 0.03928f) ? bgR / 12.92f : (float) Math.pow((bgR + 0.055f) / 1.055f, 2.4f); 179 bgG = (bgG < 0.03928f) ? bgG / 12.92f : (float) Math.pow((bgG + 0.055f) / 1.055f, 2.4f); 180 bgB = (bgB < 0.03928f) ? bgB / 12.92f : (float) Math.pow((bgB + 0.055f) / 1.055f, 2.4f); 186 fgR = (fgR < 0.03928f) ? fgR / 12.92f : (float) Math.pow((fgR + 0.055f) / 1.055f, 2.4f); 187 fgG = (fgG < 0.03928f) ? fgG / 12.92f : (float) Math.pow((fgG + 0.055f) / 1.055f, 2.4f); 188 fgB = (fgB < 0.03928f) ? fgB / 12.92f : (float) Math.pow((fgB + 0.055f) / 1.055f, 2.4f);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AccelerateInterpolator.java | 81 return (float)Math.pow(input, mDoubleFactor);
|
H A D | DecelerateInterpolator.java | 74 result = (float)(1.0f - Math.pow((1.0f - input), 2 * mFactor));
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 501 sr = sr < 0.04045 ? sr / 12.92 : Math.pow((sr + 0.055) / 1.055, 2.4); 503 sg = sg < 0.04045 ? sg / 12.92 : Math.pow((sg + 0.055) / 1.055, 2.4); 505 sb = sb < 0.04045 ? sb / 12.92 : Math.pow((sb + 0.055) / 1.055, 2.4); 569 double tmp = Math.pow(fx, 3); 571 final double yr = l > XYZ_KAPPA * XYZ_EPSILON ? Math.pow(fy, 3) : l / XYZ_KAPPA; 573 tmp = Math.pow(fz, 3); 600 r = r > 0.0031308 ? 1.055 * Math.pow(r, 1 / 2.4) - 0.055 : 12.92 * r; 601 g = g > 0.0031308 ? 1.055 * Math.pow(g, 1 / 2.4) - 0.055 : 12.92 * g; 602 b = b > 0.0031308 ? 1.055 * Math.pow(b, 1 / 2.4) - 0.055 : 12.92 * b; 633 ? Math.pow(componen [all...] |
/frameworks/base/core/tests/benchmarks/src/android/util/ |
H A D | FloatMathBenchmark.java | 80 f += FloatMath.pow(10.123f, 10.123f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | HistoryEvaluator.java | 75 float factor = (float) Math.pow(HISTORY_FACTOR,
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ColorfulnessFilter.java | 69 float weight = (float) Math.pow(2, r);
|
/frameworks/rs/java/tests/MathErr/src/com/example/android/rs/matherr/ |
H A D | MathErr.java | 71 mRef[i] = (float)Math.pow(2.f, mSrc[i]);
|
/frameworks/base/media/tests/audiotests/ |
H A D | shared_mem_test.cpp | 84 f0 = pow(2., 32.) * freq / (float)rate;
|