Move the PreviewItem drawing/animation logic to PreviewItemManager.

We want this refactor in O-DR since we will be adding more animations:
- closing from a non-first page (ag/2455887 b/36022592)
- new on-drop animations *if we end up removing the permutation logic.

Bug: 36022592
Change-Id: I82b8f5f5033d4fd9bd50fbe414b0fb721891d043
This commit is contained in:
Jon Miranda
2017-07-06 09:55:50 -07:00
parent e393c809e6
commit 6c5d10261e
5 changed files with 262 additions and 197 deletions
+1 -1
View File
@@ -2370,7 +2370,7 @@ public class Workspace extends PagedView
fi.performCreateAnimation(destInfo, v, sourceInfo, dragView, folderLocation, scale,
postAnimationRunnable);
} else {
fi.prepareCreate(v);
fi.prepareCreateAnimation(v);
fi.addItem(destInfo);
fi.addItem(sourceInfo);
}