mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Initial changes to merged AllApps/Customize pane in the Phone UI.
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user