/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 277 final int y, final long eventTime, final boolean isKeyRepeat) { in callListenerOnCodeInput() argument 293 sTypingTimeRecorder.onCodeInput(code, eventTime); in callListenerOnCodeInput() 414 private static boolean needsToSuppressKeyPreviewPopup(final long eventTime) { in needsToSuppressKeyPreviewPopup() argument 416 return sTypingTimeRecorder.needsToSuppressKeyPreviewPopup(eventTime); in needsToSuppressKeyPreviewPopup() 419 private void setPressedKeyGraphics(@Nullable final Key key, final long eventTime) { in setPressedKeyGraphics() argument 431 final boolean noKeyPreview = sInGesture || needsToSuppressKeyPreviewPopup(eventTime); in setPressedKeyGraphics() 472 private Key onDownKey(final int x, final int y, final long eventTime) { in onDownKey() argument 473 mDownTime = eventTime; in onDownKey() 535 public void onUpdateBatchInput(final InputPointers aggregatedPointers, final long eventTime) { in onUpdateBatchInput() argument 551 public void onEndBatchInput(final InputPointers aggregatedPointers, final long eventTime) { in onEndBatchInput() argument [all …]
|
D | MoreKeysKeyboardView.java | 159 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime) { in onDownEvent() argument 165 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime) { in onMoveEvent() argument 178 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime) { in onUpEvent() argument 263 final long eventTime = me.getEventTime(); in onTouchEvent() local 271 onDownEvent(x, y, pointerId, eventTime); in onTouchEvent() 275 onUpEvent(x, y, pointerId, eventTime); in onTouchEvent() 278 onMoveEvent(x, y, pointerId, eventTime); in onTouchEvent()
|
D | MoreKeysPanel.java | 80 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime); in onMoveEvent() argument 90 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime); in onDownEvent() argument 100 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime); in onUpEvent() argument
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | PointerTrackerQueueTests.java | 56 public void onPhantomUpEvent(long eventTime) { in onPhantomUpEvent() argument 58 mPhantomUpEventTime = eventTime + sPhantomUpCount; in onPhantomUpEvent() 181 final long eventTime = 123; in testReleaseAllPointers() local 183 mQueue.releaseAllPointers(eventTime); in testReleaseAllPointers() 187 assertEquals(eventTime + 1, mElement1.mPhantomUpEventTime); in testReleaseAllPointers() 188 assertEquals(eventTime + 2, mElement2.mPhantomUpEventTime); in testReleaseAllPointers() 189 assertEquals(eventTime + 3, mElement3.mPhantomUpEventTime); in testReleaseAllPointers() 190 assertEquals(eventTime + 4, mElement4.mPhantomUpEventTime); in testReleaseAllPointers() 200 final long eventTime = 123; in testReleaseAllPointersOlderThanFirst() local 202 mQueue.releaseAllPointersOlderThan(mElement1, eventTime); in testReleaseAllPointersOlderThanFirst() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | TypingTimeRecorder.java | 32 public boolean isInFastTyping(final long eventTime) { in isInFastTyping() argument 33 final long elapsedTimeSinceLastLetterTyping = eventTime - mLastLetterTypingTime; in isInFastTyping() 41 public void onCodeInput(final int code, final long eventTime) { in onCodeInput() argument 48 || eventTime - mLastTypingTime < mStaticTimeThresholdAfterFastTyping) { in onCodeInput() 49 mLastLetterTypingTime = eventTime; in onCodeInput() 52 if (eventTime - mLastLetterTypingTime < mStaticTimeThresholdAfterFastTyping) { in onCodeInput() 54 mLastLetterTypingTime = eventTime; in onCodeInput() 57 mLastTypingTime = eventTime; in onCodeInput() 60 public void onEndBatchInput(final long eventTime) { in onEndBatchInput() argument 61 mLastBatchInputTime = eventTime; in onEndBatchInput() [all …]
|
D | NonDistinctMultitouchHelper.java | 50 final long eventTime = me.getEventTime(); 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()
|
D | PointerTrackerQueue.java | 30 public void onPhantomUpEvent(long eventTime); in onPhantomUpEvent() argument 95 public void releaseAllPointersOlderThan(final Element pointer, final long eventTime) { in releaseAllPointersOlderThan() argument 109 element.onPhantomUpEvent(eventTime); in releaseAllPointersOlderThan() 139 public void releaseAllPointers(final long eventTime) { in releaseAllPointers() argument 140 releaseAllPointersExcept(null, eventTime); in releaseAllPointers() 143 public void releaseAllPointersExcept(final Element pointer, final long eventTime) { in releaseAllPointersExcept() argument 164 element.onPhantomUpEvent(eventTime); in releaseAllPointersExcept()
|
D | BatchInputArbiter.java | 60 public int getElapsedTimeSinceFirstDown(final long eventTime) { in getElapsedTimeSinceFirstDown() argument 61 return (int)(eventTime - sGestureFirstDownTime); in getElapsedTimeSinceFirstDown()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MoreKeysKeyboardAccessibilityDelegate.java | 72 final long eventTime = event.getEventTime(); in onHoverEnter() local 73 mKeyboardView.onDownEvent(x, y, pointerId, eventTime); in onHoverEnter() 83 final long eventTime = event.getEventTime(); in onHoverMove() local 84 mKeyboardView.onMoveEvent(x, y, pointerId, eventTime); in onHoverMove() 101 final long eventTime = event.getEventTime(); in onHoverExit() local 109 mKeyboardView.onUpEvent(x, y, pointerId, eventTime); in onHoverExit()
|
D | KeyboardAccessibilityDelegate.java | 273 final long eventTime = SystemClock.uptimeMillis(); in simulateTouchEvent() local 275 eventTime, eventTime, touchAction, x, y, 0 /* metaState */); in simulateTouchEvent()
|
D | MainKeyboardAccessibilityDelegate.java | 259 final long eventTime = SystemClock.uptimeMillis(); in performLongClickOn() local 263 eventTime, eventTime, MotionEvent.ACTION_DOWN, x, y, 0 /* metaState */); in performLongClickOn()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | GestureBot.java | 153 final long eventTime = SystemClock.uptimeMillis(); in touchUp() local 154 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_UP, 0, x, y); in touchUp() 160 final long eventTime = SystemClock.uptimeMillis(); in touchMove() local 161 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_MOVE, button, x, in touchMove() 167 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()
|
D | DirectoryListBot.java | 387 long eventTime = SystemClock.uptimeMillis(); in getTestMotionEvent() local 402 eventTime, in getTestMotionEvent() 403 eventTime, in getTestMotionEvent()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 190 Time eventTime = new Time(); in performInstanceExpansion() local 291 eventTime.timezone = eventTimezone; in performInstanceExpansion() 292 eventTime.set(dtstartMillis); in performInstanceExpansion() 293 eventTime.allDay = allDay; in performInstanceExpansion() 330 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion() 335 eventTime.timezone = Time.TIMEZONE_UTC; in performInstanceExpansion() 337 eventTime.timezone = localTimezone; in performInstanceExpansion() 350 eventTime, initialValues); in performInstanceExpansion() 407 eventTime.timezone = Time.TIMEZONE_UTC; in performInstanceExpansion() 409 eventTime.timezone = localTimezone; in performInstanceExpansion() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | MotionPauseDetector.java | 295 private void addPositionAndTime(float eventTime, float eventPosition) { 296 mHistoricTimes[mHistoryStart] = eventTime; 325 final float eventTime = mHistoricTimes[pointPos]; 336 float age = eventTime - time; 366 float denominator = eventTime - mHistoricTimes[endPos]; 368 return (eventTime - mHistoricPos[endPos]) / denominator;
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 299 long eventTime = SystemClock.uptimeMillis(); in emulateKeyEvent() local 300 KeyEvent event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_DOWN); in emulateKeyEvent() 303 eventTime = SystemClock.uptimeMillis(); 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 317 eventTime, in obtainKeyEvent()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 943 private void detectAndSendKey(int index, int x, int y, long eventTime) { in detectAndSendKey() argument 968 mLastTapTime = eventTime; in detectAndSendKey() 1262 final long eventTime = me.getEventTime(); in onModifiedTouchEvent() local 1302 checkMultiTap(eventTime, keyIndex); in onModifiedTouchEvent() 1329 mCurrentKeyTime = eventTime - mDownTime; in onModifiedTouchEvent() 1332 mCurrentKeyTime += eventTime - mLastMoveTime; in onModifiedTouchEvent() 1340 mCurrentKeyTime + eventTime - mLastMoveTime; in onModifiedTouchEvent() 1356 mLastMoveTime = eventTime; in onModifiedTouchEvent() 1362 mCurrentKeyTime += eventTime - mLastMoveTime; in onModifiedTouchEvent() 1366 mLastKeyTime = mCurrentKeyTime + eventTime - mLastMoveTime; in onModifiedTouchEvent() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 304 long eventTime) { 316 downTime = eventTime; 318 state.mLastKeyDownTimestamp = eventTime; 325 ? eventTime 334 eventTime,
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarRatedFloatListeners.java | 132 public boolean needUpdateForAreaId(int areaId, long eventTime) { in needUpdateForAreaId() argument 134 if (eventTime >= lastUpdateTime) { in needUpdateForAreaId() 135 mAreaIdToLastUpdateTime.put(areaId, eventTime); in needUpdateForAreaId()
|
/packages/apps/TV/src/com/android/tv/receiver/ |
D | AbstractGlobalKeyReceiver.java | 82 long eventTime = event.getEventTime(); in handleIntent() local 83 if (action == KeyEvent.ACTION_UP && sLastEventTime != eventTime) { in handleIntent() 85 sLastEventTime = eventTime; in handleIntent()
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 826 long eventTime = rotaryEvent.getUptimeMillisForClick(0); in handleRotaryEvent() local 827 handleRotateEvent(clockwise, count, eventTime); in handleRotaryEvent() 830 private void handleRotateEvent(boolean clockwise, int count, long eventTime) { in handleRotateEvent() argument 841 int rotationCount = getRotateAcceleration(count, eventTime); in handleRotateEvent() 1389 private int getRotateAcceleration(int count, long eventTime) { in getRotateAcceleration() argument 1397 long delta = (eventTime - mLastRotateEventTime) / count; // Assume constant speed. in getRotateAcceleration() 1403 mLastRotateEventTime = eventTime; in getRotateAcceleration()
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
D | LiveChannelsTestController.java | 64 long eventTime = SystemClock.uptimeMillis(); in assertPressKey() local 67 eventTime, in assertPressKey() 68 eventTime, in assertPressKey()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/ |
D | TouchPointView.java | 99 long eventTime = event.getEventTime(); in logTouchEvents() local 102 + (eventTime - downTime) + "]"); in logTouchEvents()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/ |
D | TouchPointView.java | 95 long eventTime = event.getEventTime(); in logTouchEvents() local 98 (eventTime - downTime) + "]"); in logTouchEvents()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | MotionEventHelper.java | 48 long eventTime = e.getEventTime(); in transformEventOld() local 75 MotionEvent n = MotionEvent.obtain(downTime, eventTime, action, in transformEventOld()
|