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
onts/large_a.ttf
onts/large_a.ttx
onts/large_b.ttf
onts/large_b.ttx
onts/large_c.ttf
onts/large_c.ttx
onts/large_d.ttf
onts/large_d.ttx
|
60fbdd688327ffb0b0dc48fb0b296c1c87455a8d |
26-May-2017 |
Clara Bayarri <clarabayarri@google.com> |
Replace fonts of unknown origin There are fonts that we are not sure where they came from, replace with fonts we created ourselves. The res/font/ folder does not build with gradle when there is a ttx file in it, so fonts there have been copied from elsewhere in the tree and contain copyright and licensing inside the font. There is also a new readme in the root folder for the test projects using these to point this out. Also fix a small issue where support tests can't be run on an O device that ran coretests as the provider authorities colide. Renamed the support authority to fix this. Bug: 37726227 Test: ran all support-compat and support-appcompat-v7 tests Change-Id: I7948fcbd3dbe8b267fc1b51a24a128aae083d213
onts/samplefont.ttf
onts/samplefont.ttx
onts/samplefont1.ttf
|
c357691d3aae8bb2913941267188e12594d5ca80 |
24-Apr-2017 |
Clara Bayarri <clarabayarri@google.com> |
Fix Content Provider tests failing in ICS The used infrastructure is not supported on API 15 and below. Migrated these tests to use a regular Content Provider and unified naming and structure with equivalent framework tests. Test: ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.provider.FontsContractInternalTest ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.provider.FontsContractCompatTest Bug: 37431327 Change-Id: I6d3bcb63c51e464781f62c837fed27083d1e0047
onts/samplefont1.ttf
amplefont.ttf
|
491b729fa49127c75acb267b95cc5f0ec1b5f1e3 |
20-Mar-2017 |
Clara Bayarri <clarabayarri@google.com> |
Downloadable Fonts supportlib version This change brings Downloadable Fonts to supportlib, up to date with the framework implementation. It provides support for Java-based requests, XML is left for a further change. On O, we delegate to the framework On N+, we create from FileDescriptor via reflection On M-, we create from file given a path Test: Newly added test classes in this change ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.graphics.fonts.FontRequestTest ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.graphics.fonts.FontResultTest ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.graphics.TypefaceCompatTest ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.provider.FontsContractTest Bug: 35381428 Change-Id: I79a7553638a2cea0ffcbeebb7d8a599575d6b892
amplefont.ttf
|