Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java286 assertThat(event.getDownTime()).isEqualTo(0L); in handlesRepeatedKeys_anyDisplay()
296 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeys_anyDisplay()
306 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeys_anyDisplay()
316 assertThat(event.getDownTime()).isEqualTo(15L); in handlesRepeatedKeys_anyDisplay()
332 assertThat(event.getDownTime()).isEqualTo(0L); in handlesRepeatedKeyWithIndents_anyDisplay()
341 assertThat(event.getDownTime()).isEqualTo(5L); in handlesRepeatedKeyWithIndents_anyDisplay()
354 assertThat(event.getDownTime()).isEqualTo(42L); in handlesKeyUp_withoutKeyDown_mainDisplay()
369 assertThat(event.getDownTime()).isEqualTo(42L); in handlesKeyUp_withoutKeyDown_clusterDisplay()
387 assertThat(event.getDownTime()).isEqualTo(42L); in separateKeyDownEvents_areIndependent_mainDisplay()
404 assertThat(event.getDownTime()).isEqualTo(42L); in separateKeyDownEvents_areIndependent_clusterDisplay()
[all …]
/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/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/inputverification/
DClickVerifier.java259 .setDownTime(motionEvent.getDownTime()) in isInputEventUnderUsageLimit()
271 .setDownTime(keyEvent.getDownTime()) in isInputEventUnderUsageLimit()
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java57 long duration = event.getEventTime() - event.getDownTime(); in onInterceptKeyEvent()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java159 KeyEvent downEvent = new KeyEvent(event.getDownTime(), event.getEventTime(),
161 KeyEvent upEvent = new KeyEvent(event.getDownTime(), event.getEventTime(),
/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/
DAbstractTouchPointView.java102 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/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGestureHandler.java199 if ((ev.getEventTime() - ev.getDownTime()) > mLongPressTimeout) { in onMotionEvent()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCRowView.java156 KeyEvent downEvent = new KeyEvent(event.getDownTime(), event.getEventTime(),
158 KeyEvent upEvent = new KeyEvent(event.getDownTime(), event.getEventTime(),
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DNavHandleLongPressInputConsumer.java159 - (int) (ev.getEventTime() - ev.getDownTime()); in handleMotionEvent()
/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/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java258 mDownTimeStampMillis = ev.getDownTime(); in handleTouchEvent()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java965 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.java740 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.kt3068 "ACTION_DOWN ev.getDownTime = " + ev.getDownTime().toString() + " Cnt=" + in onTouchEvent()