Home
last modified time | relevance | path

Searched refs:AINPUT_SOURCE_TOUCHSCREEN (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp285 constexpr int32_t source = AINPUT_SOURCE_TOUCHSCREEN; in TEST_F()
648 return generateMotionArgs(action, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, points); in generateTouchArgs()
689 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
725 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
747 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
768 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
788 injectMotionDown(*mDispatcher, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
819 MotionEventBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
830 MotionEventBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
857 mDispatcher->notifyMotion(MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
[all …]
DPointerChoreographer_test.cpp201 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
622 AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_STYLUS, in TEST_F()
706 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F()
717 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F()
722 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
734 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F()
740 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
751 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F()
754 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
769 {/*id=*/0, {generateTestDeviceInfo(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID)}}); in TEST_F()
[all …]
DInputTracingTest.cpp138 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in tapAndExpect()
148 const auto up = MotionArgsBuilder(ACTION_UP, AINPUT_SOURCE_TOUCHSCREEN) in tapAndExpect()
596 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
632 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
683 const auto down = MotionArgsBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
697 const auto move1 = MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
713 const auto move2 = MotionArgsBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
731 const auto up = MotionArgsBuilder(ACTION_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
DNotifyArgs_test.cpp38 uint32_t source = AINPUT_SOURCE_TOUCHSCREEN; in TEST()
DUnwantedInteractionBlocker_test.cpp90 NotifyMotionArgs args(/*id=*/0, eventTime, /*readTime=*/0, DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, in generateMotionArgs()
108 info.addSource(AINPUT_SOURCE_TOUCHSCREEN); in generateTestDeviceInfo()
109 info.addMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN, 0, 1599, /*flat=*/0, in generateTestDeviceInfo()
111 info.addMotionRange(AMOTION_EVENT_AXIS_Y, AINPUT_SOURCE_TOUCHSCREEN, 0, 2559, /*flat=*/0, in generateTestDeviceInfo()
113 info.addMotionRange(AMOTION_EVENT_AXIS_TOUCH_MAJOR, AINPUT_SOURCE_TOUCHSCREEN, 0, 255, in generateTestDeviceInfo()
DInputReader_test.cpp96 AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_BLUETOOTH_STYLUS;
133 info.getMotionRange(axis, AINPUT_SOURCE_TOUCHSCREEN); in assertAxisResolution()
142 info.getMotionRange(axis, AINPUT_SOURCE_TOUCHSCREEN); in assertAxisNotPresent()
1054 AINPUT_SOURCE_TOUCHSCREEN); in TEST_F()
1751 ASSERT_EQ(AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_STYLUS | AINPUT_SOURCE_KEYBOARD, in TEST_P()
2516 WithSource(AINPUT_SOURCE_TOUCHSCREEN | in TEST_F()
2533 WithSource(AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_STYLUS), in TEST_F()
2579 WithSource(AINPUT_SOURCE_TOUCHSCREEN | in TEST_F()
2712 AINPUT_SOURCE_TOUCHSCREEN); in TEST_F()
2738 ASSERT_EQ(uint32_t(AINPUT_SOURCE_KEYBOARD | AINPUT_SOURCE_TOUCHSCREEN), mDevice->getSources()); in TEST_F()
[all …]
DInputDeviceMetricsSource_test.cpp35 constexpr uint32_t TOUCHSCREEN = AINPUT_SOURCE_TOUCHSCREEN;
DInputDeviceMetricsCollector_test.cpp47 constexpr uint32_t TOUCHSCREEN = AINPUT_SOURCE_TOUCHSCREEN;
120 uint32_t source = AINPUT_SOURCE_TOUCHSCREEN, in generateMotionArgs()
DPreferStylusOverTouch_test.cpp33 constexpr int32_t TOUCHSCREEN = AINPUT_SOURCE_TOUCHSCREEN;
/frameworks/native/services/inputflinger/tests/fuzzers/
DFuzzedInputStream.h60 AINPUT_SOURCE_TOUCHSCREEN, AINPUT_SOURCE_MOUSE, AINPUT_SOURCE_STYLUS, in getFuzzedSource()
145 case AINPUT_SOURCE_TOUCHSCREEN: in getToolType()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp64 event.initialize(IInputConstants::INVALID_INPUT_EVENT_ID, DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, in generateMotionEvent()
91 DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, ui::LogicalDisplayId::DEFAULT, in generateMotionArgs()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp368 event->initialize(mId, 2, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, HMAC, in initializeEventWithHistory()
383 ASSERT_EQ(AINPUT_SOURCE_TOUCHSCREEN, event->getSource()); in assertEqualsEventWithHistory()
595 MotionEvent event = MotionEventBuilder(POINTER_1_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
638 MotionEvent event = MotionEventBuilder(POINTER_0_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
685 MotionEvent event = MotionEventBuilder(POINTER_1_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
705 MotionEvent event = MotionEventBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
827 event.initialize(InputEvent::nextId(), /*deviceId=*/0, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, in TEST_F()
898 return createMotionEvent(AINPUT_SOURCE_TOUCHSCREEN, AMOTION_EVENT_ACTION_DOWN, x, y, dx, dy, in createTouchDownEvent()
1032 event.initialize(InputEvent::nextId(), /*deviceId=*/0, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
1098 event.initialize(InputEvent::nextId(), 2, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, HMAC, in TEST_F()
[all …]
DMotionPredictor_test.cpp178 ASSERT_FALSE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_TOUCHSCREEN)); in TEST()
249 ASSERT_FALSE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_TOUCHSCREEN)); in TEST()
DTouchResampling_test.cpp87 AINPUT_SOURCE_TOUCHSCREEN, ui::LogicalDisplayId::DEFAULT, in publishSimpleMotionEventWithCoords()
DInputPublisherAndConsumer_test.cpp50 const uint32_t source = AINPUT_SOURCE_TOUCHSCREEN;
DInputPublisherAndConsumerNoResampling_test.cpp57 const uint32_t source = AINPUT_SOURCE_TOUCHSCREEN;
DVelocityTracker_test.cpp217 event.initialize(InputEvent::nextId(), /*deviceId=*/0, AINPUT_SOURCE_TOUCHSCREEN, in createTouchMotionEventStream()
/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.cpp94 return isFromSource(source, AINPUT_SOURCE_TOUCHSCREEN); in isFromTouchscreen()
237 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_X, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo()
247 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_Y, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo()
257 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_TOUCH_MAJOR, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo()
265 deviceInfo.getMotionRange(AMOTION_EVENT_AXIS_TOUCH_MINOR, AINPUT_SOURCE_TOUCHSCREEN); in createPalmFilterDeviceInfo()
DInputDeviceMetricsSource.cpp108 if (isFromSource(motionArgs.source, AINPUT_SOURCE_TOUCHSCREEN)) { in getUsageSourcesForMotionArgs()
DPointerChoreographer.cpp220 } else if (isFromSource(args.source, AINPUT_SOURCE_TOUCHSCREEN)) { in processMotion()
617 if (isFromSource(sources, AINPUT_SOURCE_TOUCHSCREEN) && mShowTouchesEnabled && in updatePointerControllersLocked()
DInputProcessor.cpp72 isFromSource(args.source, AINPUT_SOURCE_TOUCHSCREEN); in isTouchEvent()
DInputCommonConverter.cpp35 static_assert(static_cast<common::Source>(AINPUT_SOURCE_TOUCHSCREEN) == in getSource()
/frameworks/native/include/android/
Dinput.h973 AINPUT_SOURCE_TOUCHSCREEN = 0x00001000 | AINPUT_SOURCE_CLASS_POINTER, enumerator
/frameworks/native/libs/input/rust/
Dinput.rs74 const Touchscreen = input_bindgen::AINPUT_SOURCE_TOUCHSCREEN;
/frameworks/native/libs/input/
DAndroid.bp104 "--allowlist-var=AINPUT_SOURCE_TOUCHSCREEN",

12