Initial changes to merged AllApps/Customize pane in the Phone UI.

Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
This commit is contained in:
Winson Chung committed 2011-04-22 12:53:59 -07:00
1 parent f579b5041a
commit 785d2eb2b8
53 files changed
+1308 -362

No files matched your search

@@ -154,14 +154,15 @@ public class PagedViewWidget extends LinearLayout implements Checkable {
// Set up fade in/out constants
final Resources r = context.getResources();
final int alpha = r.getInteger(R.integer.icon_allAppsCustomizeFadeAlpha);
final int alpha = r.getInteger(R.integer.config_dragAppsCustomizeIconFadeAlpha);
if (alpha > 0) {
mCheckedAlpha = r.getInteger(R.integer.icon_allAppsCustomizeFadeAlpha) / 256.0f;
mCheckedFadeInDuration = r.getInteger(R.integer.icon_allAppsCustomizeFadeInTime);
mCheckedFadeOutDuration = r.getInteger(R.integer.icon_allAppsCustomizeFadeOutTime);
mCheckedAlpha = r.getInteger(R.integer.config_dragAppsCustomizeIconFadeAlpha) / 256.0f;
mCheckedFadeInDuration =
r.getInteger(R.integer.config_dragAppsCustomizeIconFadeInDuration);
mCheckedFadeOutDuration =
r.getInteger(R.integer.config_dragAppsCustomizeIconFadeOutDuration);
}
setFocusable(true);
setWillNotDraw(false);
setClipToPadding(false);
}