Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/
H A DRampDownAdapter.java59 return repeatIndex; in apply()
61 repeatIndex = addRampDownToZeroAmplitudeSegments(segments, repeatIndex); in apply()
62 repeatIndex = addRampDownToLoop(segments, repeatIndex); in apply()
63 return repeatIndex; in apply()
79 int repeatIndex) { in addRampDownToZeroAmplitudeSegments() argument
121 if (repeatIndex > i) { in addRampDownToZeroAmplitudeSegments()
144 if (repeatIndex < 0) { in addRampDownToLoop()
146 return repeatIndex; in addRampDownToLoop()
153 return repeatIndex; in addRampDownToLoop()
171 repeatIndex++; in addRampDownToLoop()
[all …]
H A DStepToRampAdapter.java38 public int apply(List<VibrationEffectSegment> segments, int repeatIndex, in apply() argument
42 return repeatIndex; in apply()
45 repeatIndex = splitLongRampSegments(info, segments, repeatIndex); in apply()
46 return repeatIndex; in apply()
77 int repeatIndex) { in splitLongRampSegments() argument
81 return repeatIndex; in splitLongRampSegments()
97 if (repeatIndex > i) { in splitLongRampSegments()
98 repeatIndex += addedSegments; in splitLongRampSegments()
104 return repeatIndex; in splitLongRampSegments()
H A DRampToStepAdapter.java43 public int apply(List<VibrationEffectSegment> segments, int repeatIndex, in apply() argument
47 return repeatIndex; in apply()
59 if (repeatIndex > i) { in apply()
60 repeatIndex += addedSegments; in apply()
65 return repeatIndex; in apply()
H A DClippingAmplitudeAndFrequencyAdapter.java41 public int apply(List<VibrationEffectSegment> segments, int repeatIndex, VibratorInfo info) { in apply() argument
51 return repeatIndex; in apply()
H A DVibrationEffectAdapters.java50 int apply(List<VibrationEffectSegment> segments, int repeatIndex, T modifier); in apply() argument
H A DVibrationThread.java1489 int repeatIndex = effect.getRepeatIndex(); in getVibratorOnDuration() local
1500 if (i == segmentCount && repeatIndex >= 0) { in getVibratorOnDuration()
1501 i = repeatIndex; in getVibratorOnDuration()
1503 repeatIndex = -1; in getVibratorOnDuration()
/aosp12/frameworks/base/core/java/android/os/
H A DVibrationEffect.java570 public Composed(@NonNull List<? extends VibrationEffectSegment> segments, int repeatIndex) { in Composed() argument
573 mRepeatIndex = repeatIndex; in Composed()
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java467 int repeatIndex = (customAlertDuration < 0) in playAlertTone() local
469 VibrationEffect effect = VibrationEffect.createWaveform(vibrationPattern, repeatIndex); in playAlertTone()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DBuzzBeepBlinkTest.java1860 VibrateRepeatMatcher(int repeatIndex) { in VibrateRepeatMatcher() argument
1861 mRepeatIndex = repeatIndex; in VibrateRepeatMatcher()