summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Eric Sum <esum@google.com> 2025-02-13 14:33:57 -0800
committer Eric Sum <esum@google.com> 2025-02-20 11:46:34 -0800
commit28efafc2610345cbf1278b5f69c116ca2d8f1459 (patch)
treeb49167b32554beef0965c44de0e9a55ad1499dfe /libs/input/PointerController.cpp
parente38d077b6c9d151dbd4ff7e4f10e73af2fc5fd98 (diff)
Add ACTION_DESKTOP_MODE_ENTER_APP_HANDLE_MENU latency.
This measures the delay from when the user requests to enter desktop mode by pressing the desktop mode button in an app handle's menu until the animation to enter desktop mode begins. This period is consumed by launching the home activity and creating app headers for each desktop window, both of which have been expensive in the past. Flag: EXEMPT metric change Bug: 390555563 Test: Put tangorpro in HSUM mode: `adb shell cmd user set-system-user-mode-emulation headless` Run `statsd_testdrive 306` and ensure that latency metric is reported. This was done with `enable_desktop_wallpaper_activity_for_system_user` enabled and disabled. The latency was close to 1 second with that flag disabled and ~100 milliseconds with that flag enabled. This is expected. Change-Id: Ic8a1131063d16f9080bc338298cb3b497206a2f8
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions