diff options
author | Siyamed Sinir <siyamed@google.com> | 2018-02-05 15:47:13 -0800 |
---|---|---|
committer | Siyamed Sinir <siyamed@google.com> | 2018-02-05 16:42:23 -0800 |
commit | dbeee4e4aa74a953b10a5262065cb24d604d647a (patch) | |
tree | 026facacc3eea4cade2965c87b7cc0353029cf81 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 27a6db482ed648437862ba733daa20bd30068789 (diff) |
Update Typeface.createFromFile/Asset
This CL updates Typeface.createFromFile and Typeface.createFromAsset so
that they would use the Typeface.Builder. To keep the behavior similar
to previous behavior, the existence of the given font file is checked,
and an exception is thrown if the file does not exist.
Test: atest FrameworksCoreTests:TypefaceTest
Test: atest android.graphics.cts.TypefaceTest
Test: atest CtsGraphicsTestCases:PaintTest
Bug: 72834540
Change-Id: Ibe9907440130ca91369b16c6cbac503f4a34e301
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions