summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2018-05-25 15:13:36 +0100
committer Michael Wright <michaelwr@google.com> 2018-05-30 00:21:38 +0100
commit0dbb516a4383f022420d57b7af1865eb37cb3021 (patch)
tree4e785f56304532a324305b8edf27e155842a6e63 /libs/hwui/ProgramCache.cpp
parentdfb99b257b000459d67b14d505ef3b7470f62b65 (diff)
Allow for any default vibration intensity level.
Because we can't always create the range of effects we'd like, we may need different default intensity levels for different devices. This works fine for prebaked effects, but for application defined amplitudes we need to provide a scaling function. In addition, this scaling function should leave amplitude values untouched in the default state so that application developers produce the effects they expect. Bug: 80275800 Test: manual Merged-In: Ibb552ddfa60891853ebcb1a5567ed6745bb5defe Change-Id: Ibb552ddfa60891853ebcb1a5567ed6745bb5defe
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions