Searched refs:getIndexOfBit (Results 1 – 8 of 8) sorted by relevance
/aosp12/system/core/libutils/ |
H A D | BitSet_test.cpp | 142 EXPECT_EQ(0U, b1.getIndexOfBit(1)); in TEST_F() 143 EXPECT_EQ(1U, b1.getIndexOfBit(4)); in TEST_F() 145 EXPECT_EQ(1U, b1.getIndexOfBit(1)); in TEST_F() 146 EXPECT_EQ(2U, b1.getIndexOfBit(4)); in TEST_F() 264 EXPECT_EQ(0U, b1.getIndexOfBit(10)); in TEST_F() 265 EXPECT_EQ(1U, b1.getIndexOfBit(40)); in TEST_F() 267 EXPECT_EQ(1U, b1.getIndexOfBit(10)); in TEST_F() 268 EXPECT_EQ(2U, b1.getIndexOfBit(40)); in TEST_F()
|
H A D | BitSet_fuzz.cpp | 32 [](T bs, uint32_t val) -> void { bs.getIndexOfBit(val); }, in getOperationsForType()
|
/aosp12/system/core/libutils/include/utils/ |
H A D | BitSet.h | 131 inline uint32_t getIndexOfBit(uint32_t n) const { in getIndexOfBit() function 132 return getIndexOfBit(value, n); in getIndexOfBit() 135 static inline uint32_t getIndexOfBit(uint32_t value, uint32_t n) { in getIndexOfBit() function 281 inline uint32_t getIndexOfBit(uint32_t n) const { return getIndexOfBit(value, n); } in getIndexOfBit() function 283 static inline uint32_t getIndexOfBit(uint64_t value, uint32_t n) { in getIndexOfBit() function
|
/aosp12/frameworks/native/include/input/ |
H A D | VelocityTracker.h | 202 return positions[idBits.getIndexOfBit(id)]; in getPosition() 280 return positions[idBits.getIndexOfBit(id)]; in getPosition() 314 return positions[idBits.getIndexOfBit(id)]; in getPosition()
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A D | InputClassifierConverter_test.cpp | 55 uint32_t index = BitSet64::getIndexOfBit(static_cast<uint64_t>(coords.bits), in getMotionEventAxis()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_view_VelocityTracker.cpp | 115 uint32_t index = mCalculatedIdBits.getIndexOfBit(id); in getVelocity()
|
/aosp12/frameworks/native/libs/input/ |
H A D | Input.cpp | 274 return values[BitSet64::getIndexOfBit(bits, axis)]; in getAxisValue() 282 uint32_t index = BitSet64::getIndexOfBit(bits, axis); in setAxisValue()
|
H A D | VelocityTracker.cpp | 229 uint32_t index = idBits.getIndexOfBit(id); in addMovement() 289 pointerIndex[i] = idBits.getIndexOfBit(event->getPointerId(i)); in addMovement()
|