Home
last modified time | relevance | path

Searched refs:idBits (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/ui/
DInput.cpp750 mMovements[0].idBits.clear(); in clear()
754 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers() argument
755 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() argument
768 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 …]
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp78 BitSet32 idBits(mVelocityTracker.getCurrentPointerIdBits()); in computeCurrentVelocity() local
79 mCalculatedIdBits = idBits; in computeCurrentVelocity()
81 for (uint32_t index = 0; !idBits.isEmpty(); index++) { in computeCurrentVelocity()
82 uint32_t id = idBits.clearFirstMarkedBit(); in computeCurrentVelocity()
/frameworks/base/services/input/
DPointerController.cpp247 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local
248 uint32_t id = idBits.firstMarkedBit(); in setSpots()
249 idBits.clearBit(id); in setSpots()
263 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() local
264 uint32_t id = idBits.clearFirstMarkedBit(); in setSpots()
DInputReader.cpp1385 for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty(); ) { in getCentroidOfTouchingPointers() local
1386 uint32_t id = idBits.clearFirstMarkedBit(); in getCentroidOfTouchingPointers()
3387 for (BitSet32 idBits(mCurrentRawPointerData.touchingIdBits); !idBits.isEmpty(); ) { in sync() local
3388 uint32_t id = idBits.clearFirstMarkedBit(); in sync()
3400 for (BitSet32 idBits(mCurrentRawPointerData.hoveringIdBits); !idBits.isEmpty(); ) { in sync() local
3401 uint32_t id = idBits.clearFirstMarkedBit(); in sync()
4148 for (BitSet32 idBits(mPointerGesture.currentGestureIdBits); !idBits.isEmpty(); ) { in dispatchPointerGestures() local
4149 uint32_t id = idBits.clearFirstMarkedBit(); in dispatchPointerGestures()
4228 for (BitSet32 idBits(mCurrentFingerIdBits); !idBits.isEmpty(); count++) { in preparePointerGestures() local
4229 uint32_t id = idBits.clearFirstMarkedBit(); in preparePointerGestures()
[all …]
DInputReader.h1508 const uint32_t* idToIndex, BitSet32 idBits,
1516 const uint32_t* outIdToIndex, BitSet32 idBits) const;
/frameworks/base/include/ui/
DInput.h666 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; member
705 return positions[idBits.getIndexOfBit(id)]; in getPosition()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java1141 for (int idBits = mActivePointers; idBits != 0; ) { in populateActivePointerIds()
1142 final int id = Integer.numberOfTrailingZeros(idBits); in populateActivePointerIds()
1143 idBits &= ~(1 << id); in populateActivePointerIds()
/frameworks/base/core/java/android/view/
DMotionEvent.java2786 int idBits = 0; in getPointerIdBits() local
2789 idBits |= 1 << nativeGetPointerId(mNativePtr, i); in getPointerIdBits()
2791 return idBits; in getPointerIdBits()
2798 public final MotionEvent split(int idBits) { in split() argument
2817 if ((idBit & idBits) != 0) { in split()