Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_ACTION_DOWN (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/native/libs/input/tests/
DTouchResampling_test.cpp83 if (action == AMOTION_EVENT_ACTION_DOWN && eventTime != 0) { in publishSimpleMotionEventWithCoords()
233 {0ms, {{0, 10, 20}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
239 {0ms, {{0, 10, 20}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
272 {0ms, {{1, 10, 20}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
278 {0ms, {{1, 10, 20}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
310 {0ms, {{0, 10, 20, .toolType = ToolType::STYLUS}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
316 {0ms, {{0, 10, 20, .toolType = ToolType::STYLUS}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
350 {0ms, {{0, 10, 20, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
356 {0ms, {{0, 10, 20, .toolType = ToolType::MOUSE}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
390 {0ms, {{0, 10, 20, .toolType = ToolType::PALM}}, AMOTION_EVENT_ACTION_DOWN}, in TEST_F()
[all …]
DInputVerifier_test.cpp48 AMOTION_EVENT_ACTION_DOWN, in TEST()
DVerifiedInputEvent_test.cpp47 ui::LogicalDisplayId::DEFAULT, INVALID_HMAC, AMOTION_EVENT_ACTION_DOWN, in getMotionEventWithFlags()
DInputEvent_test.cpp606 ASSERT_EQ(splitDown.getAction(), AMOTION_EVENT_ACTION_DOWN); in TEST_F()
898 return createMotionEvent(AINPUT_SOURCE_TOUCHSCREEN, AMOTION_EVENT_ACTION_DOWN, x, y, dx, dy, in createTouchDownEvent()
942 {std::pair(AINPUT_SOURCE_TOUCHPAD, AMOTION_EVENT_ACTION_DOWN), in TEST_F()
963 AMOTION_EVENT_ACTION_DOWN), in TEST_F()
1033 DISPLAY_ID, INVALID_HMAC, AMOTION_EVENT_ACTION_DOWN, 0, 0, in TEST_F()
1055 INVALID_HMAC, AMOTION_EVENT_ACTION_DOWN, 0, 0, AMOTION_EVENT_EDGE_FLAG_NONE, in TEST_F()
DInputPublisherAndConsumer_test.cpp335 publishAndConsumeMotionEvent(AMOTION_EVENT_ACTION_DOWN, downTime, in publishAndConsumeMotionStream()
355 publishAndConsumeMotionEvent(AMOTION_EVENT_ACTION_DOWN, downTime, in publishAndConsumeMotionDown()
678 publishAndConsumeMotionEvent(AMOTION_EVENT_ACTION_DOWN, downTime, in TEST_F()
/frameworks/native/libs/input/rust/
Dinput_verifier.rs309 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in bad_down_event()
324 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in single_pointer_stream()
357 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in two_pointer_stream()
407 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in multi_device_stream()
425 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in multi_device_stream()
458 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in action_cancel()
482 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in invalid_action_cancel()
609 input_bindgen::AMOTION_EVENT_ACTION_DOWN, in move_with_wrong_number_of_pointers()
Dinput.rs104 Down = input_bindgen::AMOTION_EVENT_ACTION_DOWN,
163 input_bindgen::AMOTION_EVENT_ACTION_DOWN => MotionAction::Down, in from()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp65 ui::LogicalDisplayId::DEFAULT, INVALID_HMAC, AMOTION_EVENT_ACTION_DOWN, in generateMotionEvent()
92 POLICY_FLAG_PASS_TO_USER, AMOTION_EVENT_ACTION_DOWN, in generateMotionArgs()
121 motionArgs.action = AMOTION_EVENT_ACTION_DOWN; in benchmarkNotifyMotion()
/frameworks/native/services/inputflinger/tests/
DCapturedTouchpadEventConverter_test.cpp234 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
277 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
461 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithToolType(ToolType::FINGER), in TEST_F()
506 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
541 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
578 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
625 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
658 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
743 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithPointerCount(1u), in TEST_F()
803 WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in TEST_F()
[all …]
DInputDispatcher_test.cpp79 static_assert(AMOTION_EVENT_ACTION_DOWN == AKEY_EVENT_ACTION_DOWN);
81 static constexpr int32_t ACTION_DOWN = AMOTION_EVENT_ACTION_DOWN;
353 AMOTION_EVENT_ACTION_DOWN, 0, 0, edgeFlags, metaState, 0, classification, in TEST_F()
364 AMOTION_EVENT_ACTION_DOWN, 0, 0, edgeFlags, metaState, 0, classification, in TEST_F()
377 AMOTION_EVENT_ACTION_DOWN, 0, 0, edgeFlags, metaState, 0, classification, in TEST_F()
389 AMOTION_EVENT_ACTION_DOWN, 0, 0, edgeFlags, metaState, 0, classification, in TEST_F()
403 AMOTION_EVENT_ACTION_DOWN, 0, 0, edgeFlags, metaState, 0, classification, in TEST_F()
460 mInputReceiver.consumeEvent(InputEventType::MOTION, AMOTION_EVENT_ACTION_DOWN, in consumeMotionDown()
593 return injectMotionEvent(dispatcher, AMOTION_EVENT_ACTION_DOWN, source, displayId, location);
617 if (action == AMOTION_EVENT_ACTION_DOWN || action == AMOTION_EVENT_ACTION_UP) { in generateMotionArgs()
[all …]
DPointerChoreographer_test.cpp201 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
722 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
740 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
754 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
772 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
791 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
841 mChoreographer.notifyMotion(MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, in TEST_F()
862 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
872 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
901 MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
[all …]
DGestureConverter_test.cpp159 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
241 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
292 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
351 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
472 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
549 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithGestureOffset(0, 0, EPSILON), in TEST_F()
653 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithGestureOffset(0, 0, EPSILON), in TEST_F()
741 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), WithGestureOffset(0, 0, EPSILON), in TEST_F()
858 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
921 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
[all …]
DInputProcessorConverter_test.cpp42 /*policyFlags=*/4, AMOTION_EVENT_ACTION_DOWN, /*actionButton=*/0, in generateBasicMotionArgs()
DMultiTouchInputMapper_test.cpp192 WithMotionAction(AMOTION_EVENT_ACTION_DOWN)), in TEST_F()
234 WithMotionAction(AMOTION_EVENT_ACTION_DOWN)), in TEST_F()
DInputReader_test.cpp1211 {MotionArgsBuilder(AMOTION_EVENT_ACTION_DOWN, AINPUT_SOURCE_STYLUS) in TEST_F()
1764 ASSERT_EQ(AMOTION_EVENT_ACTION_DOWN, args.action); in TEST_P()
1789 ASSERT_EQ(AMOTION_EVENT_ACTION_DOWN, args.action); in TEST_P()
1844 assertReceivedMotion(AMOTION_EVENT_ACTION_DOWN, {centerPoint}); in TEST_P()
1887 assertReceivedMotion(AMOTION_EVENT_ACTION_DOWN, {centerPoint}); in TEST_P()
1928 ASSERT_EQ(AMOTION_EVENT_ACTION_DOWN, args.action); in TEST_P()
1986 WithMotionAction(AMOTION_EVENT_ACTION_DOWN))); in TEST_P()
2011 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_P()
2030 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_P()
2062 WithMotionAction(AMOTION_EVENT_ACTION_DOWN))); in TEST_P()
[all …]
DCursorInputMapper_test.cpp46 constexpr auto ACTION_DOWN = AMOTION_EVENT_ACTION_DOWN;
371 WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
465 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
497 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
698 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
729 AllOf(WithMotionAction(AMOTION_EVENT_ACTION_DOWN), in TEST_F()
DTouchpadInputMapper_test.cpp33 constexpr auto ACTION_DOWN = AMOTION_EVENT_ACTION_DOWN;
DInputProcessor_test.cpp48 /*policyFlags=*/4, AMOTION_EVENT_ACTION_DOWN, /*actionButton=*/0, in generateBasicMotionArgs()
/frameworks/native/services/inputflinger/tests/fuzzers/
DFuzzedInputStream.h28 AMOTION_EVENT_ACTION_DOWN, AMOTION_EVENT_ACTION_UP, AMOTION_EVENT_ACTION_MOVE, in getFuzzedMotionAction()
112 case AMOTION_EVENT_ACTION_DOWN: in getFuzzedPointerCount()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp123 case AMOTION_EVENT_ACTION_DOWN: { in trackMotion()
323 if (actionMasked == AMOTION_EVENT_ACTION_DOWN && lastMemento.hovering) { in shouldCancelPreviousStream()
354 actionMasked == AMOTION_EVENT_ACTION_DOWN) { in shouldCancelPreviousStream()
366 if (actionMasked == AMOTION_EVENT_ACTION_DOWN || in shouldCancelPreviousStream()
475 ? AMOTION_EVENT_ACTION_DOWN in synthesizePointerDownEvents()
/frameworks/native/services/inputflinger/
DPreferStylusOverTouchBlocker.cpp131 ? (args.action == AMOTION_EVENT_ACTION_DOWN || in processMotion()
133 : (args.action == AMOTION_EVENT_ACTION_DOWN); in processMotion()
DUnwantedInteractionBlocker.cpp200 newArgs.action = AMOTION_EVENT_ACTION_DOWN; in removePointerIds()
515 case AMOTION_EVENT_ACTION_DOWN: in processPointerId()
623 resolvedAction == AMOTION_EVENT_ACTION_DOWN; in getTouches()
709 if (args.action == AMOTION_EVENT_ACTION_DOWN) { in processMotion()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.cpp266 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_DOWN, in handleButtonsChange()
338 makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_DOWN, /* actionButton= */ 0, in handleScroll()
393 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_DOWN, in handleFling()
469 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_DOWN, in handleMultiFingerSwipe()
551 out.push_back(makeMotionArgs(when, readTime, AMOTION_EVENT_ACTION_DOWN, in handlePinch()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp213 EXPECT_EQ(AMOTION_EVENT_ACTION_DOWN, mev->getAction()); in expectTap()
231 EXPECT_EQ(AMOTION_EVENT_ACTION_DOWN, mev->getAction()); in expectTapWithFlag()
249 EXPECT_EQ(AMOTION_EVENT_ACTION_DOWN, mev->getAction()); in expectTapInDisplayCoordinates()
268 EXPECT_EQ(AMOTION_EVENT_ACTION_DOWN, keyEvent->getAction()); in expectKey()
/frameworks/native/include/android/
Dinput.h299 AMOTION_EVENT_ACTION_DOWN = 0, enumerator

12