Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/vibrator/
DStepSegment.java120 if (defaultAmplitude > VibrationEffect.MAX_AMPLITUDE || defaultAmplitude <= 0) { in resolve()
128 return new StepSegment((float) defaultAmplitude / VibrationEffect.MAX_AMPLITUDE, in resolve()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationVibrationHelper.java35 private static final int VIBRATION_AMPLITUDE = VibrationEffect.MAX_AMPLITUDE / 2;
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationVibrationHelperTest.java43 private static final int VIBRATION_AMPLITUDE = VibrationEffect.MAX_AMPLITUDE / 2;
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DVibrationEffectXmlSerializer.java169 : Math.round(amplitude * VibrationEffect.MAX_AMPLITUDE); in toAmplitudeInt()
DSerializedAmplitudeStepWaveform.java196 parser, ATTRIBUTE_AMPLITUDE, 0, VibrationEffect.MAX_AMPLITUDE); in parseWaveformEntry()
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DStepSegmentTest.java80 assertEquals(1f, original.resolve(VibrationEffect.MAX_AMPLITUDE).getAmplitude()); in testResolve()
/frameworks/base/core/java/android/os/
DVibrationEffect.java72 public static final int MAX_AMPLITUDE = 255; field in VibrationEffect
288 ? DEFAULT_AMPLITUDE : (float) amplitudes[i] / MAX_AMPLITUDE; in createWaveform()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java2355 Float.parseFloat(getNextArgRequired()) / VibrationEffect.MAX_AMPLITUDE); in addWaveformToComposition()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1369 (int) (amplitude * VibrationEffect.MAX_AMPLITUDE); in VibrationInfo()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39523 Landroid/os/VibrationEffect;->MAX_AMPLITUDE:I