Home
last modified time | relevance | path

Searched refs:getEventTime (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DProximityClassifier.java54 gestureStartTimeNano = TimeUnit.MILLISECONDS.toNanos(event.getEventTime());
55 nearStartTimeNano = TimeUnit.MILLISECONDS.toNanos(event.getEventTime());
60 update(near, TimeUnit.MILLISECONDS.toNanos(event.getEventTime()));
61 long duration = TimeUnit.MILLISECONDS.toNanos(event.getEventTime()) - gestureStartTimeNano;
DClassifierData.java51 id, new Stroke(TimeUnit.MILLISECONDS.toNanos(event.getEventTime()), dpi)); in update()
56 event.getX(i), event.getY(i), TimeUnit.MILLISECONDS.toNanos(event.getEventTime())); in update()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DEventReportWindowCalcDelegate.java102 if (triggerTime < source.getEventTime()) { in getReportingTime()
161 long sourceRegistrationTime = source.getEventTime(); in fallsWithinWindow()
243 return source.getEventTime()
262 source.getEventTime()
269 source.getEventTime()
336 .map((x) -> source.getEventTime() + x)
340 long windowStart = source.getEventTime();
445 return Pair.create(source.getEventTime(), effectiveExpiry);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMoreKeysKeyboardAccessibilityDelegate.java72 final long eventTime = event.getEventTime(); in onHoverEnter()
83 final long eventTime = event.getEventTime(); in onHoverMove()
101 final long eventTime = event.getEventTime(); in onHoverExit()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java135 mInitialTouchTime = ev.getEventTime(); in onTouch()
169 float dt = (float) (ev.getEventTime() - mLastEventTime) / 1000f; in onTouch()
179 mLastEventTime = ev.getEventTime(); in onTouch()
220 } else if ((ev.getEventTime() - mInitialTouchTime) < mTapTimeout && in onTouch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java399 source.getEventTime() - flags.getMeasurementRateLimitWindowMilliseconds(); in isSourceAllowedToInsert()
416 source.getEventTime(), in isSourceAllowedToInsert()
430 source.getEventTime(), in isSourceAllowedToInsert()
456 source.getEventTime(), in isSourceAllowedToInsert()
471 source.getEventTime(), in isSourceAllowedToInsert()
481 source.getEventTime(), in isSourceAllowedToInsert()
562 source.getEventTime()); in maybeDeleteSourcesForLruDestination()
582 source.getEventTime()); in maybeDeleteSourcesForLruDestination()
613 source.getEventTime()); in maybeDeleteSourcesForLruDestination()
629 long windowStartTime = source.getEventTime() in sourceIsWithinTimeBasedDestinationLimits()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java285 assertThat(event.getEventTime()).isEqualTo(0L); in handlesRepeatedKeys_anyDisplay()
295 assertThat(event.getEventTime()).isEqualTo(5L); in handlesRepeatedKeys_anyDisplay()
305 assertThat(event.getEventTime()).isEqualTo(10L); in handlesRepeatedKeys_anyDisplay()
315 assertThat(event.getEventTime()).isEqualTo(15L); in handlesRepeatedKeys_anyDisplay()
331 assertThat(event.getEventTime()).isEqualTo(0L); in handlesRepeatedKeyWithIndents_anyDisplay()
340 assertThat(event.getEventTime()).isEqualTo(5L); in handlesRepeatedKeyWithIndents_anyDisplay()
353 assertThat(event.getEventTime()).isEqualTo(42L); in handlesKeyUp_withoutKeyDown_mainDisplay()
368 assertThat(event.getEventTime()).isEqualTo(42L); in handlesKeyUp_withoutKeyDown_clusterDisplay()
658 assertThat(event.getEventTime()).isEqualTo(SECONDS.toMillis(8)); in dispatchesKeyInputEvent_perSeat_anyDisplay()
683 assertThat(event.getEventTime()).isEqualTo(SECONDS.toMillis(7)); in dispatchesKeyInputEvent_withSameEventTimeAndDownTime_perSeat_whenKeyDown()
[all …]
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialFavoritesViewHolderOnTouchListener.java60 if (event.getEventTime() - event.getDownTime() > ViewConfiguration.getLongPressTimeout()) { in onTouch()
73 if (event.getEventTime() - event.getDownTime() < ViewConfiguration.getLongPressTimeout()) { in onTouch()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncSourceFetcherTest.java305 result.getEventTime() + TimeUnit.SECONDS.toMillis(DEFAULT_EXPIRY_ROUNDED), in testBasicSourceRequest()
439 result.getEventTime() + TimeUnit.SECONDS.toMillis(432000), result.getExpiryTime()); in fetchSource_multipleWebDestinations_success()
476 result.getEventTime() + TimeUnit.SECONDS.toMillis(432000), result.getExpiryTime()); in fetchSource_emptyWebDestinations_success()
525 result.getEventTime() + TimeUnit.SECONDS.toMillis(432000), result.getExpiryTime()); in fetchSource_duplicateWebDestinationsInList_removesDuplicates()
704 result.getEventTime() + TimeUnit.SECONDS.toMillis(432000), result.getExpiryTime()); in testSourceRequestWithPostInstallAttributes()
746 result.getEventTime() + TimeUnit.SECONDS.toMillis(432000), result.getExpiryTime()); in testSourceRequestWithPostInstallAttributesReceivedAsNull()
795 result.getEventTime() + TimeUnit.SECONDS.toMillis(432000), result.getExpiryTime()); in testSourceRequestWithInstallAttributesOutofBounds()
1098 result.getEventTime() in testBasicSourceRequestMinimumFields()
1168 long expiry = result.getEventTime() + TimeUnit.DAYS.toMillis(1); in sourceRequest_expiry_tooEarly_setToMin()
1209 result.getEventTime() in sourceRequest_expiry_tooLate_setToMax()
[all …]
DAsyncRegistrationQueueRunnerTest.java2510 .setTriggerTime(source.getEventTime()) in insertSource_withFakeReportsFalseAppAttribution_accountsForFakeReportAttribution()
2562 .setTriggerTime(source.getEventTime()) in insertSource_withFakeReportsFalseWebAttribution_accountsForFakeReportAttribution()
2621 .setTriggerTime(source.getEventTime()) in insertSource_withFalseAppAndWebAttribution_accountsForFakeReportAttribution()
2636 .setTriggerTime(source.getEventTime()) in insertSource_withFalseAppAndWebAttribution_accountsForFakeReportAttribution()
2768 .setTriggerTime(source.getEventTime()) in insertSource_withFakeReportsNeverAppAttribution_accountsForFakeReportAttribution()
4039 eq(sourceToInsert.getEventTime()))) in isSourceAllowedToInsert_deletesTheOldestAppDestinationInLoop_fifoInsertionSuccess()
4052 eq(sourceToInsert.getEventTime()))) in isSourceAllowedToInsert_deletesTheOldestAppDestinationInLoop_fifoInsertionSuccess()
4115 eq(sourceToInsert.getEventTime()))) in isSourceAllowedToInsert_deletesTheOldestWebDestination_successfulFifoInsertion()
4127 eq(sourceToInsert.getEventTime()))) in isSourceAllowedToInsert_deletesTheOldestWebDestination_successfulFifoInsertion()
4187 eq(sourceToInsert.getEventTime()))) in isSourceAllowedToInsert_deletesOldestAppAndWebDestinations_successfulFifoInsertion()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java466 final long elapsedMs = ev.getEventTime() - ev.getDownTime(); in shouldAllowRecaptureTouch()
491 (motionEvent.getEventTime() - mDownEvent.getEventTime()) / 1000.0f; in onTouch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DSourceNoiseHandler.java95 long triggerTime = source.getEventTime(); in assignAttributionModeAndGenerateFakeReports()
155 long triggerTime = source.getEventTime(); in assignAttributionModeAndGenerateFakeReports()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DXnaSourceCreator.java141 (source.getEventTime() + expiryOverride) in createSourceExpiryOverridePredicate()
267 .map(expiry -> (parentSource.getEventTime() + expiry))
/packages/apps/TV/src/com/android/tv/receiver/
DAbstractGlobalKeyReceiver.java82 long eventTime = event.getEventTime(); in handleIntent()
/packages/apps/TV/src/com/android/tv/ui/
DOnRepeatedKeyInterceptListener.java57 long duration = event.getEventTime() - event.getDownTime(); in onInterceptKeyEvent()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java159 KeyEvent downEvent = new KeyEvent(event.getDownTime(), event.getEventTime(),
161 KeyEvent upEvent = new KeyEvent(event.getDownTime(), event.getEventTime(),
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DNonDistinctMultitouchHelper.java50 final long eventTime = me.getEventTime(); in processMotionEvent()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/touch/
DTouchPointView.java99 long eventTime = event.getEventTime(); in logTouchEvents()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DAbstractTouchPointView.java103 long eventTime = event.getEventTime(); in logTouchEvents()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DSourceNoiseHandlerTest.java93 if (fakeReport.getTriggerTime() != source.getEventTime()) { in fakeReports_flexEventReport_generatesFromStaticReportStates()
135 if (fakeReport.getTriggerTime() > source.getEventTime()) { in fakeReports_flexEventReport_setsTriggerTime()
269 if (fakeReport.getTriggerTime() > source.getEventTime()) { in fakeReports_flexLiteEventReport_setsTriggerTime()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java48 long eventTime = e.getEventTime(); in transformEventOld()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java1140 if (getScale() <= 1F && event.getEventTime()
1143 mNextChangePositionTime = event.getEventTime() + 500;
1151 if (getScale() <= 1F && event.getEventTime()
1154 mNextChangePositionTime = event.getEventTime() + 500;
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java505 detectAndSendKey(mDownKey, mStartX, mStartY, me1.getEventTime()); in initGestureDetector()
1221 final long now = me.getEventTime(); in onTouchEvent()
1262 final long eventTime = me.getEventTime(); in onModifiedTouchEvent()
1300 mDownTime = me.getEventTime(); in onModifiedTouchEvent()
1519 long time = ev.getEventTime(); in addMovement()
/packages/apps/Camera2/src/com/android/camera/ui/
DMainActivityLayout.java97 if (ev.getEventTime() - ev.getDownTime() > SWIPE_TIME_OUT) { in onInterceptTouchEvent()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOtherActivityInputConsumer.java234 startTouchTrackingForWindowAnimation(ev.getEventTime()); in onMotionEvent()
333 startTouchTrackingForWindowAnimation(ev.getEventTime()); in onMotionEvent()

123