Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dinput.h950 AINPUT_SOURCE_CLASS_POINTER = 0x00000002, enumerator
973 AINPUT_SOURCE_TOUCHSCREEN = 0x00001000 | AINPUT_SOURCE_CLASS_POINTER,
975 AINPUT_SOURCE_MOUSE = 0x00002000 | AINPUT_SOURCE_CLASS_POINTER,
977 AINPUT_SOURCE_STYLUS = 0x00004000 | AINPUT_SOURCE_CLASS_POINTER,
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp94 if (!isFromSource(entry.source, AINPUT_SOURCE_CLASS_POINTER)) { in trackMotion()
298 if (!isFromSource(motionEntry.source, AINPUT_SOURCE_CLASS_POINTER)) { in shouldCancelPreviousStream()
448 if (!isFromSource(memento.source, AINPUT_SOURCE_CLASS_POINTER)) { in synthesizePointerDownEvents()
564 if (isFromSource(memento.source, AINPUT_SOURCE_CLASS_POINTER)) { in mergePointerStateTo()
638 return memento.source & AINPUT_SOURCE_CLASS_POINTER; in shouldCancelMotion()
640 return !(memento.source & AINPUT_SOURCE_CLASS_POINTER); in shouldCancelMotion()
DInputDispatcher.cpp1234 if (!isFromSource(motionEntry->source, AINPUT_SOURCE_CLASS_POINTER)) { in dispatchOnceInnerLocked()
1286 isFromSource(motionEntry.source, AINPUT_SOURCE_CLASS_POINTER); in shouldPruneInboundQueueLocked()
1375 isFromSource(motionEntry.source, AINPUT_SOURCE_CLASS_POINTER); in enqueueInboundEventLocked()
1533 if (motionEntry.source & AINPUT_SOURCE_CLASS_POINTER) { in dropInboundEventLocked()
2029 const bool isPointerEvent = isFromSource(entry->source, AINPUT_SOURCE_CLASS_POINTER); in dispatchMotionLocked()
3725 if (maskedSource != AINPUT_SOURCE_CLASS_POINTER || maskedAction != AMOTION_EVENT_ACTION_DOWN) { in dispatchPointerDownOutsideFocus()
3752 if ((motionEntry.source & AINPUT_SOURCE_CLASS_POINTER) && in publishMotionEvent()
4861 isFromSource(event->getSource(), AINPUT_SOURCE_CLASS_POINTER); in injectInputEvent()
/frameworks/native/libs/input/tests/
DInputVerifier_test.cpp47 verifier.processMovement(/*deviceId=*/0, AINPUT_SOURCE_CLASS_POINTER, in TEST()
DMotionPredictorMetricsManager_test.cpp143 /*source=*/AINPUT_SOURCE_CLASS_POINTER) in makeMotionEvent()
159 /*action=*/AMOTION_EVENT_ACTION_MOVE, /*source=*/AINPUT_SOURCE_CLASS_POINTER) in makeMotionEvent()
178 /*source=*/AINPUT_SOURCE_CLASS_POINTER) in makeLiftMotionEvent()
/frameworks/native/libs/input/rust/
Dinput.rs43 Pointer = input_bindgen::AINPUT_SOURCE_CLASS_POINTER,
339 let source = Source::from_bits(input_bindgen::AINPUT_SOURCE_CLASS_POINTER).unwrap(); in convert_source_class_pointer()
/frameworks/native/libs/input/
DAndroid.bp96 "--allowlist-var=AINPUT_SOURCE_CLASS_POINTER",
DInputConsumer.cpp180 return (source & AINPUT_SOURCE_CLASS_POINTER) == AINPUT_SOURCE_CLASS_POINTER; in isPointerEvent()
DInputConsumerNoResampling.cpp322 (isFromSource(source, AINPUT_SOURCE_CLASS_POINTER) || in handleMessages()
DInput.cpp57 return !isFromSource(source, AINPUT_SOURCE_CLASS_POINTER); in shouldDisregardOffset()
947 if (isFromSource(source, AINPUT_SOURCE_CLASS_POINTER)) { in isTouchEvent()