Home
last modified time | relevance | path

Searched refs:maxDuration (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseControllerTest.kt44 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 …]
DTurbulenceNoiseViewTest.kt48 fakeSystemClock.advanceTime(config.maxDuration.toLong()) in play_playsAnimation()
/frameworks/base/services/core/java/com/android/server/vibrator/
DStartSequentialEffectStep.java194 long maxDuration = 0; in startVibrating() local
206 maxDuration = Math.max(maxDuration, duration); in startVibrating()
211 if (hasPrepared && !hasFailed && maxDuration > 0) { in startVibrating()
231 return hasFailed ? -1 : maxDuration; in startVibrating()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffectTest.kt121 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()
/frameworks/av/services/camera/libcameraservice/device3/
DInFlightRequest.h227 bool hasAppCallback, nsecs_t minDuration, nsecs_t maxDuration, bool fixedFps,
241 maxExpectedDuration(maxDuration),
DCamera3Device.h1131 nsecs_t maxDuration; member
DCamera3Device.cpp3445 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()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseAnimationConfig.kt58 val maxDuration: Float = DEFAULT_MAX_DURATION_IN_MILLIS, constant in com.android.systemui.surfaceeffects.turbulencenoise.TurbulenceNoiseAnimationConfig
DTurbulenceNoiseView.kt77 animator.duration = config.maxDuration.toLong() in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
DStartingSurfaceDrawerTests.java291 final long maxDuration = MAX_ANIMATION_DURATION; in testMinimumAnimationDuration() local
296 final long medianLongDuration = maxDuration - 1; in testMinimumAnimationDuration()
297 final long longAppDuration = maxDuration + 1; in testMinimumAnimationDuration()
327 assertEquals(maxDuration, SplashscreenContentDrawer.getShowingDuration( in testMinimumAnimationDuration()
/frameworks/base/core/java/android/os/
DCombinedVibration.java521 long maxDuration = Long.MIN_VALUE; in getDuration() local
529 maxDuration = Math.max(maxDuration, duration); in getDuration()
539 return maxDuration; in getDuration()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetActivityTest.java170 long maxDuration = 0; in testTotalDuration() local
174 maxDuration = maxDuration > (duration + 100) ? maxDuration : (duration + 100); in testTotalDuration()
176 assertEquals(maxDuration, s2.getTotalDuration()); in testTotalDuration()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1431 long maxDuration = (long) (1e9 / minFps); in getAeAvailableTargetFpsRangesChecked() local
1434 maxDuration, minFps, maxFrameDuration), maxDuration <= maxFrameDuration); in getAeAvailableTargetFpsRangesChecked()
1481 Long maxDuration = getValueFromKeyNonNull(key); in getMaxFrameDurationChecked() local
1483 if (maxDuration == null) { in getMaxFrameDurationChecked()
1487 return maxDuration; in getMaxFrameDurationChecked()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffect.kt253 animator.duration = config.maxDuration.toLong() in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DAppMediaSessionTracker.java215 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
DBaseAppStateEventsTracker.java255 public abstract void onMaxTrackingDurationChanged(long maxDuration); in onMaxTrackingDurationChanged() argument
DBaseAppStateTimeSlotEventsTracker.java225 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
DAppBatteryExemptionTracker.java535 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
DAppFGSTracker.java899 public void onMaxTrackingDurationChanged(long maxDuration) { in onMaxTrackingDurationChanged() argument
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java405 private void workForRandomPeriod(int minDuration, int maxDuration) { in workForRandomPeriod() argument
407 int period = minDuration + random.nextInt(maxDuration - minDuration); in workForRandomPeriod()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java406 TemporaryQuotaReserve(long maxDuration) { in TemporaryQuotaReserve() argument
407 mMaxDuration = maxDuration; in TemporaryQuotaReserve()