summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Michael Checo <michaelcheco@google.com> 2025-01-24 19:13:40 +0000
committer Michael Checo <michaelcheco@google.com> 2025-01-28 02:26:57 -0800
commit0698ecd28875ee913d0c930a6c89847eb72a1d74 (patch)
treef888daf3de17714b8690612f11bfa4d6c0e692f8 /libs/gui/SurfaceControl.cpp
parentbdb3bc4f121e6a6c899ef38222f980ed6f27fb22 (diff)
Pointer sensitivity: Adjust base gain range
This CL updates the `calculateBaseGain` function to use a base gain range of [1.0, 2.5] instead of [0.5, 1.5]. This change ensures that the pointer movement is more responsive to changes in sensitivity. Bug: b/384552392 Test: Manual Flag: com.android.hardware.input.pointer_acceleration Change-Id: I5db7b1473fd5b6869f02fc4ef7aa1458a0df6f58
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions