Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vibrator/
DRampDownAdapter.java56 int repeatIndex) { in adaptToVibrator() argument
59 return repeatIndex; in adaptToVibrator()
61 repeatIndex = addRampDownToZeroAmplitudeSegments(segments, repeatIndex); in adaptToVibrator()
62 repeatIndex = addRampDownToLoop(segments, repeatIndex); in adaptToVibrator()
63 return repeatIndex; in adaptToVibrator()
79 int repeatIndex) { in addRampDownToZeroAmplitudeSegments() argument
120 if (repeatIndex >= i) { in addRampDownToZeroAmplitudeSegments()
121 if (repeatIndex == i) { in addRampDownToZeroAmplitudeSegments()
125 repeatIndex++; in addRampDownToZeroAmplitudeSegments()
128 repeatIndex += segmentsAdded; in addRampDownToZeroAmplitudeSegments()
[all …]
DSplitSegmentsAdapter.java42 int repeatIndex) { in adaptToVibrator() argument
45 return repeatIndex; in adaptToVibrator()
50 return repeatIndex; in adaptToVibrator()
66 if (repeatIndex > i) { in adaptToVibrator()
67 repeatIndex += addedSegments; in adaptToVibrator()
73 return repeatIndex; in adaptToVibrator()
DRampToStepAdapter.java47 int repeatIndex) { in adaptToVibrator() argument
50 return repeatIndex; in adaptToVibrator()
62 if (repeatIndex > i) { in adaptToVibrator()
63 repeatIndex += addedSegments; in adaptToVibrator()
68 return repeatIndex; in adaptToVibrator()
DAbstractVibratorStep.java168 int repeatIndex = effect.getRepeatIndex(); in nextSteps() local
169 if (nextSegmentIndex >= effectSize && repeatIndex >= 0) { in nextSteps()
171 int loopSize = effectSize - repeatIndex; in nextSteps()
172 int loopSegmentsPlayed = nextSegmentIndex - repeatIndex; in nextSteps()
174 nextSegmentIndex = repeatIndex + ((nextSegmentIndex - effectSize) % loopSize); in nextSteps()
DStepToRampAdapter.java40 int repeatIndex) { in adaptToVibrator() argument
43 return repeatIndex; in adaptToVibrator()
65 return repeatIndex; in adaptToVibrator()
DComposePrimitivesVibratorStep.java102 int repeatIndex = effect.getRepeatIndex(); in unrollPrimitiveSegments() local
106 if (repeatIndex >= 0) { in unrollPrimitiveSegments()
107 i = repeatIndex; in unrollPrimitiveSegments()
DSetAmplitudeVibratorStep.java176 int repeatIndex = effect.getRepeatIndex(); in getVibratorOnDuration() local
189 if (i == segmentCount && repeatIndex >= 0) { in getVibratorOnDuration()
190 i = repeatIndex; in getVibratorOnDuration()
192 repeatIndex = -1; in getVibratorOnDuration()
DComposePwleVibratorStep.java104 int repeatIndex = effect.getRepeatIndex(); in unrollRampSegments() local
110 if (repeatIndex >= 0) { in unrollRampSegments()
111 i = repeatIndex; in unrollRampSegments()
DClippingAmplitudeAndFrequencyAdapter.java39 int repeatIndex) { in adaptToVibrator() argument
47 return repeatIndex; in adaptToVibrator()
DVibrationSegmentsAdapter.java40 int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, int repeatIndex); in adaptToVibrator() argument
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DSerializedAmplitudeStepWaveform.java51 private SerializedAmplitudeStepWaveform(long[] timings, int[] amplitudes, int repeatIndex) { in SerializedAmplitudeStepWaveform() argument
54 mRepeatIndex = repeatIndex; in SerializedAmplitudeStepWaveform()
/frameworks/base/core/java/android/os/
DVibrationEffect.java726 public Composed(@NonNull List<? extends VibrationEffectSegment> segments, int repeatIndex) { in Composed() argument
729 mRepeatIndex = repeatIndex; in Composed()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAttentionHelperTest.java2796 VibrateRepeatMatcher(int repeatIndex) { in VibrateRepeatMatcher() argument
2797 mRepeatIndex = repeatIndex; in VibrateRepeatMatcher()