diff options
author | nebkat <nebkat@gmail.com> | 2011-12-23 16:59:29 +0000 |
---|---|---|
committer | nebkat <nebkat@gmail.com> | 2011-12-23 16:59:29 +0000 |
commit | 3f38c1603944630b9e19fe99c72a66f11c7d1c3e (patch) | |
tree | 6b8aee8619ffee187fca07673866744f4bbac4ee /src/com/cyanogenmod/trebuchet | |
parent | 0cb93389718bc756fe34646370ffc59d1e1a7496 (diff) | |
download | android_packages_apps_Trebuchet-3f38c1603944630b9e19fe99c72a66f11c7d1c3e.tar.gz android_packages_apps_Trebuchet-3f38c1603944630b9e19fe99c72a66f11c7d1c3e.tar.bz2 android_packages_apps_Trebuchet-3f38c1603944630b9e19fe99c72a66f11c7d1c3e.zip |
AppsCustomize: Fix Cling
Change-Id: Ia3070379be86df32523c0a4c8897e709fb9d2b9e
Diffstat (limited to 'src/com/cyanogenmod/trebuchet')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java b/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java index a1ba34946..c2ad80580 100644 --- a/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java +++ b/src/com/cyanogenmod/trebuchet/AppsCustomizePagedView.java @@ -465,14 +465,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen int page = getPageForComponent(mSaveInstanceStateItemIndex); invalidatePageData(Math.max(0, page), hostIsTransitioning); - - int[] offset = new int[2]; - int[] pos = mWidgetSpacingLayout.estimateCellPosition(mClingFocusedX, mClingFocusedY); - mLauncher.getDragLayer().getLocationInDragLayer(this, offset); - pos[0] += (getMeasuredWidth() - mWidgetSpacingLayout.getMeasuredWidth()) / 2 + offset[0]; - pos[1] += (getMeasuredHeight() - mWidgetSpacingLayout.getMeasuredHeight()) / 2 + offset[1]; - mLauncher.showFirstRunAllAppsCling(pos); - // Show All Apps cling if we are finished transitioning, otherwise, we will try again when // the transition completes in AppsCustomizeTabHost (otherwise the wrong offsets will be // returned while animating) |