summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-06-07 17:35:40 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2023-06-07 17:54:45 +0000
commita6ae45c8a6fd3fabd807faf0fef44a9f670417dd (patch)
tree00eebc42dedba3b89e4c3801bcdef7b33e1f51b7 /libs/androidfw/AttributeResolution.cpp
parent9ce13dd292932c89c09a0931aec865c4353508f8 (diff)
PointerLocationView: Do not scale touch and tool axes when drawing
The touch and tool axes in MotionEvent use display pixels as their unit, so it is incorrect to scale them when drawing. Instead, to make the orientation arrow more visible in PointerLocationView, make the minimum size for the arrow 24dp, instead of the old minimum of 20 pixels. Bug: 285045978 Test: manual Change-Id: I0d30c7bf0ad8cd833434229a9f6fc03c80ada6fd
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions