Lines Matching refs:mPointerGesture
4286 mPointerGesture.reset(); in reset()
5284 if (mPointerGesture.currentGestureMode == PointerGesture::FREEFORM) { in dispatchPointerGestures()
5285 mPointerController->setSpots(mPointerGesture.currentGestureCoords, in dispatchPointerGestures()
5286 mPointerGesture.currentGestureIdToIndex, in dispatchPointerGestures()
5287 mPointerGesture.currentGestureIdBits, in dispatchPointerGestures()
5295 switch (mPointerGesture.currentGestureMode) { in dispatchPointerGestures()
5299 && mPointerGesture.lastGestureMode == PointerGesture::FREEFORM) { in dispatchPointerGestures()
5331 bool down = mPointerGesture.currentGestureMode == PointerGesture::TAP in dispatchPointerGestures()
5332 || mPointerGesture.currentGestureMode == PointerGesture::TAP_DRAG in dispatchPointerGestures()
5333 || mPointerGesture.currentGestureMode == PointerGesture::BUTTON_CLICK_OR_DRAG in dispatchPointerGestures()
5334 || mPointerGesture.currentGestureMode == PointerGesture::PRESS in dispatchPointerGestures()
5335 || mPointerGesture.currentGestureMode == PointerGesture::SWIPE in dispatchPointerGestures()
5336 || mPointerGesture.currentGestureMode == PointerGesture::FREEFORM; in dispatchPointerGestures()
5339 && !mPointerGesture.lastGestureIdBits.isEmpty() in dispatchPointerGestures()
5340 && !mPointerGesture.currentGestureIdBits.isEmpty()) { in dispatchPointerGestures()
5341 BitSet32 movedGestureIdBits(mPointerGesture.currentGestureIdBits.value in dispatchPointerGestures()
5342 & mPointerGesture.lastGestureIdBits.value); in dispatchPointerGestures()
5343 moveNeeded = updateMovedPointers(mPointerGesture.currentGestureProperties, in dispatchPointerGestures()
5344 mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex, in dispatchPointerGestures()
5345 mPointerGesture.lastGestureProperties, in dispatchPointerGestures()
5346 mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex, in dispatchPointerGestures()
5354 BitSet32 dispatchedGestureIdBits(mPointerGesture.lastGestureIdBits); in dispatchPointerGestures()
5360 mPointerGesture.lastGestureProperties, in dispatchPointerGestures()
5361 mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex, in dispatchPointerGestures()
5363 0, mPointerGesture.downTime); in dispatchPointerGestures()
5372 & ~mPointerGesture.currentGestureIdBits.value; in dispatchPointerGestures()
5381 mPointerGesture.lastGestureProperties, in dispatchPointerGestures()
5382 mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex, in dispatchPointerGestures()
5384 0, 0, mPointerGesture.downTime); in dispatchPointerGestures()
5396 mPointerGesture.currentGestureProperties, in dispatchPointerGestures()
5397 mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex, in dispatchPointerGestures()
5399 0, 0, mPointerGesture.downTime); in dispatchPointerGestures()
5404 BitSet32 downGestureIdBits(mPointerGesture.currentGestureIdBits.value in dispatchPointerGestures()
5411 mPointerGesture.downTime = when; in dispatchPointerGestures()
5417 mPointerGesture.currentGestureProperties, in dispatchPointerGestures()
5418 mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex, in dispatchPointerGestures()
5420 0, 0, mPointerGesture.downTime); in dispatchPointerGestures()
5425 if (mPointerGesture.currentGestureMode == PointerGesture::HOVER) { in dispatchPointerGestures()
5429 mPointerGesture.currentGestureProperties, in dispatchPointerGestures()
5430 mPointerGesture.currentGestureCoords, mPointerGesture.currentGestureIdToIndex, in dispatchPointerGestures()
5431 mPointerGesture.currentGestureIdBits, -1, in dispatchPointerGestures()
5432 0, 0, mPointerGesture.downTime); in dispatchPointerGestures()
5434 && !mPointerGesture.lastGestureIdBits.isEmpty()) { in dispatchPointerGestures()
5458 0, 0, mPointerGesture.downTime, /* videoFrames */ {}); in dispatchPointerGestures()
5463 mPointerGesture.lastGestureMode = mPointerGesture.currentGestureMode; in dispatchPointerGestures()
5465 mPointerGesture.lastGestureIdBits.clear(); in dispatchPointerGestures()
5467 mPointerGesture.lastGestureIdBits = mPointerGesture.currentGestureIdBits; in dispatchPointerGestures()
5468 for (BitSet32 idBits(mPointerGesture.currentGestureIdBits); !idBits.isEmpty(); ) { in dispatchPointerGestures()
5470 uint32_t index = mPointerGesture.currentGestureIdToIndex[id]; in dispatchPointerGestures()
5471 mPointerGesture.lastGestureProperties[index].copyFrom( in dispatchPointerGestures()
5472 mPointerGesture.currentGestureProperties[index]); in dispatchPointerGestures()
5473 mPointerGesture.lastGestureCoords[index].copyFrom( in dispatchPointerGestures()
5474 mPointerGesture.currentGestureCoords[index]); in dispatchPointerGestures()
5475 mPointerGesture.lastGestureIdToIndex[id] = index; in dispatchPointerGestures()
5482 if (!mPointerGesture.lastGestureIdBits.isEmpty()) { in abortPointerGestures()
5488 mPointerGesture.lastGestureProperties, in abortPointerGestures()
5489 mPointerGesture.lastGestureCoords, mPointerGesture.lastGestureIdToIndex, in abortPointerGestures()
5490 mPointerGesture.lastGestureIdBits, -1, in abortPointerGestures()
5491 0, 0, mPointerGesture.downTime); in abortPointerGestures()
5495 mPointerGesture.reset(); in abortPointerGestures()
5516 if (mPointerGesture.lastGestureMode == PointerGesture::TAP) { in preparePointerGestures()
5517 if (when <= mPointerGesture.tapUpTime + mConfig.pointerGestureTapDragInterval) { in preparePointerGestures()
5519 getContext()->requestTimeoutAtTime(mPointerGesture.tapUpTime in preparePointerGestures()
5528 mPointerGesture.activeGestureId = -1; in preparePointerGestures()
5529 mPointerGesture.currentGestureMode = PointerGesture::NEUTRAL; in preparePointerGestures()
5530 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
5555 mPointerGesture.velocityTracker.addMovement(when, in preparePointerGestures()
5561 if (mPointerGesture.lastGestureMode != PointerGesture::HOVER in preparePointerGestures()
5562 && mPointerGesture.lastGestureMode != PointerGesture::TAP in preparePointerGestures()
5563 && mPointerGesture.lastGestureMode != PointerGesture::TAP_DRAG) { in preparePointerGestures()
5564 mPointerGesture.resetTap(); in preparePointerGestures()
5572 int32_t lastActiveTouchId = mPointerGesture.activeTouchId; in preparePointerGestures()
5576 activeTouchId = mPointerGesture.activeTouchId = in preparePointerGestures()
5578 mPointerGesture.firstTouchTime = when; in preparePointerGestures()
5582 activeTouchId = mPointerGesture.activeTouchId = in preparePointerGestures()
5585 activeTouchId = mPointerGesture.activeTouchId = -1; in preparePointerGestures()
5592 mPointerGesture.resetQuietTime(); in preparePointerGestures()
5594 isQuietTime = when < mPointerGesture.quietTime + mConfig.pointerGestureQuietInterval; in preparePointerGestures()
5596 if ((mPointerGesture.lastGestureMode == PointerGesture::PRESS in preparePointerGestures()
5597 || mPointerGesture.lastGestureMode == PointerGesture::SWIPE in preparePointerGestures()
5598 || mPointerGesture.lastGestureMode == PointerGesture::FREEFORM) in preparePointerGestures()
5604 } else if (mPointerGesture.lastGestureMode == PointerGesture::BUTTON_CLICK_OR_DRAG in preparePointerGestures()
5613 mPointerGesture.quietTime = when; in preparePointerGestures()
5622 ALOGD("Gestures: QUIET for next %0.3fms", (mPointerGesture.quietTime in preparePointerGestures()
5625 if (mPointerGesture.lastGestureMode != PointerGesture::QUIET) { in preparePointerGestures()
5629 mPointerGesture.activeGestureId = -1; in preparePointerGestures()
5630 mPointerGesture.currentGestureMode = PointerGesture::QUIET; in preparePointerGestures()
5631 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
5653 if (mPointerGesture.lastGestureMode != PointerGesture::BUTTON_CLICK_OR_DRAG) { in preparePointerGestures()
5655 mPointerGesture.activeGestureId = 0; in preparePointerGestures()
5666 if (mPointerGesture.velocityTracker.getVelocity(id, &vx, &vy)) { in preparePointerGestures()
5675 mPointerGesture.activeTouchId = activeTouchId = bestId; in preparePointerGestures()
5706 mPointerGesture.currentGestureMode = PointerGesture::BUTTON_CLICK_OR_DRAG; in preparePointerGestures()
5707 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
5708 mPointerGesture.currentGestureIdBits.markBit(mPointerGesture.activeGestureId); in preparePointerGestures()
5709 mPointerGesture.currentGestureIdToIndex[mPointerGesture.activeGestureId] = 0; in preparePointerGestures()
5710 mPointerGesture.currentGestureProperties[0].clear(); in preparePointerGestures()
5711 mPointerGesture.currentGestureProperties[0].id = mPointerGesture.activeGestureId; in preparePointerGestures()
5712 mPointerGesture.currentGestureProperties[0].toolType = AMOTION_EVENT_TOOL_TYPE_FINGER; in preparePointerGestures()
5713 mPointerGesture.currentGestureCoords[0].clear(); in preparePointerGestures()
5714 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
5715 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
5716 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures()
5719 if (mPointerGesture.lastGestureMode != PointerGesture::NEUTRAL) { in preparePointerGestures()
5726 if ((mPointerGesture.lastGestureMode == PointerGesture::HOVER in preparePointerGestures()
5727 || mPointerGesture.lastGestureMode == PointerGesture::TAP_DRAG) in preparePointerGestures()
5729 if (when <= mPointerGesture.tapDownTime + mConfig.pointerGestureTapInterval) { in preparePointerGestures()
5732 if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop in preparePointerGestures()
5733 && fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) { in preparePointerGestures()
5738 mPointerGesture.tapUpTime = when; in preparePointerGestures()
5742 mPointerGesture.activeGestureId = 0; in preparePointerGestures()
5743 mPointerGesture.currentGestureMode = PointerGesture::TAP; in preparePointerGestures()
5744 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
5745 mPointerGesture.currentGestureIdBits.markBit( in preparePointerGestures()
5746 mPointerGesture.activeGestureId); in preparePointerGestures()
5747 mPointerGesture.currentGestureIdToIndex[ in preparePointerGestures()
5748 mPointerGesture.activeGestureId] = 0; in preparePointerGestures()
5749 mPointerGesture.currentGestureProperties[0].clear(); in preparePointerGestures()
5750 mPointerGesture.currentGestureProperties[0].id = in preparePointerGestures()
5751 mPointerGesture.activeGestureId; in preparePointerGestures()
5752 mPointerGesture.currentGestureProperties[0].toolType = in preparePointerGestures()
5754 mPointerGesture.currentGestureCoords[0].clear(); in preparePointerGestures()
5755 mPointerGesture.currentGestureCoords[0].setAxisValue( in preparePointerGestures()
5756 AMOTION_EVENT_AXIS_X, mPointerGesture.tapX); in preparePointerGestures()
5757 mPointerGesture.currentGestureCoords[0].setAxisValue( in preparePointerGestures()
5758 AMOTION_EVENT_AXIS_Y, mPointerGesture.tapY); in preparePointerGestures()
5759 mPointerGesture.currentGestureCoords[0].setAxisValue( in preparePointerGestures()
5766 x - mPointerGesture.tapX, in preparePointerGestures()
5767 y - mPointerGesture.tapY); in preparePointerGestures()
5772 if (mPointerGesture.tapDownTime != LLONG_MIN) { in preparePointerGestures()
5774 (when - mPointerGesture.tapDownTime) * 0.000001f); in preparePointerGestures()
5788 mPointerGesture.activeGestureId = -1; in preparePointerGestures()
5789 mPointerGesture.currentGestureMode = PointerGesture::NEUTRAL; in preparePointerGestures()
5790 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
5799 mPointerGesture.currentGestureMode = PointerGesture::HOVER; in preparePointerGestures()
5800 if (mPointerGesture.lastGestureMode == PointerGesture::TAP) { in preparePointerGestures()
5801 if (when <= mPointerGesture.tapUpTime + mConfig.pointerGestureTapDragInterval) { in preparePointerGestures()
5804 if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop in preparePointerGestures()
5805 && fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) { in preparePointerGestures()
5806 mPointerGesture.currentGestureMode = PointerGesture::TAP_DRAG; in preparePointerGestures()
5810 x - mPointerGesture.tapX, in preparePointerGestures()
5811 y - mPointerGesture.tapY); in preparePointerGestures()
5817 (when - mPointerGesture.tapUpTime) * 0.000001f); in preparePointerGestures()
5820 } else if (mPointerGesture.lastGestureMode == PointerGesture::TAP_DRAG) { in preparePointerGestures()
5821 mPointerGesture.currentGestureMode = PointerGesture::TAP_DRAG; in preparePointerGestures()
5844 if (mPointerGesture.currentGestureMode == PointerGesture::TAP_DRAG) { in preparePointerGestures()
5853 if (mPointerGesture.lastGestureMode != PointerGesture::HOVER) { in preparePointerGestures()
5856 mPointerGesture.activeGestureId = 0; in preparePointerGestures()
5863 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
5864 mPointerGesture.currentGestureIdBits.markBit(mPointerGesture.activeGestureId); in preparePointerGestures()
5865 mPointerGesture.currentGestureIdToIndex[mPointerGesture.activeGestureId] = 0; in preparePointerGestures()
5866 mPointerGesture.currentGestureProperties[0].clear(); in preparePointerGestures()
5867 mPointerGesture.currentGestureProperties[0].id = mPointerGesture.activeGestureId; in preparePointerGestures()
5868 mPointerGesture.currentGestureProperties[0].toolType = in preparePointerGestures()
5870 mPointerGesture.currentGestureCoords[0].clear(); in preparePointerGestures()
5871 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, x); in preparePointerGestures()
5872 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, y); in preparePointerGestures()
5873 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, in preparePointerGestures()
5877 mPointerGesture.resetTap(); in preparePointerGestures()
5878 mPointerGesture.tapDownTime = when; in preparePointerGestures()
5879 mPointerGesture.tapX = x; in preparePointerGestures()
5880 mPointerGesture.tapY = y; in preparePointerGestures()
5898 bool settled = when >= mPointerGesture.firstTouchTime in preparePointerGestures()
5900 if (mPointerGesture.lastGestureMode != PointerGesture::PRESS in preparePointerGestures()
5901 && mPointerGesture.lastGestureMode != PointerGesture::SWIPE in preparePointerGestures()
5902 && mPointerGesture.lastGestureMode != PointerGesture::FREEFORM) { in preparePointerGestures()
5909 "settle time remaining %0.3fms", (mPointerGesture.firstTouchTime in preparePointerGestures()
5916 mPointerGesture.currentGestureMode = mPointerGesture.lastGestureMode; in preparePointerGestures()
5920 mPointerGesture.currentGestureMode = PointerGesture::PRESS; in preparePointerGestures()
5921 mPointerGesture.activeGestureId = 0; in preparePointerGestures()
5922 mPointerGesture.referenceIdBits.clear(); in preparePointerGestures()
5928 "settle time remaining %0.3fms", (mPointerGesture.firstTouchTime in preparePointerGestures()
5933 &mPointerGesture.referenceTouchX, in preparePointerGestures()
5934 &mPointerGesture.referenceTouchY); in preparePointerGestures()
5935 mPointerController->getPosition(&mPointerGesture.referenceGestureX, in preparePointerGestures()
5936 &mPointerGesture.referenceGestureY); in preparePointerGestures()
5941 & ~mPointerGesture.referenceIdBits.value); !idBits.isEmpty(); ) { in preparePointerGestures()
5943 mPointerGesture.referenceDeltas[id].dx = 0; in preparePointerGestures()
5944 mPointerGesture.referenceDeltas[id].dy = 0; in preparePointerGestures()
5946 mPointerGesture.referenceIdBits = mCurrentCookedState.fingerIdBits; in preparePointerGestures()
5957 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; in preparePointerGestures()
5971 if (mPointerGesture.currentGestureMode == PointerGesture::PRESS) { in preparePointerGestures()
5974 for (BitSet32 idBits(mPointerGesture.referenceIdBits); !idBits.isEmpty(); ) { in preparePointerGestures()
5976 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; in preparePointerGestures()
5994 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
6013 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
6025 PointerGesture::Delta& delta1 = mPointerGesture.referenceDeltas[id1]; in preparePointerGestures()
6026 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in preparePointerGestures()
6043 mPointerGesture.currentGestureMode = PointerGesture::SWIPE; in preparePointerGestures()
6055 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
6061 } else if (mPointerGesture.currentGestureMode == PointerGesture::SWIPE) { in preparePointerGestures()
6070 mPointerGesture.currentGestureMode = PointerGesture::FREEFORM; in preparePointerGestures()
6076 if (mPointerGesture.currentGestureMode != PointerGesture::PRESS in preparePointerGestures()
6078 for (BitSet32 idBits(mPointerGesture.referenceIdBits); !idBits.isEmpty(); ) { in preparePointerGestures()
6080 PointerGesture::Delta& delta = mPointerGesture.referenceDeltas[id]; in preparePointerGestures()
6085 mPointerGesture.referenceTouchX += commonDeltaX; in preparePointerGestures()
6086 mPointerGesture.referenceTouchY += commonDeltaY; in preparePointerGestures()
6094 mPointerGesture.referenceGestureX += commonDeltaX; in preparePointerGestures()
6095 mPointerGesture.referenceGestureY += commonDeltaY; in preparePointerGestures()
6099 if (mPointerGesture.currentGestureMode == PointerGesture::PRESS in preparePointerGestures()
6100 || mPointerGesture.currentGestureMode == PointerGesture::SWIPE) { in preparePointerGestures()
6105 activeTouchId, mPointerGesture.activeGestureId, currentFingerCount); in preparePointerGestures()
6107 ALOG_ASSERT(mPointerGesture.activeGestureId >= 0); in preparePointerGestures()
6109 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
6110 mPointerGesture.currentGestureIdBits.markBit(mPointerGesture.activeGestureId); in preparePointerGestures()
6111 mPointerGesture.currentGestureIdToIndex[mPointerGesture.activeGestureId] = 0; in preparePointerGestures()
6112 mPointerGesture.currentGestureProperties[0].clear(); in preparePointerGestures()
6113 mPointerGesture.currentGestureProperties[0].id = mPointerGesture.activeGestureId; in preparePointerGestures()
6114 mPointerGesture.currentGestureProperties[0].toolType = in preparePointerGestures()
6116 mPointerGesture.currentGestureCoords[0].clear(); in preparePointerGestures()
6117 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_X, in preparePointerGestures()
6118 mPointerGesture.referenceGestureX); in preparePointerGestures()
6119 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_Y, in preparePointerGestures()
6120 mPointerGesture.referenceGestureY); in preparePointerGestures()
6121 mPointerGesture.currentGestureCoords[0].setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, 1.0f); in preparePointerGestures()
6122 } else if (mPointerGesture.currentGestureMode == PointerGesture::FREEFORM) { in preparePointerGestures()
6127 activeTouchId, mPointerGesture.activeGestureId, currentFingerCount); in preparePointerGestures()
6129 ALOG_ASSERT(mPointerGesture.activeGestureId >= 0); in preparePointerGestures()
6131 mPointerGesture.currentGestureIdBits.clear(); in preparePointerGestures()
6135 if (mPointerGesture.lastGestureMode != PointerGesture::FREEFORM) { in preparePointerGestures()
6140 usedGestureIdBits.markBit(mPointerGesture.activeGestureId); in preparePointerGestures()
6141 mPointerGesture.freeformTouchToGestureIdMap[activeTouchId] = in preparePointerGestures()
6142 mPointerGesture.activeGestureId; in preparePointerGestures()
6144 mPointerGesture.activeGestureId = -1; in preparePointerGestures()
6151 usedGestureIdBits = mPointerGesture.lastGestureIdBits; in preparePointerGestures()
6159 uint32_t upGestureId = mPointerGesture.freeformTouchToGestureIdMap[upTouchId]; in preparePointerGestures()
6160 if (upGestureId == uint32_t(mPointerGesture.activeGestureId)) { in preparePointerGestures()
6161 mPointerGesture.activeGestureId = -1; in preparePointerGestures()
6172 mPointerGesture.activeGestureId); in preparePointerGestures()
6181 mPointerGesture.freeformTouchToGestureIdMap[touchId] = gestureId; in preparePointerGestures()
6188 gestureId = mPointerGesture.freeformTouchToGestureIdMap[touchId]; in preparePointerGestures()
6195 mPointerGesture.currentGestureIdBits.markBit(gestureId); in preparePointerGestures()
6196 mPointerGesture.currentGestureIdToIndex[gestureId] = i; in preparePointerGestures()
6200 float deltaX = (pointer.x - mPointerGesture.referenceTouchX) in preparePointerGestures()
6202 float deltaY = (pointer.y - mPointerGesture.referenceTouchY) in preparePointerGestures()
6206 mPointerGesture.currentGestureProperties[i].clear(); in preparePointerGestures()
6207 mPointerGesture.currentGestureProperties[i].id = gestureId; in preparePointerGestures()
6208 mPointerGesture.currentGestureProperties[i].toolType = in preparePointerGestures()
6210 mPointerGesture.currentGestureCoords[i].clear(); in preparePointerGestures()
6211 mPointerGesture.currentGestureCoords[i].setAxisValue( in preparePointerGestures()
6212 AMOTION_EVENT_AXIS_X, mPointerGesture.referenceGestureX + deltaX); in preparePointerGestures()
6213 mPointerGesture.currentGestureCoords[i].setAxisValue( in preparePointerGestures()
6214 AMOTION_EVENT_AXIS_Y, mPointerGesture.referenceGestureY + deltaY); in preparePointerGestures()
6215 mPointerGesture.currentGestureCoords[i].setAxisValue( in preparePointerGestures()
6219 if (mPointerGesture.activeGestureId < 0) { in preparePointerGestures()
6220 mPointerGesture.activeGestureId = in preparePointerGestures()
6221 mPointerGesture.currentGestureIdBits.firstMarkedBit(); in preparePointerGestures()
6224 "activeGestureId=%d", mPointerGesture.activeGestureId); in preparePointerGestures()
6237 mPointerGesture.currentGestureMode, mPointerGesture.currentGestureIdBits.value, in preparePointerGestures()
6238 mPointerGesture.lastGestureMode, mPointerGesture.lastGestureIdBits.value); in preparePointerGestures()
6239 for (BitSet32 idBits = mPointerGesture.currentGestureIdBits; !idBits.isEmpty(); ) { in preparePointerGestures()
6241 uint32_t index = mPointerGesture.currentGestureIdToIndex[id]; in preparePointerGestures()
6242 const PointerProperties& properties = mPointerGesture.currentGestureProperties[index]; in preparePointerGestures()
6243 const PointerCoords& coords = mPointerGesture.currentGestureCoords[index]; in preparePointerGestures()
6251 for (BitSet32 idBits = mPointerGesture.lastGestureIdBits; !idBits.isEmpty(); ) { in preparePointerGestures()
6253 uint32_t index = mPointerGesture.lastGestureIdToIndex[id]; in preparePointerGestures()
6254 const PointerProperties& properties = mPointerGesture.lastGestureProperties[index]; in preparePointerGestures()
6255 const PointerCoords& coords = mPointerGesture.lastGestureCoords[index]; in preparePointerGestures()