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

/frameworks/native/services/inputflinger/
H A DInputReader.cpp5985 // the angle betweeen them is near zero and the cosine of the angle
5994 float cosine = dot / (dist1 * dist2); // denominator always > 0 local
5995 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) {
6000 "cosine %0.3f >= %0.3f",
6003 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);
6011 "cosine %0.3f < %0.3f",
6014 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine);

Completed in 101 milliseconds