Searched refs:mScrimInFront (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 140 private ScrimView mScrimInFront; field in ScrimController 241 mScrimInFront = scrimInFront; in attachViews() 246 states[i].init(mScrimInFront, mScrimBehind, mScrimForBubble, mDozeParameters, in attachViews() 253 mScrimInFront.setDefaultFocusHighlightEnabled(false); in attachViews() 313 mScrimInFront.setFocusable(!state.isLowPowerState()); in transitionTo() 353 mScrimInFront.postOnAnimationDelayed(this::scheduleUpdate, 16); in transitionTo() 511 setOrAdaptCurrentAnimation(mScrimInFront); in applyAndDispatchExpansion() 602 boolean animateScrimInFront = mScrimInFront.getViewAlpha() != 0 && !mBlankScreen; in updateScrims() 606 mScrimInFront.setColors(mColors, animateScrimInFront); in updateScrims() 628 setScrimAlpha(mScrimInFront, mInFrontAlpha); in updateScrims() [all …]
|
D | ScrimState.java | 213 updateScrimColor(mScrimInFront, 1f /* alpha */, Color.BLACK /* tint */); in prepare() 259 ScrimView mScrimInFront; field in ScrimState 275 mScrimInFront = scrimInFront; in init() 322 scrim == mScrimInFront ? "front_scrim_alpha" : "back_scrim_alpha", in updateScrimColor() 326 scrim == mScrimInFront ? "front_scrim_tint" : "back_scrim_tint", in updateScrimColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 79 private ScrimView mScrimInFront; field in ScrimControllerTest 162 endAnimation(mScrimInFront); in finishAnimationsImmediately() 185 mScrimInFront = new ScrimView(getContext()); in setup() 223 mScrimController.attachViews(mScrimBehind, mScrimInFront, mScrimForBubble); in setup() 372 Assert.assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 373 Assert.assertNotEquals(0.3f, mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 521 mScrimInFront.getViewAlpha(), 0.0f); in transitionToBubbleExpanded() 626 + mScrimInFront.getViewAlpha(), mScrimInFront.getViewAlpha() > 0); in scrimBlanksBeforeLeavingAod() 805 Assert.assertFalse("Should not be focusable on AOD", mScrimInFront.isFocusable()); in testScrimFocus() 809 Assert.assertTrue("Should be focusable on keyguard", mScrimInFront.isFocusable()); in testScrimFocus() [all …]
|