Searched refs:waveformBuilder (Results 1 – 2 of 2) sorted by relevance
141 Builder waveformBuilder = new Builder(); in parseNext() local147 parseWaveformEntry(parser, waveformBuilder); in parseNext()152 parseRepeating(parser, waveformBuilder); in parseNext()156 XmlValidator.checkParserCondition(waveformBuilder.hasNonZeroDuration(), in parseNext()162 return waveformBuilder.build(); in parseNext()165 private static void parseRepeating(TypedXmlPullParser parser, Builder waveformBuilder) in parseRepeating() argument170 waveformBuilder.setRepeatIndexToCurrentEntry(); in parseRepeating()175 parseWaveformEntry(parser, waveformBuilder); in parseRepeating()186 private static void parseWaveformEntry(TypedXmlPullParser parser, Builder waveformBuilder) in parseWaveformEntry() argument199 waveformBuilder.addDurationAndAmplitude(durationMs, amplitude); in parseWaveformEntry()
121 VibrationEffect.WaveformBuilder waveformBuilder = VibrationEffect.startWaveform(); in createPwleWaveformVibration() local123 waveformBuilder.addTransition(Duration.ofMillis((int) values[i + 2]), in createPwleWaveformVibration()127 VibrationEffect effect = waveformBuilder.build(); in createPwleWaveformVibration()