Searched refs:dist1 (Results 1 – 3 of 3) sorted by relevance
388 Word32 dist1; in Vq_subvec_s() local425 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()
67 float dist1 = dist(a); in getAngle() local70 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()
3094 float dist1 = dist[id1]; in preparePointerGestures() local3096 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()