mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Added AppInfoDropTargetBar to spring loaded workspace.
Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user