• Home
  • History
  • Annotate
  • only in /frameworks/base/core/tests/coretests/src/android/graphics/
History log of /frameworks/base/core/tests/coretests/src/android/graphics/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10682305f0c14cdda8bca3d516fe4bde9e477bad 28-Apr-2017 Chris Craik <ccraik@google.com> Move ColorSpace#Renderer tests to APCT

Bug: 37779858
Test: adb install -r ${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreTests/FrameworksCoreTests.apk && adb shell am instrument -w -e class android.graphics.ColorSpaceRendererTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I2888cdc8f4912721fdfcbbe5861f260781d165aa
olorSpaceRendererTest.java
92e3da2354484d1dce64413c97d4605addb7f64a 07-Apr-2017 Hyunyoung Song <hyunyoungs@google.com> Update API, add more documentation on AdaptiveIconDrawable

and fix multiple miscellaneous bugs.

Bug: 37079814
Bug: 37100106
Bug: 34829216

Test: $ runtest --path=frameworks/base/core/tests/coretests/src/android/graphics/drawable/IconTest.java
Test: $ runtest --path=frameworks/base/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java
Test: $ runtest --path=frameworks/base/core/tests/coretests/src/android/grpahics/drawable/AdaptiveIconDrawableTest.java

Change-Id: I0f5b2232853031bf3860ebea2736e894d17e4d2e
rawable/AdaptiveIconDrawableTest.java
rawable/IconTest.java
ff55115121a7a2753ba2265cb3201a3a14c0874d 29-Mar-2017 Seigo Nonaka <nona@google.com> Reorganize font enumeration API.

This CL cleans up APIs around font variation settings.
- Remove FontConfig and FontManager public API.
- Remove FontManagerService from system service.
- Extract inner class FontConfig.Axis as top-level class FontVariationAxis.
This is used by Typeface.Builder public API to create new Typeface.
- Introduce and expose FontVariationAxis utility functions from/to string.
- Throws if the invalid font variation settings is passed.

Test: android.text.cts.FontVariationAxisTest passes
Test: android.graphics.cts.TypefaceTest passes
Test: android.graphics.cts.PaintTest passes
Change-Id: I9ccafe7a53935960566243e2856e166878ca59ae
ariationParserTest.java
20e5d91739fb88a02afb4888bf9f938308bc9b7b 18-Jan-2017 Seigo Nonaka <nona@google.com> Expose Typeface creation APIs with ttc and font variation.

Introduce Builder class for creating Typeface from various
sources with optional TTC index and font variation settings.

Bug: 33062398
Test: Manually verified new Builder create Typeface.
Change-Id: Ia23ee6a73516707d854c7387fe75fbb22f80673d
ariationParserTest.java
0bbf4f59743ffce4c1bbe39b69916c972bacdbd2 03-Mar-2017 Hyunyoung Song <hyunyoungs@google.com> AdaptiveIconDrawable should handle all usage cases of setBounds
Test: runtest --path=frameworks/base/core/tests/coretests/src/android/graphics/drawable/AdaptiveIconDrawableTest.java

b/35950873
b/35673169
b/34902453

adb shell am instrument -e class 'android.graphics.drawable.AdaptiveIconDrawableTest' -w 'com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner'
android.graphics.drawable.AdaptiveIconDrawableTest:..

Time: 1.241

OK (2 tests)


Change-Id: I6498f6acc782a30188fc2afc50781cef83e4747b
rawable/AdaptiveIconDrawableTest.java
e4179e2c4e674b32390a9133bb9fbb3ef5df651b 01-Mar-2017 Hyunyoung Song <hyunyoungs@google.com> Change MaskableBitmap to AdaptiveBitmap
Test: $ make dist -j30
b/35399620

Change-Id: I96d6eaceaf7ce9dec7de21634a5fa2bd40b0deba
rawable/IconTest.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
itmapFactoryTest.java
itmapTest.java
olorStateListTest.java
raphicsPerformanceTests.java
raphicsTests.java
aintTest.java
athTest.java
hreadBitmapTest.java
ariationParserTest.java
rawable/IconTest.java
rawable/StateListDrawableTest.java
ede3a17f6079b7da62240bbcaf613591ba2fc055 28-Jul-2016 Roozbeh Pournader <roozbeh@google.com> Add test for ascent and descent of serif and mono fonts

fontchain_lint now has tests making sure that their ascent and
descent matches that of Roboto.

Also, this moves a test class that contains a similar test and and
other related tests from graphictests to coretests.

Bug: 19791102
Change-Id: I8b473dd2a5f97ae2e3d322a2cabc16f3d32489f6
ypefaceTest.java
ecbcdd384c07402204064243981a432f5b0aad36 22-Mar-2016 sergeyv <sergeyv@google.com> Add offset() to Path's fast-case mode

bug:22510833
Change-Id: I417ed13ff450aa7f6c72370b4c5de8e8a53a0235
athOffsetTest.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
aintTest.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
aintTest.java