summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-03-07 02:43:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-07 02:43:46 +0000
commit308703c41f25c24c080865f325f736bc723ea5b2 (patch)
treed45642914f2efd8ee7a06776fb80da868db18e14 /src
parente5919c5574ff09b88173b44558c6d325841511d6 (diff)
parent388e8c5dbe724898ce12e7e999daa684faf0c4b8 (diff)
downloadandroid_packages_apps_Trebuchet-308703c41f25c24c080865f325f736bc723ea5b2.tar.gz
android_packages_apps_Trebuchet-308703c41f25c24c080865f325f736bc723ea5b2.tar.bz2
android_packages_apps_Trebuchet-308703c41f25c24c080865f325f736bc723ea5b2.zip
Merge "Prevent CellLayouts from making calls to saveLayerAlpha()" into jb-mr2-dev
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/CellLayout.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java
index 23d1d61c8..98fcdea07 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;