/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 | 401 BitSet32 idBits; member 407 idBits.clear(); in initializeFrom() 410 idBits.markBit(id); in initializeFrom() 418 idBits = other.idBits; // temporary copy in initializeFrom() 419 for (size_t i = 0; i < other.idBits.count(); i++) { in initializeFrom() 420 uint32_t id = idBits.clearFirstMarkedBit(); in initializeFrom() 425 idBits = other.idBits; // final copy in initializeFrom() 433 return idBits.hasBit(id); in hasPointerId() 450 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 | 813 touchState.lastResample.idBits.clearBit(msg.body.motion.getActionId()); in updateTouchState() 824 touchState.lastResample.idBits.clearBit(msg.body.motion.getActionId()); in updateTouchState() 866 if (state.lastResample.idBits.hasBit(id)) { in rewriteMessage() 879 state.lastResample.idBits.clearBit(id); in rewriteMessage() 914 if (!current->idBits.hasBit(id)) { in resampleTouchState() 976 touchState.lastResample.idBits.clear(); in resampleTouchState() 980 touchState.lastResample.idBits.markBit(id); in resampleTouchState() 996 if (other->idBits.hasBit(id) in resampleTouchState()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 123 for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty();) { in getCentroidOfTouchingPointers() local 124 uint32_t id = idBits.clearFirstMarkedBit(); in getCentroidOfTouchingPointers() 1575 for (BitSet32 idBits(mCurrentRawState.rawPointerData.touchingIdBits); !idBits.isEmpty();) { in cookAndDispatch() local 1576 uint32_t id = idBits.clearFirstMarkedBit(); in cookAndDispatch() 1589 for (BitSet32 idBits(mCurrentRawState.rawPointerData.hoveringIdBits); !idBits.isEmpty();) { in cookAndDispatch() local 1590 uint32_t id = idBits.clearFirstMarkedBit(); in cookAndDispatch() 2007 const BitSet32& idBits = findActiveIdBits(mLastCookedState.cookedPointerData); in dispatchButtonRelease() local 2018 mCurrentCookedState.cookedPointerData.idToIndex, idBits, -1, in dispatchButtonRelease() 2025 const BitSet32& idBits = findActiveIdBits(mCurrentCookedState.cookedPointerData); in dispatchButtonPress() local 2035 mCurrentCookedState.cookedPointerData.idToIndex, idBits, -1, in dispatchButtonPress() [all …]
|
D | MultiTouchInputMapper.cpp | 293 for (BitSet32 idBits(mPointerIdBits); !idBits.isEmpty();) { in syncTouch() local 294 uint32_t n = idBits.clearFirstMarkedBit(); in syncTouch()
|
D | TouchInputMapper.h | 816 const uint32_t* idToIndex, BitSet32 idBits, int32_t changedId, 824 BitSet32 idBits) const;
|
/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/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 | 3361 int idBits = 0; in getPointerIdBits() local 3364 idBits |= 1 << nativeGetPointerId(mNativePtr, i); in getPointerIdBits() 3366 return idBits; in getPointerIdBits() 3374 public final MotionEvent split(int idBits) { in split() argument 3392 if ((idBit & idBits) != 0) { in split()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 149 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local 150 uint32_t id = idBits.clearFirstMarkedBit(); in setSpots()
|