Lines Matching refs:PointerGesture
4458 case PointerGesture::NEUTRAL: in dispatchPointerGestures()
4459 case PointerGesture::QUIET: in dispatchPointerGestures()
4461 && (mPointerGesture.lastGestureMode == PointerGesture::SWIPE in dispatchPointerGestures()
4462 || mPointerGesture.lastGestureMode == PointerGesture::FREEFORM)) { in dispatchPointerGestures()
4467 case PointerGesture::TAP: in dispatchPointerGestures()
4468 case PointerGesture::TAP_DRAG: in dispatchPointerGestures()
4469 case PointerGesture::BUTTON_CLICK_OR_DRAG: in dispatchPointerGestures()
4470 case PointerGesture::HOVER: in dispatchPointerGestures()
4471 case PointerGesture::PRESS: in dispatchPointerGestures()
4476 case PointerGesture::SWIPE: in dispatchPointerGestures()
4477 case PointerGesture::FREEFORM: in dispatchPointerGestures()
4494 bool down = mPointerGesture.currentGestureMode == PointerGesture::TAP in dispatchPointerGestures()
4495 || mPointerGesture.currentGestureMode == PointerGesture::TAP_DRAG in dispatchPointerGestures()
4496 || mPointerGesture.currentGestureMode == PointerGesture::BUTTON_CLICK_OR_DRAG in dispatchPointerGestures()
4497 || mPointerGesture.currentGestureMode == PointerGesture::PRESS in dispatchPointerGestures()
4498 || mPointerGesture.currentGestureMode == PointerGesture::SWIPE in dispatchPointerGestures()
4499 || mPointerGesture.currentGestureMode == PointerGesture::FREEFORM; in dispatchPointerGestures()
4585 if (mPointerGesture.currentGestureMode == PointerGesture::HOVER) { in dispatchPointerGestures()
4674 if (mPointerGesture.lastGestureMode == PointerGesture::TAP) { in preparePointerGestures()
4687 mPointerGesture.currentGestureMode = PointerGesture::NEUTRAL; in preparePointerGestures()
4718 if (mPointerGesture.lastGestureMode != PointerGesture::HOVER in preparePointerGestures()
4719 && mPointerGesture.lastGestureMode != PointerGesture::TAP in preparePointerGestures()
4720 && mPointerGesture.lastGestureMode != PointerGesture::TAP_DRAG) { in preparePointerGestures()
4756 if ((mPointerGesture.lastGestureMode == PointerGesture::PRESS in preparePointerGestures()
4757 || mPointerGesture.lastGestureMode == PointerGesture::SWIPE in preparePointerGestures()
4758 || mPointerGesture.lastGestureMode == PointerGesture::FREEFORM) in preparePointerGestures()
4764 } else if (mPointerGesture.lastGestureMode == PointerGesture::BUTTON_CLICK_OR_DRAG in preparePointerGestures()
4785 if (mPointerGesture.lastGestureMode != PointerGesture::QUIET) { in preparePointerGestures()
4790 mPointerGesture.currentGestureMode = PointerGesture::QUIET; in preparePointerGestures()
4813 if (mPointerGesture.lastGestureMode != PointerGesture::BUTTON_CLICK_OR_DRAG) { in preparePointerGestures()
4866 mPointerGesture.currentGestureMode = PointerGesture::BUTTON_CLICK_OR_DRAG; in preparePointerGestures()
4879 if (mPointerGesture.lastGestureMode != PointerGesture::NEUTRAL) { in preparePointerGestures()
4886 if ((mPointerGesture.lastGestureMode == PointerGesture::HOVER in preparePointerGestures()
4887 || mPointerGesture.lastGestureMode == PointerGesture::TAP_DRAG) in preparePointerGestures()
4903 mPointerGesture.currentGestureMode = PointerGesture::TAP; in preparePointerGestures()
4949 mPointerGesture.currentGestureMode = PointerGesture::NEUTRAL; in preparePointerGestures()
4959 mPointerGesture.currentGestureMode = PointerGesture::HOVER; in preparePointerGestures()
4960 if (mPointerGesture.lastGestureMode == PointerGesture::TAP) { in preparePointerGestures()
4966 mPointerGesture.currentGestureMode = PointerGesture::TAP_DRAG; in preparePointerGestures()
4980 } else if (mPointerGesture.lastGestureMode == PointerGesture::TAP_DRAG) { in preparePointerGestures()
4981 mPointerGesture.currentGestureMode = PointerGesture::TAP_DRAG; in preparePointerGestures()
5005 if (mPointerGesture.currentGestureMode == PointerGesture::TAP_DRAG) { in preparePointerGestures()
5014 if (mPointerGesture.lastGestureMode != PointerGesture::HOVER) { in preparePointerGestures()
5061 if (mPointerGesture.lastGestureMode != PointerGesture::PRESS in preparePointerGestures()
5062 && mPointerGesture.lastGestureMode != PointerGesture::SWIPE in preparePointerGestures()
5063 && mPointerGesture.lastGestureMode != PointerGesture::FREEFORM) { in preparePointerGestures()
5081 mPointerGesture.currentGestureMode = PointerGesture::PRESS; in preparePointerGestures()
5118 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; in preparePointerGestures()
5132 if (mPointerGesture.currentGestureMode == PointerGesture::PRESS) { in preparePointerGestures()
5137 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; in preparePointerGestures()
5155 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
5172 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
5184 PointerGesture::Delta& delta1 = mPointerGesture.referenceDeltas[id1]; in preparePointerGestures()
5185 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in preparePointerGestures()
5202 mPointerGesture.currentGestureMode = PointerGesture::SWIPE; in preparePointerGestures()
5214 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
5220 } else if (mPointerGesture.currentGestureMode == PointerGesture::SWIPE) { in preparePointerGestures()
5229 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
5235 if (mPointerGesture.currentGestureMode != PointerGesture::PRESS in preparePointerGestures()
5239 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; in preparePointerGestures()
5258 if (mPointerGesture.currentGestureMode == PointerGesture::PRESS in preparePointerGestures()
5259 || mPointerGesture.currentGestureMode == PointerGesture::SWIPE) { in preparePointerGestures()
5281 } else if (mPointerGesture.currentGestureMode == PointerGesture::FREEFORM) { in preparePointerGestures()
5294 if (mPointerGesture.lastGestureMode != PointerGesture::FREEFORM) { in preparePointerGestures()