Skip to content
Snippets Groups Projects
  1. Feb 08, 2024
  2. Oct 11, 2023
  3. Sep 12, 2023
  4. Aug 25, 2023
  5. Aug 14, 2023
    • Yunfan Chen's avatar
      Introduce GesturePointerEventListener on sysUI (3/n) · 197ebf06
      Yunfan Chen authored
      This CL introduces the transient gesture detection logic on the client
      side.
      
      The GesturePointerEventHandler is a mirror of existing
      SystemGesturesPointerEventListener on the window manager side. The
      window manager one can be removed after the entire system UI side logic
      is done.
      
      There're some noticible differences, including:
      1. GesturePointerEventListener uses system UI side GeneralGestureDetector
         and a bridge class SystemGesturePointerEventListener to receive input
         events.
      2. Leave an interface to let the user, the event handler to register a
         callback to receive necessary input events.
      
      Test: build
      Test: Enable debug and CLIENT_TRANSIENT flag to observe the log
      Bug: 277290737
      Change-Id: I13d98303b783dac072d1bd1d06f1b7f0836bf73d
      197ebf06
  6. Aug 04, 2023
  7. Jul 17, 2023
  8. Feb 28, 2023
    • Jordan Demeulenaere's avatar
      Regenerate include file for ktfmt upgrade · 733fd454
      Jordan Demeulenaere authored
      This CL was generated automatically from the following command:
      
      $ external/ktfmt/prepare_upgrade.py --repo=frameworks/base/ --build_id=9645412 --bug_id=266197805
      
      This CL regenerates the inclusion file with the current version of ktfmt
      so that it is up-to-date with files currently formatted or ignored by
      ktfmt.
      
      Bug: 266197805
      Test: Presubmits
      Change-Id: I9e075f298fc3013ea4115fbd3fcc5e6f9dfbc00c
      Merged-In: I9e075f298fc3013ea4115fbd3fcc5e6f9dfbc00c
      733fd454
    • Jordan Demeulenaere's avatar
      Regenerate include file for ktfmt upgrade · 7a71322f
      Jordan Demeulenaere authored
      This CL was generated automatically from the following command:
      
      $ external/ktfmt/prepare_upgrade.py --repo=frameworks/base/ --build_id=9645412 --bug_id=266197805
      
      This CL regenerates the inclusion file with the current version of ktfmt
      so that it is up-to-date with files currently formatted or ignored by
      ktfmt.
      
      Bug: 266197805
      Test: Presubmits
      Change-Id: I9e075f298fc3013ea4115fbd3fcc5e6f9dfbc00c
      Merged-In: I9e075f298fc3013ea4115fbd3fcc5e6f9dfbc00c
      7a71322f
  9. Feb 13, 2023
  10. Feb 10, 2023
  11. Jan 23, 2023
    • Caitlin Shkuratov's avatar
      [Media TTT] Split up the media sender and receiver loggers. · 5383e774
      Caitlin Shkuratov authored
      There were already a few sender-specific log methods in the common
      class, and more will be added so it's better to split them up.
      
      Bug: 265455911
      Test: manual: Verified `MediaTttSender` and `MediaTttReceiver` logs
      still appear.
      Test: atest com.android.systemui.media.taptotransfer
      
      Change-Id: I97ff8e60b63f7b460dcfcba72bfcf6b2f2d02952
      5383e774
  12. Jan 20, 2023
    • Hawkwood Glazier's avatar
      Format Font/Text Animation files · b3fcae36
      Hawkwood Glazier authored
      Undone on master with I7bde225a41ab41e8c419a9784eb0307691550f3f
      
      Bug: 264262853
      Test: None; ktfmt only
      Change-Id: I7b53f5fb9dbe5ad9542d40f36181538c40c88538
      b3fcae36
  13. Jan 19, 2023
  14. Jan 18, 2023
    • Caitlin Shkuratov's avatar
      [Media TTT] Re-name the status bar gesture handler to be more generic. · 82042d18
      Caitlin Shkuratov authored
      The next CL will split out the generic swipe-up detection and the
      status-bar-specific gesture information, and will add back the class
      `SwipeStatusBarAwayGestureHandler`. So, this CL leaves the variable
      names to be status-bar-specific.
      
      Bug: 262584940
      Test: verify swiping the status bar away when there's an ongoing call
      still works
      Test: atest OngoingCallControllerTest
      Change-Id: Ief581a073ca3809963014405c8233dc13e7e8266
      
      Change-Id: I3da3c306733545df44adfb9518fb4f762f2ace6c
      82042d18
  15. Jan 09, 2023
    • Hao Dong's avatar
      Add a flag for moving UdfpsEnroll* from SystemUI to settings. · f87326c3
      Hao Dong authored
      - Adds SETTINGS_SHOW_UDFPS_ENROLL_IN_SETTINGS flag to guard the change.
      - Remove the black fp drawable in udfps_fpm_other_view.xml
      - Uses UdfpsFpmOtherViewController when the flag is enabled, so that SystemUI doesn't show anything for settings enrollment.
      
      Turn this flag on via adb:
      adb shell setprop sys.fflag.override.settings_show_udfps_enroll_in_settings true
      
      Test: manually tested on device
      Bug: 260617060
      Change-Id: I1842c4351041fdabc16bde9d5d5a708efb258cb2
      f87326c3
  16. Jan 03, 2023
  17. Dec 22, 2022
  18. Nov 30, 2022
    • Caitlin Shkuratov's avatar
      [SB Refactor] Make some wifi pipeline classes into interfaces. · c5cd47b2
      Caitlin Shkuratov authored
      This is needed for WifiScreenshotTest so that more of the pipeline can
      be faked out.
      
      Bug: 238425913
      Test: manual: verified new wifi icon still works
      Test: atest WifiScreenshotTest
      Test: atest all tests in statusbar.pipeline
      Change-Id: I335451e62c5db01143226d7cdc3ee29b93301bf2
      c5cd47b2
  19. Nov 18, 2022
  20. Nov 10, 2022
  21. Oct 28, 2022
  22. Oct 22, 2022
    • Beth Thibodeau's avatar
      Format media control files · f69de21d
      Beth Thibodeau authored
      - Run ktfmt for Kotlin files that were moved, to follow current style guide
      - Add missing copyright headers
      
      Test: build
      Bug: 241485754
      Change-Id: Icc2a9246dfaea8352824a5a181b4c06d3bcb4a46
      f69de21d
    • Beth Thibodeau's avatar
      Format media control files · 0d8858f2
      Beth Thibodeau authored
      - Run ktfmt for Kotlin files that were moved, to follow current style guide
      - Add missing copyright headers
      
      Test: build
      Bug: 241485754
      Change-Id: Icc2a9246dfaea8352824a5a181b4c06d3bcb4a46
      0d8858f2
  23. Oct 17, 2022
    • Caitlin Shkuratov's avatar
      [Chipbar] Update ChipbarCoordinator to have a generic API to display chipbars. · 4fb68a96
      Caitlin Shkuratov authored
      The API is defined by ChipbarInfo, which has a startIcon, text, and
      optional endItem.
      
      Updates the media ttt code to convert the existing state into the new
      generic state.
      
      Test: manual: Verify every media ttt state displays correctly.
      Test: atest MediaTttSenderCoordinatorTest
      Test: atest ChipbarCoordinatorTest
      Change-Id: I98c377cb9b416e051c747fe6d8553cfaa0724635
      4fb68a96
    • Caitlin Shkuratov's avatar
      [Chipbar] Rename MediaTttChipControllerSender to ChipbarCoordinator, · 22bf0191
      Caitlin Shkuratov authored
      since it has all the chipbar logic.
      
      Future CLs will remove the media-specific logic from ChipbarCoordinator.
      
      Bug: 245610654
      Test: manual: Verify chipbar commands still work
      Test: media.taptotransfer tests
      Test: temporarydisplay tests
      Change-Id: I0af8480c9ee400496237f144aaba907ab5a99e30
      22bf0191
  24. Oct 12, 2022
    • Shawn Lee's avatar
      Moved panel expansion classes to shade package · 82bf9862
      Shawn Lee authored
      Renamed PanelExpansion... to ShadeExpansion..., and refactored accordingly. Cleaned up wildcard imports in UdfpsControllerOverlayTest to pass ktlint.
      
      Test: presubmits
      Bug: 247607270
      Change-Id: I7a112a7426ed357b036dd01a00e9caf63dd5897b
      Merged-In: I7a112a7426ed357b036dd01a00e9caf63dd5897b
      82bf9862
  25. Oct 05, 2022
    • Shawn Lee's avatar
      Moved panel expansion classes to shade package · 47fe113a
      Shawn Lee authored
      Renamed PanelExpansion... to ShadeExpansion..., and refactored accordingly. Cleaned up wildcard imports in UdfpsControllerOverlayTest to pass ktlint.
      
      Test: presubmits
      Bug: 247607270
      Change-Id: I7a112a7426ed357b036dd01a00e9caf63dd5897b
      47fe113a
  26. Sep 21, 2022
    • Alejandro Nijamkin's avatar
      Extracts interface from UserSwitcherController. · e112db8a
      Alejandro Nijamkin authored
      Our goal with this refactor is to provide a differnt implementation of
      UserSwitcherController that uses modern architecture inside itself. To
      achieve that, we need to be able to provide a new implementation
      alongside the existing implementation and switch between them based on
      our feature flags.
      
      This CL extracts an interface our of the UserSwitcherController class,
      also named UserSwitcherController (to minimize changes to downstream
      customers of this class) and moves the current implementation to
      UserSwitcherControllerOldImpl.
      
      As a side-effect, we also had to move the old
      UserSwitcherController.BaseUserAdapter out into its own class,
      BaseUserSwitcherAdapter.
      
      This CL was done almost entirely automatically using tools provided by
      the Android Studio IDE. There are no logical changes in this CL at all.
      
      Bug: 246631653
      Test: Manually verified that user switcher works properly in
      full-screen, from quick settings, and from the bouncer.
      
      Change-Id: I383f1bb9147c7afc3047bcf2ad7422b7c6894821
      e112db8a
  27. Sep 15, 2022
    • Caitlin Shkuratov's avatar
      [SB Refactor] Delete ConnectivityInfoProcessor. · 38ae0e72
      Caitlin Shkuratov authored
      Now that the wifi pipeline is hooked up to real views, the logging is
      happening via those real views and we don't need this class anymore.
      
      Bug: 238425913
      Test: manual: build SysUI and verify wifi icon with new pipeline still
      works
      Test: statusbar.pipeline tests
      
      Change-Id: Ifc984e29805294d594f9fca4073f2f86a219dffd
      38ae0e72
  28. Sep 07, 2022
    • Caitlin Shkuratov's avatar
      [Chipbar] Move the controller that was common between the media ttt · 93516743
      Caitlin Shkuratov authored
      sender and media ttt receiver into a more generic
      TemporaryViewDisplayController class.
      
      Future CLs will pull all the media-specific code out of this generic
      class.
      
      Bug: 245610654
      Test: media.taptotransfer tests
      Test: temporarydisplay tests
      Test: verify media ttt chip still works
      Change-Id: I814c04068fbd2b02521dd9bf8b2794bb0273464b
      93516743
  29. Sep 06, 2022
    • Grace's avatar
      Update DefaultClockProvider colors · c254146e
      Grace authored
      This is largely a cherry-pick of change
      I6b32776dac1853eeab87c2a65da69478e4da5b75 but with
      some notable changes to accomadate existing code
      differences in tm-qpr-dev.
      
       - We use a boolean instead of an enum for clock region
         darkness as the enum is in a different place in tm-qpr-dev.
       - We clean up some of the initialization code in
         ClockEventController to prevent testing issues and provide
         a dependency injection point to the screenshot test.
       - Pull the clock color setting from the theme when region
         sampling is disabled instead of defaulting to always dark.
      
      Test: Manually validated colors matched reference images on
      light and dark backgrounds with the region sampling feature
      both enabled and disabled.
      
      Bug: 229771520
      Change-Id: I7906850b5de7f512f55e47e1122dfaacbc9c9406
      (cherry picked from commit a724e0b7)
      c254146e
  30. Sep 01, 2022
  31. Aug 31, 2022
    • Hawkwood Glazier's avatar
      [DO NOT MERGE] Revert "[DO NOT MERGE]Revert "Migrate KeyguardClockSwitch to new..." · 843cd5ea
      Hawkwood Glazier authored
      Revert "[DO NOT MERGE]Revert "Expose the clock version of google..."
      
      Revert "[DO NOT MERGE]Revert "Changes to SystemUIGoogle to suppo..."
      
      Revert submission 19508951-revert-19451291-cherrypick-clock_migration-tvip0m638i-BKWSUCNJAV
      
      Reason for revert: Double Revert w/ fixes
      Reverted Changes:
      Iccd8d2e19:[DO NOT MERGE]Revert "Add clock version of google-...
      I432d3d814:[DO NOT MERGE]Revert "Migrate KeyguardClockSwitch ...
      Ifd0aa59df:[DO NOT MERGE]Revert "Expose the clock version of ...
      I9a6ca6349:[DO NOT MERGE]Revert "Changes to SystemUIGoogle to...
      
      To minimize merge issues, this topic consists of just cherry-picks from
      master. Fixes for bugs are provided as downstream commits and will be
      merged back to master as those bugs exist there as well. The commits
      in this topic weren't tested in isolation beyond automated testing.
      
      Additionally, I've updated the ktfmt exclude list to include new files
      from this cherry-pick instead of reformatting those files.
      
      Test: Screenshot test and manually validated each downstream fix mostly by
      comparing reference images from known good builds to test builds.
      
      Change-Id: Iff1d0ee8c6d09c77185be1ca5bbbe1aa5870e0c7
      843cd5ea
  32. Aug 30, 2022
    • Jordan Demeulenaere's avatar
      Generate SystemUI ktfmt inclusion file · 5e3a34aa
      Jordan Demeulenaere authored
      This CL updates the ktfmt_includes.txt file used by SystemUI. Starting
      from this CL, all new Kotlin files in SystemUI/ will be checked using
      ktfmt.
      
      This file was generated using the following commands:
      $ cd $ANDROID_BUILD_TOP/frameworks/base
      $ $ANDROID_BUILD_TOP/external/ktfmt/generate_includes_file.py --output=packages/SystemUI/ktfmt_includes.txt packages/SystemUI
      
      Bug: 235461679
      Test: Manual
      Change-Id: I332abccd542796f72f4f89a7a4e1052611d955d8
      5e3a34aa
Loading