summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2024-11-05 20:36:00 +0000
committer Lais Andrade <lsandrade@google.com> 2024-11-08 12:11:36 +0000
commitba8e6b36c4f3ff99d3e13722d8c410b488a5448a (patch)
treee669a55feeb04dc6ada45992d6769c20048a23c9 /libs/androidfw/StringPool.cpp
parent3829f33b24cfee323acbb14d9a4f90e0a2e7edec (diff)
Introduce VibrationEffect.Composition delay type
Introduce new parameter to Composition.addPrimitive method to specify the type of delay that should be applied to the vibration primitive. The current behaviour will remain the default type, which is a pause between the previous primitive and the new one. A new delay type is defined as relative offset, representing the time after the start of the previous primitive that this new one should start playing. This allows compositions to be defined with regular timings, independently of the primitive duration on the specific device. Bug: 373357740 Flag: android.os.vibrator.primitive_composition_absolute_delay Test: FrameworksVibratorServicesTests Change-Id: I2d9a9d46318fdea1740af81f2ac45b4f6dc7359d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions