Searched refs:idBits (Results 1 – 8 of 8) sorted by relevance
750 mMovements[0].idBits.clear(); in clear()754 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers() argument755 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers()756 mMovements[mIndex].idBits = remainingIdBits; in clearPointers()758 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) { in clearPointers()763 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement() argument768 while (idBits.count() > MAX_POINTERS) { in addMovement()769 idBits.clearLastMarkedBit(); in addMovement()774 movement.idBits = idBits; in addMovement()775 uint32_t count = idBits.count(); in addMovement()[all …]
78 BitSet32 idBits(mVelocityTracker.getCurrentPointerIdBits()); in computeCurrentVelocity() local79 mCalculatedIdBits = idBits; in computeCurrentVelocity()81 for (uint32_t index = 0; !idBits.isEmpty(); index++) { in computeCurrentVelocity()82 uint32_t id = idBits.clearFirstMarkedBit(); in computeCurrentVelocity()
247 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local248 uint32_t id = idBits.firstMarkedBit(); in setSpots()249 idBits.clearBit(id); in setSpots()263 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local264 uint32_t id = idBits.clearFirstMarkedBit(); in setSpots()
1385 for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty(); ) { in getCentroidOfTouchingPointers() local1386 uint32_t id = idBits.clearFirstMarkedBit(); in getCentroidOfTouchingPointers()3387 for (BitSet32 idBits(mCurrentRawPointerData.touchingIdBits); !idBits.isEmpty(); ) { in sync() local3388 uint32_t id = idBits.clearFirstMarkedBit(); in sync()3400 for (BitSet32 idBits(mCurrentRawPointerData.hoveringIdBits); !idBits.isEmpty(); ) { in sync() local3401 uint32_t id = idBits.clearFirstMarkedBit(); in sync()4148 for (BitSet32 idBits(mPointerGesture.currentGestureIdBits); !idBits.isEmpty(); ) { in dispatchPointerGestures() local4149 uint32_t id = idBits.clearFirstMarkedBit(); in dispatchPointerGestures()4228 for (BitSet32 idBits(mCurrentFingerIdBits); !idBits.isEmpty(); count++) { in preparePointerGestures() local4229 uint32_t id = idBits.clearFirstMarkedBit(); in preparePointerGestures()[all …]
1508 const uint32_t* idToIndex, BitSet32 idBits,1516 const uint32_t* outIdToIndex, BitSet32 idBits) const;
666 void clearPointers(BitSet32 idBits);673 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions);693 inline BitSet32 getCurrentPointerIdBits() const { return mMovements[mIndex].idBits; } in getCurrentPointerIdBits()701 BitSet32 idBits; member705 return positions[idBits.getIndexOfBit(id)]; in getPosition()
1141 for (int idBits = mActivePointers; idBits != 0; ) { in populateActivePointerIds()1142 final int id = Integer.numberOfTrailingZeros(idBits); in populateActivePointerIds()1143 idBits &= ~(1 << id); in populateActivePointerIds()
2786 int idBits = 0; in getPointerIdBits() local2789 idBits |= 1 << nativeGetPointerId(mNativePtr, i); in getPointerIdBits()2791 return idBits; in getPointerIdBits()2798 public final MotionEvent split(int idBits) { in split() argument2817 if ((idBit & idBits) != 0) { in split()