summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/driver.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-01-03 20:56:57 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-01-03 21:08:10 +0000
commit4b36db912abd9fc9218b5094c6e56f7a7d2a666e (patch)
tree2ee1775cb2de0a958daa237a0412e4fd3ac7a8a4 /vulkan/libvulkan/driver.cpp
parent85daa5d069707edd43e4ca2b401e8dffceecd2a5 (diff)
PointerChoreographer: Reset stylus icon on HOVER_EXIT
Unlike mouse and touchpad, a stylus pointer doesn't always move "continuously" across the screen. It can jump from one place to another by exiting hover at one location and entering hover in a different place. When it first hovers in a new location, the same icon would have been used in the new place as in the previous location until the app in the new location specifies a new icon. If the app wants to show a different icon, this can result in the old icon "flashing" for a short period before it is updated. To eliminate the flashing of the old icon, we will reset the icon on HOVER_EXIT to the unspecified type. Bug: 298074290 Test: manual Test: atest inputflinger_tests Change-Id: Ifdc7d999d39f2620b5ff91025b2d24ee2e23e4b9
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
0 files changed, 0 insertions, 0 deletions