Searched refs:defaultAmplitude (Results 1 – 8 of 8) sorted by relevance
119 public StepSegment resolve(int defaultAmplitude) { in resolve() argument120 if (defaultAmplitude > VibrationEffect.MAX_AMPLITUDE || defaultAmplitude <= 0) { in resolve()123 + defaultAmplitude + ")"); in resolve()128 return new StepSegment((float) defaultAmplitude / VibrationEffect.MAX_AMPLITUDE, in resolve()
94 public abstract <T extends VibrationEffectSegment> T resolve(int defaultAmplitude); in resolve() argument
93 public PrimitiveSegment resolve(int defaultAmplitude) { in resolve() argument
125 public PrebakedSegment resolve(int defaultAmplitude) { in resolve() argument
139 public RampSegment resolve(int defaultAmplitude) { in resolve() argument
116 public void resolveEffects(int defaultAmplitude) { in resolveEffects() argument118 mEffectToPlay.transform(VibrationEffect::resolve, defaultAmplitude); in resolveEffects()123 mFallbacks.setValueAt(i, mFallbacks.valueAt(i).resolve(defaultAmplitude)); in resolveEffects()
553 public abstract <T extends VibrationEffect> T resolve(int defaultAmplitude); in resolve() argument869 public Composed resolve(int defaultAmplitude) { in resolve() argument873 resolvedSegments.add(mSegments.get(i).resolve(defaultAmplitude)); in resolve()
1597 int defaultAmplitude = mContextSpy.getResources().getInteger(1614 assertEquals(defaultAmplitude / 255f, fakeVibrator.getAmplitudes().get(0), 1e-5);