diff options
author | Lais Andrade <lsandrade@google.com> | 2021-03-04 20:00:39 +0000 |
---|---|---|
committer | Lais Andrade <lsandrade@google.com> | 2021-03-18 18:06:45 +0000 |
commit | 601a944e4581f00c35bd491afff1868f56427cbf (patch) | |
tree | 1bdb273551873b5179724a992f28f5a15dd0fb3c /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | bd992109e08d0435a474f6350a4c39098a3f6e40 (diff) |
Introduce WaveformBuilder to VibrationEffect
Create a new parcelable RampSegment and introduce
VibrationEffect.startWaveform() method that returns a
WaveformBuilder that allows creating step/ramp waveforms that
changes amplitude and frequency of the effect.
Implementations of VibrationThread and InputManagerService for now just
ignore the new segments and keep existing behavior.
Bug: 167947076
Test: VibrationEffectTest
Change-Id: Ibac895b63196e779457efc297f1f5497a7814ae9
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions