diff options
| author | Lais Andrade <lsandrade@google.com> | 2022-01-21 18:31:32 +0000 |
|---|---|---|
| committer | Lais Andrade <lsandrade@google.com> | 2022-01-25 18:40:24 +0000 |
| commit | 3c3dcac46d2e5a49d0d64425ac86590bdb7d4651 (patch) | |
| tree | 9fdacf002b8e18d64bbb7674af8715304cd30740 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 136ca7e3fd253059943614fb35e6d123be7933e8 (diff) | |
Make VibrationEffect.WaveformBuilder public
Update WaveformBuilder to have a single method that adds transitions to
new sets of vibration attributes for a fixed duration. The parameters
are represented by a new type VibrationEffect.VibrationParameter, and
have two concrete types now: amplitude and frequency.
Update VibrationEffect.Composition API to add effects and repeating
effects, removing the repeat index parameter from WaveformBuilder.
Remove delay parameter from Composition in favor of a new method
addOffPeriod to make it less ambiguous when the delay is played in the
composition.
Bug: 203785430
Test: VibrationEffectTest
Change-Id: I40cbfaff2de3231378da7db6a2bc5c9252e6d8f8
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
