diff options
author | Yegor Malyshev <emalyshev@google.com> | 2020-09-10 16:42:20 +0200 |
---|---|---|
committer | Yegor Malyshev <emalyshev@google.com> | 2020-10-19 14:33:17 +0200 |
commit | eafcb9978615149b116ce695374d849cff011c1e (patch) | |
tree | 4e398dfc5ed374812df4dff438f1684d7a9ceba5 /cmds/idmap2/libidmap2/ResourceMapping.cpp | |
parent | ec3a0131b943415d87c7ec99ff8591fc35838383 (diff) |
Support animation parts fading out
This support helps with several things:
- simpler animation structure (size, number of items)
- more room for designers avoiding thinking about exit part
- time saving as complete parts now can be safely used as fading parts
Bug: 167352662
Test: Manual testing of major/edge cases
- backward compatibility => "f 0" is mapped to "p", "p" still works
- only trimmed areas are faded out
- clock is not faded out (wear case)
- adb shell su root bootanimation
- [c, (exit) f 120, c] => "f 120" fades out and "c" completes
- [c, (exit) f 120, f 320] => "f 120" fades out and "f 320" skipped
- [c, f 16, (exit) f 120] => "f 16" played, "f 120" fades out
- [c, (exit) f 0, f 120] => "f 0" skipped, "f 120" fades out
Change-Id: I9b200ee7107ef9b3dc8d711658ed1042b83739c2
Merged-In: I9b200ee7107ef9b3dc8d711658ed1042b83739c2
Diffstat (limited to 'cmds/idmap2/libidmap2/ResourceMapping.cpp')
0 files changed, 0 insertions, 0 deletions