Searched refs:getViewAlpha (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 519 assertEquals(ScrimState.AOD.getFrontAlpha(), mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 520 Assert.assertNotEquals(0.3f, mScrimInFront.getViewAlpha(), 0.001f); in transitionToAod_withFrontAlphaUpdates() 655 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in lockscreenToHubTransition_setsBehindScrimAlpha() 668 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in lockscreenToHubTransition_setsBehindScrimAlpha() 681 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in lockscreenToHubTransition_setsBehindScrimAlpha() 701 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in hubToLockscreenTransition_setsViewAlpha() 714 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in hubToLockscreenTransition_setsViewAlpha() 727 assertThat(mScrimBehind.getViewAlpha()).isEqualTo(expectedAlpha); in hubToLockscreenTransition_setsViewAlpha() 1066 mScrimBehindAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansion() 1072 mScrimBehindAlpha, mScrimBehind.getViewAlpha(), 0.01f); in panelExpansion() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 653 dispatchBackScrimState(mScrimBehind.getViewAlpha()); in internalTransitionTo() 1165 dispatchBackScrimState(mScrimBehind.getViewAlpha()); in applyAndDispatchState() 1246 boolean animateScrimInFront = mScrimInFront.getViewAlpha() != 0 && !mBlankScreen; in updateScrims() 1247 boolean animateBehindScrim = mScrimBehind.getViewAlpha() != 0 && !mBlankScreen; in updateScrims() 1248 boolean animateScrimNotifications = mNotificationsScrim.getViewAlpha() != 0 in updateScrims() 1255 dispatchBackScrimState(mScrimBehind.getViewAlpha()); in updateScrims() 1302 if (mScrimInFront.getViewAlpha() == 1 || backScrim.getViewAlpha() == 1) { in dispatchScrimsVisible() 1304 } else if (mScrimInFront.getViewAlpha() == 0 && backScrim.getViewAlpha() == 0) { in dispatchScrimsVisible() 1511 final float currentAlpha = scrim.getViewAlpha(); in updateScrim() 1637 pw.print(mScrimInFront.getViewAlpha()); in dump() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/scrim/ |
D | ScrimViewTest.java | 83 assertEquals("View alpha did not propagate to drawable", alpha, mView.getViewAlpha()); in testSetViewAlpha_propagatesToDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/ |
D | ScrimView.java | 301 public float getViewAlpha() { in getViewAlpha() method in ScrimView
|