More spacing changes for AllApps.

- Also testing a simple scale of existing icons in lieu of high res icons.

Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
This commit is contained in:
Winson Chung
2010-10-20 17:49:27 -07:00
parent bae3d061cc
commit df4b83dd9d
14 changed files with 68 additions and 27 deletions
+4 -1
View File
@@ -715,7 +715,10 @@ public class Workspace extends SmoothPagedView
final int screenCount = getChildCount();
float totalWidth = screenCount * scaledPageWidth + (screenCount - 1) * extraScaledSpacing;
float newY = getResources().getDimension(R.dimen.smallScreenVerticalMargin);
boolean isPortrait = getMeasuredHeight() > getMeasuredWidth();
float newY = (isPortrait ?
getResources().getDimension(R.dimen.smallScreenVerticalMarginPortrait) :
getResources().getDimension(R.dimen.smallScreenVerticalMarginLandscape));
float finalAlpha = 1.0f;
float extraShrinkFactor = 1.0f;
if (shrinkPosition == ShrinkPosition.SHRINK_TO_BOTTOM_VISIBLE) {