diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-16 15:22:05 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-16 15:22:05 +0000 |
commit | 15d15cc5187651f7cefc936670ae5078ad32ac49 (patch) | |
tree | 7c7bd0ee4cc634aae0d92c07cc6fd1f55a1faf96 /src | |
parent | 5194c1d76789952f836d315b4dc27aba9d325844 (diff) | |
download | packages_apps_trebuchet-15d15cc5187651f7cefc936670ae5078ad32ac49.zip packages_apps_trebuchet-15d15cc5187651f7cefc936670ae5078ad32ac49.tar.gz packages_apps_trebuchet-15d15cc5187651f7cefc936670ae5078ad32ac49.tar.bz2 |
Workspace: Fix wallpaper offset on recents list
Change-Id: I2c81bd5f3395c2da1a74d190ba2a3f6ee1da5de6
Diffstat (limited to 'src')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/Workspace.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Workspace.java b/src/com/cyanogenmod/trebuchet/Workspace.java index c9f1412..8b2d975 100644 --- a/src/com/cyanogenmod/trebuchet/Workspace.java +++ b/src/com/cyanogenmod/trebuchet/Workspace.java @@ -892,7 +892,6 @@ public class Workspace extends SmoothPagedView } } - // Only show page outlines as we pan if we are on large screen if (mShowOutlines) { showOutlines(); } @@ -908,6 +907,10 @@ public class Workspace extends SmoothPagedView // Show the scroll indicator as you pan the page showScrollingIndicator(false); + + if (mScrollWallpaper && mWallpaperHack && mWallpaperBitmap != null) { + mLauncher.setWallpaperVisibility(false); + } } protected void onPageEndMoving() { @@ -956,7 +959,6 @@ public class Workspace extends SmoothPagedView mLauncher.setWallpaperVisibility(true); mWallpaperManager.setWallpaperOffsetSteps(1.0f / (getChildCount() - 1), 1.0f); mWallpaperManager.setWallpaperOffsets(mWindowToken, mWallpaperScroll, 0); - mLauncher.setWallpaperVisibility(false); } } |