Layout and spacing changes for AllApps/Customization drawer

- Also fixing issue where preview images in the customization drawer were not being scaled down

Change-Id: I83d1abf019d591954204b87a437eac2ff916dd54
This commit is contained in:
Winson Chung committed 2010-11-01 16:10:49 -07:00
1 parent 30110328a2
commit 7da1025bd7
20 files changed
+106 -65

No files matched your search

+4 -2
View File
@@ -778,8 +778,7 @@ public class Workspace extends SmoothPagedView
// We shrink and disappear to nothing in the case of all apps
// (which is when we shrink to the bottom)
newY = screenHeight - newY - scaledPageHeight;
finalAlpha = 0.0f;
extraShrinkFactor = 0.1f;
finalAlpha = 0.25f;
} else if (shrinkPosition == ShrinkPosition.SHRINK_TO_MIDDLE) {
newY = screenHeight / 2 - scaledPageHeight / 2;
finalAlpha = 1.0f;
@@ -910,6 +909,9 @@ public class Workspace extends SmoothPagedView
// never dragged over
public void onDragStopped() {
updateWhichPagesAcceptDrops(mShrunkenState);
if (mShrunkenState == ShrinkPosition.SHRINK_TO_BOTTOM_VISIBLE) {
shrink(ShrinkPosition.SHRINK_TO_BOTTOM_HIDDEN, true);
}
}
// We call this when we trigger an unshrink by clicking on the CellLayout cl