/frameworks/base/tests/Input/src/com/android/test/input/ |
D | InputEventAssignerTest.kt | 20 import android.view.InputDevice.SOURCE_TOUCHSCREEN 63 val event = createMotionEvent(MotionEvent.ACTION_MOVE, 10, SOURCE_TOUCHSCREEN) in testTouchGesture() 75 val down = createMotionEvent(MotionEvent.ACTION_DOWN, 10, SOURCE_TOUCHSCREEN) in testTouchDownWithMove() 76 val move1 = createMotionEvent(MotionEvent.ACTION_MOVE, 12, SOURCE_TOUCHSCREEN) in testTouchDownWithMove() 77 val move2 = createMotionEvent(MotionEvent.ACTION_MOVE, 13, SOURCE_TOUCHSCREEN) in testTouchDownWithMove() 78 val move3 = createMotionEvent(MotionEvent.ACTION_MOVE, 14, SOURCE_TOUCHSCREEN) in testTouchDownWithMove() 79 val move4 = createMotionEvent(MotionEvent.ACTION_MOVE, 15, SOURCE_TOUCHSCREEN) in testTouchDownWithMove()
|
D | PointerEventDispatcherTest.kt | 81 motionEvent.source = InputDevice.SOURCE_TOUCHSCREEN in testSendMotionToCrashingListenerDoesNotCrash()
|
D | AnrTest.kt | 166 downEvent.source = InputDevice.SOURCE_TOUCHSCREEN in triggerAnr()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DragDetectorTest.kt | 77 it.source == InputDevice.SOURCE_TOUCHSCREEN in testNoMove_passesDownAndUp() 83 it.source == InputDevice.SOURCE_TOUCHSCREEN in testNoMove_passesDownAndUp() 96 it.source == InputDevice.SOURCE_TOUCHSCREEN in testMoveInSlop_touch_passesDownAndUp() 109 it.source == InputDevice.SOURCE_TOUCHSCREEN in testMoveInSlop_touch_passesDownAndUp() 151 it.source == InputDevice.SOURCE_TOUCHSCREEN in testMoveBeyondSlop_passesDownMoveAndUp() 158 it.source == InputDevice.SOURCE_TOUCHSCREEN in testMoveBeyondSlop_passesDownMoveAndUp() 164 it.source == InputDevice.SOURCE_TOUCHSCREEN in testMoveBeyondSlop_passesDownMoveAndUp() 200 ev.source = if (isTouch) InputDevice.SOURCE_TOUCHSCREEN else InputDevice.SOURCE_MOUSE in createMotionEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 273 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 274 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 290 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForDisplayEventHandlers() 291 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForDisplayEventHandlers() 314 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 315 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 316 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayEventHandlers() 332 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayAdded() 333 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayAdded() 350 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldNotClearEventsForOtherDisplayAfterOnDisplayRemoved() [all …]
|
D | MotionEventInjectorTest.java | 103 private static final int MOTION_EVENT_SOURCE = InputDevice.SOURCE_TOUCHSCREEN; 168 mClickDownEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in setUp() 172 mClickUpEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in setUp() 899 && (InputDevice.SOURCE_TOUCHSCREEN == event.getSource());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MagnificationGestureHandlerTest.java | 71 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_isFromScreen_onMotionEventInternal() 85 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_downEvent_handleInteractionStart() 99 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_upEvent_handleInteractionEnd() 113 cancelEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in onMotionEvent_cancelEvent_handleInteractionEnd()
|
D | FullScreenMagnificationGestureHandlerTest.java | 729 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 739 ev.setSource(InputDevice.SOURCE_TOUCHSCREEN); 808 /* source */ InputDevice.SOURCE_TOUCHSCREEN,
|
D | WindowMagnificationGestureHandlerTest.java | 328 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in send()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragDetector.java | 19 import static android.view.InputDevice.SOURCE_TOUCHSCREEN; 60 (ev.getSource() & SOURCE_TOUCHSCREEN) == SOURCE_TOUCHSCREEN; in onMotionEvent()
|
D | DragResizeInputListener.java | 19 import static android.view.InputDevice.SOURCE_TOUCHSCREEN; 282 boolean isTouch = (e.getSource() & SOURCE_TOUCHSCREEN) == SOURCE_TOUCHSCREEN; in handleMotionEvent()
|
/frameworks/base/core/java/android/view/ |
D | InputEventAssigner.java | 20 import static android.view.InputDevice.SOURCE_TOUCHSCREEN; 67 if (motionEvent.isFromSource(SOURCE_TOUCHSCREEN)) { in processEvent()
|
D | InputDevice.java | 215 public static final int SOURCE_TOUCHSCREEN = 0x00001000 | SOURCE_CLASS_POINTER; field in InputDevice 1215 appendSourceDescriptionIfApplicable(description, SOURCE_TOUCHSCREEN, "touchscreen"); in toString()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 69 0, 0, 0, 0, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, displayId, 0); in testObtainWithDisplayId() 74 0 /* deviceId */, 0 /* edgeFlags */, InputDevice.SOURCE_TOUCHSCREEN, displayId); in testObtainWithDisplayId() 89 0, 0, 0, 0, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, displayId, 0); in testObtainWithDisplayId() 97 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testCalculatesCursorPositionForTouchscreenEvents() 184 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testEventRotation()
|
D | VerifiedMotionEventTest.kt | 19 import android.view.InputDevice.SOURCE_TOUCHSCREEN 155 private const val SOURCE = SOURCE_TOUCHSCREEN
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 309 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 320 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 332 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 712 properties, pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0); 718 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0); 735 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0); 749 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0); 756 properties, pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationGestureHandler.java | 19 import static android.view.InputDevice.SOURCE_TOUCHSCREEN; 132 SOURCE_TOUCHSCREEN)) { in shouldDispatchTransformedEvent()
|
D | WindowMagnificationGestureHandler.java | 19 import static android.view.InputDevice.SOURCE_TOUCHSCREEN; 149 if (inputSource == SOURCE_TOUCHSCREEN) { in clearEvents()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 100 map.put("touchscreen", InputDevice.SOURCE_TOUCHSCREEN); 205 case InputDevice.SOURCE_TOUCHSCREEN: in getToolType() 375 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in runTap() 393 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in runSwipe() 430 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in runDragAndDrop() 470 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in runMotionEvent()
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | InputStageBenchmark.java | 223 InputDevice.SOURCE_TOUCHSCREEN, DEFAULT_DISPLAY); in testMotionEvent() 232 InputDevice.SOURCE_TOUCHSCREEN, DEFAULT_DISPLAY); in testMotionEvent()
|
D | HandwritingInitiatorPerfTest.java | 222 InputDevice.SOURCE_TOUCHSCREEN, 0 /* flags */); in createMotionEvent()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/helpers/ |
D | SplitScreenHelper.kt | 152 motionEvent.source = InputDevice.SOURCE_TOUCHSCREEN in touch() 177 motionMove.source = InputDevice.SOURCE_TOUCHSCREEN in touchMove()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/ |
D | MediaScrollView.kt | 141 event.source = InputDevice.SOURCE_TOUCHSCREEN in cancelCurrentScroll()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | TouchExplorerTest.java | 336 mTouchExplorer.clearEvents(InputDevice.SOURCE_TOUCHSCREEN); in clearEventsWhenInTwoFingerMove_clearsStateAndSendsUp() 476 ev.setSource(InputDevice.SOURCE_TOUCHSCREEN); in fromTouchscreen() 708 /* source */ InputDevice.SOURCE_TOUCHSCREEN, in manyPointerEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | TouchEventGenerator.java | 113 /* source */ InputDevice.SOURCE_TOUCHSCREEN, in generateMultiplePointersEvent()
|