summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2024-04-03 16:12:29 -0700
committer Ats Jenk <atsjenk@google.com> 2024-04-29 15:21:35 -0700
commit75fb80ee219605e8869f3258c10a723a36ae0f37 (patch)
treef9348849af3483a1fbcce20035074afe9293e9b9 /libs/androidfw/StringPool.cpp
parent0e7d536530d4a0b0a48b29f9139fa0f6eb61f21b (diff)
Refactor common logic in bubble pin controllers to base class
Move exclusion rect calculation to base class. All subclasses for pinning the bubble bar share the same logic. The exclusion rect sits at the bottom center of the screen. Subclasses only need to provide size as the resource ids are different between launcher and shell. Move everything related to screen size calculation to the parent class. Subclasses have to provide a callback to fetch the screen size. As this is different in launcher vs shell. Bug: 330585402 Test: atest WMShellRobolectricTests:BubbleExpandedViewPinControllerTest Test: atest WMShellMultivalentTestsOnDevice:BubbleExpandedViewPinControllerTest Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT Change-Id: I2e52df9fa67b26413595371fcd92f360fdbbf7ad
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions