commit | 66c35a4ecdc12be8ba01319920236450a7f410eb | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Sat Nov 04 12:27:17 2023 +0900 |
committer | Seigo Nonaka <nona@google.com> | Mon Nov 13 11:33:20 2023 +0900 |
tree | c46c40ee1e8140c46f68320c8103ba364eae2bf6 | |
parent | d27148d9ed3d653b6e8d95a769de0150be1104e9 [diff] |
Cache the flag value Accessing flags in native is costly and should not be done during layout calculation. Bug: 308950033 Test: atest StaticLayoutGetOffsetForHorizontalPerfTest Change-Id: I72ec6b3a531eff593311f2142d40351affcc638b