/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 153 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()
|
D | ViewUnbufferedTest.java | 194 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()
|
D | TouchDelegateTest.java | 151 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchExplorationHoverEvent_withNullBounds_noException() 215 event.setSource(source); in dispatchMotionEventToActivity()
|
D | MotionEventTest.java | 398 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()
|
D | PointerCaptureTest.java | 162 event.setSource(InputDevice.SOURCE_MOUSE_RELATIVE); in obtainRelativeMouseEvent()
|
D | KeyEventTest.java | 765 mKeyEvent.setSource(InputDevice.SOURCE_KEYBOARD); in testAccessSource() 768 mKeyEvent.setSource(InputDevice.SOURCE_HDMI); in testAccessSource()
|
D | TooltipTest.java | 240 event.setSource(source); in obtainMotionEvent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsMouseUtil.java | 70 event.setSource(InputDevice.SOURCE_MOUSE); in obtainMouseEvent() 98 event.setSource(InputDevice.SOURCE_MOUSE); in injectHoverEvent()
|
D | CtsTouchUtils.java | 385 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/ |
D | DisplayUtils.java | 186 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/ |
D | ExtractDecodeEditEncodeMuxTest.java | 175 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/ |
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/tests/car_builtin/src/android/car/cts/builtin/view/ |
D | TouchableInsetsProviderTest.java | 178 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in obtainMotionEvent()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | VirtualNavigationTouchpadTest.java | 252 event.setSource(InputDevice.SOURCE_TOUCH_NAVIGATION); in createKeyEvent()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 107 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/ |
D | MotionEventTest.java | 200 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 145 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMotion()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarDisplayInputLockTest.java | 302 event.setSource(source); in obtainMotionEvent()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 372 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/ |
D | ContentInfoTest.java | 161 .setSource(SOURCE_APP) in testBuilder_copyAndUpdate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowTest.java | 832 downEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent() 837 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 312 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectEvent()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 683 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/ |
D | WindowInputTests.java | 642 eventHover.setSource(InputDevice.SOURCE_MOUSE); in testInjectToStatusBar()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DragDropTest.java | 272 event.setSource(InputDevice.SOURCE_MOUSE); in injectMouseWithOffset()
|