diff options
author | Romain Guy <romainguy@google.com> | 2013-03-06 15:31:40 -0800 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2013-08-12 16:56:18 +0200 |
commit | 1e9788c79f74effc3447d123762ffd5eb5775f79 (patch) | |
tree | 1b1989d4c3585f6a1bc150cbf0fd430ca36d9f85 /src/com/cyanogenmod/trebuchet | |
parent | 00d82d3d5dd713b286fa7f58d38086089a981c28 (diff) | |
download | android_packages_apps_Trebuchet-1e9788c79f74effc3447d123762ffd5eb5775f79.tar.gz android_packages_apps_Trebuchet-1e9788c79f74effc3447d123762ffd5eb5775f79.tar.bz2 android_packages_apps_Trebuchet-1e9788c79f74effc3447d123762ffd5eb5775f79.zip |
Prevent CellLayouts from making calls to saveLayerAlpha()
Change-Id: I6fe1d9b39a765f4a960f7940c7afc94c784efa16
Diffstat (limited to 'src/com/cyanogenmod/trebuchet')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/CellLayout.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/cyanogenmod/trebuchet/CellLayout.java b/src/com/cyanogenmod/trebuchet/CellLayout.java index 21f6725ab..eab7d1e02 100644 --- a/src/com/cyanogenmod/trebuchet/CellLayout.java +++ b/src/com/cyanogenmod/trebuchet/CellLayout.java @@ -182,10 +182,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; |