Home
last modified time | relevance | path

Searched refs:hasBit (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/input/
DVelocityTracker.cpp223 if (mActivePointerId >= 0 && idBits.hasBit(mActivePointerId)) { in clearPointers()
248 if (mActivePointerId < 0 || !idBits.hasBit(mActivePointerId)) { in addMovement()
640 if (!movement.idBits.hasBit(id)) { in getEstimator()
802 if (mPointerIdBits.hasBit(id)) { in addMovement()
816 if (mPointerIdBits.hasBit(id)) { in getEstimator()
933 if (!newestMovement.idBits.hasBit(id)) { in getEstimator()
944 if (!nextOldestMovement.idBits.hasBit(id) in getEstimator()
1173 if (!movement.idBits.hasBit(id)) { in getEstimator()
DInput.cpp106 if (axis < 0 || axis > 63 || !BitSet64::hasBit(bits, axis)){ in getAxisValue()
118 if (!BitSet64::hasBit(bits, axis)) { in setAxisValue()
DInputTransport.cpp866 if (state.lastResample.idBits.hasBit(id)) { in rewriteMessage()
914 if (!current->idBits.hasBit(id)) { in resampleTouchState()
996 if (other->idBits.hasBit(id) in resampleTouchState()
/frameworks/ml/nn/runtime/test/
DTestIntrospectionControl.cpp330 bool hasBit(Success mask, Success bit) { in hasBit() function
365 if (hasBit(success, b.first)) { in operator <<()
389 if (!hasBit(s, Success::PASS_BIT)) { in getExpectedTiming()
394 result.first.timeOnDevice = hasBit(s, Success::PASS_UNFENCED_DEVICE_BIT) in getExpectedTiming()
397 result.first.timeInDriver = hasBit(s, Success::PASS_UNFENCED_DRIVER_BIT) in getExpectedTiming()
401 result.second.timeOnDevice = hasBit(s, Success::PASS_FENCED_DEVICE_BIT) in getExpectedTiming()
404 result.second.timeInDriver = hasBit(s, Success::PASS_FENCED_DRIVER_BIT) in getExpectedTiming()
544 if (hasBit(mSuccess, Success::PASS_BIT)) { in executeFenced()
873 const bool isPass = hasBit(kSuccess, Success::PASS_BIT); in TEST_P()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp117 if (id >= 0 && id <= MAX_POINTER_ID && mCalculatedIdBits.hasBit(id)) { in getVelocity()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h187 return hoveringIdBits.hasBit(pointerProperties[pointerIndex].id); in isHovering()
191 return touchingIdBits.hasBit(pointerProperties[pointerIndex].id); in isTouching()
DTouchInputMapper.cpp1714 if (mExternalStylusId != -1 && !state.rawPointerData.touchingIdBits.hasBit(mExternalStylusId)) { in assignExternalStylusId()
2661 } else if (!mCurrentCookedState.fingerIdBits.hasBit(activeTouchId)) { in preparePointerGestures()
2766 if (activeTouchId >= 0 && mLastCookedState.fingerIdBits.hasBit(activeTouchId)) { in preparePointerGestures()
2903 if (mLastCookedState.fingerIdBits.hasBit(activeTouchId)) { in preparePointerGestures()
3256 if (!mappedTouchIdBits.hasBit(touchId)) { in preparePointerGestures()
3355 hovering = mCurrentCookedState.cookedPointerData.hoveringIdBits.hasBit(id); in dispatchPointerStylus()
3387 if (mLastCookedState.mouseIdBits.hasBit(id)) { in dispatchPointerMouse()
3834 if (matchedCurrentBits.hasBit(currentPointerIndex)) continue; // already matched in assignPointerIds()
3837 if (matchedLastBits.hasBit(lastPointerIndex)) continue; // already matched in assignPointerIds()
/frameworks/native/include/input/
DInputTransport.h433 return idBits.hasBit(id); in hasPointerId()
/frameworks/base/libs/input/
DPointerController.cpp327 && !spotIdBits.hasBit(spot->id)) { in setSpots()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp177 if (pointerIdBits.hasBit(id)) { in validateMotionEvent()
2517 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()
2547 if (pointerIds.hasBit(pointerId)) { in splitMotionEvent()