Loading packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +4 −10 Original line number Original line Diff line number Diff line Loading @@ -2415,16 +2415,10 @@ public class NotificationStackScrollLayout extends ViewGroup * Update the background bounds to the new desired bounds * Update the background bounds to the new desired bounds */ */ private void updateBackgroundBounds() { private void updateBackgroundBounds() { if (mAmbientState.isPanelFullWidth()) { mBackgroundBounds.left = 0; mBackgroundBounds.right = getWidth(); } else { getLocationInWindow(mTempInt2); getLocationInWindow(mTempInt2); mBackgroundBounds.left = mTempInt2[0]; mBackgroundBounds.left = mTempInt2[0] + mSidePaddings; mBackgroundBounds.right = mTempInt2[0] + getWidth(); mBackgroundBounds.right = mTempInt2[0] + getWidth() - mSidePaddings; } mBackgroundBounds.left += mSidePaddings; mBackgroundBounds.right -= mSidePaddings; if (!mIsExpanded) { if (!mIsExpanded) { mBackgroundBounds.top = 0; mBackgroundBounds.top = 0; mBackgroundBounds.bottom = 0; mBackgroundBounds.bottom = 0; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +4 −10 Original line number Original line Diff line number Diff line Loading @@ -2415,16 +2415,10 @@ public class NotificationStackScrollLayout extends ViewGroup * Update the background bounds to the new desired bounds * Update the background bounds to the new desired bounds */ */ private void updateBackgroundBounds() { private void updateBackgroundBounds() { if (mAmbientState.isPanelFullWidth()) { mBackgroundBounds.left = 0; mBackgroundBounds.right = getWidth(); } else { getLocationInWindow(mTempInt2); getLocationInWindow(mTempInt2); mBackgroundBounds.left = mTempInt2[0]; mBackgroundBounds.left = mTempInt2[0] + mSidePaddings; mBackgroundBounds.right = mTempInt2[0] + getWidth(); mBackgroundBounds.right = mTempInt2[0] + getWidth() - mSidePaddings; } mBackgroundBounds.left += mSidePaddings; mBackgroundBounds.right -= mSidePaddings; if (!mIsExpanded) { if (!mIsExpanded) { mBackgroundBounds.top = 0; mBackgroundBounds.top = 0; mBackgroundBounds.bottom = 0; mBackgroundBounds.bottom = 0; Loading