summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Garfield Tan <xutan@google.com> 2022-07-18 12:05:42 -0700
committer Garfield Tan <xutan@google.com> 2022-07-21 15:21:43 -0700
commit4b08ecf85400b8055018401e7f5492af2b1bf7c0 (patch)
treef16c520ce3b520a223f644417616f41d638e4edc /libs/androidfw/ResourceTimer.cpp
parente01425ec924597cd0e267dc61bf9e035b6ffb026 (diff)
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions