0b4a6a291d2589c64f1ef0682aa403bc409090b7 |
|
06-Apr-2018 |
Seigo Nonaka <nona@google.com> |
Introduce PrecomputedTextCompat On API 28, PrecomputedTextCompat is just a proxy of framework PrecomputedText. From API 21 to API 27, PrecomputedTextCompat computes text layout immediately and warms up the internal cache. Before API 20 or before, there is no way of doing precomputing text layout. Bug: 77808105 Test: ./gradlew core:connectedDebugAndroidTest on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, P, Q Change-Id: Idfa5040a0df9d324c16281b3ce5e43e724b57c1c
/frameworks/support/compat/src/androidTest/java/androidx/core/text/PrecomputedTextCompatTest.java
|