Home
last modified time | relevance | path

Searched refs:expectedAlpha (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationShelfTest.kt279 expectedAlpha = 0.0f in updateState_expansionChanging_shelfTransparent()
289 expectedAlpha = 0.0f in updateState_expansionChangingWhileBouncerInTransit_shelfTransparent()
297 expectedAlpha = ShadeInterpolation.getContentAlpha(0.6f), in updateState_expansionChanging_shelfAlphaUpdated()
310 expectedAlpha = 0.123f in updateState_largeScreen_expansionChanging_shelfAlphaUpdated_largeScreenValue()
320 expectedAlpha = aboutToShowBouncerProgress(0.95f), in updateState_expansionChangingWhileBouncerInTransit_shelfAlphaUpdated()
330 expectedAlpha = aboutToShowBouncerProgress(0.95f), in updateState_largeScreen_expansionChangingWhileBouncerInTransit_bouncerInterpolatorUsed()
461 expectedAlpha: Float in updateState_expansionChanging_shelfAlphaUpdated()
476 assertEquals(expectedAlpha, shelf.viewState.alpha) in updateState_expansionChanging_shelfAlphaUpdated()
DStackScrollAlgorithmTest.kt305 expectedAlpha = 0.0f in <lambda>()
315 expectedAlpha = 0.0f in <lambda>()
325 expectedAlpha = getContentAlpha(0.6f) in <lambda>()
341 expectedAlpha = surfaceAlpha, in <lambda>()
352 expectedAlpha = aboutToShowBouncerProgress(0.95f), in <lambda>()
1259 expectedAlpha: Float, in <lambda>()
1267 expect.that(notificationRow.viewState.alpha).isEqualTo(expectedAlpha) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java646 float expectedAlpha = ScrimState.KEYGUARD.getBehindAlpha(); in lockscreenToHubTransition_setsBehindScrimAlpha() local
655 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in lockscreenToHubTransition_setsBehindScrimAlpha()
659 expectedAlpha = (1 - runningProgress) * ScrimState.KEYGUARD.getBehindAlpha(); in lockscreenToHubTransition_setsBehindScrimAlpha()
668 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in lockscreenToHubTransition_setsBehindScrimAlpha()
672 expectedAlpha = 0f; in lockscreenToHubTransition_setsBehindScrimAlpha()
681 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in lockscreenToHubTransition_setsBehindScrimAlpha()
692 float expectedAlpha = 0f; in hubToLockscreenTransition_setsViewAlpha() local
701 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in hubToLockscreenTransition_setsViewAlpha()
705 expectedAlpha = runningProgress * ScrimState.KEYGUARD.getBehindAlpha(); in hubToLockscreenTransition_setsViewAlpha()
714 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in hubToLockscreenTransition_setsViewAlpha()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLockscreenShadeTransitionControllerTest.kt390 val expectedAlpha = 1 - 10f / alphaDistance in setDragAmount_setsKeyguardAlphaBasedOnDistance() constant
391 verify(shadeLockscreenInteractor).setKeyguardTransitionProgress(eq(expectedAlpha), anyInt()) in setDragAmount_setsKeyguardAlphaBasedOnDistance()
576 val expectedAlpha = 1 - dragDownAmount / alphaDistance in setDragDownAmount_inSplitShade_setsKeyguardStatusBarAlphaBasedOnDistance() constant
577 verify(shadeLockscreenInteractor).setKeyguardStatusBarAlpha(expectedAlpha) in setDragDownAmount_inSplitShade_setsKeyguardStatusBarAlphaBasedOnDistance()