/frameworks/native/include/input/ |
D | VelocityTracker.h | 76 void clearPointers(BitSet32 idBits); 83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions); 129 virtual void clearPointers(BitSet32 idBits) = 0; 130 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits, 161 virtual void clearPointers(BitSet32 idBits); 162 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits, 177 BitSet32 idBits; member 181 return positions[idBits.getIndexOfBit(id)]; in getPosition() 204 virtual void clearPointers(BitSet32 idBits); 205 virtual void addMovement(nsecs_t eventTime, BitSet32 idBits, [all …]
|
D | InputTransport.h | 437 BitSet32 idBits; member 443 idBits.clear(); in initializeFrom() 446 idBits.markBit(id); in initializeFrom() 454 idBits = other.idBits; // temporary copy in initializeFrom() 455 for (size_t i = 0; i < other.idBits.count(); i++) { in initializeFrom() 456 uint32_t id = idBits.clearFirstMarkedBit(); in initializeFrom() 461 idBits = other.idBits; // final copy in initializeFrom() 469 return idBits.hasBit(id); in hasPointerId() 486 lastResample.idBits.clear(); in initialize()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 219 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers() argument 220 BitSet32 remainingIdBits(mCurrentPointerIdBits.value & ~idBits.value); in clearPointers() 223 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) { in clearPointers() 227 mStrategy->clearPointers(idBits); in clearPointers() 230 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement() argument 231 while (idBits.count() > MAX_POINTERS) { in addMovement() 232 idBits.clearLastMarkedBit(); in addMovement() 235 if ((mCurrentPointerIdBits.value & idBits.value) in addMovement() 247 mCurrentPointerIdBits = idBits; in addMovement() 248 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) { in addMovement() [all …]
|
D | InputTransport.cpp | 853 touchState.lastResample.idBits.clearBit(msg.body.motion.getActionId()); in updateTouchState() 864 touchState.lastResample.idBits.clearBit(msg.body.motion.getActionId()); in updateTouchState() 906 if (state.lastResample.idBits.hasBit(id)) { in rewriteMessage() 919 state.lastResample.idBits.clearBit(id); in rewriteMessage() 954 if (!current->idBits.hasBit(id)) { in resampleTouchState() 1016 touchState.lastResample.idBits.clear(); in resampleTouchState() 1020 touchState.lastResample.idBits.markBit(id); in resampleTouchState() 1036 if (other->idBits.hasBit(id) in resampleTouchState()
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 82 BitSet32 idBits(mVelocityTracker.getCurrentPointerIdBits()); in computeCurrentVelocity() local 83 mCalculatedIdBits = idBits; in computeCurrentVelocity() 85 for (uint32_t index = 0; !idBits.isEmpty(); index++) { in computeCurrentVelocity() 86 uint32_t id = idBits.clearFirstMarkedBit(); in computeCurrentVelocity()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 118 for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty();) { in getCentroidOfTouchingPointers() local 119 uint32_t id = idBits.clearFirstMarkedBit(); in getCentroidOfTouchingPointers() 1550 for (BitSet32 idBits(mCurrentRawState.rawPointerData.touchingIdBits); !idBits.isEmpty();) { in cookAndDispatch() local 1551 uint32_t id = idBits.clearFirstMarkedBit(); in cookAndDispatch() 1564 for (BitSet32 idBits(mCurrentRawState.rawPointerData.hoveringIdBits); !idBits.isEmpty();) { in cookAndDispatch() local 1565 uint32_t id = idBits.clearFirstMarkedBit(); in cookAndDispatch() 1978 const BitSet32& idBits = findActiveIdBits(mLastCookedState.cookedPointerData); in dispatchButtonRelease() local 1988 mCurrentCookedState.cookedPointerData.idToIndex, idBits, -1, in dispatchButtonRelease() 1995 const BitSet32& idBits = findActiveIdBits(mCurrentCookedState.cookedPointerData); in dispatchButtonPress() local 2005 mCurrentCookedState.cookedPointerData.idToIndex, idBits, -1, in dispatchButtonPress() [all …]
|
D | MultiTouchInputMapper.cpp | 301 for (BitSet32 idBits(mPointerIdBits); !idBits.isEmpty();) { in syncTouch() local 302 uint32_t n = idBits.clearFirstMarkedBit(); in syncTouch()
|
D | TouchInputMapper.h | 748 const PointerCoords* coords, const uint32_t* idToIndex, BitSet32 idBits, 756 BitSet32 idBits) const;
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 280 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local 281 uint32_t id = idBits.firstMarkedBit(); in setSpots() 282 idBits.clearBit(id); in setSpots() 307 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local 308 uint32_t id = idBits.clearFirstMarkedBit(); in setSpots()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 3427 int idBits = 0; in getPointerIdBits() local 3430 idBits |= 1 << nativeGetPointerId(mNativePtr, i); in getPointerIdBits() 3432 return idBits; in getPointerIdBits() 3440 public final MotionEvent split(int idBits) { in split() argument 3458 if ((idBit & idBits) != 0) { in split()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 157 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local 158 uint32_t id = idBits.clearFirstMarkedBit(); in setSpots()
|