Searched refs:mScrimInFront (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 114 protected final ScrimView mScrimInFront; field in ScrimController 170 mScrimInFront = scrimInFront; in ScrimController() 196 states[i].init(mScrimInFront, mScrimBehind, mDozeParameters); in ScrimController() 202 mScrimInFront.setDefaultFocusHighlightEnabled(false); in ScrimController() 249 mScrimInFront.setFocusable(!state.isLowPowerState()); in transitionTo() 290 mScrimInFront.postOnAnimationDelayed(this::scheduleUpdate, 16); in transitionTo() 376 setOrAdaptCurrentAnimation(mScrimInFront); in setPanelExpansion() 489 mScrimInFront.setColors(mLockColors, true /* animated */); in updateScrims() 494 boolean animateScrimInFront = mScrimInFront.getViewAlpha() != 0; in updateScrims() 496 mScrimInFront.setColors(mSystemColors, animateScrimInFront); in updateScrims() [all …]
|
D | ScrimState.java | 153 updateScrimColor(mScrimInFront, 1, Color.BLACK); in prepare() 176 ScrimView mScrimInFront; field in ScrimState 189 mScrimInFront = scrimInFront; in init() 229 scrim == mScrimInFront ? "front_scrim_alpha" : "back_scrim_alpha", in updateScrimColor() 233 scrim == mScrimInFront ? "front_scrim_tint" : "back_scrim_tint", in updateScrimColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 69 private ScrimView mScrimInFront; field in ScrimControllerTest 83 mScrimInFront = new ScrimView(getContext()); in setup() 90 mScrimController = new SynchronousScrimController(mScrimBehind, mScrimInFront, in setup() 123 assertScrimTint(mScrimInFront, true /* tinted */); in transitionToAod_withRegularWallpaper() 156 assertScrimTint(mScrimInFront, true /* tinted */); in transitionToAod_withAodWallpaperAndLockScreenWallpaper() 194 Assert.assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 195 Assert.assertNotEquals(0.3f, mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 249 assertScrimTint(mScrimInFront, false /* tinted */); in transitionToUnlocked() 322 assertScrimTint(mScrimInFront, true /* tinted */); in transitionToUnlockedFromAod() 329 assertScrimTint(mScrimInFront, false /* tinted */); in transitionToUnlockedFromAod() [all …]
|