History log of /frameworks/base/core/tests/coretests/src/android/graphics/PaintTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
554585e08da5e89762105b2adc0b4c76651d1d68 09-Jun-2017 Roozbeh Pournader <roozbeh@google.com> Merge "Get underline position and thickness from the font"
ca8a04a36640eb227a556ad9ced925c48ced2495 07-Jun-2017 Roozbeh Pournader <roozbeh@google.com> 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
/frameworks/base/core/tests/coretests/src/android/graphics/PaintTest.java
dc4ffc0a0b94c80a47ffb292099beb7001a3bb06 07-Jun-2017 Roozbeh Pournader <roozbeh@google.com> Expect hasGlyph support for text presentation sequences

In I9660ec43aeee84303cfb825352a7f5029d036dd6, the code was changed
for hasGlyph to always return true for text presentation sequences if
the font supported the base character, but the core tests were
missed.

Change-Id: I6112337df93b14d1fcba5febdef1fdd9c60105bf
Fixes: 62417257
Test: adb shell am instrument -w -e package android.graphics com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
/frameworks/base/core/tests/coretests/src/android/graphics/PaintTest.java
aad8ae3e3d2befab6f800f62b90cd669b029ab60 01-Mar-2017 sergeyv <sergeyv@google.com> Move graphicstests to coretests

Two reason for merge:
1. Currently graphicstests aren't runned as part of acpt
2. Separation was confusing: android.graphics package existed in both apks: frameworks & coretests.

Test: refactoring CL.
Change-Id: I0ade3ebbc2d06074ae81a2c390475f1f434dd873
/frameworks/base/core/tests/coretests/src/android/graphics/PaintTest.java
bb1a96647a82df5a134bf631fc9db342e7ef61de 21-Oct-2015 Seigo Nonaka <nona@google.com> Make Paint.hasGlyph variation selector aware.

With this CL, Paint.hasGlyph returns true if the typeface supports
the passed code point and variation selector pair.

Bug: 11256006

Change-Id: If29cd0c5942dc78bd862804106e29539bdeee569
/frameworks/base/core/tests/coretests/src/android/graphics/PaintTest.java
5532c34613753044b834a1e8cfb8c20d76405af7 01-Sep-2015 Seigo Nonaka <nona@google.com> Introduce getTextWidths test cases.

This CL includes HintedAdvanceWidthTest-Regular.{ttx|ttf} for fixing
test expectation, which has hinting information.

Bug: 11256006

Change-Id: Ia79a1d093e39cd47c914395e034cb90eda51c5c0
/frameworks/base/core/tests/coretests/src/android/graphics/PaintTest.java