diff options
author | Romain Guy <romainguy@google.com> | 2013-03-06 15:31:40 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-03-06 15:31:40 -0800 |
commit | 388e8c5dbe724898ce12e7e999daa684faf0c4b8 (patch) | |
tree | 4c9ce8b0662667ae02ad28f5476982eb2f85e5c2 /src/com/android/launcher2/CellLayout.java | |
parent | ce3cbd145b4222779abae32869da8dd3c2aefb67 (diff) | |
download | android_packages_apps_Trebuchet-388e8c5dbe724898ce12e7e999daa684faf0c4b8.tar.gz android_packages_apps_Trebuchet-388e8c5dbe724898ce12e7e999daa684faf0c4b8.tar.bz2 android_packages_apps_Trebuchet-388e8c5dbe724898ce12e7e999daa684faf0c4b8.zip |
Prevent CellLayouts from making calls to saveLayerAlpha()
Change-Id: I6fe1d9b39a765f4a960f7940c7afc94c784efa16
Diffstat (limited to 'src/com/android/launcher2/CellLayout.java')
-rw-r--r-- | src/com/android/launcher2/CellLayout.java | 4 |
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; |