summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2023-09-06 23:08:04 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2023-09-21 21:30:21 +0000
commit616806e510dc3f2b9553a00b8e3b1f4b0df71c97 (patch)
treeacaff2b7dd45492a080aaea48351e1fc3b4ac8f7 /api/api.go
parent668e17494cd1847bdca32b11edb5adb149028295 (diff)
Rotary encoder scroll haptics in View class
This change implements scroll haptics in View class for rotary encoders. The View class implementation allows to avoid regression for devices which have had rotary scroll haptics in forks of previous Android releases. The long term plan for scroll haptics is to use the ScrollFeedbackProvider in widgets. As such, this implementation will eventually be removed in future Android releases once the ScrollFeedbackProvider has been well integrated with major widgets. We have also fixed a bug in HapticScrollFeedbackProvider, which was necessary in using it for View-based rotary haptics. The bug was that it was allowing scroll-limit haptics without any non-limit scroll events. Tests have accordingly been adjusted. Bug: 299587011 Test: manual, unit tests Change-Id: Ifaeb89bd5bdc8c806c718d4aa8087cc0d2bf3ae5
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions