/frameworks/native/libs/input/tests/ |
D | TouchResampling_test.cpp | 83 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 …]
|
D | InputVerifier_test.cpp | 48 AMOTION_EVENT_ACTION_DOWN, in TEST()
|
D | VerifiedInputEvent_test.cpp | 47 ui::LogicalDisplayId::DEFAULT, INVALID_HMAC, AMOTION_EVENT_ACTION_DOWN, in getMotionEventWithFlags()
|
D | InputEvent_test.cpp | 606 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()
|
D | InputPublisherAndConsumer_test.cpp | 335 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/ |
D | input_verifier.rs | 309 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()
|
D | input.rs | 104 Down = input_bindgen::AMOTION_EVENT_ACTION_DOWN, 163 input_bindgen::AMOTION_EVENT_ACTION_DOWN => MotionAction::Down, in from()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 65 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/ |
D | CapturedTouchpadEventConverter_test.cpp | 234 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 …]
|
D | InputDispatcher_test.cpp | 79 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 …]
|
D | PointerChoreographer_test.cpp | 201 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 …]
|
D | GestureConverter_test.cpp | 159 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 …]
|
D | InputProcessorConverter_test.cpp | 42 /*policyFlags=*/4, AMOTION_EVENT_ACTION_DOWN, /*actionButton=*/0, in generateBasicMotionArgs()
|
D | MultiTouchInputMapper_test.cpp | 192 WithMotionAction(AMOTION_EVENT_ACTION_DOWN)), in TEST_F() 234 WithMotionAction(AMOTION_EVENT_ACTION_DOWN)), in TEST_F()
|
D | InputReader_test.cpp | 1211 {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 …]
|
D | CursorInputMapper_test.cpp | 46 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()
|
D | TouchpadInputMapper_test.cpp | 33 constexpr auto ACTION_DOWN = AMOTION_EVENT_ACTION_DOWN;
|
D | InputProcessor_test.cpp | 48 /*policyFlags=*/4, AMOTION_EVENT_ACTION_DOWN, /*actionButton=*/0, in generateBasicMotionArgs()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | FuzzedInputStream.h | 28 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/ |
D | InputState.cpp | 123 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/ |
D | PreferStylusOverTouchBlocker.cpp | 131 ? (args.action == AMOTION_EVENT_ACTION_DOWN || in processMotion() 133 : (args.action == AMOTION_EVENT_ACTION_DOWN); in processMotion()
|
D | UnwantedInteractionBlocker.cpp | 200 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/ |
D | GestureConverter.cpp | 266 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/ |
D | EndToEndNativeInputTest.cpp | 213 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/ |
D | input.h | 299 AMOTION_EVENT_ACTION_DOWN = 0, enumerator
|