/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 64 event.setSource(InputDevice.SOURCE_MOUSE); in obtainMouseEvent() 93 event.setSource(InputDevice.SOURCE_MOUSE); in injectHoverEvent()
|
D | CtsTouchUtils.java | 422 eventDown.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectDownEvent() 435 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventForTap() 502 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventsForDrag() 551 eventUp.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectUpEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewUnbufferedTest.java | 184 downEvent.setSource(source); in sendPointerEvents() 199 moveEvent.setSource(source); in sendPointerEvents() 207 upEvent.setSource(source); in sendPointerEvents() 225 moveEvent.setSource(InputDevice.SOURCE_JOYSTICK); in sendJoystickEvents()
|
D | TouchDelegateTest.java | 140 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchExplorationHoverEvent_withNullBounds_noException() 204 event.setSource(source); in dispatchMotionEventToActivity()
|
D | VelocityTrackerTest.java | 173 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testUsesRawCoordinates()
|
D | MotionEventTest.java | 325 mMotionEvent2.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOffsetLocationForPointerSource() 340 mMotionEvent2.setSource(InputDevice.SOURCE_TOUCHPAD); in testNoLocationOffsetForNonPointerSource() 355 mMotionEvent2.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testSetLocation() 954 mMotionEventDynamic.setSource(InputDevice.SOURCE_MOUSE); in testIsButtonPressed()
|
D | VerifyInputEventTest.java | 143 received.setSource(SOURCE_JOYSTICK); // use the received event, but modify its source in testTamperedKeyEvent()
|
D | PointerCaptureTest.java | 147 event.setSource(InputDevice.SOURCE_MOUSE_RELATIVE); in obtainRelativeMouseEvent()
|
D | KeyEventTest.java | 748 mKeyEvent.setSource(InputDevice.SOURCE_KEYBOARD); in testAccessSource() 751 mKeyEvent.setSource(InputDevice.SOURCE_HDMI); in testAccessSource()
|
D | ViewTest.java | 526 event.setSource(InputDevice.SOURCE_MOUSE); in testAccessPointerIcon() 3247 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener() 3252 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener() 4014 event.setSource(InputDevice.SOURCE_STYLUS); in testTouchMode() 4629 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in startDragAndDrop()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExtractDecodeEditEncodeMuxTest.java | 131 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxQCIF() 139 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxQVGA() 147 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMux720p() 155 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMux2160pHevc() 163 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxAudio() 171 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxAudioVideo() 253 private void setSource(String res) { in setSource() method in ExtractDecodeEditEncodeMuxTest
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PointerIconTest.java | 72 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in assertPointerIcon()
|
D | PopupMenuTest.java | 483 event.setSource(InputDevice.SOURCE_MOUSE); in injectMouseEvent()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | VirtualContainerView.java | 323 node.setSource(this, LOGIN_BUTTON_VIRTUAL_ID); in onProvideAutofillCompatModeAccessibilityNodeInfoForLoginButton() 407 event.setSource(VirtualContainerView.this, virtualId); in sendAccessibilityEvent() 568 node.setSource(parent, id); in provideAccessibilityNodeInfo()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 103 secondInfo.setSource(view); in testConstructor() 109 secondInfo.setSource(view, /* virtualDescendantId */ 1); in testConstructor() 350 info.setSource(new View(getContext())); // Populates 2 fields: source and window id in fullyPopulateAccessibilityNodeInfo()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 145 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMotion()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowReportingTest.java | 289 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow() 296 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 204 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 149 .setSource(SOURCE_APP) in testBuilder_copyAndUpdate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowTest.java | 805 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent() 810 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
|
D | DragDropTest.java | 251 event.setSource(InputDevice.SOURCE_MOUSE); in injectMouseWithOffset()
|
D | WindowInputTests.java | 728 eventHover.setSource(InputDevice.SOURCE_MOUSE); in testInjectToStatusBar()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 283 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 573 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in verifyCommandDispatchTouchEvent() 590 event.setSource(InputDevice.SOURCE_TRACKBALL); in verifyCommandDispatchTrackballEvent()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 451 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in sendTouchEvent()
|