Update status bar scrim
Bug: 311717313 Test: Verified on device Flag: NONE Change-Id: I4f4d2c7ced1625f1c58b9e06274d9e3d6250ad63
This commit is contained in:
@@ -71,7 +71,7 @@ public class SysUiScrim implements View.OnAttachStateChangeListener {
|
||||
private static final int ALPHA_MASK_BITMAP_WIDTH_DP = 2;
|
||||
|
||||
private static final int BOTTOM_MASK_HEIGHT_DP = 200;
|
||||
private static final int TOP_MASK_HEIGHT_DP = 100;
|
||||
private static final int TOP_MASK_HEIGHT_DP = 70;
|
||||
|
||||
private boolean mDrawTopScrim, mDrawBottomScrim;
|
||||
|
||||
@@ -104,7 +104,7 @@ public class SysUiScrim implements View.OnAttachStateChangeListener {
|
||||
mHideSysUiScrim = Themes.getAttrBoolean(view.getContext(), R.attr.isWorkspaceDarkText);
|
||||
|
||||
mTopMaskBitmap = mHideSysUiScrim ? null : createDitheredAlphaMask(mTopMaskHeight,
|
||||
new int[]{0x50FFFFFF, 0x0AFFFFFF, 0x00FFFFFF},
|
||||
new int[]{0x3DFFFFFF, 0x0AFFFFFF, 0x00FFFFFF},
|
||||
new float[]{0f, 0.7f, 1f});
|
||||
mTopMaskPaint.setColor(0xFF222222);
|
||||
mBottomMaskBitmap = mHideSysUiScrim ? null : createDitheredAlphaMask(mBottomMaskHeight,
|
||||
|
||||
Reference in New Issue
Block a user