commit | 93535dc047240ddea582b9cadd8915b9e25aec44 | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Fri Nov 11 13:54:41 2022 -0500 |
committer | Fabian Kozynski <kozynski@google.com> | Fri Nov 11 16:22:13 2022 -0500 |
tree | dab7e50fd139f63121c35fa4f8d582eafab6049b | |
parent | b4c05895304a0b340df46ac14bb92db82adafa02 [diff] |
Prevent views from changing size in animation This reduces the jank in animation by reducing the measure calls, as the animating views do not change size. This means only using `wrap_content` or fixed non-zero sizes. Test: jank suite Test: atest CombinedShadeHeaderConstraintsTest Test: manual with different cutouts Test: perfetto trace Fixes: 258083936 Change-Id: Ia53411dd02f3fb0019d67a8ee3bc5111d13066f9