Searched refs:MotionEventBuilder (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/include/input/ |
D | InputEventBuilders.h | 61 class MotionEventBuilder { 63 MotionEventBuilder(int32_t action, int32_t source) { in MotionEventBuilder() function 70 MotionEventBuilder& deviceId(int32_t deviceId) { in deviceId() 75 MotionEventBuilder& downTime(nsecs_t downTime) { in downTime() 80 MotionEventBuilder& eventTime(nsecs_t eventTime) { in eventTime() 85 MotionEventBuilder& displayId(ui::LogicalDisplayId displayId) { in displayId() 90 MotionEventBuilder& actionButton(int32_t actionButton) { in actionButton() 95 MotionEventBuilder& buttonState(int32_t buttonState) { in buttonState() 100 MotionEventBuilder& rawXCursorPosition(float rawXCursorPosition) { in rawXCursorPosition() 105 MotionEventBuilder& rawYCursorPosition(float rawYCursorPosition) { in rawYCursorPosition() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 573 MotionEventBuilder motionBuilder = 574 MotionEventBuilder(action, source) 819 MotionEventBuilder(ACTION_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 830 MotionEventBuilder(ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1261 MotionEventBuilder(POINTER_1_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_P() 1275 MotionEventBuilder(POINTER_0_UP, AINPUT_SOURCE_TOUCHSCREEN) in TEST_P() 1293 MotionEventBuilder(AMOTION_EVENT_ACTION_UP, in TEST_P() 1351 MotionEventBuilder(POINTER_1_DOWN, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1377 MotionEventBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1617 MotionEventBuilder(AMOTION_EVENT_ACTION_HOVER_MOVE, in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogImplTest.java | 66 import androidx.test.core.view.MotionEventBuilder; 671 MotionEvent down = MotionEventBuilder.newBuilder() in clickCaptionsButton_logsUiEvent() 673 MotionEvent up = MotionEventBuilder.newBuilder() in clickCaptionsButton_logsUiEvent() 726 MotionEvent down = MotionEventBuilder.newBuilder() in volumeSliderTracksTouch_logsStartAndStopTrackingUiEvents() 728 MotionEvent up = MotionEventBuilder.newBuilder().setAction(MotionEvent.ACTION_UP).build(); in volumeSliderTracksTouch_logsStartAndStopTrackingUiEvents()
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 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() 1118 MotionEvent event = MotionEventBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1135 auto builder = MotionEventBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F() 1167 auto builder = MotionEventBuilder(AMOTION_EVENT_ACTION_MOVE, AINPUT_SOURCE_TOUCHSCREEN) in TEST_F()
|
D | MotionPredictorMetricsManager_test.cpp | 142 return MotionEventBuilder(/*action=*/AMOTION_EVENT_ACTION_MOVE, in makeMotionEvent() 158 MotionEventBuilder( in makeMotionEvent() 177 return MotionEventBuilder(/*action=*/AMOTION_EVENT_ACTION_UP, in makeLiftMotionEvent()
|