diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-16 20:12:20 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-16 20:12:20 +0000 |
commit | 2014701c733cbae6b068f23c2646f9d07afb67de (patch) | |
tree | ae3c8353ceb8efe8c240193db73748bea7e833c6 /src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java | |
parent | d1d8496eeb5d05ffe83dc109374a4167d0f6b350 (diff) | |
download | android_packages_apps_Trebuchet-2014701c733cbae6b068f23c2646f9d07afb67de.tar.gz android_packages_apps_Trebuchet-2014701c733cbae6b068f23c2646f9d07afb67de.tar.bz2 android_packages_apps_Trebuchet-2014701c733cbae6b068f23c2646f9d07afb67de.zip |
AppsCustomizePagedView: Flip transition effect camera distance
Change-Id: I7163366ebe0b797270b8a54369aa9f6ffda1453d
Diffstat (limited to 'src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java b/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java index 791490dfc..756662742 100644 --- a/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java +++ b/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java @@ -2012,6 +2012,7 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen } else { v.setTranslationY(v.getMeasuredHeight() * scrollProgress); v.setRotationX(-rotation); + v.setCameraDistance(mDensity * CAMERA_DISTANCE); } if (v.getVisibility() != VISIBLE) { v.setVisibility(VISIBLE); |