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
10 files changed