Merge "Small optimizations for the All Apps transition"
This commit is contained in:
commit
58e8b25c59
3 files changed
+15
-10
No files matched your search
@@ -1726,6 +1726,9 @@ public class Workspace extends SmoothPagedView
|
||||
cl.setBackgroundAlphaMultiplier(a * mOldBackgroundAlphaMultipliers[i] +
|
||||
b * mNewBackgroundAlphaMultipliers[i]);
|
||||
cl.setFastAlpha(a * mOldAlphas[i] + b * mNewAlphas[i]);
|
||||
if (mOldAlphas[i] != mNewAlphas[i]) {
|
||||
cl.setAlpha(a * mOldAlphas[i] + b * mNewAlphas[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
syncChildrenLayersEnabledOnVisiblePages();
|
||||
@@ -3520,7 +3523,7 @@ public class Workspace extends SmoothPagedView
|
||||
final ViewGroup parent = (ViewGroup) getParent();
|
||||
final ImageView qsbDivider = (ImageView) (parent.findViewById(R.id.qsb_divider));
|
||||
final ImageView dockDivider = (ImageView) (parent.findViewById(R.id.dock_divider));
|
||||
final ImageView scrollIndicator = getScrollingIndicator();
|
||||
final View scrollIndicator = getScrollingIndicator();
|
||||
|
||||
cancelScrollingIndicatorAnimations();
|
||||
if (qsbDivider != null) qsbDivider.setAlpha(reducedFade);
|
||||
|
||||
Reference in new issue
Block a user