Searched refs:mScrimInFront (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 70 private ScrimView mScrimInFront; field in ScrimControllerTest 85 mScrimInFront = new ScrimView(getContext()); in setup() 93 mScrimController = new SynchronousScrimController(mScrimBehind, mScrimInFront, in setup() 129 assertScrimTint(mScrimInFront, true /* tinted */); in transitionToAod_withRegularWallpaper() 157 assertScrimTint(mScrimInFront, true /* tinted */); in transitionToAod_withAodWallpaperAndLockScreenWallpaper() 171 assertScrimTint(mScrimInFront, true /* tinted */); in setHasBackdrop_withAodWallpaperAndAlbumArt() 209 Assert.assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 210 Assert.assertNotEquals(0.3f, mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 268 assertScrimTint(mScrimInFront, false /* tinted */); in transitionToUnlocked() 282 mScrimInFront.getViewAlpha(), 0.0f); in transitionToBubbleExpanded() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 126 protected final ScrimView mScrimInFront; field in ScrimController 182 mScrimInFront = scrimInFront; in ScrimController() 208 states[i].init(mScrimInFront, mScrimBehind, mDozeParameters); in ScrimController() 213 mScrimInFront.setDefaultFocusHighlightEnabled(false); in ScrimController() 260 mScrimInFront.setFocusable(!state.isLowPowerState()); in transitionTo() 298 mScrimInFront.postOnAnimationDelayed(this::scheduleUpdate, 16); in transitionTo() 401 setOrAdaptCurrentAnimation(mScrimInFront); in setPanelExpansion() 520 boolean animateScrimInFront = mScrimInFront.getViewAlpha() != 0 && !mBlankScreen; in updateScrims() 522 mScrimInFront.setColors(mColors, animateScrimInFront); in updateScrims() 552 mScrimStateListener.accept(mState, alpha, mScrimInFront.getColors()); in dispatchScrimState() [all …]
|
D | ScrimState.java | 155 updateScrimColor(mScrimInFront, 1, Color.BLACK); in prepare() 192 ScrimView mScrimInFront; field in ScrimState 207 mScrimInFront = scrimInFront; in init() 246 scrim == mScrimInFront ? "front_scrim_alpha" : "back_scrim_alpha", in updateScrimColor() 250 scrim == mScrimInFront ? "front_scrim_tint" : "back_scrim_tint", in updateScrimColor()
|