Home
last modified time | relevance | path

Searched refs:eventTime (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java36 public boolean onDispatchPointer(MotionEvent event, long eventTime, in onDispatchPointer() argument
42 public void dispatchPointer(MotionEvent event, long eventTime, in dispatchPointer() argument
47 onDispatchPointer(event, eventTime, false); in dispatchPointer()
49 if (!onDispatchPointer(event, eventTime, true)) { in dispatchPointer()
53 onDispatchPointer(event, eventTime, false); in dispatchPointer()
59 public boolean onDispatchTrackball(MotionEvent event, long eventTime, in onDispatchTrackball() argument
65 public void dispatchTrackball(MotionEvent event, long eventTime, in dispatchTrackball() argument
70 onDispatchTrackball(event, eventTime, false); in dispatchTrackball()
72 if (!onDispatchTrackball(event, eventTime, true)) { in dispatchTrackball()
76 onDispatchTrackball(event, eventTime, false); in dispatchTrackball()
/frameworks/base/test-runner/android/test/
DTouchUtils.java264 long eventTime = SystemClock.uptimeMillis(); in tapView() local
266 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in tapView()
271 eventTime = SystemClock.uptimeMillis(); in tapView()
273 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in tapView()
278 eventTime = SystemClock.uptimeMillis(); in tapView()
279 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in tapView()
304 long eventTime = SystemClock.uptimeMillis(); in touchAndCancelView() local
306 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in touchAndCancelView()
311 eventTime = SystemClock.uptimeMillis(); in touchAndCancelView()
313 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL, in touchAndCancelView()
[all …]
/frameworks/base/tests/framework-tests/src/android/util/
DEventLogFunctionalTest.java102 long eventTime = event.getTimeNanos() / 1000000; in disableTestReadSimpleEvent() local
103 Log.i(TAG, " Found event T=" + eventTime); in disableTestReadSimpleEvent()
104 if (eventTime > when - 100 && eventTime < when + 1000) { in disableTestReadSimpleEvent()
129 long eventTime = event.getTimeNanos() / 1000000; in disableTestReadCompoundEntry() local
130 Log.i(TAG, " Found event T=" + eventTime); in disableTestReadCompoundEntry()
131 if (eventTime > when - 100 && eventTime < when + 1000) { in disableTestReadCompoundEntry()
/frameworks/base/core/java/android/view/
DKeyEvent.java420 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument
423 mEventTime = eventTime; in KeyEvent()
443 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument
446 mEventTime = eventTime; in KeyEvent()
469 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument
473 mEventTime = eventTime; in KeyEvent()
499 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent() argument
503 mEventTime = eventTime; in KeyEvent()
563 public KeyEvent(KeyEvent origEvent, long eventTime, int newRepeat) { in KeyEvent() argument
565 mEventTime = eventTime; in KeyEvent()
[all …]
DMotionEvent.java281 static public MotionEvent obtainNano(long downTime, long eventTime, long eventTimeNano, in obtainNano() argument
311 ev.mTimeSamples[0] = eventTime; in obtainNano()
362 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument
369 ev.mEventTimeNano = eventTime * 1000000; in obtain()
384 ev.mTimeSamples[0] = eventTime; in obtain()
421 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument
428 ev.mEventTimeNano = eventTime * 1000000; in obtain()
444 ev.mTimeSamples[0] = eventTime; in obtain()
466 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain() argument
472 ev.mEventTimeNano = eventTime * 1000000; in obtain()
[all …]
DIWindow.aidl49 void dispatchPointer(in MotionEvent event, long eventTime, boolean callWhenDone); in dispatchPointer() argument
50 void dispatchTrackball(in MotionEvent event, long eventTime, boolean callWhenDone); in dispatchTrackball() argument
DViewRoot.java2610 public void dispatchPointer(MotionEvent event, long eventTime, in dispatchPointer() argument
2615 sendMessageAtTime(msg, eventTime); in dispatchPointer()
2618 public void dispatchTrackball(MotionEvent event, long eventTime, in dispatchTrackball() argument
2623 sendMessageAtTime(msg, eventTime); in dispatchTrackball()
2802 public void dispatchPointer(MotionEvent event, long eventTime, in dispatchPointer() argument
2808 … ViewRoot.lt.sample("* ViewRoot b4 dispatchPtr", System.nanoTime() - eventTime * 1000000); in dispatchPointer()
2810 viewRoot.dispatchPointer(event, eventTime, callWhenDone); in dispatchPointer()
2816 public void dispatchTrackball(MotionEvent event, long eventTime, in dispatchTrackball() argument
2820 viewRoot.dispatchTrackball(event, eventTime, callWhenDone); in dispatchTrackball()
DSurfaceView.java541 public void dispatchPointer(MotionEvent event, long eventTime, in dispatchPointer() argument
552 public void dispatchTrackball(MotionEvent event, long eventTime, in dispatchTrackball() argument
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java781 private void detectAndSendKey(int index, int x, int y, long eventTime) { in detectAndSendKey() argument
806 mLastTapTime = eventTime; in detectAndSendKey()
1112 final long eventTime = me.getEventTime();
1113 mOldEventTime = eventTime;
1148 checkMultiTap(eventTime, keyIndex);
1169 mCurrentKeyTime = eventTime - mDownTime;
1172 mCurrentKeyTime += eventTime - mLastMoveTime;
1180 mCurrentKeyTime + eventTime - mLastMoveTime;
1201 mCurrentKeyTime += eventTime - mLastMoveTime;
1205 mLastKeyTime = mCurrentKeyTime + eventTime - mLastMoveTime;
[all …]
DInputMethodService.java1765 long eventTime = SystemClock.uptimeMillis(); in sendDownUpKeyEvents() local
1766 ic.sendKeyEvent(new KeyEvent(eventTime, eventTime, in sendDownUpKeyEvents()
1769 ic.sendKeyEvent(new KeyEvent(SystemClock.uptimeMillis(), eventTime, in sendDownUpKeyEvents()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java346 long eventTime = SystemClock.uptimeMillis(); in performEditorAction() local
347 sendKeyEvent(new KeyEvent(eventTime, eventTime, in performEditorAction()
351 sendKeyEvent(new KeyEvent(SystemClock.uptimeMillis(), eventTime, in performEditorAction()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java451 public void setEventTime(long eventTime) { in setEventTime() argument
452 mEventTime = eventTime; in setEventTime()
/frameworks/base/core/java/android/webkit/
DWebView.java3692 long eventTime = ev.getEventTime(); in onTouchEvent() local
3707 || eventTime - mLastSentTouchTime > TOUCH_SENT_INTERVAL)) { in onTouchEvent()
3713 mLastSentTouchTime = eventTime; in onTouchEvent()
3754 if (mLogEvent && eventTime - mLastTouchUpTime < 1000) { in onTouchEvent()
3756 (eventTime - mLastTouchUpTime), eventTime); in onTouchEvent()
3768 mLastTouchTime = eventTime; in onTouchEvent()
3798 mLastTouchTime = eventTime; in onTouchEvent()
3911 mLastTouchTime = eventTime; in onTouchEvent()
3939 mLastTouchUpTime = eventTime; in onTouchEvent()
3991 if (eventTime - mLastTouchTime <= MIN_FLING_TIME) { in onTouchEvent()
[all …]
/frameworks/base/core/java/android/content/
DSyncStorageEngine.java172 long eventTime; field in SyncStorageEngine.SyncHistoryItem
716 item.eventTime = now; in insertStartSyncEvent()
788 final long lastSyncTime = (item.eventTime + elapsedTime); in stopSyncEvent()
DSyncManager.java1376 time.set(item.eventTime);
1379 pw.print(formatTime(item.eventTime));
/frameworks/base/services/java/com/android/server/
DWindowManagerService.java1738 MotionEvent pointer, long eventTime) { in sendPointerToWallpaperLocked() argument
1767 wallpaper.mClient.dispatchPointer(ev, eventTime, false); in sendPointerToWallpaperLocked()
4880 final long eventTime = ev.getEventTime(); in dispatchPointer() local
4995 sendPointerToWallpaperLocked(null, ev, eventTime); in dispatchPointer()
5018 out.mClient.dispatchPointer(oev, eventTime, false); in dispatchPointer()
5032 sendPointerToWallpaperLocked(null, ev, eventTime); in dispatchPointer()
5052 target.mClient.dispatchPointer(ev, eventTime, true); in dispatchPointer()
5113 final long eventTime = ev.getEventTime(); in dispatchTrackball() local
5128 focus.mClient.dispatchTrackball(ev, eventTime, true); in dispatchTrackball()
5262 long eventTime = ev.getEventTime(); in injectKeyEvent() local
[all …]
DKeyInputQueue.java413 long eventTime, boolean down, int keycode, int repeatCount, in newKeyEvent() argument
416 downTime, eventTime, in newKeyEvent()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java193 public boolean onDispatchPointer(MotionEvent event, long eventTime,
/frameworks/base/core/java/android/widget/
DTextView.java3139 long eventTime = SystemClock.uptimeMillis(); in onEditorAction() local
3141 new KeyEvent(eventTime, eventTime, in onEditorAction()
3146 new KeyEvent(SystemClock.uptimeMillis(), eventTime, in onEditorAction()