Added AppInfoDropTargetBar to spring loaded workspace.

Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
This commit is contained in:
Tony Wickham
2015-09-11 09:27:58 -07:00
parent b54c4a3d86
commit 34d2c915c4
13 changed files with 195 additions and 41 deletions

View File

@@ -285,8 +285,13 @@ public class WorkspaceStateTransitionAnimation {
float finalHotseatAndPageIndicatorAlpha = (states.stateIsNormal || states.stateIsSpringLoaded) ?
1f : 0f;
float finalOverviewPanelAlpha = states.stateIsOverview ? 1f : 0f;
float finalWorkspaceTranslationY = states.stateIsOverview || states.stateIsOverviewHidden ?
mWorkspace.getOverviewModeTranslationY() : 0;
float finalWorkspaceTranslationY = 0;
if (states.stateIsOverview || states.stateIsOverviewHidden) {
finalWorkspaceTranslationY = mWorkspace.getOverviewModeTranslationY();
} else if (states.stateIsSpringLoaded) {
finalWorkspaceTranslationY = mWorkspace.getSpringLoadedTranslationY();
}
final int childCount = mWorkspace.getChildCount();
final int customPageCount = mWorkspace.numCustomPages();