Home
last modified time | relevance | path

Searched refs:dist1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dq_plsf_5.cpp388 Word32 dist1; in Vq_subvec_s() local
425 dist1 = ((Word32)temp1 * temp1); in Vq_subvec_s()
433 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
436 if ((dist1 >= dist_min) && (dist2 >= dist_min)) in Vq_subvec_s()
447 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
455 dist1 += ((Word32)temp1 * temp1); in Vq_subvec_s()
458 if (dist1 < dist_min) in Vq_subvec_s()
460 dist_min = dist1; in Vq_subvec_s()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DPoint.java67 float dist1 = dist(a); in getAngle() local
70 if (dist1 == 0.0f || dist2 == 0.0f) { in getAngle()
76 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); in getAngle()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3094 float dist1 = dist[id1]; in preparePointerGestures() local
3096 if (dist1 >= mConfig.pointerGestureMultitouchMinDistance && in preparePointerGestures()
3110 float cosine = dot / (dist1 * dist2); // denominator always > 0 in preparePointerGestures()
3117 dist1, mConfig.pointerGestureMultitouchMinDistance, dist2, in preparePointerGestures()
3128 dist1, mConfig.pointerGestureMultitouchMinDistance, dist2, in preparePointerGestures()