From 388e8c5dbe724898ce12e7e999daa684faf0c4b8 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 6 Mar 2013 15:31:40 -0800 Subject: [PATCH] Prevent CellLayouts from making calls to saveLayerAlpha() Change-Id: I6fe1d9b39a765f4a960f7940c7afc94c784efa16 --- src/com/android/launcher2/CellLayout.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index 23d1d61c80..98fcdea074 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java @@ -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;