Home
last modified time | relevance | path

Searched refs:getDownTime (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java153 assertThat(event.getDownTime()).isEqualTo(0L); in handlesRepeatedKeys()
162 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeys()
171 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeys()
180 assertThat(event.getDownTime()).isEqualTo(15L); in handlesRepeatedKeys()
194 assertThat(event.getDownTime()).isEqualTo(0L); in handlesRepeatedKeyWithIndents()
202 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeyWithIndents()
214 assertThat(event.getDownTime()).isEqualTo(42L); in handlesKeyUp_withoutKeyDown()
229 assertThat(event.getDownTime()).isEqualTo(42L); in separateKeyDownEvents_areIndependent()
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialFavoritesViewHolderOnTouchListener.java60 if (event.getEventTime() - event.getDownTime() > ViewConfiguration.getLongPressTimeout()) { in onTouch()
73 if (event.getEventTime() - event.getDownTime() < ViewConfiguration.getLongPressTimeout()) { in onTouch()
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java57 long duration = event.getEventTime() - event.getDownTime(); in onInterceptKeyEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DNonDistinctMultitouchHelper.java51 final long downTime = me.getDownTime(); in processMotionEvent()
DGestureTrailsDrawingPreview.java169 trail.addStroke(tracker.getGestureStrokeDrawingPoints(), tracker.getDownTime()); in setPreviewPosition()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/
DTouchPointView.java98 long downTime = event.getDownTime(); in logTouchEvents()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DTouchPointView.java94 long downTime = event.getDownTime(); in logTouchEvents()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java47 long downTime = e.getDownTime(); in transformEventOld()
/packages/apps/Camera2/src/com/android/camera/ui/
DMainActivityLayout.java97 if (ev.getEventTime() - ev.getDownTime() > SWIPE_TIME_OUT) { in onInterceptTouchEvent()
DModeListView.java607 if (mLastDownTime != ev.getDownTime()) { in shouldHandleTouchEvent()
608 mLastDownTime = ev.getDownTime(); in shouldHandleTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java269 MotionEvent touchEvent = MotionEvent.obtain(event.getDownTime(), in onGenericMotionEvent()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java466 final long elapsedMs = ev.getEventTime() - ev.getDownTime(); in shouldAllowRecaptureTouch()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java804 mInjector.debugHelper.debugCheck(event.getDownTime(), event.getKeyCode()); in dispatchKeyEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java464 public long getDownTime() { in getDownTime() method in PointerTracker
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java739 if (ev.getEventTime() - ev.getDownTime() > SWIPE_TIME_OUT_MS in onScroll()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java1629 if (ev.getEventTime() - ev.getDownTime() > SWIPE_TIME_OUT) { in onInterceptTouchEvent()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3446 Log.e(TAG, "ACTION_DOWN ev.getDownTime = " + ev.getDownTime() + " Cnt=" in onTouchEvent()