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

* commit 'e702ca01411d561425d89e90c1601e3bc73eac85':
  fix render glitch for "digest" animation when items are added to a new screen
This commit is contained in:
Michael Jurka
2011-01-25 18:41:18 -08:00
committed by Android Git Automerger
2 changed files with 3 additions and 3 deletions
@@ -305,6 +305,9 @@ public class CellLayout extends ViewGroup {
if (scaleFactor != mGlowBackgroundScale) {
mGlowBackgroundScale = scaleFactor;
updateGlowRect();
if (getParent() != null) {
((View) getParent()).invalidate();
}
}
}
-3
View File
@@ -125,7 +125,6 @@ public class Workspace extends SmoothPagedView
private int mDefaultPage;
private boolean mPageMoving = false;
private boolean mIsDragInProcess = false;
/**
@@ -549,7 +548,6 @@ public class Workspace extends SmoothPagedView
enableChildrenCache(mCurrentPage - 1, mCurrentPage + 1);
}
showOutlines();
mPageMoving = true;
}
protected void onPageEndMoving() {
@@ -560,7 +558,6 @@ public class Workspace extends SmoothPagedView
}
mOverScrollMaxBackgroundAlpha = 0.0f;
mOverScrollPageIndex = -1;
mPageMoving = false;
}
@Override