Home
last modified time | relevance | path

Searched refs:MAX_AMPLITUDE (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DVibrationEffect.java54 public static final int MAX_AMPLITUDE = 255; field in VibrationEffect
384 float val = MathUtils.pow(amplitude / (float) MAX_AMPLITUDE, gamma); in scale()
424 if (maxAmplitude > MAX_AMPLITUDE || maxAmplitude < 0) { in scale()
442 if (defaultAmplitude > MAX_AMPLITUDE || defaultAmplitude < 0) { in resolve()
565 if (maxAmplitude > MAX_AMPLITUDE || maxAmplitude < 0) { in scale()
569 if (gamma == 1.0f && maxAmplitude == MAX_AMPLITUDE) { in scale()
592 if (defaultAmplitude > MAX_AMPLITUDE || defaultAmplitude < 0) { in resolve()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java345 this(gamma, VibrationEffect.MAX_AMPLITUDE); in ScaleLevel()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54051 Landroid/os/VibrationEffect;->MAX_AMPLITUDE:I