commit | 5fea2aa6b4c2c9d8941325f424d1cf7ab4078e83 | [log] [tgz] |
---|---|---|
author | Ahmad Khalil <khalilahmad@google.com> | Mon Feb 19 14:42:14 2024 +0000 |
committer | Ahmad Khalil <khalilahmad@google.com> | Wed Feb 21 12:30:51 2024 +0000 |
tree | 11a30798977634aa8caafc6abc7247b570be1618 | |
parent | fed1ab241a4dc9d6b71d4d2b2331c5868267b209 [diff] |
Make Adaptive Haptics Scaling Linear We added a new method to VibrationEffect which will perform linear scaling to vibration intensities. This method is now used to perform the scaling for adaptive haptics and will remove gamma corrections from happening when applying this scale. Bug: 325921278 Test: atest PrebakedSegmentTest/PrimitiveSegmentTest/RampSegmentTest/StepSegmentTest Change-Id: Iea5ece0ec3c01d206462bd3e32de9b299dae54a4