mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
bba6451b5f75ebd484affc7b7e5a4cb5e865e951
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
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%