Loading packages/SystemUI/src/com/android/systemui/scrim/ScrimView.java +0 −1 Original line number Diff line number Diff line Loading @@ -294,7 +294,6 @@ public class ScrimView extends View { /** * Make bottom edge concave so overlap between layers is not visible for alphas between 0 and 1 * @return height of concavity */ public void enableBottomEdgeConcave(boolean clipScrim) { if (mDrawable instanceof ScrimDrawable) { Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +4 −1 Original line number Diff line number Diff line Loading @@ -547,9 +547,12 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, Dump * Set bounds for notifications background, all coordinates are absolute */ public void setNotificationsBounds(float left, float top, float right, float bottom) { mNotificationsScrim.setDrawableBounds(left, top, right, bottom); if (mClipsQsScrim) { // "top - 1" to have 1 px of scrims overlap, see: b/186644628 mNotificationsScrim.setDrawableBounds(left, top - 1, right, bottom); mScrimBehind.setBottomEdgePosition((int) top); } else { mNotificationsScrim.setDrawableBounds(left, top, right, bottom); } } Loading Loading
packages/SystemUI/src/com/android/systemui/scrim/ScrimView.java +0 −1 Original line number Diff line number Diff line Loading @@ -294,7 +294,6 @@ public class ScrimView extends View { /** * Make bottom edge concave so overlap between layers is not visible for alphas between 0 and 1 * @return height of concavity */ public void enableBottomEdgeConcave(boolean clipScrim) { if (mDrawable instanceof ScrimDrawable) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java +4 −1 Original line number Diff line number Diff line Loading @@ -547,9 +547,12 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, Dump * Set bounds for notifications background, all coordinates are absolute */ public void setNotificationsBounds(float left, float top, float right, float bottom) { mNotificationsScrim.setDrawableBounds(left, top, right, bottom); if (mClipsQsScrim) { // "top - 1" to have 1 px of scrims overlap, see: b/186644628 mNotificationsScrim.setDrawableBounds(left, top - 1, right, bottom); mScrimBehind.setBottomEdgePosition((int) top); } else { mNotificationsScrim.setDrawableBounds(left, top, right, bottom); } } Loading