Refactor app open animation so that FloatingIconView tracks window.
Before, the window used to track the FloatingIconView. With this refactor, both app open and app close use the same update method. With the refactor, we can now use adaptive icons to morph the icon into the size of the window. Movement/interpolators are still the same as the original except for the alpha and the clip animation. To ensure a perfect tradeoff, we wait for the icon to match the size and shape of the window before crossfading. Currently it is set up so that the tradeoff happens when the animation is 15% done, but this can be tuned later. Bug: 122843905 Change-Id: I7d3edbefffb15fe26958a62ab33cf23dc1203908
Loading
Please register or sign in to comment