Permalink
Browse files

DO NOT MERGE

Fixing animation glitch

Bug #6015450

Change-Id: Iebbce7c07816b51b0fb98cd5b83ca2af2e5f76d4
  • Loading branch information...
1 parent fb314c7 commit 2a5bc113b49b79c49281d5f8d8c1421d663d2ee4 @mikejurka mikejurka committed Feb 15, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/com/android/launcher2/Workspace.java
@@ -1724,7 +1724,7 @@ public void onAnimationUpdate(float a, float b) {
invalidate();
for (int i = 0; i < getChildCount(); i++) {
final CellLayout cl = (CellLayout) getChildAt(i);
- cl.fastInvalidate();
+ cl.invalidate();
cl.setFastTranslationX(a * mOldTranslationXs[i] + b * mNewTranslationXs[i]);
cl.setFastTranslationY(a * mOldTranslationYs[i] + b * mNewTranslationYs[i]);
cl.setFastScaleX(a * mOldScaleXs[i] + b * mNewScaleXs[i]);
@@ -1734,6 +1734,7 @@ public void onAnimationUpdate(float a, float b) {
cl.setBackgroundAlphaMultiplier(a * mOldBackgroundAlphaMultipliers[i] +
b * mNewBackgroundAlphaMultipliers[i]);
cl.setFastAlpha(a * mOldAlphas[i] + b * mNewAlphas[i]);
+ cl.invalidate();
}
syncChildrenLayersEnabledOnVisiblePages();
}

0 comments on commit 2a5bc11

Please sign in to comment.