/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()
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | MaxDurationTracker.cpp | 60 const int64_t eventTime, const ConditionKey& conditionKey) { in noteStart() argument 85 duration.lastStartTime = eventTime; in noteStart() 86 startAnomalyAlarm(eventTime); in noteStart() 93 void MaxDurationTracker::noteStop(const HashableDimensionKey& key, const int64_t eventTime, in noteStop() argument 109 stopAnomalyAlarm(eventTime); in noteStop() 111 int64_t durationTime = eventTime - duration.lastStartTime; in noteStop() 113 (long long)duration.lastStartTime, (long long)eventTime, in noteStop() 119 startAnomalyAlarm(eventTime); in noteStop() 154 void MaxDurationTracker::noteStopAll(const int64_t eventTime) { in noteStopAll() argument 160 noteStop(key, eventTime, true); in noteStopAll()
|
D | DurationTracker.h | 100 virtual void noteStart(const HashableDimensionKey& key, bool condition, const int64_t eventTime, 102 virtual void noteStop(const HashableDimensionKey& key, const int64_t eventTime, 104 virtual void noteStopAll(const int64_t eventTime) = 0; 162 void startAnomalyAlarm(const int64_t eventTime) { in startAnomalyAlarm() argument 166 predictAnomalyTimestampNs(*anomalyTracker, eventTime); in startAnomalyAlarm()
|
D | OringDurationTracker.h | 38 void noteStart(const HashableDimensionKey& key, bool condition, const int64_t eventTime, 40 void noteStop(const HashableDimensionKey& key, const int64_t eventTime, 42 void noteStopAll(const int64_t eventTime) override;
|
D | MaxDurationTracker.h | 39 void noteStart(const HashableDimensionKey& key, bool condition, const int64_t eventTime, 41 void noteStop(const HashableDimensionKey& key, const int64_t eventTime, 43 void noteStopAll(const int64_t eventTime) override;
|
/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()
|
/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()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | DurationMetricProducer.h | 99 void onConditionChangedLocked(const bool conditionMet, const int64_t eventTime) override; 105 void onSlicedConditionMayChangeLocked(bool overallCondition, const int64_t eventTime) override; 110 void onSlicedConditionMayChangeLocked_opt1(bool overallCondition, const int64_t eventTime); 111 void onSlicedConditionMayChangeLocked_opt2(bool overallCondition, const int64_t eventTime); 121 void flushIfNeededLocked(const int64_t& eventTime);
|
D | DurationMetricProducer.cpp | 348 const int64_t eventTime) { in onSlicedConditionMayChangeLocked_opt1() argument 383 whatIt.second->onConditionChanged(currentUnSlicedPartCondition, eventTime); in onSlicedConditionMayChangeLocked_opt1() 395 whatIt.second->onConditionChanged(true, eventTime); in onSlicedConditionMayChangeLocked_opt1() 399 whatIt.second->onConditionChanged(false, eventTime); in onSlicedConditionMayChangeLocked_opt1() 421 const int64_t eventTime) { in onSlicedConditionMayChangeLocked() argument 428 flushIfNeededLocked(eventTime); in onSlicedConditionMayChangeLocked() 434 onSlicedConditionMayChangeInternalLocked(overallCondition, eventTime); in onSlicedConditionMayChangeLocked() 463 const int64_t eventTime) { in onConditionChangedLocked() argument 471 flushIfNeededLocked(eventTime); in onConditionChangedLocked() 473 whatIt.second->onConditionChanged(conditionMet, eventTime); in onConditionChangedLocked()
|
D | MetricProducer.h | 209 void onConditionChanged(const bool condition, const int64_t eventTime) { in onConditionChanged() argument 211 onConditionChangedLocked(condition, eventTime); in onConditionChanged() 214 void onSlicedConditionMayChange(bool overallCondition, const int64_t eventTime) { in onSlicedConditionMayChange() argument 216 onSlicedConditionMayChangeLocked(overallCondition, eventTime); in onSlicedConditionMayChange() 364 virtual void flushIfNeededLocked(const int64_t& eventTime){}; in flushIfNeededLocked() argument 409 virtual void onConditionChangedLocked(const bool condition, const int64_t eventTime) = 0; 411 const int64_t eventTime) = 0;
|
D | GaugeMetricProducer.h | 120 void onConditionChangedLocked(const bool conditionMet, const int64_t eventTime) override; 126 void onSlicedConditionMayChangeLocked(bool overallCondition, const int64_t eventTime) override; 136 void flushIfNeededLocked(const int64_t& eventTime) override;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 190 Time eventTime = new Time(); in performInstanceExpansion() local 291 eventTime.setTimezone(eventTimezone); in performInstanceExpansion() 292 eventTime.set(dtstartMillis); in performInstanceExpansion() 293 eventTime.setAllDay(allDay); in performInstanceExpansion() 330 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion() 335 eventTime.setTimezone(Time.TIMEZONE_UTC); in performInstanceExpansion() 337 eventTime.setTimezone(localTimezone); in performInstanceExpansion() 350 eventTime, initialValues); in performInstanceExpansion() 407 eventTime.setTimezone(Time.TIMEZONE_UTC); in performInstanceExpansion() 409 eventTime.setTimezone(localTimezone); in performInstanceExpansion() [all …]
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 306 long eventTime = SystemClock.uptimeMillis(); in emulateKeyEvent() local 307 KeyEvent event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_DOWN); in emulateKeyEvent() 310 eventTime = SystemClock.uptimeMillis(); in emulateKeyEvent() 311 event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_UP); in emulateKeyEvent() 315 private KeyEvent obtainKeyEvent(int keyCode, long downTime, long eventTime, int action) { in obtainKeyEvent() argument 324 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 | 335 @DisplayTypeEnum int display, long eventTime) { 347 downTime = eventTime; 349 state.mLastKeyDownTimestamp = eventTime; 356 ? eventTime 365 eventTime,
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarRatedFloatListeners.java | 137 public boolean needUpdateForAreaId(int areaId, long eventTime) { in needUpdateForAreaId() argument 139 if (eventTime >= lastUpdateTime) { in needUpdateForAreaId() 140 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/tests/unit/src/com/android/car/rotary/ |
D | RotaryServiceTest.java | 534 int eventTime = ROTATION_ACCELERATION_2X_MS + 1; in testOnRotaryEvents_acceleration() local 538 new RotaryEvent(inputType, true, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() 543 eventTime += ROTATION_ACCELERATION_2X_MS + 1; in testOnRotaryEvents_acceleration() 546 new RotaryEvent(inputType, false, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() 551 eventTime += ROTATION_ACCELERATION_2X_MS; in testOnRotaryEvents_acceleration() 554 new RotaryEvent(inputType, true, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() 559 eventTime += ROTATION_ACCELERATION_2X_MS; in testOnRotaryEvents_acceleration() 562 new RotaryEvent(inputType, false, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() 566 eventTime += ROTATION_ACCELERATION_3X_MS; in testOnRotaryEvents_acceleration() 569 new RotaryEvent(inputType, true, new long[]{eventTime}))); in testOnRotaryEvents_acceleration() [all …]
|