Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/vibrator/
DRampSegment.java148 float newStartAmplitude = VibrationEffect.scale(mStartAmplitude, scaleFactor); in scale() local
150 if (Float.compare(mStartAmplitude, newStartAmplitude) == 0 in scale()
154 return new RampSegment(newStartAmplitude, newEndAmplitude, mStartFrequencyHz, in scale()
163 float newStartAmplitude = VibrationEffect.scaleLinearly(mStartAmplitude, scaleFactor); in scaleLinearly() local
165 if (Float.compare(mStartAmplitude, newStartAmplitude) == 0 in scaleLinearly()
169 return new RampSegment(newStartAmplitude, newEndAmplitude, mStartFrequencyHz, in scaleLinearly()