summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2024-08-22 10:51:55 -0700
committer Mady Mellor <madym@google.com> 2024-09-05 15:37:49 -0700
commit59b3e0bcf5999bec0f98406beafeffabf746bc5a (patch)
tree5deb8b8d3eebf7ce6f0d3db1299e4b3e091ec7ad /libs/androidfw/AssetsProvider.cpp
parente7d6f63e5fdb4da743d3f1e8e2f0efd8cb851fa7 (diff)
Use region sampling to properly tint the bubble expanded view handle
* Create a RegionSamplingHelper when the taskview is shown * Sampling only occurs while the view is visible and not being dragged * RegionSamplingHelper is destroyed when the task is removed or the view is detached * Added tests for BubbleBarExpandedView verifying when the helper is started / stopped appropriately * Don't animate the handle color if it's the same Minor unrelated change: * Apply the caption insets when the TaskView is created, not on every layout pass Test: atest BubbleBarExpandedViewTest Test: manual - open a bubble, check that the handle is the right color, do something in the bubble that would change the handle color (e.g. put maps in a bubble and open an image of a location, check that handle color changes appropriately) - repeat above after dragging the bubble to the other side - repeat above after expanding / collapsing the bubble Flag: com.android.wm.shell.enable_bubble_bar Bug: 353160491 Change-Id: Ib3db46c416ec040cdad656df9be1841aed4b18e3
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions