Home
last modified time | relevance | path

Searched refs:onTouchEvent (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java127 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
137 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
146 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
154 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
164 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
176 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
187 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
197 mResult = method.onTouchEvent(mTextView, mSpannable, in testOnTouchEventHorizontalMotion()
221 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
231 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
[all …]
DTouchTest.java150 () -> mReturnFromTouchEvent = Touch.onTouchEvent(mTextView, spannable, event1)); in testOnTouchEvent()
161 () -> mReturnFromTouchEvent = Touch.onTouchEvent(mTextView, spannable, event2)); in testOnTouchEvent()
172 () -> mReturnFromTouchEvent = Touch.onTouchEvent(mTextView, spannable, event3)); in testOnTouchEvent()
DLinkMovementMethodTest.java298 mMethod.onTouchEvent(null, mSpannable, in testOnTouchEvent_nullViewParam()
307 mMethod.onTouchEvent(mView, null, in testOnTouchEvent_nullSpannableParam()
314 mMethod.onTouchEvent(mView, mSpannable, null); in testOnTouchEvent_nullKeyEventParam()
492 return mMethod.onTouchEvent(mView, mSpannable, in performMotionOnLine()
DArrowKeyMovementMethodTest.java904 assertFalse(mArrowKeyMovementMethod.onTouchEvent(mTextView, mEditable, in testOnTouchEvent()
908 assertFalse(mArrowKeyMovementMethod.onTouchEvent(mTextView, mEditable, in testOnTouchEvent()
923 assertFalse(mArrowKeyMovementMethod.onTouchEvent(mTextView, mEditable, in testOnTouchEventWithNullLayout()
932 assertFalse(mArrowKeyMovementMethod.onTouchEvent(mTextView, mEditable, in testOnTouchEventWithoutFocus()
941 mArrowKeyMovementMethod.onTouchEvent(null, mEditable, MotionEvent.obtain(0, 0, 0, 1, 1, 0)); in testOnTouchEventNullView()
949 mArrowKeyMovementMethod.onTouchEvent(mTextView, null, MotionEvent.obtain(0, 0, 0, 1, 1, 0)); in testOnTouchEventNullSpannable()
957 mArrowKeyMovementMethod.onTouchEvent(mTextView, mEditable, null); in testOnTouchEventNullEvent()
/cts/tests/app/app/src/android/app/stubs/
DInstrumentationTestActivity.java79 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in InstrumentationTestActivity.MockTextView
80 return super.onTouchEvent(event); in onTouchEvent()
132 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in InstrumentationTestActivity
135 return super.onTouchEvent(event); in onTouchEvent()
DTestDialog.java84 public MotionEvent onTouchEvent; field in TestDialog
133 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in TestDialog
135 onTouchEvent = event; in onTouchEvent()
136 return super.onTouchEvent(event); in onTouchEvent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DIProjectionService.aidl27 void onTouchEvent(in MotionEvent event); in onTouchEvent() method
DProjectionService.java117 public void onTouchEvent(final MotionEvent event) throws RemoteException { in onTouchEvent() method in ProjectionService.ProjectionServiceBinder
DProjectionActivity.java104 mService.onTouchEvent(event); in setContentViewAndInfoResources()
/cts/tests/tests/view/src/android/view/cts/
DTouchDelegateTestActivity.java92 return TouchDelegateTestActivity.super.onTouchEvent(event); in onCreate()
DGestureDetectorCtsActivity.java94 mGestureDetector.onTouchEvent(event); in onTouch()
DMockView.java206 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in MockView
208 return super.onTouchEvent(event); in onTouchEvent()
DViewTest.java405 verify(delegate, never()).onTouchEvent(any()); in testAccessTouchDelegate()
408 verify(delegate, times(1)).onTouchEvent(any()); in testAccessTouchDelegate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java62 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in TouchPointView
/cts/tests/autofillservice/src/android/autofillservice/cts/
DVirtualContainerView.java177 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in VirtualContainerView
199 return super.onTouchEvent(event); in onTouchEvent()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimationActivity.java215 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in AnimationActivity.AnimationView
/cts/tests/app/src/android/app/cts/
DDialogTest.java481 assertNull(d.onTouchEvent); in testTouchEvent()
500 assertMotionEventEquals(touchMotionEvent, d.onTouchEvent); in testTouchEvent()
527 assertMotionEventEquals(touchMotionEvent, d.onTouchEvent); in testTouchEvent()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java1252 public boolean onTouchEvent(MotionEvent event) { in onTouchEvent() method in TvInputServiceTest.CountingTvInputService.CountingSession