Add "change aspect ratio" to Recents/Overview

This shows up if the launcher is in a sw600dp-or-greater configuration.

Test: AspectRatioSystemShortcutTests
Test: OverviewMenuImageTest
Test: Manual check on phone, tablet, and inner/outer fold screens.
Flag: com.android.window.flags.universal_resizable_by_default
Bug: 357141415
Change-Id: I1bcbf9299d28ce68cccd636d92ed7195d64736eb
This commit is contained in:
Robin Lee
2025-02-04 14:27:19 +01:00
parent 88b2f23a83
commit 116eafb95c
6 changed files with 416 additions and 0 deletions
@@ -865,6 +865,9 @@ public class StatsLogManager implements ResourceBasedOverride {
@UiEvent(doc = "User long press nav handle and a long press runnable was created.")
LAUNCHER_OMNI_GET_LONG_PRESS_RUNNABLE(1545),
@UiEvent(doc = "User tapped on \"change aspect ratio\" system shortcut.")
LAUNCHER_ASPECT_RATIO_SETTINGS_SYSTEM_SHORTCUT_TAP(2219),
// One Grid Flags
@UiEvent(doc = "User sets the device in Fixed Landscape")
FIXED_LANDSCAPE_TOGGLE_ENABLE(2014),