Adrian Roos
db5b0c2321
WindowInsetsAnimation: Clean up API
...
Fixes issues the app developers have raised with
the WindowInsetsAnimation API:
- it really makes more sense to have the Animation
as the outer class, and the Callback nested within
- it was not obvious previously that multiple animations
could be running at the same time. A new argument to
onProgress now makes this abundantly clear by passing
in the list of running animations.
- The dispatch mode really fits better as a final
property on the callback, rather than it being
queried once from a getter.
Also fixes lint warnings.
Fixes: 143556682
Test: make checkapi; atest WindowInsetsControllerTests
Change-Id: I8cd8faac70dd5a15d779d2c983f0a0ea5d6bbd8e
2020-02-17 14:30:25 +01:00
..
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-12-13 14:51:41 -08:00
2019-03-09 08:25:50 -08:00
2019-03-12 09:37:32 -07:00
2019-03-07 16:14:00 -08:00
2020-02-13 09:43:15 -08:00
2020-02-13 15:39:27 +08:00
2019-03-14 14:30:58 -07:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-11-22 14:59:14 +00:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-04-03 14:28:41 -07:00
2019-03-07 16:14:00 -08:00
2020-02-05 16:30:44 -08:00
2020-02-12 00:54:01 +00:00
2019-03-07 16:14:00 -08:00
2019-03-09 08:25:50 -08:00
2019-03-07 16:14:00 -08:00
2019-07-18 04:00:56 +00:00
2019-11-18 16:39:55 -08:00
2019-10-14 20:19:25 -04:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-11-13 11:33:14 +00:00
2019-06-26 13:30:35 -07:00
2019-03-07 16:14:00 -08:00
2020-01-28 21:14:25 +00:00
2019-06-05 20:43:44 -07:00
2020-01-31 01:15:21 +00:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2020-01-31 01:15:21 +00:00
2020-01-22 10:51:04 -08:00
2019-03-14 14:30:58 -07:00
2019-11-22 20:20:12 +00:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2020-01-17 09:16:03 +00:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-12-16 19:07:21 +00:00
2020-02-12 18:51:53 +00:00
2020-01-31 01:15:21 +00:00
2020-02-13 00:33:44 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2020-01-15 19:20:57 +00:00
2020-01-06 16:16:27 +00:00
2020-02-10 18:25:06 +00:00
2019-09-23 22:00:50 +00:00
2019-07-12 17:10:39 -07:00
2019-03-07 16:14:00 -08:00
2019-06-05 23:30:57 +00:00
2020-02-14 10:10:45 -08:00
2019-03-07 16:14:00 -08:00
2019-03-14 14:30:58 -07:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2020-01-22 16:40:13 -08:00
2019-03-07 16:14:00 -08:00
2019-11-14 14:05:38 -05:00
2020-01-31 01:15:21 +00:00
2020-01-22 12:54:06 -08:00
2019-03-12 09:37:32 -07:00
2019-03-07 16:14:00 -08:00
2020-02-12 14:08:11 -08:00
2020-01-09 13:52:18 +00:00
2020-01-22 18:53:47 +00:00
2019-11-01 15:42:23 -07:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-06-27 17:25:47 -07:00
2019-03-12 09:37:32 -07:00
2019-10-17 18:11:37 -07:00
2019-03-12 11:46:10 -07:00
2019-03-14 14:30:58 -07:00
2019-12-13 15:49:09 +00:00
2019-12-13 15:49:09 +00:00
2019-03-07 16:14:00 -08:00
2020-02-14 13:54:34 +00:00
2019-03-07 16:14:00 -08:00
2020-01-22 16:40:13 -08:00
2019-03-07 16:14:00 -08:00
2019-03-07 16:14:00 -08:00
2019-03-14 14:30:58 -07:00
2020-02-17 14:30:25 +01:00