Home
last modified time | relevance | path

Searched refs:downTime (Results 1 – 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DNonDistinctMultitouchHelper.java51 final long downTime = me.getDownTime(); in processMotionEvent() local
60 injectMotionEvent(action, me.getX(index), me.getY(index), downTime, eventTime, in processMotionEvent()
74 injectMotionEvent(MotionEvent.ACTION_UP, x, y, downTime, eventTime, in processMotionEvent()
89 injectMotionEvent(MotionEvent.ACTION_DOWN, x, y, downTime, eventTime, in processMotionEvent()
93 injectMotionEvent(MotionEvent.ACTION_UP, x, y, downTime, eventTime, in processMotionEvent()
105 final long downTime, final long eventTime, final PointerTracker tracker, in injectMotionEvent() argument
108 downTime, eventTime, action, x, y, 0 /* metaState */); in injectMotionEvent()
DGestureTrailDrawingPoints.java72 public void addStroke(final GestureStrokeDrawingPoints stroke, final long downTime) { in addStroke() argument
74 addStrokeLocked(stroke, downTime); in addStroke()
78 private void addStrokeLocked(final GestureStrokeDrawingPoints stroke, final long downTime) { in addStrokeLocked() argument
99 final int elapsedTime = (int)(downTime - mCurrentTimeBase); in addStrokeLocked()
107 mCurrentTimeBase = downTime - eventTimes[downIndex]; in addStrokeLocked()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java74 final long downTime = SystemClock.uptimeMillis(); in goToOverviewUnchecked() local
75 mLauncher.sendPointer(downTime, downTime, MotionEvent.ACTION_DOWN, start); in goToOverviewUnchecked()
78 downTime, in goToOverviewUnchecked()
79 downTime, in goToOverviewUnchecked()
86 downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, end); in goToOverviewUnchecked()
DAppIcon.java45 final long downTime = SystemClock.uptimeMillis(); in openMenu() local
46 mLauncher.sendPointer(downTime, downTime, MotionEvent.ACTION_DOWN, iconCenter); in openMenu()
50 downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, iconCenter); in openMenu()
DLauncherInstrumentation.java880 final long downTime = SystemClock.uptimeMillis(); in linearGesture() local
883 sendPointer(downTime, downTime, MotionEvent.ACTION_DOWN, start); in linearGesture()
884 final long endTime = movePointer(downTime, downTime, steps * GESTURE_STEP_MS, start, end); in linearGesture()
885 sendPointer(downTime, endTime, MotionEvent.ACTION_UP, end); in linearGesture()
900 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent() argument
912 return MotionEvent.obtain(downTime, eventTime, action, 1, in getMotionEvent()
918 void sendPointer(long downTime, long currentTime, int action, Point point) { in sendPointer() argument
919 final MotionEvent event = getMotionEvent(downTime, currentTime, action, point.x, point.y); in sendPointer()
924 long movePointer(long downTime, long startTime, long duration, Point from, Point to) { in movePointer() argument
938 sendPointer(downTime, currentTime, MotionEvent.ACTION_MOVE, point); in movePointer()
DWorkspace.java163 final long downTime = SystemClock.uptimeMillis(); in dragIconToWorkspace() local
164 launcher.sendPointer(downTime, downTime, MotionEvent.ACTION_DOWN, launchableCenter); in dragIconToWorkspace()
169 downTime, SystemClock.uptimeMillis(), DRAG_DURACTION, launchableCenter, dest); in dragIconToWorkspace()
172 downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, dest); in dragIconToWorkspace()
/packages/services/Car/service/src/com/android/car/hal/
DInputHalService.java162 long downTime;
173 downTime = eventTime;
180 downTime =
190 downTime,
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java303 long downTime = SystemClock.uptimeMillis(); in emulateKeyEvent() local
305 KeyEvent event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_DOWN); in emulateKeyEvent()
309 event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_UP); in emulateKeyEvent()
313 private KeyEvent obtainKeyEvent(int keyCode, long downTime, long eventTime, int action) { in obtainKeyEvent() argument
321 downTime, in obtainKeyEvent()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/
DTouchPointView.java98 long downTime = event.getDownTime(); in logTouchEvents() local
102 + (eventTime - downTime) + "]"); in logTouchEvents()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DTouchPointView.java94 long downTime = event.getDownTime(); in logTouchEvents() local
98 (eventTime - downTime) + "]"); in logTouchEvents()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java47 long downTime = e.getDownTime(); in transformEventOld() local
75 MotionEvent n = MotionEvent.obtain(downTime, eventTime, action, in transformEventOld()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DGestureBot.java167 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, int button, in getMotionEvent() argument
180 return MotionEvent.obtain(downTime, eventTime, action, 1, in getMotionEvent()