summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Garfield Tan <xutan@google.com> 2023-06-29 15:21:41 -0700
committer Garfield Tan <xutan@google.com> 2023-06-29 23:22:38 +0000
commit48139549212d6cf8b6581f2988f8369d0eeea42e (patch)
tree852cab17dd9f4265b396777bd12245f0ab13e53c /libs/androidfw/ApkParsing.cpp
parenta9b24fb2b1152148819c6240454e633af064f708 (diff)
Fix a few issues with mouse cursors and resize handles
1. We will not start a resize when the cursor is less than the corner radius close to one edge, and more than the corner radius close to the adjacent edge. 2. We will not set the cursor type on hover exits, because it should be the entering input window that sets it. 3. Only update to default once, so that views behind non-mouse touch regions of DragResizeInputHandler can set mouse cursors. However, we don't want to update to other cursor types only once because we will pilfer the gesture when we decide to resize tasks, and we shouldn't let views behind DragResizeInputHandler to change the mouse cursor. The TaskInputSink can't prevent all views behind mouse active touch region from getting events, because there is a small region out of each rounded corner that's inside the task bounds. Ultimately, we're limited by that the touch region isn't capable to enough to effectively express rounded corners. Bug: 266866903 Test: All mentioned issues aren't reproducible anymore. Change-Id: Ie3b4eba80749b5382932293b626122f8fabc7e48
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions