summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Peter Kalauskas <peskal@google.com> 2023-02-16 18:17:01 -0800
committer Peter Kalauskas <peskal@google.com> 2023-04-14 16:44:26 +0000
commitd2dde73c1227f1d6c5e319aa41deda54492ec0e5 (patch)
tree96d31f24df4629ab4920c05e27b9edbd6830359d /libs/androidfw/StringPool.cpp
parent545d881841b2d9ae0cc7f678d7b6d16f0d31f817 (diff)
New jank flag for showing CUJ names on screen
For interactions tracked with InteractionJankMonitor, display the CUJ name in a box drawn over over the tracked View when using: adb shell device_config \ put interaction_jank_monitor debug_overlay_enabled true This feature can only be enabled on userdebug and eng builds. The name of the CUJ will be shown when the CUJ begins, and sometimes it may (unpredictably) continue to be shown for a few after the CUJ ends. The CUJ names will be drawn as follows: - Normal text indicates the CUJ is currently running - Grey text indicates the CUJ ended normally and is no longer running - Red text with a strikethrough indicates the CUJ was canceled or ended abnormally Launcher CUJs will be drawn with a CYAN background near the top of the screen, and sysui CUJs will be drawn with a YELLOW background near the bottom of the screen. NOTE: This only works for interactions that have a ViewRootImpl because rendering is done on a Canvas in the view. Surface-only CUJs will not render CUJ names. Test: atest InteractionJankMonitorTest FrameTrackerTest Bug: 238923086 Change-Id: I3a781e3465057b44acc1edf16ea6cc3317ee7720
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions