Searched refs:MAX_AMPLITUDE (Results 1 – 10 of 10) sorted by relevance
120 if (defaultAmplitude > VibrationEffect.MAX_AMPLITUDE || defaultAmplitude <= 0) { in resolve()128 return new StepSegment((float) defaultAmplitude / VibrationEffect.MAX_AMPLITUDE, in resolve()
35 private static final int VIBRATION_AMPLITUDE = VibrationEffect.MAX_AMPLITUDE / 2;
43 private static final int VIBRATION_AMPLITUDE = VibrationEffect.MAX_AMPLITUDE / 2;
169 : Math.round(amplitude * VibrationEffect.MAX_AMPLITUDE); in toAmplitudeInt()
196 parser, ATTRIBUTE_AMPLITUDE, 0, VibrationEffect.MAX_AMPLITUDE); in parseWaveformEntry()
80 assertEquals(1f, original.resolve(VibrationEffect.MAX_AMPLITUDE).getAmplitude()); in testResolve()
72 public static final int MAX_AMPLITUDE = 255; field in VibrationEffect288 ? DEFAULT_AMPLITUDE : (float) amplitudes[i] / MAX_AMPLITUDE; in createWaveform()
2355 Float.parseFloat(getNextArgRequired()) / VibrationEffect.MAX_AMPLITUDE); in addWaveformToComposition()
1369 (int) (amplitude * VibrationEffect.MAX_AMPLITUDE); in VibrationInfo()
39523 Landroid/os/VibrationEffect;->MAX_AMPLITUDE:I