Skip to content
Commit 8b899458 authored by Lais Andrade's avatar Lais Andrade
Browse files

Add step down ramp to vibration waveforms

Update ramp-to-step adapter to also add "step down to zero" segments to
off segments in the VibrationEffect waveform. This is the step version
of the same behavior implemented for PWLEs supporting "ramp down to zero",
and uses the same configured duration.

The StepToRampAdapter no longer converts all step waveforms into PWLEs,
since now they can also smooth the abrupt amplitude transitions.

Bug: 188431691
Test: RampToStepAdapterTest
Change-Id: I6e77139f4f21d6c344617bebdb83241b7a951bde
parent d4c591c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment