Searched defs:cosine (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/services/inputflinger/
H A DInputReader.cpp5728 // the angle betweeen them is near zero and the cosine of the angle
5737 float cosine = dot / (dist1 * dist2); // denominator always > 0 local
5738 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) {
5743 "cosine %0.3f >= %0.3f",
5746 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);
5754 "cosine %0.3f < %0.3f",
5757 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);

Completed in 1151 milliseconds