Merge "fix render glitch for "digest" animation when items are added to a new screen" into honeycomb

This commit is contained in:
Michael Jurka
2011-01-25 18:38:55 -08:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions
@@ -305,6 +305,9 @@ public class CellLayout extends ViewGroup {
if (scaleFactor != mGlowBackgroundScale) { if (scaleFactor != mGlowBackgroundScale) {
mGlowBackgroundScale = scaleFactor; mGlowBackgroundScale = scaleFactor;
updateGlowRect(); updateGlowRect();
if (getParent() != null) {
((View) getParent()).invalidate();
}
} }
} }
-3
View File
@@ -125,7 +125,6 @@ public class Workspace extends SmoothPagedView
private int mDefaultPage; private int mDefaultPage;
private boolean mPageMoving = false;
private boolean mIsDragInProcess = false; private boolean mIsDragInProcess = false;
/** /**
@@ -549,7 +548,6 @@ public class Workspace extends SmoothPagedView
enableChildrenCache(mCurrentPage - 1, mCurrentPage + 1); enableChildrenCache(mCurrentPage - 1, mCurrentPage + 1);
} }
showOutlines(); showOutlines();
mPageMoving = true;
} }
protected void onPageEndMoving() { protected void onPageEndMoving() {
@@ -560,7 +558,6 @@ public class Workspace extends SmoothPagedView
} }
mOverScrollMaxBackgroundAlpha = 0.0f; mOverScrollMaxBackgroundAlpha = 0.0f;
mOverScrollPageIndex = -1; mOverScrollPageIndex = -1;
mPageMoving = false;
} }
@Override @Override