Home
last modified time | relevance | path

Searched refs:BitSet32 (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/include/input/
DVelocityTracker.h76 void clearPointers(BitSet32 idBits);
83 void addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions);
102 inline BitSet32 getCurrentPointerIdBits() const { return mCurrentPointerIdBits; } in getCurrentPointerIdBits()
108 BitSet32 mCurrentPointerIdBits;
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;
204 virtual void clearPointers(BitSet32 idBits);
[all …]
DInputTransport.h366 BitSet32 idBits;
/frameworks/native/libs/input/
DVelocityTracker.cpp211 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers()
212 BitSet32 remainingIdBits(mCurrentPointerIdBits.value & ~idBits.value); in clearPointers()
222 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement()
249 for (BitSet32 iterBits(idBits); !iterBits.isEmpty(); ) { in addMovement()
279 BitSet32 downIdBits; in addMovement()
304 BitSet32 idBits; in addMovement()
373 void LeastSquaresVelocityTrackerStrategy::clearPointers(BitSet32 idBits) { in clearPointers()
374 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers()
378 void LeastSquaresVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
709 void IntegratingVelocityTrackerStrategy::clearPointers(BitSet32 idBits) { in clearPointers()
[all …]
DVelocityControl.cpp69 mVelocityTracker.addMovement(eventTime, BitSet32(BitSet32::valueForBit(0)), &mRawPosition); in move()
/frameworks/native/services/inputflinger/
DPointerControllerInterface.h97 BitSet32 spotIdBits) = 0;
DInputReader.h785 BitSet32 hoveringIdBits, touchingIdBits;
821 BitSet32 hoveringIdBits, touchingIdBits;
1413 BitSet32 fingerIdBits;
1414 BitSet32 stylusIdBits;
1415 BitSet32 mouseIdBits;
1671 BitSet32 currentGestureIdBits;
1677 BitSet32 lastGestureIdBits;
1705 BitSet32 referenceIdBits;
1788 const BitSet32& findActiveIdBits(const CookedPointerData& cookedPointerData);
1823 const uint32_t* idToIndex, BitSet32 idBits,
[all …]
DInputReader.cpp1622 for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty(); ) { in getCentroidOfTouchingPointers()
2776 BitSet32 released(buttonsReleased); in sync()
2778 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync()
2797 BitSet32 pressed(buttonsPressed); in sync()
2799 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync()
4309 for (BitSet32 idBits(mCurrentRawState.rawPointerData.touchingIdBits); in cookAndDispatch()
4324 for (BitSet32 idBits(mCurrentRawState.rawPointerData.hoveringIdBits); in cookAndDispatch()
4598 BitSet32 currentIdBits = mCurrentCookedState.cookedPointerData.touchingIdBits; in abortTouches()
4614 BitSet32 currentIdBits = mCurrentCookedState.cookedPointerData.touchingIdBits; in dispatchTouches()
4615 BitSet32 lastIdBits = mLastCookedState.cookedPointerData.touchingIdBits; in dispatchTouches()
[all …]
DInputDispatcher.h166 BitSet32 pointerIds;
968 BitSet32 pointerIds; // zero unless target flag FLAG_SPLIT is set
983 int32_t targetFlags, BitSet32 pointerIds);
1049 int32_t targetFlags, BitSet32 pointerIds, Vector<InputTarget>& inputTargets);
1093 MotionEntry* splitMotionEvent(const MotionEntry* originalMotionEntry, BitSet32 pointerIds);
DInputDispatcher.cpp158 BitSet32 pointerIdBits; in validateMotionEvent()
1112 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, BitSet32(0), in findFocusedWindowTargetsLocked()
1236 windowHandle, InputTarget::FLAG_DISPATCH_AS_OUTSIDE, BitSet32(0)); in findTouchedWindowTargetsLocked()
1282 BitSet32 pointerIds; in findTouchedWindowTargetsLocked()
1321 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked()
1337 BitSet32 pointerIds; in findTouchedWindowTargetsLocked()
1354 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked()
1364 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER, BitSet32(0)); in findTouchedWindowTargetsLocked()
1408 InputTarget::FLAG_ZERO_COORDS, BitSet32(0)); in findTouchedWindowTargetsLocked()
1449 BitSet32(0)); in findTouchedWindowTargetsLocked()
[all …]
DEventHub.h431 BitSet32 mControllerNumbers;
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp63 BitSet32 mCalculatedIdBits;
82 BitSet32 idBits(mVelocityTracker.getCurrentPointerIdBits()); in computeCurrentVelocity()
/frameworks/base/libs/input/
DPointerController.cpp293 const uint32_t* spotIdToIndex, BitSet32 spotIdBits) { in setSpots()
296 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots()
312 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots()
DPointerController.h105 const uint32_t* spotIdToIndex, BitSet32 spotIdBits);
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvUinputBridge.cpp56 static BitSet32 mtSlots;
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.h387 BitSet32 mAllocatedDisplayIDs;
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp120 virtual void setSpots(const PointerCoords*, const uint32_t*, BitSet32) { in setSpots() argument