summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Garfield Tan <xutan@google.com> 2023-01-19 15:38:10 -0800
committer Garfield Tan <xutan@google.com> 2023-01-23 11:24:21 -0800
commit7ea23aa271477e38b102b1e0cb788c3db300c2b0 (patch)
treea4409d1d3e6831ad2b9e55aacac30468af35f0d9 /libs/androidfw/AssetsProvider.cpp
parentf7347b4978948ced45f09945a4e394195164c974 (diff)
Refactor DragDetector and fix a few resizing bugs
There are a few things this CL does: 1. It refactors DragDetector to filter out moves in the slop instead of returning a boolean value to let the caller to decide what to do with it. 2. It fixes the bug that window decors respond to window moves in the slop. 3. It skips the unnecessary transaction at the end of drag resizing gesture in TaskPositioner if nothing has changed. 4. It fixes the bug that TaskPositioner uses if the new task bounds is empty to decide if there is no change in the task bounds. Bug: 266448890 Test: Drag resize windows with mice and fingers. Test: atest WMShellUnitTests Change-Id: I8e9e1204e841bfd8f730d4091e37955f1f376018
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions