summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-09-14 10:20:21 -0700
committerChong Zhang <chz@google.com>2015-09-15 11:20:21 -0700
commit09b21efb97d539543259b33e2da9d4c7a41966c8 (patch)
treedfa831b1f2447d807ced0199357c2e1edf2de06c /tools/aapt2/java/JavaClassGenerator.cpp
parentb34939afefda35d18bfb0a72173ac5f08eea6ced (diff)
Use fullscreen sized buffer for drag resizing
- When drag resizing starts, set the surface size to fullscreen (plus any surface insets requested by win attrs), so that we don't reallocate buffers and the buffers don't get rejected by surfaceflinger due to size-mismatch. - When drag resizing ends, restore the surface size to the original. - Update shown frame before setSurfaceBoundariesLocked(), as the top-left of the window could change, we need to update the surface position. This fixes incorrect window positing during resizing by corners on top/left. - When doing tap-detection, skip non-freeformed tasks. This fixes the bug where clicking near border of a window could dismiss it. Change-Id: I5dc9fc34ff05685320b8fe5d491b9c066c6726e8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions