Fix sizing of FloatingIconView so that it matches the workspace.

* Added a cross fade at the end for text and shadows.
* Animate in FolderIcon bg/dot/text after swapping.

Bug: 129297366
Change-Id: Ieeb5d7b8fb389a2f7ee263d38b3021ffdefefd93
This commit is contained in:
Jon Miranda
2019-03-27 08:27:16 -07:00
parent 4397d8d5ea
commit 6f455b583f
4 changed files with 76 additions and 17 deletions

View File

@@ -189,6 +189,15 @@ public class FolderIcon extends FrameLayout implements FolderListener {
return icon;
}
public void animateBgShadowAndStroke() {
mBackground.fadeInBackgroundShadow();
mBackground.animateBackgroundStroke();
}
public BubbleTextView getFolderName() {
return mFolderName;
}
public void getPreviewBounds(Rect outBounds) {
mBackground.getBounds(outBounds);
}