Searched refs:newAmplitude (Results 1 – 1 of 1) sorted by relevance
140 float newAmplitude = VibrationEffect.scale(mAmplitude, scaleFactor); in scale() local141 if (Float.compare(newAmplitude, mAmplitude) == 0) { in scale()144 return new StepSegment(newAmplitude, mFrequencyHz, mDuration); in scale()154 float newAmplitude = VibrationEffect.scaleLinearly(mAmplitude, scaleFactor); in scaleLinearly() local155 if (Float.compare(newAmplitude, mAmplitude) == 0) { in scaleLinearly()158 return new StepSegment(newAmplitude, mFrequencyHz, mDuration); in scaleLinearly()