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

Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
This commit is contained in:
Winson Chung
2011-04-14 16:08:02 -07:00
parent f579b5041a
commit 785d2eb2b8
53 changed files with 1308 additions and 362 deletions

View File

@@ -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);
}