Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DVibrationEffect.java1395 private float mLastAmplitude = 0f; field in VibrationEffect.WaveformBuilder
1488 mSegments.add(new StepSegment(mLastAmplitude, mLastFrequencyHz, durationMs)); in addSustain()
1531 return mLastAmplitude; in extractTargetAmplitude()
1554 if ((Math.abs(mLastAmplitude - targetAmplitude) < EPSILON) in addTransitionSegment()
1559 mSegments.add(new RampSegment(mLastAmplitude, targetAmplitude, in addTransitionSegment()
1564 mLastAmplitude = targetAmplitude; in addTransitionSegment()