Home
last modified time | relevance | path

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

12

/aosp12/frameworks/native/include/input/
H A DVelocityTracker.h92 void clearPointers(BitSet32 idBits);
129 BitSet32 mCurrentPointerIdBits;
150 virtual void clearPointers(BitSet32 idBits) = 0;
182 virtual void clearPointers(BitSet32 idBits);
198 BitSet32 idBits;
225 virtual void clearPointers(BitSet32 idBits);
241 BitSet32 mPointerIdBits;
259 virtual void clearPointers(BitSet32 idBits);
276 BitSet32 idBits;
294 virtual void clearPointers(BitSet32 idBits);
[all …]
/aosp12/system/core/libutils/include/utils/
H A DBitSet.h35 struct BitSet32 { struct
38 inline BitSet32() : value(0UL) { } in BitSet32() argument
39 explicit inline BitSet32(uint32_t value) : value(value) { } in BitSet32() function
139 inline bool operator== (const BitSet32& other) const { return value == other.value; } argument
141 inline BitSet32 operator& (const BitSet32& other) const {
142 return BitSet32(value & other.value);
144 inline BitSet32& operator&= (const BitSet32& other) {
148 inline BitSet32 operator| (const BitSet32& other) const {
149 return BitSet32(value | other.value);
151 inline BitSet32& operator|= (const BitSet32& other) {
[all …]
/aosp12/system/core/libutils/
H A DBitSet_fuzz.cpp46 static const std::vector<std::function<void(android::BitSet32, uint32_t)>> thirtyTwoBitOps =
47 getOperationsForType<android::BitSet32>();
51 void runOperationFor32Bit(android::BitSet32 bs, uint32_t bit, uint8_t operation) { in runOperationFor32Bit()
59 android::BitSet32 b1 = android::BitSet32(thirty_two_base); in LLVMFuzzerTestOneInput()
H A DBitSet_test.cpp29 BitSet32 b1;
30 BitSet32 b2;
42 BitSet32 tmp = b1 | b2; in TEST_F()
58 BitSet32 tmp = b1 & b2; in TEST_F()
77 BitSet32 tmp = b1 & b2; in TEST_F()
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchInputMapper.h74 BitSet32 hoveringIdBits, touchingIdBits, canceledIdBits;
106 BitSet32 hoveringIdBits, touchingIdBits, canceledIdBits, validIdBits;
345 BitSet32 fingerIdBits;
346 BitSet32 stylusIdBits;
347 BitSet32 mouseIdBits;
634 BitSet32 currentGestureIdBits;
640 BitSet32 lastGestureIdBits;
668 BitSet32 referenceIdBits;
751 const BitSet32& findActiveIdBits(const CookedPointerData& cookedPointerData);
794 BitSet32 idBits) const;
[all …]
H A DTouchInputMapper.cpp122 for (BitSet32 idBits(touchingIdBits); !idBits.isEmpty();) { in getCentroidOfTouchingPointers()
1956 BitSet32 dispatchedIdBits(lastIdBits.value); in dispatchTouches()
2523 BitSet32 upGestureIdBits; in dispatchPointerGestures()
3093 for (BitSet32 idBits(commonIdBits); !idBits.isEmpty();) { in preparePointerGestures()
3273 BitSet32 mappedTouchIdBits; in preparePointerGestures()
3274 BitSet32 usedGestureIdBits; in preparePointerGestures()
3315 BitSet32 idBits(mCurrentCookedState.fingerIdBits); in preparePointerGestures()
3889 BitSet32 matchedLastBits(0); in assignPointerIds()
3890 BitSet32 matchedCurrentBits(0); in assignPointerIds()
3891 BitSet32 usedIdBits(0); in assignPointerIds()
[all …]
H A DMultiTouchInputMapper.cpp248 for (BitSet32 idBits(mPointerIdBits); !idBits.isEmpty();) { in getActiveBitId()
261 BitSet32 newPointerIdBits; in syncTouch()
323 for (BitSet32 idBits(mPointerIdBits); !idBits.isEmpty();) { in syncTouch()
H A DCursorInputMapper.cpp415 BitSet32 released(buttonsReleased); in sync()
417 int32_t actionButton = BitSet32::valueForBit(released.clearFirstMarkedBit()); in sync()
440 BitSet32 pressed(buttonsPressed); in sync()
442 int32_t actionButton = BitSet32::valueForBit(pressed.clearFirstMarkedBit()); in sync()
H A DMultiTouchInputMapper.h112 BitSet32 mPointerIdBits;
/aosp12/frameworks/native/libs/input/
H A DVelocityTracker.cpp185 void VelocityTracker::clearPointers(BitSet32 idBits) { in clearPointers()
196 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
227 for (BitSet32 iterBits(idBits); !iterBits.isEmpty(); ) { in addMovement()
257 BitSet32 downIdBits; in addMovement()
282 BitSet32 idBits; in addMovement()
346 nsecs_t eventTime, BitSet32 idBits, in addMovement()
764 nsecs_t eventTime, BitSet32 idBits, in addMovement()
767 for (BitSet32 iterIdBits(idBits); !iterIdBits.isEmpty();) { in addMovement()
877 void LegacyVelocityTrackerStrategy::clearPointers(BitSet32 idBits) { in clearPointers()
883 nsecs_t eventTime, BitSet32 idBits, in addMovement()
[all …]
H A DVelocityControl.cpp69 mVelocityTracker.addMovement(eventTime, BitSet32(BitSet32::valueForBit(0)), {mRawPosition}); in move()
/aosp12/hardware/libhardware/modules/input/evdev/
H A DMouseInputMapper.h42 BitSet32 mButtonValues;
43 BitSet32 mUpdatedButtonMask;
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputTarget.h112 BitSet32 pointerIds;
117 void addPointers(BitSet32 pointerIds, const ui::Transform& transform);
H A DTouchedWindow.h32 BitSet32 pointerIds; // zero unless target flag FLAG_SPLIT is set
H A DTouchState.h51 int32_t targetFlags, BitSet32 pointerIds);
H A DInputTarget.cpp45 void InputTarget::addPointers(BitSet32 newPointerIds, const ui::Transform& transform) { in addPointers()
H A DTouchState.cpp56 BitSet32 pointerIds) { in addOrUpdateWindow()
H A DInputDispatcher.cpp217 BitSet32 pointerIdBits; in validateMotionEvent()
1047 BitSet32(0)); in findTouchedWindowAtLocked()
1899 BitSet32(0), inputTargets); in findFocusedWindowTargetsLocked()
2116 BitSet32 pointerIds; in findTouchedWindowTargetsLocked()
2172 BitSet32(0)); in findTouchedWindowTargetsLocked()
2190 BitSet32 pointerIds; in findTouchedWindowTargetsLocked()
2224 BitSet32(0)); in findTouchedWindowTargetsLocked()
2268 BitSet32(0)); in findTouchedWindowTargetsLocked()
2297 BitSet32(0)); in findTouchedWindowTargetsLocked()
3629 const MotionEntry& originalMotionEntry, BitSet32 pointerIds) { in splitMotionEvent()
[all …]
/aosp12/frameworks/native/libs/input/tests/
H A DVelocityTracker_test.cpp92 static BitSet32 getValidPointers(const std::vector<Position>& positions) { in getValidPointers()
93 BitSet32 pointers; in getValidPointers()
102 static uint32_t getChangingPointerId(BitSet32 pointers, BitSet32 otherPointers) { in getChangingPointerId()
103 BitSet32 difference(pointers.value ^ otherPointers.value); in getChangingPointerId()
112 BitSet32 pointers = getValidPointers(currentPositions); in resolveAction()
115 BitSet32 lastPointers = getValidPointers(lastPositions); in resolveAction()
124 BitSet32 nextPointers = getValidPointers(nextPositions); in resolveAction()
145 BitSet32 pointers = getValidPointers(entry.positions); in createMotionEventStream()
/aosp12/frameworks/base/libs/input/
H A DTouchSpotController.cpp80 BitSet32 spotIdBits) { in setSpots()
83 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty();) { in setSpots()
98 for (BitSet32 idBits(spotIdBits); !idBits.isEmpty();) { in setSpots()
H A DTouchSpotController.h35 BitSet32 spotIdBits);
H A DPointerController.h65 BitSet32 spotIdBits, int32_t displayId);
H A DPointerController.cpp131 BitSet32 spotIdBits, int32_t displayId) { in setSpots()
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp61 BitSet32 mCalculatedIdBits;
79 BitSet32 idBits(mVelocityTracker.getCurrentPointerIdBits()); in computeCurrentVelocity()
/aosp12/frameworks/native/services/inputflinger/include/
H A DPointerControllerInterface.h98 BitSet32 spotIdBits, int32_t displayId) = 0;

12