Home
last modified time | relevance | path

Searched refs:onTouch (Results 1 – 19 of 19) sorted by relevance

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DRenderService.java46 private boolean onTouch(View v, MotionEvent event) { in onTouch() method in RenderService
71 embeddedView.setOnTouchListener(this::onTouch); in getSurfaceControlViewHost()
/cts/tests/input/src/android/input/cts/
DInputInjectionTest.kt168 withCallbacks(onTouch = { clickLatch.countDown() })).use { in <lambda>()
235 onTouch: (MotionEvent) -> Unit = InputInjectionTest.expectNoEvent, in <lambda>()
240 override fun onTouchEvent(ev: MotionEvent?) = onTouch(ev!!) in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/
DCubePresentation.java54 public boolean onTouch(View view, MotionEvent event) { in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DGestureDetectorCtsActivity.java93 public boolean onTouch(View v, MotionEvent event) { in onTouch() method in GestureDetectorCtsActivity.MockOnTouchListener
DViewTest.java3293 doReturn(true).when(listener).onTouch(any(), any()); in testDispatchTouchEvent()
3297 verify(listener, times(1)).onTouch(mockView1, event); in testDispatchTouchEvent()
3352 public boolean onTouch(View v, MotionEvent event) { in testOnTouchListener() method in ViewTest.TestTouchListener
4557 doReturn(true).when(touchListener).onTouch(any(), any()); in testFilterTouchesWhenObscured()
4578 verify(touchListener, times(1)).onTouch(view, unobscuredTouch); in testFilterTouchesWhenObscured()
4581 verify(touchListener, times(1)).onTouch(view, obscuredTouch); in testFilterTouchesWhenObscured()
4589 verify(touchListener, times(1)).onTouch(view, unobscuredTouch); in testFilterTouchesWhenObscured()
4600 verify(touchListener, times(1)).onTouch(view, unobscuredTouch); in testFilterTouchesWhenObscured()
4603 verify(touchListener, times(1)).onTouch(view, obscuredTouch); in testFilterTouchesWhenObscured()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DEventCapturingMotionEventListener.java52 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() method in EventCapturingMotionEventListener
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java101 public boolean onTouch(View view, MotionEvent event) { in setContentViewAndInfoResources()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java164 public boolean onTouch(View v, MotionEvent event) { in setOnTouchListenerToListView()
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSource.java118 public boolean onTouch(View v, MotionEvent event) { in setUpDragSource()
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsPresenterDrawable.java183 public boolean onTouch(View v, MotionEvent event) { in onTouch() method in WindowInsetsPresenterDrawable
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java212 public boolean onTouch(View v, MotionEvent e) { in onTouch() method in MotionEventTest.OnTouchListener
DFlagSlipperyTest.kt293 override fun onTouch(v: View, e: MotionEvent): Boolean { in onTouch() method in FlagSlipperyTest
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepCounterTestActivity.java90 public boolean onTouch(View v, MotionEvent event) { in activitySetUp()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DTouchInteractionControllerTest.java446 mMotionEventListener.onTouch(null, event); in testRebuildInputFilter_shouldRetainState()
DAccessibilityGestureDispatchTest.java626 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() method in AccessibilityGestureDispatchTest.MyTouchListener
DAccessibilityEndToEndTest.java1154 verify(listener, timeout(DEFAULT_TIMEOUT_MS).atLeastOnce()).onTouch(any(View.class), in testA11yActionTriggerMotionEventActionOutside()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioTap2ToneActivity.java242 public boolean onTouch(View view, MotionEvent event) { in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1617 when(onTouchListener.onTouch(any(View.class), any(MotionEvent.class))).thenReturn(true); in testSetTouchInterceptor()
1643 verify(onTouchListener, times(1)).onTouch(any(View.class), any(MotionEvent.class)); in testSetTouchInterceptor()
1650 verify(onTouchListener, times(2)).onTouch(any(View.class), any(MotionEvent.class)); in testSetTouchInterceptor()
1658 verify(onTouchListener, times(2)).onTouch(any(View.class), any(MotionEvent.class)); in testSetTouchInterceptor()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt53470 method public boolean onTouch(android.view.View, android.view.MotionEvent);
61388 method @Deprecated public boolean onTouch(android.view.View, android.view.MotionEvent);