Searched refs:maxDuration (Results 1 – 21 of 21) sorted by relevance
44 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f) in play_playsTurbulenceNoiseInOrder()59 fakeSystemClock.advanceTime(config.maxDuration.toLong()) in play_playsTurbulenceNoiseInOrder()71 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f) in play_alreadyPlaying_ignoresNewAnimationRequest()87 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f) in finish_mainAnimationPlaying_playsEaseOutAnimation()95 fakeSystemClock.advanceTime(config.maxDuration.toLong() / 2) in finish_mainAnimationPlaying_playsEaseOutAnimation()105 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f) in finish_nonMainAnimationPlaying_doesNotFinishAnimation()113 fakeSystemClock.advanceTime(config.maxDuration.toLong() / 2) in finish_nonMainAnimationPlaying_doesNotFinishAnimation()123 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f) in onAnimationFinished_resetsStateCorrectly()141 config.maxDuration.toLong() + in onAnimationFinished_resetsStateCorrectly()153 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f, color = Color.WHITE) in updateColor_updatesCorrectColor()[all …]
48 fakeSystemClock.advanceTime(config.maxDuration.toLong()) in play_playsAnimation()
194 long maxDuration = 0; in startVibrating() local206 maxDuration = Math.max(maxDuration, duration); in startVibrating()211 if (hasPrepared && !hasFailed && maxDuration > 0) { in startVibrating()231 return hasFailed ? -1 : maxDuration; in startVibrating()
121 animatorTestRule.advanceTimeBy(config.maxDuration.toLong()) in play_animationStateChangesInOrder()178 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f) in finish_finishesLoadingEffect()221 val config = TurbulenceNoiseAnimationConfig(maxDuration = 1000f) in finish_notMainState_hasNoEffect()
227 bool hasAppCallback, nsecs_t minDuration, nsecs_t maxDuration, bool fixedFps,241 maxExpectedDuration(maxDuration),
1131 nsecs_t maxDuration; member
3445 expectedDurationInfo.maxDuration = expectedDurationInfo.minDuration; in calculateExpectedDurationRange()3453 expectedDurationInfo.maxDuration = expectedDurationInfo.minDuration; in calculateExpectedDurationRange()3463 expectedDurationInfo.maxDuration = 1e9 / e.data.i32[0]; in calculateExpectedDurationRange()4146 expectedDurationInfo.maxDuration, in prepareHalRequests()
58 val maxDuration: Float = DEFAULT_MAX_DURATION_IN_MILLIS, constant in com.android.systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseAnimationConfig
77 animator.duration = config.maxDuration.toLong() in <lambda>()
291 final long maxDuration = MAX_ANIMATION_DURATION; in testMinimumAnimationDuration() local296 final long medianLongDuration = maxDuration - 1; in testMinimumAnimationDuration()297 final long longAppDuration = maxDuration + 1; in testMinimumAnimationDuration()327 assertEquals(maxDuration, SplashscreenContentDrawer.getShowingDuration( in testMinimumAnimationDuration()
521 long maxDuration = Long.MIN_VALUE; in getDuration() local529 maxDuration = Math.max(maxDuration, duration); in getDuration()539 return maxDuration; in getDuration()
170 long maxDuration = 0; in testTotalDuration() local174 maxDuration = maxDuration > (duration + 100) ? maxDuration : (duration + 100); in testTotalDuration()176 assertEquals(maxDuration, s2.getTotalDuration()); in testTotalDuration()
1431 long maxDuration = (long) (1e9 / minFps); in getAeAvailableTargetFpsRangesChecked() local1434 maxDuration, minFps, maxFrameDuration), maxDuration <= maxFrameDuration); in getAeAvailableTargetFpsRangesChecked()1481 Long maxDuration = getValueFromKeyNonNull(key); in getMaxFrameDurationChecked() local1483 if (maxDuration == null) { in getMaxFrameDurationChecked()1487 return maxDuration; in getMaxFrameDurationChecked()
253 animator.duration = config.maxDuration.toLong() in <lambda>()
215 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
255 public abstract void onMaxTrackingDurationChanged(long maxDuration); in onMaxTrackingDurationChanged() argument
225 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
535 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
899 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
405 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument407 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
406 TemporaryQuotaReserve(long maxDuration) { in TemporaryQuotaReserve() argument407 mMaxDuration = maxDuration; in TemporaryQuotaReserve()