Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DVibrationEffect.java760 int patternIndex = 0; in computeCreateWaveformOffOnTimingsOrNull() local
774 boolean isCurrentPatternIndexOff = (patternIndex % 2) == 0; in computeCreateWaveformOffOnTimingsOrNull()
778 ++patternIndex; in computeCreateWaveformOffOnTimingsOrNull()
780 patternBuffer[patternIndex] += stepSegment.getDuration(); in computeCreateWaveformOffOnTimingsOrNull()
783 return Arrays.copyOf(patternBuffer, patternIndex + 1); in computeCreateWaveformOffOnTimingsOrNull()