- Jan 22, 2024
-
-
Kevin Lubick authored
Change-Id: Iacacba4e4cf03b1c9fd02ffef39ca99e4c597160
-
qiubowen authored
1. mDamageGenerationId is a random value when initialized. When this random value happens to be equal to info.damageGenerationId, the dirty range will reach the maximum DIRTY_MAX. 2. When info.damageGenerationId is equal to 0, which is when the first frame of the APP is drawn, there is no need to reach the maximum DIRTY_MAX in the dirty range. Bug: 321612817 Test: build Change-Id: Iab6a04170926d10cdf2a62ae0fbf9cbe5eeb8bbf Signed-off-by:
qiubowen <qiubowen@xiaomi.com>
-
- Jan 18, 2024
-
-
Jiang Tian authored
Making the scope more accurate that only acquire the lock when trying to access frame info in FrameInfoVisualizer, then make it irrelevant to the real draw operation. Bug: 317995179 Test: 1.going to developer options 2. swapping the "profile hwui" option from "none" to "bars" and back a couple times, no crash Change-Id: I069a28a7e847c0c3fca94fd9c43e95382f501b80 Merged-In: I069a28a7e847c0c3fca94fd9c43e95382f501b80
-
- Dec 28, 2023
-
-
Kai Peng authored
When the user 0 exhausts all the MAX_TASK_IDS_PER_USER, the Task#0 is reused. But Task#0 may not be in the split pair. Change-Id: Ie084deb579d7a3d0e1c1d823f9d1266af7243fdb
-
- Dec 22, 2023
-
-
Steven Moreland authored
Bug: 317293882 Test: build with validation Change-Id: Ide51785109af6dedafd9bae2a7fe59378255ce86
-
- Dec 12, 2023
-
-
Ivan Tkachenko authored
Bug: 315483862 Change-Id: I501547e1b78ac6e95bb058ea83e33004738f0fc9
-
- Dec 11, 2023
-
-
Yi Kong authored
Since https://r.android.com/2856020, eng builds no longer perform costly link time optimizations. The workaround that disables LTO build speed is no longer necessary. Test: presubmit Change-Id: Ic76b7bb5866e8df4b19793aa06253910e5c5d384
-
- Nov 30, 2023
-
-
Harish Mahendrakar authored
Bug: 313791883 Test: treehugger Change-Id: Ia3347a0fb30ac4f2e5fddb8eded4ec023b0e3f59
-
mashixing authored
The original code contained assertions that checked `fICount` and `fIOffset`, which seem to be mistakenly copied from the Skia codebase. This commit corrects the assertions to properly reflect the variables used in the AOSP codebase, updating them to `mIndexCount` and `mIndexOffset` as intended. The correction ensures accurate runtime checks for the expected conditions and prevents compilation error due to undeclared identifier. Bug: 313566801 Change-Id: I1432598be14a6960d0dbe373e1ac997f5f5f8ee6 Signed-off-by:
Shixing Ma <mashixing@xiaomi.corp-partner.google.com>
-
- Nov 29, 2023
-
-
ot903107 authored
Sometimes split transition immediatelly abort due to app does't support multiwindow or other reasons, it may cause the fadeAnimation duplicate release same transaction with SplashScreen exit shiftUpAnimation. Bug: 295124138 Test: run auto monkey test Change-Id: I17c73b8dae9e0f32558bc3401877dcc82bc66f70
-
- Nov 28, 2023
-
-
Zhao Qin authored
Gpu resource is not purged as expected in new implementation when app stays in foreground. Test: manual, adb shell dumpsys gfxinfo Change-Id: I15deb71693e726661c8bae70c7ae30cff2dcfa6b
-
- Nov 16, 2023
-
-
John Reck authored
Skip using the gainmap shader when drawing to a bitmap with a known SDR colorspace as it'll be a no-op in rendering results since W=1.0, but it'll be very expensive in runtime due to CPU evaluation of the SKSL shader. Before: createScaledBitmapWithGainmap_median (ns): 179,455,037 After: createScaledBitmapWithGainmap_median (ns): 15,643,742 Bug: 311085927 Test: benchmark in CL Change-Id: I3f2506a2bd86bbe29c6e0837d31e4a231a7c182a
-
- Nov 08, 2023
-
-
Minkyoung Kim authored
Make active Context valid while buildLayer() When RecordingCanvas::drawPoints() is executed through buildLayer(), active Context is null. It leads to crash Change-Id: Iefe7fa0e056e82f07cd54fa3bfd74180f89ae726
-
- Nov 07, 2023
-
-
Leon Scroggins III authored
Pixel has been using Vulkan in libhwui for several years now. We strongly recommended using it in the Android 14 (U) CDD, and we plan to make it MUST in Android 15 (V). Update the default to match. Bug: 293371537 Bug: 301558076 Test: CtsUiRenderingTestCases, CtsGraphicsTestCases Change-Id: I106381fadf6a686127cb6120afbaef53db5c4aa8
-
Dongya Jiang authored
support visual effects for backdrop contents of a View or RenderNode. Test: added unit test & hwui_unit passes Test: added BackdropBlurActivity in HwAccelerationTest, build & run it Signed-off-by:
Dongya Jiang <jiangdongya@coolpad.com> Change-Id: If1ac1b8aee53667f175e8fa80ecfc7bdfa28173d Merged-In: If1ac1b8aee53667f175e8fa80ecfc7bdfa28173d
-
- Oct 17, 2023
-
-
Winson Chung authored
- The split transitions currently don't handle this case properly when an adjacent task is launched triggering a split task to enter PIP. Fixes: 303755768 Test: Split YT & Gmail, click link from Gmail Test: http://recall/-/g6hkB0pXjyQSvfA8STqRAT/hrdzWmMHFGHJKaSyLxb8yh (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6f1b98014920a36c55aa5110494f4428e038d51f) Merged-In: I390ded4075211c8b5c0d328dcda42d189bee1fa8 Change-Id: I390ded4075211c8b5c0d328dcda42d189bee1fa8
-
Robin Lee authored
Since queued transitions aren't always cleanly chunked the way we'd imagine them to be, we may end up with actual events in the transition info if we happen to be turning screens on/off/foldingat the same time as doing things with the device. In this case, the SLEEP transition would have come first and the actual changes second, so we should assume these are changes that need to be played. Test: atest ShellTransitionTests Bug: 304713150 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ce1a438ce1fb20fbf031e37677013f93f32c2b5a) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b121eda4ec93492a690458770155158705e7ffce) Merged-In: I4bbaa8ad033aaadcb1c0b54889b7c81fb003b001 Change-Id: I4bbaa8ad033aaadcb1c0b54889b7c81fb003b001
-
- Oct 16, 2023
-
-
Paul Duffin authored
This change adds overriding methods that are essential to compile the stubs generated from the signature files. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkbuild --build-from-text-stub Bug: 299366704 Change-Id: Ia8f0ae4b4e47a2974016fd844242aa0564027131 Merged-In: Ifc1876eb60a4b716f72c86003dc9bea0081e9a4c
-
- Oct 13, 2023
-
-
Matt Buckley authored
Revert submission 24828717 Reason for revert: performance concerns Reverted changes: /q/submissionid:24828717 Bug: 300360668 Bug: 302620048 Change-Id: Iefb7488f6e100ca7cbb0d43337e5830860ebebe5
-
- Oct 12, 2023
-
-
Matt Buckley authored
This reverts commit 73b143c6. Reason for revert: Performance issues Bug: 300360668 Bug: 302620048 Change-Id: I2a00c0498392a49f64d1f0e523d3ccbc9b345c57
-
- Oct 11, 2023
-
-
Ikram Gabiyev authored
Make sure that after the ag/24811629 workaround was introduced, we update the finishTransaction and startTransaction to reflect correct corner radii of a PiP task. This makes sure that when these transactions are applied via KeyguardTransitionHandler, PiP doesn't end up in a state with zero corner radius. Bug: 302258580 Test: repro the steps in the bug Change-Id: I530975e45171d1c49616c86874ddf44d22f967f4
-
- Oct 10, 2023
-
-
Paul Duffin authored
Currently, metalava will discard concrete overrides of abstract methods from the API signature files which causes problems when attempting to generate stubs from those files and also discards information that may be important in API reviews. This change is the first step in the process of changing that behavior. This change hard codes the current behavior for discarding the concrete overrides (`add-additional-overrides=no`) into those signature files that will (or are likely) to be affected by the change in behavior. That allows the default behavior to be changed for all the other files without affecting these. Follow up changes will remove the hard coding from the signature files and will update the contents which will include the concrete overrides of the abstract methods. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkapi Bug: 299366704 Change-Id: Ibe0dbfa29f88d1040798ae394e8d456436259aea
-
- Oct 06, 2023
-
-
Krzysztof Kosiński authored
Bug: 255714762 Test: presubmit Change-Id: I7e29732e1e77e37cfb491521d14d2f3eb07deb36 Merged-In: I7e29732e1e77e37cfb491521d14d2f3eb07deb36
-
Krzysztof Kosiński authored
Bug: 255714762 Test: presubmit Change-Id: I7e29732e1e77e37cfb491521d14d2f3eb07deb36 Merged-In: I7e29732e1e77e37cfb491521d14d2f3eb07deb36
-
- Oct 03, 2023
-
-
Robin Lee authored
This could happen: (a) if something went wrong in early setup (b) if SysUI crashed and received transitions while restarting Bug: 302538471 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8a20c08f0db20b3461903ecd387bd63b5dd7f149) Merged-In: Iff0f1c4af9e1da96b7bbd04bd45da9f5330fd9b1 Change-Id: Iff0f1c4af9e1da96b7bbd04bd45da9f5330fd9b1
-
- Oct 02, 2023
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I1d0851b215bc510c072be8ef89128a42ae2a8717
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Ib22172f2879cc84949a48f4815991f6552e07d12
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I2468c9abcf2684ddc69df2861825002367524611
-
- Sep 29, 2023
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: I3f5521a81fa593912d95e663476b4835dc428ec0
-
- Sep 28, 2023
-
-
Winson Chung authored
- Follow up to ag/24812535, there were a few cases where we don't call into prepareEnterSplit() but still need to reset the reparenting state to prevent trampolines from breaking splitscreen upon entering. Fixes: 292454704 Test: Launch split from the menu for app that launches a trampoline Change-Id: Ia0d825192c3ec78991a75f0501e7ece9d75cb4af
-
- Sep 27, 2023
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: Iaf57b981f119dcb7c89229c3fe793b86f1d257c1
-
Matt Buckley authored
This fixes an issue where the default target duration was being sent when re-creating sessions, after the true target duration was already known. This caused the wrong value in PowerHAL, and no corrective update was sent because the cached value never changed. Bug: 301806277 Test: hwuitest Change-Id: I80d90e855fce92264d8341aad78b19dc547b65f4 Merged-In: I80d90e855fce92264d8341aad78b19dc547b65f4
-
- Sep 25, 2023
-
-
Eghosa Ewansiha-Vlachavas authored
Increase the fade in animation to 167ms. When showin the button, add a scale animation going from 0.8 to 1 with a duration of 300ms. Add a fade out animation with a duration of 167ms. Fixes: 296563422 Fixes: 301934717 Test: Manual Change-Id: I12d064a34302cf56abdc067150e8639020da0d82
-
wilsonshih authored
Provide a short term workaround for shell transition, let Keyguard service notify KeyguardTransitionHandler that there has created a remote transition request for next launch app transition, so the transition doesn't needs to be handled by KeyguardTransitionHandler. Bug: 297859920 Test: launch app from Keyguard, verify the KeyguardTransitionHandler can handle that open-app transition. Change-Id: If146900a0411a532679e930ca4e317cb1b7a7969
-
wilsonshih authored
When DefaultMixedHandler#handleRequest is going to handle a remote transition, also ask remote transition handler to handle the remote transition, so if the leftover handler cannot handle the transition, the remote transition handler can have chance to handle it. Bug: 301047305 Test: create a split screen pair, then launch app from notification, verify remote transition handler can play the transition while split cannot handle it. Test: create a split screen pair with one of app is pip-able, then launch app from notification, verify the app can enter pip, and the remote transition handle can play the open transition animation. Change-Id: I84a4b7c26c57498d17baca58811db19f00aa2714
-
- Sep 22, 2023
-
-
Matt Buckley authored
Delete sessions after 2 seconds from when CC::destroy() is called, to ensure they get the chance to be re-used without being destroyed but still get destroyed if they aren't re-used. This also adds several new unit tests around the functionality to ensure its thread-safety. Test: hwuitest Bug: 300360668 Change-Id: Icc35293ff49e14dc3599fc12d153f70acd29042a Merged-In: Icc35293ff49e14dc3599fc12d153f70acd29042a (cherry picked from commit 0daae6aa)
-
Diego Vela authored
Add raw configuration change listener updates. Letterboxed Activities do not receive a configuration update when they are repositioned. Listening to all configuration changes will correctly update folding features. Change exceptions from hard exceptions to Log.wtf so that we do not crash on production apps. Bug: 295785410 Test: Open Samples and open the slim (letterbox) Activities. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1a7c2f292e7cc1fddfc9b0c64d1e5e4264f60144) Merged-In: Ia079d06a403a59bb0f1eafdaad6ce238749a2af2 Change-Id: Ia079d06a403a59bb0f1eafdaad6ce238749a2af2
-
Matt Buckley authored
This patch adds several unit tests for HintSessionWrapper, including one specifically for a recent race condition memory leak. It also refactors HintSessionWrapper to better support testing, and creates a macro to shorten the dlsym bindings. Bug: 299541959 Test: hwuiunit Change-Id: I05ed15cdbd157b109667563d30627cfc4ae83777 Merged-In: I05ed15cdbd157b109667563d30627cfc4ae83777 (cherry picked from commit 0c668368)
-
Diego Vela authored
Letterboxed apps lost support for Folding Features. We are enabling reporting folding features to letterboxed apps again. Report folding features if an Activity is embedded or not in PiP. Bug: 295785410 Test: atest CtsWindowManagerJetpackTestCases (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b1deb55446c3b5a2d46cc2751ac0200ef5986fa2) Merged-In: Ib964b22278c31982a3d6bf66abaab3dac0c4093b Change-Id: Ib964b22278c31982a3d6bf66abaab3dac0c4093b
-
Diego Vela authored
Add raw configuration change listener updates. Letterboxed Activities do not receive a configuration update when they are repositioned. Listening to all configuration changes will correctly update folding features. Change exceptions from hard exceptions to Log.wtf so that we do not crash on production apps. Bug: 295785410 Test: Open Samples and open the slim (letterbox) Activities. Merged-In: Ia079d06a403a59bb0f1eafdaad6ce238749a2af2 Change-Id: Ia079d06a403a59bb0f1eafdaad6ce238749a2af2
-