2c4cbf16a9705a4fcb22a8de5cd8795745b01aa4 |
|
23-May-2017 |
Seigo Nonaka <nona@google.com> |
Implement API 24 Typeface implementation. This CL includes API 24 implementation with reducing the platform dependent interfaces. This CL includes: - Drop createFromResourcesFontFile from Impl interface since we need to use the same implementation on the all API levels. - Extract I/O related functions to TypecfaceCompatUtil. - Introduce test cases for TypefaceCompat. Test: ./gradlew support-appcompat-v7:connectedDebugAndroidTest on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26 Test: ./gradlew support-compat:connectedDebugAndroidTest on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26 Change-Id: If06989ea92e17a6ab750807986109a556139dbeb
/frameworks/support/compat/java/android/support/v4/graphics/TypefaceCompatUtil.java
|