/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/apps/Car/Launcher/tests/src/com/android/car/carlauncher/ |
D | TaskViewInputInterceptorTest.java | 157 final long eventTime = SystemClock.uptimeMillis(); in singleTap_insideTaskView_capturingEnabled_noCapturing() local 160 /* downTime= */ eventTime, in singleTap_insideTaskView_capturingEnabled_noCapturing() 161 /* eventTime= */ eventTime, in singleTap_insideTaskView_capturingEnabled_noCapturing() 168 /* downTime= */ eventTime, in singleTap_insideTaskView_capturingEnabled_noCapturing() 169 /* eventTime= */ eventTime, in singleTap_insideTaskView_capturingEnabled_noCapturing() 177 /* downTime= */ eventTime, in singleTap_insideTaskView_capturingEnabled_noCapturing() 178 /* eventTime= */ eventTime, in singleTap_insideTaskView_capturingEnabled_noCapturing() 205 final long eventTime = SystemClock.uptimeMillis(); in longPress_insideTaskView_capturingEnabled_capturesGesture() local 208 /* downTime= */ eventTime, in longPress_insideTaskView_capturingEnabled_capturesGesture() 209 /* eventTime= */ eventTime, in longPress_insideTaskView_capturingEnabled_capturesGesture() [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/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/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/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/v33/ |
D | BasePermissionEventStorageTest.kt | 183 val todayEvent = parkingEvent.copy(eventTime = System.currentTimeMillis()) in removeOldData_removesOnlyOldData() 185 eventTime = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(6)) in removeOldData_removesOnlyOldData() 187 eventTime = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(8)) in removeOldData_removesOnlyOldData() 207 eventTime = musicEvent.eventTime + TimeUnit.DAYS.toMillis(1) in updateEventsBySystemTimeDelta_oneDayForward_shiftsData() 222 eventTime = musicEvent.eventTime - TimeUnit.DAYS.toMillis(1) in updateEventsBySystemTimeDelta_oneDayBackward_shiftsData() 260 return this.copy(eventTime = this.eventTime + timeDelta) in copyWithTimeDelta()
|
D | TestPermissionEvent.kt | 28 override val eventTime: Long, constant in com.android.permissioncontroller.tests.mocking.permission.service.v33.TestPermissionEvent 30 ) : PermissionEvent(packageName, eventTime)
|
/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()
|
/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 | 224 void onConditionChanged(const bool condition, const int64_t eventTime) { in onConditionChanged() argument 226 onConditionChangedLocked(condition, eventTime); in onConditionChanged() 229 void onSlicedConditionMayChange(bool overallCondition, const int64_t eventTime) { in onSlicedConditionMayChange() argument 231 onSlicedConditionMayChangeLocked(overallCondition, eventTime); in onSlicedConditionMayChange() 379 virtual void flushIfNeededLocked(const int64_t& eventTime){}; in flushIfNeededLocked() argument 428 virtual void onConditionChangedLocked(const bool condition, const int64_t eventTime) = 0; 430 const int64_t eventTime) = 0;
|
/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/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/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 348 @DisplayTypeEnum int display, long eventTime) { 360 downTime = eventTime; 362 state.mLastKeyDownTimestamp = eventTime; 369 ? eventTime 378 eventTime,
|
/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/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 390 long eventTime = SystemClock.uptimeMillis(); in emulateKeyEvent() local 391 KeyEvent event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_DOWN); in emulateKeyEvent() 394 eventTime = SystemClock.uptimeMillis(); in emulateKeyEvent() 395 event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_UP); in emulateKeyEvent() 399 private KeyEvent obtainKeyEvent(int keyCode, long downTime, long eventTime, int action) { in obtainKeyEvent() argument 408 eventTime, in obtainKeyEvent()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v33/ |
D | PermissionChange.kt | 31 override val eventTime: Long constant in com.android.permissioncontroller.permission.data.v33.PermissionChange 32 ) : PermissionEvent(packageName, eventTime)
|