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/
DLauncherInstrumentation.java1108 final long downTime = SystemClock.uptimeMillis(); in linearGesture() local
1111 sendPointer(downTime, downTime, MotionEvent.ACTION_DOWN, start, gestureScope); in linearGesture()
1112 final long endTime = movePointer(start, end, steps, downTime, slowDown, gestureScope); in linearGesture()
1113 sendPointer(downTime, endTime, MotionEvent.ACTION_UP, end, gestureScope); in linearGesture()
1116 long movePointer(Point start, Point end, int steps, long downTime, boolean slowDown, in movePointer() argument
1119 downTime, downTime, steps * GESTURE_STEP_MS, start, end, gestureScope); in movePointer()
1121 endTime = movePointer(downTime, endTime + GESTURE_STEP_MS, 5 * GESTURE_STEP_MS, end, in movePointer()
1139 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent() argument
1151 return MotionEvent.obtain(downTime, eventTime, action, 1, in getMotionEvent()
1157 public void sendPointer(long downTime, long currentTime, int action, Point point, in sendPointer() argument
[all …]
DBackground.java84 final long downTime = SystemClock.uptimeMillis(); in goToOverviewUnchecked() local
95 downTime, downTime, MotionEvent.ACTION_DOWN, start, gestureScope); in goToOverviewUnchecked()
98 downTime, in goToOverviewUnchecked()
99 downTime, in goToOverviewUnchecked()
108 downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, end, in goToOverviewUnchecked()
DWorkspace.java210 final long downTime = SystemClock.uptimeMillis(); in dragIconToWorkspace() local
213 launcher.sendPointer(downTime, downTime, MotionEvent.ACTION_DOWN, in dragIconToWorkspace()
219 launcher.movePointer(launchableCenter, dest, 10, downTime, true, in dragIconToWorkspace()
226 downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_UP, dest, in dragIconToWorkspace()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java298 long downTime = SystemClock.uptimeMillis(); in emulateKeyEvent() local
300 KeyEvent event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_DOWN); in emulateKeyEvent()
304 event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_UP); in emulateKeyEvent()
308 private KeyEvent obtainKeyEvent(int keyCode, long downTime, long eventTime, int action) { in obtainKeyEvent() argument
316 downTime, in obtainKeyEvent()
/packages/services/Car/service/src/com/android/car/hal/
DInputHalService.java305 long downTime;
316 downTime = eventTime;
323 downTime =
333 downTime,
/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()
/packages/services/Car/service/src/com/android/car/
DCarInputService.java495 private static KeyEvent createKeyEvent(boolean down, long downTime, long eventTime, in createKeyEvent() argument
498 downTime, in createKeyEvent()