Skip to content
Snippets Groups Projects
  1. Jan 22, 2024
  2. Jan 18, 2024
    • Jiang Tian's avatar
      Fix crash from asynchronous GPU metrics · 8e6a8468
      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
      8e6a8468
  3. Dec 28, 2023
  4. Dec 22, 2023
  5. Dec 12, 2023
  6. Dec 11, 2023
  7. Nov 30, 2023
  8. Nov 29, 2023
    • ot903107's avatar
      Prevent duplicate release same transaction from TransactionPool · 35c3af36
      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
      35c3af36
  9. Nov 28, 2023
    • Zhao Qin's avatar
      Fix gpu resource not cleaned up · 6ccda761
      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
      6ccda761
  10. Nov 16, 2023
    • John Reck's avatar
      Only use the gainmap shader if we might need it · 6256c0f5
      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
      6256c0f5
  11. Nov 08, 2023
  12. Nov 07, 2023
    • Leon Scroggins III's avatar
      libhwui: Use Vulkan by default · 511cca95
      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
      511cca95
    • Dongya Jiang's avatar
      Add setBackdropRenderEffect for View and RenderNode. · fdcf72cb
      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: default avatarDongya Jiang <jiangdongya@coolpad.com>
      Change-Id: If1ac1b8aee53667f175e8fa80ecfc7bdfa28173d
      Merged-In: If1ac1b8aee53667f175e8fa80ecfc7bdfa28173d
      fdcf72cb
  13. Oct 17, 2023
  14. Oct 16, 2023
    • Paul Duffin's avatar
      Add additional overriding methods to signature files · d93cd390
      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
      d93cd390
  15. Oct 13, 2023
  16. Oct 12, 2023
  17. Oct 11, 2023
    • Ikram Gabiyev's avatar
      Make sure keyguard unlock resets pip corners · eea9349a
      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
      eea9349a
  18. Oct 10, 2023
    • Paul Duffin's avatar
      Prepare for keeping concrete overrides of abstract methods · 48379f81
      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
      48379f81
  19. Oct 06, 2023
  20. Oct 03, 2023
  21. Oct 02, 2023
  22. Sep 29, 2023
  23. Sep 28, 2023
    • Winson Chung's avatar
      Ensure we reset reparenting when launching new splits · abe2307d
      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
      abe2307d
  24. Sep 27, 2023
    • Bill Yi's avatar
      Import translations. DO NOT MERGE ANYWHERE · 52100c77
      Bill Yi authored
      Auto-generated-cl: translation import
      Change-Id: Iaf57b981f119dcb7c89229c3fe793b86f1d257c1
      52100c77
    • Matt Buckley's avatar
      Send cached target duration when creating sessions · 73b143c6
      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
      73b143c6
  25. Sep 25, 2023
    • Eghosa Ewansiha-Vlachavas's avatar
      Update user aspcet ratio settings button animation · f54eab50
      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
      f54eab50
    • wilsonshih's avatar
      Notify launch app over lockscreen to keyguard transition handler. · 5b7daf45
      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
      5b7daf45
    • wilsonshih's avatar
      Ask remote transition handler to handle transiton in MixedHandler · df291c52
      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
      df291c52
  26. Sep 22, 2023
    • Matt Buckley's avatar
      Mitigation for mass GC deletion · 237bb385
      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)
      237bb385
    • Diego Vela's avatar
      Add raw configuration change listener updates. · 852dd9d8
      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
      852dd9d8
    • Matt Buckley's avatar
      Add unit tests for HintSessionWrapper · 87765575
      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)
      87765575
    • Diego Vela's avatar
      Report folding features to letterboxed apps. · e5295899
      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
      e5295899
    • Diego Vela's avatar
      Add raw configuration change listener updates. · 1a7c2f29
      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
      1a7c2f29
Loading