Skip to content
Commit 4b08ecf8 authored by Garfield Tan's avatar Garfield Tan
Browse files

Change the strategy of handling batched input events

This CL changed DragResizeInputListener to use the same strategy of
handling batched input events as ViewRootImpl. This effectively
throttles the resize requests by the refresh rate of the primary
display.

This CL also stops relying on WM core responding to WM shell on each
size request, which may not be always true depending on the WM core
state, e.g. when WM core detects the requested bounds violate the
smallest dimension requirements.

Bug: 239238690
Test: Fluid resizes work with both fingers and mice.
Change-Id: Iad95ba7a5163138c52d902c94e1a3e4dc3180b6b
parent e01425ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment