Merge "Prevent CellLayouts from making calls to saveLayerAlpha()" into jb-mr2-dev

This commit is contained in:
Romain Guy
2013-03-07 02:43:45 +00:00
committed by Android (Google) Code Review
@@ -181,10 +181,6 @@ public class CellLayout extends ViewGroup {
// A ViewGroup usually does not draw, but CellLayout needs to draw a rectangle to show
// the user where a dragged item will land when dropped.
setWillNotDraw(false);
// CellLayout guarantees its children are not laid out outside of its bounds,
// child clipping is thus unnecessary and disabling it offers better performance
// when we rotate the whole layout
setClipChildren(false);
setClipToPadding(false);
mLauncher = (Launcher) context;