Home
last modified time | relevance | path

Searched refs:sqrt (Results 1 – 25 of 159) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java52 int r = (int) Math.ceil(Math.sqrt(x * x + y * y)); in animateCircularClip()
53 r = (int) Math.max(r, Math.ceil(Math.sqrt(w * w + y * y))); in animateCircularClip()
54 r = (int) Math.max(r, Math.ceil(Math.sqrt(w * w + h * h))); in animateCircularClip()
55 r = (int) Math.max(r, Math.ceil(Math.sqrt(x * x + h * h))); in animateCircularClip()
/frameworks/rs/driver/runtime/arch/
Dx86_sse2.ll9 declare float @llvm.sqrt.f32(float) nounwind readnone
10 declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) nounwind readnone
11 declare <3 x float> @llvm.sqrt.v3f32(<3 x float>) nounwind readnone
12 declare <4 x float> @llvm.sqrt.v4f32(<4 x float>) nounwind readnone
85 %1 = tail call float @llvm.sqrt.f32(float %in) nounwind readnone
90 %1 = tail call <2 x float> @llvm.sqrt.v2f32(<2 x float> %in) nounwind readnone
95 %1 = tail call <3 x float> @llvm.sqrt.v3f32(<3 x float> %in) nounwind readnone
100 %1 = tail call <4 x float> @llvm.sqrt.v4f32(<4 x float> %in) nounwind readnone
Dx86_sse3.ll6 declare float @llvm.sqrt.f32(float) nounwind readnone
46 %5 = tail call float @llvm.sqrt.f32(float %4) nounwind readnone
59 %9 = tail call float @llvm.sqrt.f32(float %8) nounwind readnone
68 %5 = tail call float @llvm.sqrt.f32(float %4) nounwind readnone
/frameworks/base/core/java/android/util/
DFloatMath.java92 public static float sqrt(float value) { in sqrt() method in FloatMath
93 return (float) Math.sqrt(value); in sqrt()
/frameworks/base/core/java/android/hardware/
DGeomagneticField.java291 return (float) Math.sqrt(mX * mX + mY * mY + mZ * mZ); in getFieldStrength()
315 (float) Math.sqrt(a2 * clat * clat + b2 * slat * slat); in computeGeocentricCoordinates()
323 + 2 * altitudeKm * (float) Math.sqrt(a2 * clat * clat + in computeGeocentricCoordinates()
327 mGcRadiusKm = (float) Math.sqrt(radSq); in computeGeocentricCoordinates()
402 * (float) Math.sqrt((n - m + 1) * (m == 1 ? 2 : 1)
/frameworks/rs/driver/runtime/ll64/
Dmath.ll4 declare float @llvm.sqrt.f32(float)
12 %1 = tail call float @llvm.sqrt.f32(float %v)
/frameworks/rs/driver/runtime/ll32/
Dmath.ll4 declare float @llvm.sqrt.f32(float)
12 %1 = tail call float @llvm.sqrt.f32(float %v)
/frameworks/base/core/tests/benchmarks/src/android/util/
DFloatMathBenchmark.java98 f += FloatMath.sqrt(100.123f); in timeFloatMathSqrt()
107 f += (float) Math.sqrt(100.123f); in timeFloatMathSqrt_math()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye.rsh38 const float bound = sqrt(bound2);
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
Dfisheye_approx.rsh38 const float bound = sqrt(bound2);
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dfisheye.rsh38 const float bound = sqrt(bound2);
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
Dfisheye_approx.rsh38 const float bound = sqrt(bound2);
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dfisheye.rsh38 const float bound = sqrt(bound2);
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
Dfisheye_approx.rsh38 const float bound = sqrt(bound2);
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dstats_scorer.cpp39 result[1] = sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev. in Java_androidx_media_filterpacks_numeric_StatsFilter_score()
67 0 : sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev. in Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore()
Dbrightness.cpp47 float returnValue = sqrt(0.241f * avgPixels[0] * avgPixels[0] + in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator()
Dcontrast.cpp50 return ((float) sqrt(sum / numPixels)); in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DVignetteFilter.java102 float max_dist = ((float) Math.sqrt(scale[0] * scale[0] + scale[1] * scale[1])) * 0.5f; in initParameters()
115 mProgram.setHostValue("range", 1.30f - (float) Math.sqrt(mScale) * 0.7f); in updateParameters()
DFisheyeFilter.java155 float bound = (float) Math.sqrt(bound2); in updateProgramParams()
159 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2)); in updateProgramParams()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java42 private static final float NONUNIFORM_SCALE = (float) Math.sqrt(2);
228 float topLeft = (float) Math.sqrt(xFloorSq + yFloorSq); in plot()
229 float topRight = (float) Math.sqrt(xCeilingSq + yFloorSq); in plot()
230 float btmLeft = (float) Math.sqrt(xFloorSq + yCeilingSq); in plot()
231 float btmRight = (float) Math.sqrt(xCeilingSq + yCeilingSq); in plot()
548 float rightside = (float) Math.sqrt(Math.pow(value, 2) - b); in computeOrientation()
/frameworks/av/media/img_utils/src/
DDngUtils.cpp313 const double c_0 = sqrt(2); in addWarpRectilinearForMetadata()
314 const double c_1 = 2 * sqrt(2); in addWarpRectilinearForMetadata()
315 const double c_2 = 4 * sqrt(2); in addWarpRectilinearForMetadata()
316 const double c_3 = 8 * sqrt(2); in addWarpRectilinearForMetadata()
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh40 const float bound = sqrt(bound2);
43 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
/frameworks/av/tools/resampler_tools/
Dfir.cpp53 ans=(exp(ax)/sqrt(ax))*(0.39894228+y*(0.1328592e-1 in I0()
64 return I0(beta * sqrt(1.0 - sqr((2.0*k)/N - 1.0))) / I0(beta); in kaiser()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dm4venc_oscl.h38 #define M4VENC_SQRT(x) sqrt(x)
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
Dyuv.rs107 float range = 1.30f - sqrt(vignetteScale) * 0.7f;
108 … float lumen = vignetteShade / (1.0f + exp((sqrt(f) - range) * slope)) + (1.0f - vignetteShade);

1234567