Home
last modified time | relevance | path

Searched refs:expectedDuration (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatorPlaybackController.java173 float expectedDuration = expectedDurationL; in startWithVelocity() local
175 if (expectedDuration <= 0 || oneFrameProgress >= 1) { in startWithVelocity()
180 mAnimationPlayer.getCurrentPlayTime() / expectedDuration, in startWithVelocity()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTwoButtonNavbarTouchController.java114 protected void updateSwipeCompleteAnimation(ValueAnimator animator, long expectedDuration, in updateSwipeCompleteAnimation() argument
116 super.updateSwipeCompleteAnimation(animator, expectedDuration, targetState, in updateSwipeCompleteAnimation()
DNoButtonNavbarToOverviewTouchController.java209 protected void updateSwipeCompleteAnimation(ValueAnimator animator, long expectedDuration, in updateSwipeCompleteAnimation() argument
211 super.updateSwipeCompleteAnimation(animator, expectedDuration, targetState, velocity, in updateSwipeCompleteAnimation()
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java385 int expectedLocationListenMode, Duration expectedDuration) {
389 assertEquals(expectedDuration, mActiveLocationListeningState.duration);
393 assertEquals(expectedDuration, mPassiveLocationListeningState.duration);
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java380 protected void updateSwipeCompleteAnimation(ValueAnimator animator, long expectedDuration, in updateSwipeCompleteAnimation() argument
382 animator.setDuration(expectedDuration) in updateSwipeCompleteAnimation()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogStorageUnitTest.java203 long expectedDuration = mTimeSource.getCurrentDateTime().toEpochSecond() - startTime; in testSaveAndGetIoOveruseStats() local
205 startTime, expectedDuration); in testSaveAndGetIoOveruseStats()
226 long expectedDuration = in testSaveAndGetIoOveruseStatsWithOffsettedStartTime() local
229 expectedStartTime, expectedDuration); in testSaveAndGetIoOveruseStatsWithOffsettedStartTime()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiLastResortWatchdogTest.java1536 long expectedDuration = timeAtReconnect - timeAtFailure; in testMetricsCollection() local
1577 verify(mWifiMetrics, times(1)).setWatchdogSuccessTimeDurationMs(eq(expectedDuration)); in testMetricsCollection()
1588 verify(mWifiMetrics, times(1)).setWatchdogSuccessTimeDurationMs(eq(expectedDuration)); in testMetricsCollection()
1608 expectedDuration = timeAtReconnect - timeAtFailure; in testMetricsCollection()
1642 verify(mWifiMetrics, times(1)).setWatchdogSuccessTimeDurationMs(eq(expectedDuration)); in testMetricsCollection()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DAbsSwipeUpHandler.java1403 long expectedDuration = Math.abs(Math.round((endShift - currentShift)
1405 duration = Math.min(MAX_SWIPE_DURATION, expectedDuration);