Home
last modified time | relevance | path

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

/frameworks/av/media/module/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/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3187 float dist1 = dist[id1]; in prepareMultiFingerPointerGestures() local
3189 if (dist1 >= mConfig.pointerGestureMultitouchMinDistance && in prepareMultiFingerPointerGestures()
3203 float cosine = dot / (dist1 * dist2); // denominator always > 0 in prepareMultiFingerPointerGestures()
3210 dist1, mConfig.pointerGestureMultitouchMinDistance, dist2, in prepareMultiFingerPointerGestures()
3220 dist1, mConfig.pointerGestureMultitouchMinDistance, dist2, in prepareMultiFingerPointerGestures()