diff options
| author | Lais Andrade <lsandrade@google.com> | 2022-03-16 09:49:57 +0000 |
|---|---|---|
| committer | Lais Andrade <lsandrade@google.com> | 2022-04-04 14:08:25 +0100 |
| commit | b2bb2eda0fd1ca3057049f6048402d8a38016ffe (patch) | |
| tree | 50a07ed0655693a71701ce4e3405994349ccd5dc /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | f5debd0bf50c5b9c62e1bf98397310c2244b77ef (diff) | |
Use composition size limit on repeating effects
Concatenate short repeating vibration patterns for PWLE and composed
primitives into a larger command to the vibrator HAL, making use of the
limits for compositions.
Add a check to find the best place to break down a large or repeating
PWLE waveform, preferably at amplitude zero, to avoid segmenting the HAL
commands on a high amplitude, causing a click effect.
Fix: 224930189
Test: VibrationThreadTest
Change-Id: Iac59855886596c98de583690356ef02bc67791df
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
