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

Skip to content
Commit b5624dc6 authored by Mark Renouf's avatar Mark Renouf
Browse files

Simplify UI and animation choreography a bit

A number of changes to improve the robustness of the
startup/reset/dismiss process of the screenshot UI.

Brief summary:

Use visibility=invisible always for preview image
Wait for pre-draw to start animation
Apply initial config to "interesting changes" tracker
Rename: mOnCompleteAction -> mOnDismissedAction
Rease more resources earlier at shutdown
Remove some uneccessary main thread deferrals
resetScreenshotView -> finishDismiss
Resolve some cases where reset is called multiple times on exit
Update window token usage and apply to scroll capture at window attach
Simplified animation parameters, coordinate systems, etc.

Bug: 174509231
Bug: 174682382
Test: manual; take a screenshot, dismiss, share, edit, swipe away
Test: manual; open overview, tap screenshot

Change-Id: I3b84da3592970ac5c2a5eb34326eabaef003993f
parent 5b876f52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment