Home
last modified time | relevance | path

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

12

/cts/tests/tests/view/src/android/view/cts/
DVerifyInputEventTest.java153 received.setSource(SOURCE_JOYSTICK); // use the received event, but modify its source in testTamperedKeyEvent()
171 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testMotionEvent()
182 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testMotionEvent()
199 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testMotionEventWithoutHmac()
208 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testMotionEventWithoutHmac()
224 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testTamperedMotionEvent()
235 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testTamperedMotionEvent()
282 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testDeviceIdBecomesVirtualForInjectedMotions()
296 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testDeviceIdBecomesVirtualForInjectedMotions()
DViewUnbufferedTest.java194 downEvent.setSource(source); in sendPointerEvents()
209 moveEvent.setSource(source); in sendPointerEvents()
217 upEvent.setSource(source); in sendPointerEvents()
235 moveEvent.setSource(InputDevice.SOURCE_JOYSTICK); in sendJoystickEvents()
DTouchDelegateTest.java151 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchExplorationHoverEvent_withNullBounds_noException()
215 event.setSource(source); in dispatchMotionEventToActivity()
DMotionEventTest.java398 mMotionEvent2.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOffsetLocationForPointerSource()
413 mMotionEvent2.setSource(InputDevice.SOURCE_TOUCHPAD); in testNoLocationOffsetForNonPointerSource()
428 mMotionEvent2.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testSetLocation()
1047 mMotionEventDynamic.setSource(InputDevice.SOURCE_MOUSE); in testIsButtonPressed()
DPointerCaptureTest.java162 event.setSource(InputDevice.SOURCE_MOUSE_RELATIVE); in obtainRelativeMouseEvent()
DKeyEventTest.java765 mKeyEvent.setSource(InputDevice.SOURCE_KEYBOARD); in testAccessSource()
768 mKeyEvent.setSource(InputDevice.SOURCE_HDMI); in testAccessSource()
DTooltipTest.java240 event.setSource(source); in obtainMotionEvent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsMouseUtil.java70 event.setSource(InputDevice.SOURCE_MOUSE); in obtainMouseEvent()
98 event.setSource(InputDevice.SOURCE_MOUSE); in injectHoverEvent()
DCtsTouchUtils.java385 eventDown.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectDownEvent()
400 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventForTap()
474 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventsForDrag()
504 eventUp.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectUpEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DDisplayUtils.java186 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in touchDisplay()
193 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in touchDisplay()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java175 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxQCIF()
184 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxQVGA()
193 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMux720p()
202 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMux2160pHevc()
211 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxAudio()
220 setSource("video_480x360_mp4_h264_500kbps_30fps_aac_stereo_128kbps_44100hz.mp4"); in testExtractDecodeEditEncodeMuxAudioVideo()
303 private void setSource(String res) { in setSource() method in ExtractDecodeEditEncodeMuxTest
/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/tests/car_builtin/src/android/car/cts/builtin/view/
DTouchableInsetsProviderTest.java178 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in obtainMotionEvent()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualNavigationTouchpadTest.java252 event.setSource(InputDevice.SOURCE_TOUCH_NAVIGATION); in createKeyEvent()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfoTest.java107 secondInfo.setSource(view); in testConstructor()
113 secondInfo.setSource(view, /* virtualDescendantId */ 1); in testConstructor()
354 info.setSource(new View(getContext())); // Populates 2 fields: source and window id in fullyPopulateAccessibilityNodeInfo()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java200 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java145 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMotion()
/cts/tests/tests/car/src/android/car/cts/
DCarDisplayInputLockTest.java302 event.setSource(source); in obtainMotionEvent()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java372 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTapEvent()
378 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTapEvent()
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java161 .setSource(SOURCE_APP) in testBuilder_copyAndUpdate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java832 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
837 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java312 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java683 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in verifyCommandDispatchTouchEvent()
700 event.setSource(InputDevice.SOURCE_TRACKBALL); in verifyCommandDispatchTrackballEvent()
716 event.setSource(InputDevice.SOURCE_UNKNOWN); in verifyCommandDispatchGenericMotionEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowInputTests.java642 eventHover.setSource(InputDevice.SOURCE_MOUSE); in testInjectToStatusBar()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDragDropTest.java272 event.setSource(InputDevice.SOURCE_MOUSE); in injectMouseWithOffset()

12