Lines Matching refs:mCurrentCookedState
4275 mCurrentCookedState.clear(); in reset()
4429 mCurrentCookedState.clear(); in cookAndDispatch()
4468 mLastCookedState.buttonState, mCurrentCookedState.buttonState); in cookAndDispatch()
4479 mCurrentCookedState.stylusIdBits.markBit(id); in cookAndDispatch()
4482 mCurrentCookedState.fingerIdBits.markBit(id); in cookAndDispatch()
4484 mCurrentCookedState.mouseIdBits.markBit(id); in cookAndDispatch()
4494 mCurrentCookedState.stylusIdBits.markBit(id); in cookAndDispatch()
4500 if (!mCurrentCookedState.stylusIdBits.isEmpty()) { in cookAndDispatch()
4501 mCurrentCookedState.mouseIdBits.clear(); in cookAndDispatch()
4502 mCurrentCookedState.fingerIdBits.clear(); in cookAndDispatch()
4504 } else if (!mCurrentCookedState.mouseIdBits.isEmpty()) { in cookAndDispatch()
4505 mCurrentCookedState.fingerIdBits.clear(); in cookAndDispatch()
4507 } else if (!mCurrentCookedState.fingerIdBits.isEmpty() || in cookAndDispatch()
4520 mPointerController->setSpots(mCurrentCookedState.cookedPointerData.pointerCoords, in cookAndDispatch()
4521 mCurrentCookedState.cookedPointerData.idToIndex, in cookAndDispatch()
4522 mCurrentCookedState.cookedPointerData.touchingIdBits, in cookAndDispatch()
4534 if (mCurrentCookedState.cookedPointerData.pointerCount == 0) { in cookAndDispatch()
4542 mLastCookedState.buttonState, mCurrentCookedState.buttonState); in cookAndDispatch()
4550 mLastCookedState.copyFrom(mCurrentCookedState); in cookAndDispatch()
4560 CookedPointerData& currentPointerData = mCurrentCookedState.cookedPointerData; in applyExternalStylusTouchState()
4764 BitSet32 currentIdBits = mCurrentCookedState.cookedPointerData.touchingIdBits; in abortTouches()
4767 int32_t buttonState = mCurrentCookedState.buttonState; in abortTouches()
4770 mCurrentCookedState.deviceTimestamp, in abortTouches()
4771 mCurrentCookedState.cookedPointerData.pointerProperties, in abortTouches()
4772 mCurrentCookedState.cookedPointerData.pointerCoords, in abortTouches()
4773 mCurrentCookedState.cookedPointerData.idToIndex, in abortTouches()
4781 BitSet32 currentIdBits = mCurrentCookedState.cookedPointerData.touchingIdBits; in dispatchTouches()
4784 int32_t buttonState = mCurrentCookedState.buttonState; in dispatchTouches()
4793 mCurrentCookedState.deviceTimestamp, in dispatchTouches()
4794 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchTouches()
4795 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchTouches()
4796 mCurrentCookedState.cookedPointerData.idToIndex, in dispatchTouches()
4811 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchTouches()
4812 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchTouches()
4813 mCurrentCookedState.cookedPointerData.idToIndex, in dispatchTouches()
4828 mCurrentCookedState.deviceTimestamp, in dispatchTouches()
4843 mCurrentCookedState.deviceTimestamp, in dispatchTouches()
4844 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchTouches()
4845 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchTouches()
4846 mCurrentCookedState.cookedPointerData.idToIndex, in dispatchTouches()
4862 mCurrentCookedState.deviceTimestamp, in dispatchTouches()
4863 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchTouches()
4864 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchTouches()
4865 mCurrentCookedState.cookedPointerData.idToIndex, in dispatchTouches()
4873 (mCurrentCookedState.cookedPointerData.hoveringIdBits.isEmpty() in dispatchHoverExit()
4874 || !mCurrentCookedState.cookedPointerData.touchingIdBits.isEmpty())) { in dispatchHoverExit()
4889 if (mCurrentCookedState.cookedPointerData.touchingIdBits.isEmpty() in dispatchHoverEnterAndMove()
4890 && !mCurrentCookedState.cookedPointerData.hoveringIdBits.isEmpty()) { in dispatchHoverEnterAndMove()
4895 mCurrentCookedState.deviceTimestamp, in dispatchHoverEnterAndMove()
4896 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchHoverEnterAndMove()
4897 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchHoverEnterAndMove()
4898 mCurrentCookedState.cookedPointerData.idToIndex, in dispatchHoverEnterAndMove()
4899 mCurrentCookedState.cookedPointerData.hoveringIdBits, -1, in dispatchHoverEnterAndMove()
4907 mCurrentCookedState.deviceTimestamp, in dispatchHoverEnterAndMove()
4908 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchHoverEnterAndMove()
4909 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchHoverEnterAndMove()
4910 mCurrentCookedState.cookedPointerData.idToIndex, in dispatchHoverEnterAndMove()
4911 mCurrentCookedState.cookedPointerData.hoveringIdBits, -1, in dispatchHoverEnterAndMove()
4917 BitSet32 releasedButtons(mLastCookedState.buttonState & ~mCurrentCookedState.buttonState); in dispatchButtonRelease()
4927 mCurrentCookedState.deviceTimestamp, in dispatchButtonRelease()
4928 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchButtonRelease()
4929 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchButtonRelease()
4930 mCurrentCookedState.cookedPointerData.idToIndex, idBits, -1, in dispatchButtonRelease()
4936 BitSet32 pressedButtons(mCurrentCookedState.buttonState & ~mLastCookedState.buttonState); in dispatchButtonPress()
4937 const BitSet32& idBits = findActiveIdBits(mCurrentCookedState.cookedPointerData); in dispatchButtonPress()
4945 mCurrentCookedState.deviceTimestamp, in dispatchButtonPress()
4946 mCurrentCookedState.cookedPointerData.pointerProperties, in dispatchButtonPress()
4947 mCurrentCookedState.cookedPointerData.pointerCoords, in dispatchButtonPress()
4948 mCurrentCookedState.cookedPointerData.idToIndex, idBits, -1, in dispatchButtonPress()
4963 mCurrentCookedState.cookedPointerData.clear(); in cookPointerData()
4964 mCurrentCookedState.deviceTimestamp = in cookPointerData()
4966 mCurrentCookedState.cookedPointerData.pointerCount = currentPointerCount; in cookPointerData()
4967 mCurrentCookedState.cookedPointerData.hoveringIdBits = in cookPointerData()
4969 mCurrentCookedState.cookedPointerData.touchingIdBits = in cookPointerData()
4972 if (mCurrentCookedState.cookedPointerData.pointerCount == 0) { in cookPointerData()
4973 mCurrentCookedState.buttonState = 0; in cookPointerData()
4975 mCurrentCookedState.buttonState = mCurrentRawState.buttonState; in cookPointerData()
5190 PointerCoords& out = mCurrentCookedState.cookedPointerData.pointerCoords[i]; in cookPointerData()
5213 mCurrentCookedState.cookedPointerData.pointerProperties[i]; in cookPointerData()
5220 mCurrentCookedState.cookedPointerData.idToIndex[id] = i; in cookPointerData()
5327 int32_t buttonState = mCurrentCookedState.buttonState; in dispatchPointerGestures()
5541 const uint32_t currentFingerCount = mCurrentCookedState.fingerIdBits.count(); in preparePointerGestures()
5548 for (BitSet32 idBits(mCurrentCookedState.fingerIdBits); !idBits.isEmpty(); count++) { in preparePointerGestures()
5556 mCurrentCookedState.fingerIdBits, positions); in preparePointerGestures()
5575 if (!mCurrentCookedState.fingerIdBits.isEmpty()) { in preparePointerGestures()
5577 mCurrentCookedState.fingerIdBits.firstMarkedBit(); in preparePointerGestures()
5580 } else if (!mCurrentCookedState.fingerIdBits.hasBit(activeTouchId)) { in preparePointerGestures()
5581 if (!mCurrentCookedState.fingerIdBits.isEmpty()) { in preparePointerGestures()
5583 mCurrentCookedState.fingerIdBits.firstMarkedBit(); in preparePointerGestures()
5663 for (BitSet32 idBits(mCurrentCookedState.fingerIdBits); !idBits.isEmpty(); ) { in preparePointerGestures()
5940 for (BitSet32 idBits(mCurrentCookedState.fingerIdBits.value in preparePointerGestures()
5946 mPointerGesture.referenceIdBits = mCurrentCookedState.fingerIdBits; in preparePointerGestures()
5951 & mCurrentCookedState.fingerIdBits.value); in preparePointerGestures()
5997 BitSet32 idBits(mCurrentCookedState.fingerIdBits); in preparePointerGestures()
6150 & mCurrentCookedState.fingerIdBits.value; in preparePointerGestures()
6156 & ~mCurrentCookedState.fingerIdBits.value); in preparePointerGestures()
6175 BitSet32 idBits(mCurrentCookedState.fingerIdBits); in preparePointerGestures()
6272 if (!mCurrentCookedState.stylusIdBits.isEmpty()) { in dispatchPointerStylus()
6273 uint32_t id = mCurrentCookedState.stylusIdBits.firstMarkedBit(); in dispatchPointerStylus()
6274 uint32_t index = mCurrentCookedState.cookedPointerData.idToIndex[id]; in dispatchPointerStylus()
6275 float x = mCurrentCookedState.cookedPointerData.pointerCoords[index].getX(); in dispatchPointerStylus()
6276 float y = mCurrentCookedState.cookedPointerData.pointerCoords[index].getY(); in dispatchPointerStylus()
6279 hovering = mCurrentCookedState.cookedPointerData.hoveringIdBits.hasBit(id); in dispatchPointerStylus()
6284 mCurrentCookedState.cookedPointerData.pointerCoords[index]); in dispatchPointerStylus()
6289 mCurrentCookedState.cookedPointerData.pointerProperties[index].toolType; in dispatchPointerStylus()
6307 if (!mCurrentCookedState.mouseIdBits.isEmpty()) { in dispatchPointerMouse()
6308 uint32_t id = mCurrentCookedState.mouseIdBits.firstMarkedBit(); in dispatchPointerMouse()
6334 mCurrentCookedState.cookedPointerData.pointerCoords[currentIndex]); in dispatchPointerMouse()
6341 mCurrentCookedState.cookedPointerData.pointerProperties[currentIndex].toolType; in dispatchPointerMouse()