summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
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
commitb2bb2eda0fd1ca3057049f6048402d8a38016ffe (patch)
tree50a07ed0655693a71701ce4e3405994349ccd5dc /libs/androidfw/StringPool.cpp
parentf5debd0bf50c5b9c62e1bf98397310c2244b77ef (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 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions