Searched refs:BitSet32 (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/include/androidfw/ |
D | VelocityTracker.h | 76 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 …]
|
D | InputTransport.h | 353 BitSet32 idBits;
|
/frameworks/native/include/utils/ |
D | BitSet.h | 30 struct BitSet32 { struct 33 inline BitSet32() : value(0) { } in BitSet32() argument 34 explicit inline BitSet32(uint32_t value) : value(value) { } in BitSet32() argument 102 inline bool operator== (const BitSet32& other) const { return value == other.value; } argument 103 inline bool operator!= (const BitSet32& other) const { return value != other.value; } 106 ANDROID_BASIC_TYPES_TRAITS(BitSet32)
|
/frameworks/base/libs/androidfw/ |
D | VelocityTracker.cpp | 210 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers() 211 BitSet32 remainingIdBits(mCurrentPointerIdBits.value & ~idBits.value); in clearPointers() 221 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement() 248 for (BitSet32 iterBits(idBits); !iterBits.isEmpty(); ) { in addMovement() 278 BitSet32 downIdBits; in addMovement() 303 BitSet32 idBits; in addMovement() 372 void LeastSquaresVelocityTrackerStrategy::clearPointers(BitSet32 idBits) { in clearPointers() 373 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers() 377 void LeastSquaresVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement() 707 void IntegratingVelocityTrackerStrategy::clearPointers(BitSet32 idBits) { in clearPointers() [all …]
|
D | VelocityControl.cpp | 69 mVelocityTracker.addMovement(eventTime, BitSet32(BitSet32::valueForBit(0)), &mRawPosition); in move()
|
/frameworks/base/services/input/ |
D | InputReader.h | 702 BitSet32 hoveringIdBits, touchingIdBits; 738 BitSet32 hoveringIdBits, touchingIdBits; 1240 BitSet32 mCurrentFingerIdBits; // finger or unknown 1241 BitSet32 mLastFingerIdBits; 1242 BitSet32 mCurrentStylusIdBits; // stylus or eraser 1243 BitSet32 mLastStylusIdBits; 1244 BitSet32 mCurrentMouseIdBits; // mouse or lens 1245 BitSet32 mLastMouseIdBits; 1451 BitSet32 currentGestureIdBits; 1457 BitSet32 lastGestureIdBits; [all …]
|
D | PointerController.h | 104 BitSet32 spotIdBits) = 0; 170 const uint32_t* spotIdToIndex, BitSet32 spotIdBits);
|
D | InputDispatcher.h | 160 BitSet32 pointerIds; 924 BitSet32 pointerIds; // zero unless target flag FLAG_SPLIT is set 938 int32_t targetFlags, BitSet32 pointerIds); 1004 int32_t targetFlags, BitSet32 pointerIds, Vector<InputTarget>& inputTargets); 1044 MotionEntry* splitMotionEvent(const MotionEntry* originalMotionEntry, BitSet32 pointerIds);
|
D | InputReader.cpp | 1455 for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty(); ) { in getCentroidOfTouchingPointers() 3617 for (BitSet32 idBits(mCurrentRawPointerData.touchingIdBits); !idBits.isEmpty(); ) { in sync() 3630 for (BitSet32 idBits(mCurrentRawPointerData.hoveringIdBits); !idBits.isEmpty(); ) { in sync() 3809 BitSet32 currentIdBits = mCurrentCookedPointerData.touchingIdBits; in dispatchTouches() 3810 BitSet32 lastIdBits = mLastCookedPointerData.touchingIdBits; in dispatchTouches() 3830 BitSet32 upIdBits(lastIdBits.value & ~currentIdBits.value); in dispatchTouches() 3831 BitSet32 downIdBits(currentIdBits.value & ~lastIdBits.value); in dispatchTouches() 3832 BitSet32 moveIdBits(lastIdBits.value & currentIdBits.value); in dispatchTouches() 3833 BitSet32 dispatchedIdBits(lastIdBits.value); in dispatchTouches() 4257 BitSet32 movedGestureIdBits(mPointerGesture.currentGestureIdBits.value in dispatchPointerGestures() [all …]
|
D | PointerController.cpp | 244 const uint32_t* spotIdToIndex, BitSet32 spotIdBits) { in setSpots() 247 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots() 263 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { in setSpots()
|
D | InputDispatcher.cpp | 152 BitSet32 pointerIdBits; in validateMotionEvent() 1066 InputTarget::FLAG_FOREGROUND | InputTarget::FLAG_DISPATCH_AS_IS, BitSet32(0), in findFocusedWindowTargetsLocked() 1206 windowHandle, outsideTargetFlags, BitSet32(0)); in findTouchedWindowTargetsLocked() 1275 BitSet32 pointerIds; in findTouchedWindowTargetsLocked() 1313 InputTarget::FLAG_DISPATCH_AS_SLIPPERY_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked() 1329 BitSet32 pointerIds; in findTouchedWindowTargetsLocked() 1346 InputTarget::FLAG_DISPATCH_AS_HOVER_EXIT, BitSet32(0)); in findTouchedWindowTargetsLocked() 1356 InputTarget::FLAG_DISPATCH_AS_HOVER_ENTER, BitSet32(0)); in findTouchedWindowTargetsLocked() 1400 InputTarget::FLAG_ZERO_COORDS, BitSet32(0)); in findTouchedWindowTargetsLocked() 1446 BitSet32(0)); in findTouchedWindowTargetsLocked() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_VelocityTracker.cpp | 62 BitSet32 mCalculatedIdBits; 81 BitSet32 idBits(mVelocityTracker.getCurrentPointerIdBits()); in computeCurrentVelocity()
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 117 const uint32_t* spotIdToIndex, BitSet32 spotIdBits) { in setSpots()
|