Searched refs:dist2 (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/ |
H A D | fisheye.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
H A D | fisheye_approx.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = half_rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/ |
H A D | fisheye.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
|
H A D | fisheye_approx.rsh | 50 const float dist2 = scaledCoord.x*scaledCoord.x + scaledCoord.y*scaledCoord.y; 51 const float inv_dist = half_rsqrt(dist2); 52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | q_plsf_5.cpp | 389 Word32 dist2; local 426 dist2 = ((Word32)temp2 * temp2); 434 dist2 += ((Word32)temp2 * temp2); 436 if ((dist1 >= dist_min) && (dist2 >= dist_min)) 448 dist2 += ((Word32)temp2 * temp2); 456 dist2 += ((Word32)temp2 * temp2); 467 if (dist2 < dist_min) 469 dist_min = dist2;
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | GlowPadView.java | 860 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); 887 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { 985 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledGlowRadiusSquared()) { 1216 private float dist2(float dx, float dy) { method in class:GlowPadView
|
H A D | MultiWaveView.java | 835 float touchRadius = (float) Math.sqrt(dist2(tx, ty)); 860 if (angleMatches && (dist2(tx, ty) > snapDistance2)) { 956 if (mAlwaysTrackFinger || dist2(tx,ty) <= getScaledTapRadiusSquared()) { 1109 private float dist2(float dx, float dy) { method in class:MultiWaveView
|
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 1271 size_t dist2 = nextSyncSampleIndex - closestSampleIndex; local 1274 (dist1 < dist2) ? prevSyncSampleIndex : nextSyncSampleIndex;
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 4997 float dist2 = dist[id2]; local 4999 && dist2 >= mConfig.pointerGestureMultitouchMinDistance) { 5011 float cosine = dot / (dist1 * dist2); // denominator always > 0 5016 "dist1 %0.3f >= %0.3f, dist2 %0.3f >= %0.3f, " 5019 dist2, mConfig.pointerGestureMultitouchMinDistance, 5027 "dist1 %0.3f >= %0.3f, dist2 %0.3f >= %0.3f, " 5030 dist2, mConfig.pointerGestureMultitouchMinDistance,
|
Completed in 169 milliseconds