Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b87c416 authored by Ivan Tkachenko's avatar Ivan Tkachenko
Browse files

Physics based animations for drag to desktop transition

Updates:
- Added physics based spring animations on end drag to desktop transition.
  - Dragged view position and size are animated with springs with
    different stiffness and dumping.
  - The initial velocity is calculated based on the user input.
- Added veil fade out animation when user commits to drag to desktop.
- Exisiting desktop views are presented with fade-in animation that
  starts at 50% progresss of the end drag to desktop transition.

Screen recording:
https://drive.google.com/file/d/15RBEAZVZagjDXbtbCZLMChAkIi15Mw_h/view

Bug: 331163734
Test: manual
Flag: com.android.window.flags.enable_desktop_windowing_transitions
Change-Id: I7a67fff2216f51caebc2e701e898aa9867d4d418
parent f2873f4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment