diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2017-06-06 18:30:29 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2017-06-08 14:13:57 -0700 |
commit | ca8a04a36640eb227a556ad9ced925c48ced2495 (patch) | |
tree | 50187f2094741703429e43c4c7ca1ab8aa7ecff9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | eed27590babac4b697c7341d43bfb43e9257a7ee (diff) |
Get underline position and thickness from the font
Previously, font underline position and thickness were fixed in Android.
Although a custom font may have specified a different value, such a value
would never be used. Now we use the values from the font if they are
provided and fall back to the old default values only if needed.
Bug: 62353930
Test: adb shell am instrument -w -e package android.graphics com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -w -e package android.text com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Test: cts-tradefed run cts-dev --module CtsTextTestCases
Test: Manual
Change-Id: I6bf21000dd69a2780c894b231638bc0c122e41f4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions