Lines Matching refs:cosine
5182 // the angle betweeen them is near zero and the cosine of the angle
5191 float cosine = dot / (dist1 * dist2); // denominator always > 0
5192 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) {
5197 "cosine %0.3f >= %0.3f",
5200 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);
5208 "cosine %0.3f < %0.3f",
5211 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);