Searched refs:applyEffectStrength (Results 1 – 12 of 12) sorted by relevance
91 PrebakedSegment light = medium.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_LIGHT); in testApplyEffectStrength()97 PrebakedSegment strong = medium.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_STRONG); in testApplyEffectStrength()103 assertSame(medium, medium.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_MEDIUM)); in testApplyEffectStrength()105 assertSame(medium, medium.applyEffectStrength(1000)); in testApplyEffectStrength()
93 primitive.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_STRONG)); in testApplyEffectStrength_ignoresAndReturnsSameEffect()
114 assertSame(step, step.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_STRONG)); in testApplyEffectStrength_ignoresAndReturnsSameEffect()
116 assertSame(ramp, ramp.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_STRONG)); in testApplyEffectStrength_ignoresAndReturnsSameEffect()
113 effect = effect.applyEffectStrength(newEffectStrength).resolve(mDefaultVibrationAmplitude); in scale()143 return prebaked.applyEffectStrength(newEffectStrength); in scale()
123 public abstract <T extends VibrationEffectSegment> T applyEffectStrength(int effectStrength); in applyEffectStrength() method in VibrationEffectSegment
108 public PrimitiveSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() method in PrimitiveSegment
150 public StepSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() method in StepSegment
138 public PrebakedSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() method in PrebakedSegment
168 public RampSegment applyEffectStrength(int effectStrength) { in applyEffectStrength() method in RampSegment
680 VibrationEffect.Composed applied = DEFAULT_ONE_SHOT.applyEffectStrength( in testApplyEffectStrengthOneShot()687 VibrationEffect.Composed applied = TEST_WAVEFORM.applyEffectStrength( in testApplyEffectStrengthWaveform()695 .applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_LIGHT); in testApplyEffectStrengthPrebaked()705 assertEquals(effect, effect.applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_LIGHT)); in testApplyEffectStrengthComposed()710 .applyEffectStrength(VibrationEffect.EFFECT_STRENGTH_LIGHT); in testApplyEffectStrengthComposed()
576 public <T extends VibrationEffect> T applyEffectStrength(int effectStrength) { in applyEffectStrength() method in VibrationEffect848 public Composed applyEffectStrength(int effectStrength) { in applyEffectStrength() method in VibrationEffect.Composed852 scaledSegments.add(mSegments.get(i).applyEffectStrength(effectStrength)); in applyEffectStrength()