Home
last modified time | relevance | path

Searched refs:setSource (Results 1 – 25 of 27) sorted by relevance

12

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java64 event.setSource(InputDevice.SOURCE_MOUSE); in obtainMouseEvent()
93 event.setSource(InputDevice.SOURCE_MOUSE); in injectHoverEvent()
DCtsTouchUtils.java422 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/
DViewUnbufferedTest.java184 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()
DTouchDelegateTest.java140 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchExplorationHoverEvent_withNullBounds_noException()
204 event.setSource(source); in dispatchMotionEventToActivity()
DVelocityTrackerTest.java173 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testUsesRawCoordinates()
DMotionEventTest.java325 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()
DVerifyInputEventTest.java143 received.setSource(SOURCE_JOYSTICK); // use the received event, but modify its source in testTamperedKeyEvent()
DPointerCaptureTest.java147 event.setSource(InputDevice.SOURCE_MOUSE_RELATIVE); in obtainRelativeMouseEvent()
DKeyEventTest.java748 mKeyEvent.setSource(InputDevice.SOURCE_KEYBOARD); in testAccessSource()
751 mKeyEvent.setSource(InputDevice.SOURCE_HDMI); in testAccessSource()
DViewTest.java526 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/
DExtractDecodeEditEncodeMuxTest.java131 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/
DPointerIconTest.java72 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in assertPointerIcon()
DPopupMenuTest.java483 event.setSource(InputDevice.SOURCE_MOUSE); in injectMouseEvent()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DVirtualContainerView.java323 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/
DAccessibilityNodeInfoTest.java103 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/
DTouchHelper.java145 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMotion()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowReportingTest.java289 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/
DMotionEventTest.java204 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java149 .setSource(SOURCE_APP) in testBuilder_copyAndUpdate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java805 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
810 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
DDragDropTest.java251 event.setSource(InputDevice.SOURCE_MOUSE); in injectMouseWithOffset()
DWindowInputTests.java728 eventHover.setSource(InputDevice.SOURCE_MOUSE); in testInjectToStatusBar()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java283 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java573 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in verifyCommandDispatchTouchEvent()
590 event.setSource(InputDevice.SOURCE_TRACKBALL); in verifyCommandDispatchTrackballEvent()
/cts/tests/app/src/android/app/cts/
DDialogTest.java451 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in sendTouchEvent()

12