Home
last modified time | relevance | path

Searched refs:activeTouchId (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp2754 if (mPointerGesture.activeTouchId < 0) { in preparePointerGestures()
2756 mPointerGesture.activeTouchId = mCurrentCookedState.fingerIdBits.firstMarkedBit(); in preparePointerGestures()
2759 } else if (!mCurrentCookedState.fingerIdBits.hasBit(mPointerGesture.activeTouchId)) { in preparePointerGestures()
2760 mPointerGesture.activeTouchId = !mCurrentCookedState.fingerIdBits.isEmpty() in preparePointerGestures()
2764 const int32_t& activeTouchId = mPointerGesture.activeTouchId; in preparePointerGestures() local
2797 activeTouchId, currentFingerCount); in preparePointerGestures()
2806 if (activeTouchId >= 0 && currentFingerCount > 1) { in preparePointerGestures()
2808 if (bestId >= 0 && bestId != activeTouchId) { in preparePointerGestures()
2809 mPointerGesture.activeTouchId = bestId; in preparePointerGestures()
2817 if (activeTouchId >= 0 && mLastCookedState.fingerIdBits.hasBit(activeTouchId)) { in preparePointerGestures()
[all …]
DTouchInputMapper.h616 int32_t activeTouchId; // -1 if none member
671 activeTouchId = -1; in reset()