summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2023-11-30 10:17:12 -0800
committer Juan Sebastian Martinez <juansmartinez@google.com> 2023-12-08 14:51:28 -0800
commit408c5b1ec7fdc32923c0491fa45b6f49f0d55d79 (patch)
tree73848dc38d62665b9fbe400866009e63c5dcc6af /libs/androidfw/StringPool.cpp
parenta2cb765c3a508ef5f4051d1f2465018e2e9f080f (diff)
Implementing a power scale in SliderHapticFeedbackProvider.
A power function is applied to vibration scaling to compensate for human non-linear perception. The exponent of the power function is added to SliderHapticFeedbackConfig. The new scaling is applied to vibrations while dragging and vibrations at the bookends. Test: atest SystemUITests:SliderHapticFeedbackProviderTest Bug: 295932558 Flag: ACONFIG com.android.systemui.haptic_brightness_slider TEAMFOOD Change-Id: If12c3921a7c79ec9f27f3381d3fc3372c9a33b90
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions