a6d6aab0e0c2cb297cda9ad6a94bbe934ba515f6 |
19-Apr-2018 |
Adrian Roos <roosa@google.com> |
Defer resizing invisible stacks while drag resizing Works around a source of jank when drag resizing in split screen mode: instead of immediately resizing the (potentially numerous) invisible secondary stacks, we defer that until the user lets go of the handle. Change-Id: I3b9faa83005fa86185d4e51b2849e3a826b7f6a9 Fixes: 78214347 Test: Open a gazillion (resizeable) tasks. Enter split screen. Drag handle, verify there is no jank Test: atest RectTest
ectTest.java
|
32b64217a97db96deeb4872bc2626f64d1c43f1b |
07-Mar-2018 |
Sunny Goyal <sunnygoyal@google.com> |
Setting the alpha on the full bitmap for AdaptiveIcon instead of individual layers Test: atest FrameworksCoreTests:AdaptiveIconDrawableTest Bug: 72798522 Change-Id: I3862942bf6f2c4767c293f09ad14725b5f0fbb2b
rawable/AdaptiveIconDrawableTest.java
|
545faa4c4c1a74360ed27f81cdc6dce1c7a067e4 |
18-Jan-2018 |
Seigo Nonaka <nona@google.com> |
Treat missing font in fallback chain Bug: 72159040 Test: bit FrameworksCoreTests:android.graphics.TypefaceSystemFallbackTest Change-Id: I481a51811d228b87c9eb07b536a95cb699f1669c
ypefaceSystemFallbackTest.java
|
76dc52ac36cfbe86ccc62e72fd9094bff2c42df0 |
04-Jan-2018 |
Robin Lee <rgl@google.com> |
Fix small but crashy edge case in Icon.scaleDown Plus a regression test which throws an Exception for the old version. It shouldn't be an issue in the real world because there's absolutely no reason any app should be creating 1920*3px icons. Found while porting the code somewhere else. Test: runtest -x ./core/tests/coretests/src/android/graphics/drawable/IconTest.java Change-Id: I1283d982507221914ddad1313e16f63af13e245a
rawable/IconTest.java
|
bdbde55592792efe350acd6a46733f439f6a3f3d |
19-Dec-2017 |
Aurimas Liutikas <aurimas@google.com> |
Annotate an assortment of coretest with @LargeTest Non-annotated tests do not run, thus adding @LargeTest to an assortment of tests that were missing annotations. Found these classes with: fn "*Test.java" | xargs grep -L "@LargeTest" | xargs grep -L "@MediumTest" | \ xargs grep -L "@SmallTest" | sort Bug: 70846562 Test: make -j80 FrameworksCoreTests Change-Id: Ifd466251b92728f9bbfa3cbd8fd21d34490f4eb1
rawable/AdaptiveIconDrawableTest.java
|
4a40e0febf3de60c54c19797aecd3c698b770699 |
18-Aug-2017 |
Seigo Nonaka <nona@google.com> |
Make Typeface.create thread safe. Typeface.create has not been thread-safe. This CL makes it thread safe. At the same time, reorganize cache and lock in Typeface. Bug: 64606109 Test: bit FrameworksCoreTests:android.graphics.TypefaceTest Test: bit CtsGraphicsTestCases:android.graphics.cts.TypefaceTest Change-Id: Id18e9b8bfab508a26fc0c83af6b1ca97e132b732
ypefaceTest.java
|
99975a3e25e11f5c5958d8a901d37902087c75fd |
09-Aug-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Support multiple languages per font in fonts.xml Minikin already supports multiple languages specified per font in I7f13b51464c9b01982bb573251d77052b9ddbd70. This CL adds a couple of such cases into fonts.xml and clarifies in the method and the variable names and parameters that the frameworks is handling a multi-language string when it is. Fixes: 26687969 Test: make -j checkbuild Test: bit FrameworksCoreTests:android.graphics.TypefaceSystemFallbackTest Change-Id: Ifa540a95f87921983f9069330d1dd0892538a8df
ypefaceSystemFallbackTest.java
|
0d253e46aa0b4cb2ea56e220812aeab92de64ae1 |
30-Jun-2017 |
Seigo Nonaka <nona@google.com> |
Implement family fallback. Introduce new attribute "fallbackFor" to font element. By specifying name of the family to this attribute, that font is used when the developer specifies the font family. For example, if fonts.xml has the following family entry, <family lang="ja"> <font fallbackFor="serif">NotoSerifJP-Regular.ttf</font> <font>NotoSansJP-Regular.ttf</font> </family> the Japanese text is rendered by NotoSansJP-Regular.ttf by default. Then, if developer specifies fontFamily="serif" in TextView, the Japanese text is rendered by NotoSerifJP-Regular.ttf. Bug: 37328609 Bug: 31491668 Test: bit FrameworksCoreTests:android.graphics.TypefaceSystemFallbackTest Change-Id: I2744db7384c8056795e841c88b387545434131f4
ypefaceSystemFallbackTest.java
|
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
aintTest.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
aintTest.java
|
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
|