0f07dd5b14e76695bbae758e948e00b86935232c |
|
28-Apr-2017 |
Seigo Nonaka <nona@google.com> |
Remove FontVariationAxis.InvalidFormatException. Use IllegalArgumentException instead. Bug: 37769084 Bug: 37765945 Test: am instrument -w -e class android.widget.cts.TextViewTest android.widget.cts/android.support.test.runner.AndroidJUnitRunner Test: am instrument -w -e class android.graphics.cts.TypefaceTest android.graphics.cts/android.support.test.runner.AndroidJUnitRunner Test: am instrument -w -e class android.graphics.cts.PaintTest android.graphics.cts/android.support.test.runner.AndroidJUnitRunner Test: am instrument -w -e class android.graphics.cts.FontVariationAxisTest android.graphics.cts/android.support.test.runner.AndroidJUnitRunner Test: am instrument -w -e class android.text.VariationParserTest com.android.frameworks.coretests/\ android.support.test.runner.AndroidJUnitRunner Change-Id: I50b70e3e7e37585c937dcce2416a83353de62a5d
/frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
|
080b054bddee55428943b821c99887543d1fd290 |
|
26-Apr-2017 |
Seigo Nonaka <nona@google.com> |
Font API clean up - Move FontRequest from android.graphics.fonts to android.provider since this is only used by android.provider.FontsContract and never draw anything. - FontRequest is no longer being Parcelable. - Remove FontSpec.aidl which is not necessary. Bug: 37326126 Test: am instrument -w -e class android.provider.FontsContractTest com.android.frameworks.coretests/\ android.support.test.runner.AndroidJUnitRunner Test: am instrument -w -e class android.provider.cts.FontProviderTest android.provider.cts/android.support.test.runner.AndroidJUnitRunner Test: am instrument -w -e class android.provider.cts.FontRequestTest android.provider.cts/android.support.test.runner.AndroidJUnitRunner Change-Id: I0eb501844247c2f07eaa1fc7a71f72e404888b5b
/frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
|
69754bf66dae9d047d5a0ff2c71820aa35b9cc70 |
|
05-Apr-2017 |
Seigo Nonaka <nona@google.com> |
Introduce FontsContract.fetchFonts and expose URI for watching. FontsContract.fetchFonts provides a low level font access with fonts provider. This CL also includes: - Introduce new class FontFamilyResult/Font as the inner static class of FontsContract which are used to for result value of fetchFont.. - Introduce a functionality to FontsContract to be able to create Typeface from an array of FontResult. - Expose URI of each file entries to be able to register ContentObserver Bug: 36494487 Bug: 36085028 Test: android.provider.FontsContract passes Test: android.graphics.cts.TypefaceTest passes Test: android.graphics.fonts.cts.FontResultTest passes Change-Id: Id6f85039d0e86be063ef099d7ec6bfd97e4424c5
/frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
|
fe04aa840e0682e9813e1ac4958772f898eb02ca |
|
02-Apr-2017 |
Seigo Nonaka <nona@google.com> |
Pass weight/italic pair instead of style. Typeface.NORMAL/BOLD/ITALIC/ITALIC_BOLD is used for specifying relative from current Typeface. For example Typeface face = Typeface.create("serif"); Typeface thickerFace = Typeface.create(face, Typeface.BOLD); Typeface moreThickerFace = Typeface.create(tickerFace, Typface.BOLD); For the purpose of providing font information, we should use weight/italic value instead of style in Typeface. The Columns.STYLE field was kept for preventing runtime crash of demo apps. Test: Manually Change-Id: I732e8ee04a66f61321fc0a98dbfb8fdc0a4dd7a4
/frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
|
fb483cc90c27a9c0fcafa28343a8fd644f8384a4 |
|
21-Feb-2017 |
Clara Bayarri <clarabayarri@google.com> |
XML Support for non system font providers The certs needed to identify non preinstalled providers can now be declared in XML, using a resources array. Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java runtest --path frameworks/base/core/tests/coretests/src/android/content/res/FontResourcesParserTest.java Bug: 35025705 Change-Id: Ibf12ad409aa5a873ddb32b1383c147728e664c23
/frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
|
bacf2352ab892724551431551ae973ae3b68db35 |
|
10-Feb-2017 |
Clara Bayarri <clarabayarri@google.com> |
Allow Font providers to return status codes This was requested by the current users, need to state that a font is unavailable (needs downloading) or that the query is unsupported. Also add tests :) Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java Also CTS attached to topic Bug: 35097775 Change-Id: Ib15bf4c70185d81a4c20426722eb44c4210771c2
/frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
|
3c4be77db95ea716889568bde853be082e764da9 |
|
07-Feb-2017 |
Clara Bayarri <clarabayarri@google.com> |
Support non-system Font Providers To do this, the developer must specify the set of certificate hashes that represent the authority's app. This allows us to verify that the authority we find is indeed the one intended by the developer. Bug: 35025705 Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java runtest --path frameworks/base/core/tests/coretests/src/android/content/res/FontResourcesParserTest.java CTS attached to topic Change-Id: I605f9a93bbca8705936ead08efb4a5b4fdcc4882
/frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
|