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.java209 Assert.assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates()
210 Assert.assertNotEquals(0.3f, mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates()
282 mScrimInFront.getViewAlpha(), 0.0f); in transitionToBubbleExpanded()
285 mScrimBehind.getViewAlpha(), 0.0f); in transitionToBubbleExpanded()
316 mScrimBehindAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansion()
322 mScrimBehindAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansion()
332 final float scrimAlpha = mScrimBehind.getViewAlpha(); in panelExpansionAffectsAlpha()
338 + "is false", scrimAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansionAffectsAlpha()
344 + "is true", scrimAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansionAffectsAlpha()
377 + mScrimInFront.getViewAlpha(), mScrimInFront.getViewAlpha() > 0); in scrimBlanksBeforeLeavingAod()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java310 dispatchScrimState(mScrimBehind.getViewAlpha()); in transitionTo()
403 dispatchScrimState(mScrimBehind.getViewAlpha()); in setPanelExpansion()
520 boolean animateScrimInFront = mScrimInFront.getViewAlpha() != 0 && !mBlankScreen; in updateScrims()
521 boolean animateScrimBehind = mScrimBehind.getViewAlpha() != 0 && !mBlankScreen; in updateScrims()
531 dispatchScrimState(mScrimBehind.getViewAlpha()); in updateScrims()
557 if (mScrimInFront.getViewAlpha() == 1 || mScrimBehind.getViewAlpha() == 1) { in dispatchScrimsVisible()
559 } else if (mScrimInFront.getViewAlpha() == 0 && mScrimBehind.getViewAlpha() == 0) { in dispatchScrimsVisible()
738 final float currentAlpha = scrim.getViewAlpha(); in updateScrim()
845 return Color.argb((int) (mScrimBehind.getViewAlpha() * Color.alpha(color)), in getBackgroundColor()
873 pw.print(" frontScrim:"); pw.print(" viewAlpha="); pw.print(mScrimInFront.getViewAlpha()); in dump()
[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.java192 public float getViewAlpha() { in getViewAlpha() method in ScrimView