Window Manager
Prints the help text
Reset the display size to default
Set the display size to a specific width and height in pixels
Set the display size to a specific width and height in density-independent pixels
Set the display size for a specific display ID
Display Scaling Control
Turn off display scaling
Set display scaling to automatic mode
Set display scaling for a specific display ID
Keyguard Dismissal
Dismisses the keyguard
User Rotation Settings
Print the user rotation mode and user rotation
Set the user rotation mode to free
Set the user rotation mode to lock and specify the rotation value
Set the user rotation mode for a specific display ID
wm user-rotation -d 0 lock
Dumps the encoded view hierarchies of visible windows
wm dump-visible-window-views
App Requested Orientation
Print the rotating display for app requested orientation
wm fixed-to-user-rotation
Set the rotating display for app requested orientation to enabled
wm fixed-to-user-rotation enabled
Set the rotating display for app requested orientation to disabled for a specific display ID
wm fixed-to-user-rotation -d 0 disabled
Ignore App Requested Orientation
Set whether to ignore app requested orientation to true
wm set-ignore-orientation-request true
Set whether to ignore app requested orientation to false for a specific display ID
wm set-ignore-orientation-request -d 0 false
Prints whether app requested orientation should be ignored
wm get-ignore-orientation-request
Multi-Window Configuration
Set multi-window config options (Needs specific parameters)
wm set-multi-window-config
Prints values of the multi-window config options.
wm get-multi-window-config
Resets overrides to default values of the multi-window config options
wm reset-multi-window-config
Other Settings
Resets all override settings
Return or override display size and density at once
Reset the folded area to default
Set the folded area to specific left, top, right, and bottom values
wm folded-area 0,0,100,100