Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java372 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()
524 mScrimBehind.getViewAlpha(), 0.0f); in transitionToBubbleExpanded()
527 mScrimBehind.getViewAlpha(), 0.0f); in transitionToBubbleExpanded()
558 mScrimBehindAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansion()
564 mScrimBehindAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansion()
574 final float scrimAlpha = mScrimBehind.getViewAlpha(); in panelExpansionAffectsAlpha()
580 + "is false", scrimAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansionAffectsAlpha()
586 + "is true", scrimAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansionAffectsAlpha()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java365 dispatchScrimState(mScrimBehind.getViewAlpha()); in transitionTo()
513 dispatchScrimState(mScrimBehind.getViewAlpha()); in applyAndDispatchExpansion()
602 boolean animateScrimInFront = mScrimInFront.getViewAlpha() != 0 && !mBlankScreen; in updateScrims()
603 boolean animateScrimBehind = mScrimBehind.getViewAlpha() != 0 && !mBlankScreen; in updateScrims()
604 boolean animateScrimForBubble = mScrimForBubble.getViewAlpha() != 0 && !mBlankScreen; in updateScrims()
615 dispatchScrimState(mScrimBehind.getViewAlpha()); in updateScrims()
642 if (mScrimInFront.getViewAlpha() == 1 || mScrimBehind.getViewAlpha() == 1) { in dispatchScrimsVisible()
644 } else if (mScrimInFront.getViewAlpha() == 0 && mScrimBehind.getViewAlpha() == 0) { in dispatchScrimsVisible()
840 final float currentAlpha = scrim.getViewAlpha(); in updateScrim()
934 return Color.argb((int) (mScrimBehind.getViewAlpha() * Color.alpha(color)), in getBackgroundColor()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DScrimViewTest.java83 assertEquals("View alpha did not propagate to drawable", alpha, mView.getViewAlpha()); in testSetViewAlpha_propagatesToDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java197 public float getViewAlpha() { in getViewAlpha() method in ScrimView