Searched defs:dist2 (Results 1 - 5 of 5) sorted by last modified time
/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,
|
/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/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;
|
Completed in 167 milliseconds