Home
last modified time | relevance | path

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

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsMouseUtil.java64 event.setSource(InputDevice.SOURCE_MOUSE); in obtainMouseEvent()
93 event.setSource(InputDevice.SOURCE_MOUSE); in injectHoverEvent()
DCtsTouchUtils.java277 eventDown.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectDownEvent()
290 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventForTap()
356 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventsForDrag()
375 eventUp.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectUpEvent()
/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.java278 eventDown.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectDownEvent()
291 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventForTap()
357 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventsForDrag()
376 eventUp.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectUpEvent()
/cts/tests/tests/media/src/android/media/cts/
DExtractDecodeEditEncodeMuxTest.java131 setSource(R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz); in testExtractDecodeEditEncodeMuxQCIF()
139 setSource(R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz); in testExtractDecodeEditEncodeMuxQVGA()
147 setSource(R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz); in testExtractDecodeEditEncodeMux720p()
155 setSource(R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz); in testExtractDecodeEditEncodeMux2160pHevc()
163 setSource(R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz); in testExtractDecodeEditEncodeMuxAudio()
171 setSource(R.raw.video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz); in testExtractDecodeEditEncodeMuxAudioVideo()
253 private void setSource(int resId) { in setSource() method in ExtractDecodeEditEncodeMuxTest
/cts/tests/tests/view/src/android/view/cts/
DTouchDelegateTest.java140 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchExplorationHoverEvent_withNullBounds_noException()
204 event.setSource(source); in dispatchMotionEventToActivity()
DPointerCaptureTest.java147 event.setSource(InputDevice.SOURCE_MOUSE_RELATIVE); in obtainRelativeMouseEvent()
DKeyEventTest.java725 mKeyEvent.setSource(InputDevice.SOURCE_KEYBOARD); in testAccessSource()
728 mKeyEvent.setSource(InputDevice.SOURCE_HDMI); in testAccessSource()
DTooltipTest.java216 event.setSource(source); in obtainMotionEvent()
DMotionEventTest.java932 mMotionEventDynamic.setSource(InputDevice.SOURCE_MOUSE); in testIsButtonPressed()
DViewTest.java3180 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener()
3185 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener()
3937 event.setSource(InputDevice.SOURCE_STYLUS); in testTouchMode()
3944 event.setSource(InputDevice.SOURCE_MOUSE); in testTouchMode()
4560 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in startDragAndDrop()
/cts/tests/autofillservice/src/android/autofillservice/cts/
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/tests/security/src/android/security/cts/
DMotionEventTest.java202 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java146 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java730 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
735 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
DDragDropTest.java248 event.setSource(InputDevice.SOURCE_MOUSE); in injectMouseWithOffset()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java603 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in verifyCommandDispatchTouchEvent()
623 event.setSource(InputDevice.SOURCE_TRACKBALL); in verifyCommandDispatchTrackballEvent()
/cts/tools/dasm/src/dasm/
Dparser.cup164 {: dAsm.setSource(s.str_val); :}
167 {: dAsm.setSource(w.str_val); :}
Dparser.java2542 dAsm.setSource((/*w*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action()
2550 dAsm.setSource((/*s*/(str_token)CUP$stack.elementAt(CUP$top-1)).str_val); in CUP$do_action()
DDAsm.java237 void setSource(String name) { in setSource() method in DAsm
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfoTest.java251 info.setSource(new View(getContext())); // Populates 2 fields: source and window id in fullyPopulateAccessibilityNodeInfo()
/cts/tests/app/src/android/app/cts/
DDialogTest.java473 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in sendTouchEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java1034 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectHoverEvent()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java514 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMotion()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2939 event.setSource(source); in sendSourceKeyDownUp()
2942 event.setSource(source); in sendSourceKeyDownUp()