- May 28, 2024
-
-
George Mount authored
Fixes: 342666766 Adds support for Animated Vector Drawables that operate on the Render Thread to VRR. The votes from their respective Views are considered on each vote. Test: new tests, manual testing Change-Id: I1e761d62e5bc4a706cc7fb2904f26aaa68e87584
-
- May 20, 2024
-
-
Seigo Nonaka authored
Flag: com.android.text.flags.missing_getter_apis Bug: 340875345 Test: m checkapi Change-Id: Ifc51bbfc0ab36d76321efaa5beb74992b0a7c246
-
Seigo Nonaka authored
Bug: 340875345 Test: m checkapi Change-Id: I8e2c44a977cd3b9c46a47ee0e7ef5950adb95136
-
- May 16, 2024
-
-
Makoto Onuki authored
Bug: 337110712 Test: comment change only Change-Id: I585d59c2506f4536d8f84de63242b753d56f3ef0
-
- May 15, 2024
-
-
Brad Nelson authored
Change-Id: I956280d49da8d35a4c42b7d96360258aefe3576e
-
Brad Nelson authored
Change-Id: If2e8a57483a49bcdf71bcd08f3fb38d51f59cdcd
-
Brad Nelson authored
Change-Id: I3a1291c51a94a3caeefe57d7cb47d1d84d3e866c
-
- May 14, 2024
-
-
Makoto Onuki authored
- Moved Color's JNI methods out of Shader.cpp, so Ravenwood can enable it without enabling other shader native methods. - Also, leaned up the Matrix native methods while I'm here. Bug: 337110712 Test: atest CtsGraphicsTestCases Test: atest CtsGraphicsTestCasesRavenwood Test: Boot the device Change-Id: I0e99fb56ef581b4f59944994d07fd5253208dc31
-
- May 13, 2024
-
-
Liana Kazanova authored
This reverts commit 97396260. Reason for revert: DroidMonitor. Potential culprit for b/340310512 - verifying through ABTD before submission. Change-Id: Ic45f5f844e00202d0122a7c22cc336868c6dd34d
- May 09, 2024
-
-
John Reck authored
Two tweaks: 1) Allow software bitmaps up to 150MB, which can fit 8k (~130MB) bitmaps 2) Always allow hardware bitmaps - we've already paid the cost and already know it'll work Fixes: 337114346 Test: make Change-Id: Ia295dffb842b3f365cdf25f9a62ad1cd2920d542
-
- May 03, 2024
-
-
Jerome Gaillard authored
Having native methods called in the static initalization of the class that defines them is problematic for the native registration on host JVM. This moves the registries into their own inner classes to avoid this issue. Bug: 337329128 Test: N/A Change-Id: Id767661d4da38f53c112bb1376798141b38d2c6c
-
Oriol Prieto Gasco authored
Set the container field of aconfig flags Test: printflags --format='{package}:{container}:' | grep "::" Bug: 312769710 Flag: NONE Change-Id: I84fda0d5e9813940609436d825738ff786908ff0
-
- May 02, 2024
-
-
Makoto Onuki authored
Enable Matrix, Path and Interpolator for starters Bug: 337110712 Bug: 337329128 Test: ./ravenwood/scripts/run-ravenwood-tests.sh Test: atest CtsGraphicsTestCasesRavenwood Test: atest CtsGraphicsTestCases Change-Id: Iefa17f91837c5382067bf17fc148b158133a4de5
-
- Apr 25, 2024
-
-
Julia Tuttle authored
When an app passes an invalid icon into a BigPictureStyle notification, we want to know clearly and promptly, but to log when these icon loads fail, we need to return null instead of wrapping a null Bitmap in a BitmapDrawable. Bug: 335878768 Flag: ACONFIG com.android.graphics.flags.icon_load_drawable_return_null_when_uri_decode_fails START Test: manual Change-Id: I460ce2c8cc1353eba3e038092d4913b75675f4fb
-
- Apr 24, 2024
-
-
Julia Tuttle authored
Bug: 335878768 Flag: ACONFIG com.android.graphics.flags.icon_load_drawable_return_null_when_uri_decode_fails START Test: NA Change-Id: Ie2a89e042405c7d6e78e164acdd1db5d38b0e528
-
Julia Tuttle authored
When an app passes an invalid icon into a BigPictureStyle notification, we want to know clearly and promptly, so log when we see those icon loads fail. Bug: 335878768 Flag: NONE Test: manual Change-Id: Ia9e72a64c0070fde71cac1519953210a0125c9bc
-
Julia Tuttle authored
When an app passes an invalid icon into a BigPictureStyle notification, we want to know clearly and promptly, so log when we see those icon loads fail. Bug: 335878768 Test: manual Flag: NONE Change-Id: Ic4a009f7d51ed9c40e10bb033ad0e6307a9ed3a9
-
- Apr 04, 2024
-
-
Yu Liu authored
Bug: 330354107 Test: CI Flag: NONE Ignore-AOSP-First: It is easier to detect all the mismatch in internal master. Change-Id: If6d417b269e23f205c21686d147e9249d47a18b9
-
- Apr 02, 2024
-
-
Eric Miao authored
Bug: 328443220 `android.graphics.Bitmap` class used to have a field of byte array `mBuffer` for its content. This allowed the bitmap content to be included as part of `am dumpheap`. However, this field was removed when Bitmap was migrated to use native memory. This CL allows contents of bitmaps to be compressed and included as part of `am dumpheap`, with added command line switch '-b <format>'. For example, the command below will include the contents of the bitmaps compressed in PNG format as part of the heap dump. `am dumpheap -b png com.google.android.apps.photos` This is done with a few key changes below: 1. Every bitmap instance created will be tracked by a static `WeakHashMap`. This is so that 1) the bitmap instances are used as weak keys and can be garbage collected normally, and 2) when a bitmap instance is garbage collected, its entry in `WeakHashMap` will also be removed, so the size of the map itself is limited 2. A static field `Bitmap.dumpData` is introduced, and will record every bitmap's `nativePtr` and its compressed content when bitmap dump is enabled during a heap dump 3. `Bitmap.dumpData` will be cleared after the heap is dumped, the recorded information as well as buffers with compressed contents will be garbage collected thereafter. Change-Id: I37b6ea6b947565d1ac5a6bbc5b462c3ceedebec1
-
- Mar 27, 2024
-
-
Seigo Nonaka authored
Bug: 331421459 Test: m docs Change-Id: Idc5054c0d27b4209698d49a3d18b185ade0505fd
-
Seigo Nonaka authored
Revert submission 26718990-canBuildVariableFamily Reason for revert: canBuildVariableFamily is not necessary Reverted changes: /q/submissionid:26718990-canBuildVariableFamily Change-Id: Ia052bd350191d6b77c8737423dfbef1b6524973c
-
- Mar 26, 2024
-
-
Seigo Nonaka authored
This is for addressing API council feedback. Bug: 331421459 Test: TreeHugger Change-Id: Iae04103d6df80f62cd974d89b56f726c680da34a
-
- Mar 21, 2024
-
-
Oriol Prieto Gasco authored
Before calling a flagged API, client code must check the value of the flag which gates it. Those flags must be exported in order to be accessible from containers other than the container where the flag and the API are hosted. Bug: 320984775 Bug: 322839671 Test: m all_aconfig_declarations Test: printflags --format='{fully_qualified_name}:{is_exported}' | grep true Ignore-AOSP-First: LSC Change-Id: I8c2d111fd4ffb23f3f52c9d00bf6bbd2456d7f05
-
- Mar 08, 2024
-
-
John Reck authored
Fixes: 318612129 Test: CtsUiRendering...testDrawRegion Change-Id: Ifd2fa83f2275a31f4fa8ccf0bebcb7cbd8134de2
-
- Mar 06, 2024
-
-
Jorge Betancourt authored
Test: atest CtsUiRenderingTestCases:android.uirendering.cts.testclasses.CanvasTests#testDrawWithConcatenatedMatrix44 Bug:326418986 Change-Id: I06c20bdad9d1a18de90f24ae8d9065a72bd06b82
-
- Mar 05, 2024
-
-
Alec Mouri authored
Prefer it if HWC claims support in OverlayProperties. Only add support in the vulkan path, because I don't know what GL incantation maps to VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 Bug: 284159488 Test: builds, boots Test: courage Change-Id: I01e9c2d2d6916b1349d2f7d2662b962c3b879a28
-
Jorge Betancourt authored
Test: none Bug:326419633 Change-Id: Ice4df6676dafc1e0e1bbc27dd587506c374432cc
-
Nishant Panwar authored
This reverts commit 5b11e0b4. Reason for revert: These changes were required to fix the -next release config on main branch which was pointing to Android U. Reverting this change as now -next points to Android V. Change-Id: I5ceb8dc0489e74571389a9915e361607f44f0484
-
- Mar 04, 2024
-
-
Charles Munger authored
Compiler explorer shows a 4x reduction in code size for the method on the hot path. BUG=327646201 Change-Id: Idcd1e3cc62ce5c9360e0ab334b01ecb2c3d73be1
-
- Feb 23, 2024
-
-
Nishant Panwar authored
This reverts commit d84522ce. Reason for revert: unblocking 24Q2 release, b/326312780 API-Coverage-Bug: b/326587267 Change-Id: I6f3f51a22082b702e8cc304fef90c8a6e6504152
-
- Feb 22, 2024
-
-
Tyler Freeman authored
fix(high contrast text): fix highlight/selection is obscured by high contrast text background rectangle Since high contrast text draws a solid rectangle background behind the text, it covers up the highlights and selections. In this case we draw over the top of the text with a blend mode that ensures the text stays high-contrast. Fix: 323964406 Bug: 186567103 Flag: ACONFIG com.android.graphics.hwui.flags.high_contrast_text_small_text_rect TEAMFOOD Test: atest core/tests/coretests/src/android/text/LayoutTest.java Test: manual 1. adb shell setenforce 0 && adb shell setprop persist.device_config.aconfig_flags.accessibility.com.android.graphics.hwui.flags.high_contrast_text_small_text_rect true && adb shell stop && adb shell start 2. Settings -> Accessibility -> Display Size and Text 3. Turn on High Contrast Text 4. Select some text. The selection should be visible Change-Id: I3ea2835f2a8bdfaf646f140f3290837535080a5c
-
- Feb 16, 2024
-
-
mayankkk authored
- The change is required to avoid trigering all the CTS test cases when a file is change from framework/base. Test: m BUG: BUG:325580144 Change-Id: Ib763cd2c570f82aae73f98507a9a5e0ba5b9b0c9
-
- Feb 14, 2024
-
-
Jorge Betancourt authored
Test: atest CtsUiRenderingTestCases:android.uirendering.cts.testclasses.ShaderClippingTests Bug: 280116960 Change-Id: Ic78c4b2ca01e6af9e5af757aa64e15e248cadcf8
-
Ronish Kalia authored
This CL is created as a best effort to migrate test targets to the new android ownership model. If you find incorrect or unnecessary attribution in this CL, please create a separate CL to fix that. For more details please refer to the link below, <add g3 doc link> Bug: 304529413 Test: N/A Change-Id: I6b6cf0abdd1fdb8fefa4184b3698f6951c192ac0
-
- Feb 09, 2024
-
-
Christopher Ferris authored
When trying to decode a file, using a stream can lead to a pathological case where the entire file is read into memory. If a large file is encountered, the entire file will be read into memory and result in different types of crashes. So instead of using a stream, use a file descriptor to prevent this case. Bug: 309868782 Test: Put a large file on the system. Start the files app and Test: observe no crashes. Change-Id: I59cbab80af68eb3da4b46df81a5c26bf041778d8
-
Ryan Tao authored
Change-Id: I121d8cee49829f120440e9628aa319a5c664aee3
-
- Feb 06, 2024
-
-
Seigo Nonaka authored
Bug: 322228767 Test: TreeHugger Change-Id: Iea07f64362537123a702928aeb0becff8cef9f71
-
- Feb 03, 2024
-
-
Dillon Simpson authored
PdfEditor will be mainlined post-V due to API review bandwidth constraints. Test: manual testing against printspooler usage of this API, CTS Bug: 319339682 Change-Id: I65fa29c0268f9fa9294807e8ba3fb68f7a7519dd
-
- Feb 02, 2024
-
-
Valentin Iftime authored
When child notifications of an auto-group are posted/removed, the summary icon should be updated as well. In the case of posted notifications, summary updates are always triggered by GroupHelper. In the case of removed notifications, if no summary updates are triggered (flags not updated or ungrouping not necessary), then NMS will trigger an icon update. Both the icon drawable and the icon background color are updated according to this rule: - if all child icons are identical => use the common icon - if child icons are different: use the monochromatic app icon, if exists. Otherwise fall back to a generic icon representing a stack. Flag: com.android.server.notification.autogroup_summary_icon_update Test: atest NotificationManagerServiceTest Test: atest GroupHelperTest Test: atest IconTest Bug: 227693160 Change-Id: Ia31d1f71bf43b8c2f5757200d79f0790bf843851
-