Home
last modified time | relevance | path

Searched refs:mScrimInFront (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java71 private ScrimView mScrimInFront; field in ScrimControllerTest
86 mScrimInFront = new ScrimView(getContext()); in setup()
94 mScrimController = new SynchronousScrimController(mScrimBehind, mScrimInFront, in setup()
131 assertScrimTint(mScrimInFront, true /* tinted */); in transitionToAod_withRegularWallpaper()
159 assertScrimTint(mScrimInFront, true /* tinted */); in transitionToAod_withAodWallpaperAndLockScreenWallpaper()
173 assertScrimTint(mScrimInFront, true /* tinted */); in setHasBackdrop_withAodWallpaperAndAlbumArt()
211 Assert.assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates()
212 Assert.assertNotEquals(0.3f, mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates()
281 assertScrimTint(mScrimInFront, false /* tinted */); in transitionToUnlocked()
295 mScrimInFront.getViewAlpha(), 0.0f); in transitionToBubbleExpanded()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java129 protected final ScrimView mScrimInFront; field in ScrimController
185 mScrimInFront = scrimInFront; in ScrimController()
218 states[i].init(mScrimInFront, mScrimBehind, mDozeParameters); in ScrimController()
223 mScrimInFront.setDefaultFocusHighlightEnabled(false); in ScrimController()
274 mScrimInFront.setFocusable(!state.isLowPowerState()); in transitionTo()
312 mScrimInFront.postOnAnimationDelayed(this::scheduleUpdate, 16); in transitionTo()
418 setOrAdaptCurrentAnimation(mScrimInFront); in setPanelExpansion()
562 boolean animateScrimInFront = mScrimInFront.getViewAlpha() != 0 && !mBlankScreen; in updateScrims()
564 mScrimInFront.setColors(mColors, animateScrimInFront); in updateScrims()
594 mScrimStateListener.accept(mState, alpha, mScrimInFront.getColors()); in dispatchScrimState()
[all …]
DScrimState.java167 updateScrimColor(mScrimInFront, 1, Color.BLACK); in prepare()
204 ScrimView mScrimInFront; field in ScrimState
221 mScrimInFront = scrimInFront; in init()
260 scrim == mScrimInFront ? "front_scrim_alpha" : "back_scrim_alpha", in updateScrimColor()
264 scrim == mScrimInFront ? "front_scrim_tint" : "back_scrim_tint", in updateScrimColor()