summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLais Andrade <lsandrade@google.com>2020-04-17 12:29:39 +0000
committerLais Andrade <lsandrade@google.com>2020-04-20 15:02:15 +0000
commitbf7a301ab05c8b3fcc0c7f6e217609af9b87fe1b (patch)
tree891f3888b852ae2bdbc5a4df8290d13b9b8e3d1c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent02c8566b9793060ac20601e33d528170d842ce5c (diff)
Apply intensity settings to composed vibration effects
Use the existing maxAmplitude and gamma adjustment values to apply the relative scaling of default vibration intensity settings and user settings on top of the PrimitiveEffect#scale value. As a consequence, the relative scaled amplitude of a OneShot or Waveform vibration effect should match the scaled PrimitiveEffect#scale value. Fix: 154089649 Test: atest FrameworksCoreTests:VibrationEffectTest Change-Id: I3ca0042a42675289a2ed8110c9dc3798055ebf4a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions