summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2023-10-05 16:07:31 -0400
committer Evan Laird <evanlaird@google.com> 2023-10-13 15:18:44 -0400
commit1061f45f997e2f0447881c4c99a01e0d15cf12e5 (patch)
tree8ffa874c85cd0f1a2833a56fc4d41330ea4da190 /libs/hwui/FrameInfoVisualizer.cpp
parent3594391519b0ab786da2e9de63c6c1c1d36b9558 (diff)
[Sb] Define a network slice UI for mobile icons
Based on the new flag NEW_NETWORK_SLICE_UI, we start collecting on the value of the prioritized network information from the mobile connection repository, and define a new background layer for the mobile network type view. Also reworked the mobile network type icon ImageView to be a FrameLayout with a background layer. This change does add a small amount of extra padding, which ensures that the actual slice background has enough space to draw and doesn't cause the icon to widen when it is shown. We might want to change this in the future to optimize more space away. Test: MobileIconViewModelTest, ModernStatusBarMobileViewTest Test: all sysui tests Test: use the new `slice` field supported by demo mode Bug: 270385675 Change-Id: I15be2651e0ceb7d053ce4513e58c207935769963
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions