Lines Matching refs:cosine
5122 // the angle betweeen them is near zero and the cosine of the angle
5131 float cosine = dot / (dist1 * dist2); // denominator always > 0
5132 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) {
5137 "cosine %0.3f >= %0.3f",
5140 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);
5148 "cosine %0.3f < %0.3f",
5151 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);