Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 408c5b1e authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

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
parent a2cb765c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment