Merge "fix render glitch for "digest" animation when items are added to a new screen" into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
e702ca0141
@@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user