summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2022-08-16 08:17:08 +0000
committer Arthur Hung <arthurhung@google.com> 2022-09-29 01:21:37 +0000
commit8fcc92bb3421e2e27b052ad3d8b957a5ec311ba8 (patch)
tree0814d358ea30b71b330ab610c78b23399575e965 /libs/androidfw/ResourceTimer.cpp
parentbb25387f0f6fd3950c4e7683bda1c8f770402eed (diff)
Refactor back navigation animtion (1/2)
In previous design, it would create all necessary leashes when starting back navigation, and they would be carried by `BackNavigationInfo` and `BackEvent` and would finally deliver to the shell and animator side. In this CL, we will use the adapter that wraps a back animation runner to deliver all leashes in next surface placement after back navigation has started. In shell side, every animator should be registered by type, so the adapter could deliver leashes via IRemoteAnimationRunner to the target animator, and invoke callback when it finished. This also eliminated all unecessary fields from `BackNavigationInfo` and `BackEvent`. Bug: 241808055 Test: atest BackNavigationControllerTests BackAnimationControllerTest BackNavigationTest Change-Id: I8bbec0d8d9631110c3d2788d958b50ae487520a7
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions