diff options
| author | 2024-11-22 03:02:52 +0000 | |
|---|---|---|
| committer | 2024-11-25 20:36:27 +0000 | |
| commit | 81eca92f8a5912a4b47c728e4f668243020b4120 (patch) | |
| tree | 43e076f9ef0b170c105f73c4ec82f6ee064886c1 /libs/androidfw/misc.cpp | |
| parent | 51c45c0022c31071901d02cbba1123142eebd0b7 (diff) | |
Log metrics for maximize / restoring a desktop window
Including both directions through double-tap, maximize button and
maximize menu.
Given the increasing need to apply side effects to these types of user
interactions (ui-event logs, resize-logs, and jank monitoring), this CL
introduces a ToggleTaskSizeInteraction data class to group constants
associated with particular UI interactions and reduce code repetition
for each combination of button/direction/input source. This ideally
makes it scale better to new interactions and additional metrics or jank
monitoring needs
Bug: 341320112
Flag: EXEMPT adding metrics
Test: verified with go/atomtester
Change-Id: Id5a2cebac311b929b898bccd174e0a64496cf58f
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions