Searched refs:hasBit (Results 1 - 9 of 9) sorted by relevance

/frameworks/native/include/utils/
H A DBitSet.h52 inline bool hasBit(uint32_t n) const { return value & valueForBit(n); } function in struct:android::BitSet32
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp402 if (uint32_t(id)>31 || !mAllocatedDisplayIDs.hasBit(id)) {
447 if (uint32_t(disp)>31 || !mAllocatedDisplayIDs.hasBit(disp)) {
487 if (uint32_t(id)>31 || !mAllocatedDisplayIDs.hasBit(id)) {
531 if (uint32_t(id)>31 || !mAllocatedDisplayIDs.hasBit(id)) {
624 if (uint32_t(id)>31 || !mAllocatedDisplayIDs.hasBit(id))
630 if (uint32_t(id)>31 || !mAllocatedDisplayIDs.hasBit(id))
636 if (uint32_t(id)>31 || !mAllocatedDisplayIDs.hasBit(id))
873 if (uint32_t(id)>31 || !mAllocatedDisplayIDs.hasBit(id)) {
895 if (uint32_t(id) <= 31 && mAllocatedDisplayIDs.hasBit(id)) {
/frameworks/base/libs/androidfw/
H A DVelocityTracker.cpp214 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) {
239 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) {
572 if (!movement.idBits.hasBit(id)) {
718 if (mPointerIdBits.hasBit(id)) {
732 if (mPointerIdBits.hasBit(id)) {
853 if (!newestMovement.idBits.hasBit(id)) {
864 if (!nextOldestMovement.idBits.hasBit(id)
H A DInputTransport.cpp650 if (state.lastResample.idBits.hasBit(id)) {
695 if (!current->idBits.hasBit(id)) {
757 if (other->idBits.hasBit(id)
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp116 if (id >= 0 && id <= MAX_POINTER_ID && mCalculatedIdBits.hasBit(id)) {
/frameworks/base/services/input/
H A DPointerController.cpp283 && !spotIdBits.hasBit(spot->id)) {
H A DInputReader.cpp4563 } else if (!mCurrentFingerIdBits.hasBit(activeTouchId)) {
4668 if (activeTouchId >= 0 && mLastFingerIdBits.hasBit(activeTouchId)) {
4804 if (mLastFingerIdBits.hasBit(activeTouchId)) {
5158 if (!mappedTouchIdBits.hasBit(touchId)) {
5258 hovering = mCurrentCookedPointerData.hoveringIdBits.hasBit(id);
5288 if (mLastMouseIdBits.hasBit(id)) {
5715 if (matchedCurrentBits.hasBit(currentPointerIndex)) continue; // already matched
5718 if (matchedLastBits.hasBit(lastPointerIndex)) continue; // already matched
H A DInputReader.h795 return hoveringIdBits.hasBit(pointerProperties[pointerIndex].id);
H A DInputDispatcher.cpp160 if (pointerIdBits.hasBit(id)) {
2254 if (pointerIds.hasBit(pointerId)) {
2284 if (pointerIds.hasBit(pointerId)) {

Completed in 1890 milliseconds