summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2024-06-17 21:18:09 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2024-06-24 16:21:08 +0000
commit247f35acf76e801cf2b3f8446eceafdad4b50cce (patch)
tree971ffce82a7e37781e01fff61930f9b3bc634632 /libs/androidfw/StringPool.cpp
parent4c7228859fc16de15059fd8b926b7191e2db8a0b (diff)
[SB][Screen Chips] Show 3-2-1 countdown for screen record chip.
This updates the OngoingActivityChipModel.Shown to have two variants: - Timer: For chips that show a timer counting up - Countdown: For the 3-2-1 countdown The model now allows for a null icon and a null click listener, since the countdown chip has neither. This also adds a new TextView to the chip view, used for the countdown. This also updates the click listener for the call chip to be null if there's no intent, now that we support a null click listener. Bug: 332662551 Flag: com.android.systemui.status_bar_screen_sharing_chips Test: Verify old ongoing call chip with the flag off still has the right spacing Test: Start screen recording -> verify chip shows the 3-2-1 countdown, then switches to the timer chip counting up Test: Verify all new chips still work with icons and timers Test: Increase font size so that there's not enough room for the timer on the chip -> verify only the icon shows and the icon is centered Change-Id: I358233473dd098ad23034a6b41876a7bfa67a8a0
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions