commit | ecfb379e5ed9d21a427c79a0cb1d093233e64b37 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Thu Feb 03 12:47:28 2022 -0800 |
committer | Lucas Dupin <dupin@google.com> | Fri Feb 04 09:49:43 2022 -0800 |
tree | 305aee32a5e3ab621fd7e655ec6f01a3a1b74b1e | |
parent | ee754300bfdfbb93b4829fe4861d67a6b6fd2142 [diff] |
Do not relayout when changing to Marquee The text field size won't really change, so there's not reason to remeasure and relayout. This saves us up to 48 measure steps when unlocking the device. Test: https://ui.perfetto.dev/#!/?s=519ae4c7f943f3ebad09eae63e445112c1d4286dd8376e18e69d713f1a9c2 Bug: 210432290 Change-Id: Ie3b7e0f7e942aac23605e2588cf6b942d507588f