Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vibrator/
DRampDownAdapter.java55 public int apply(List<VibrationEffectSegment> segments, int repeatIndex, in apply() argument
59 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
80 int newRepeatIndex = repeatIndex; in addRampDownToZeroAmplitudeSegments()
121 if (repeatIndex > i) { in addRampDownToZeroAmplitudeSegments()
143 private int addRampDownToLoop(List<VibrationEffectSegment> segments, int repeatIndex) { in addRampDownToLoop() argument
144 if (repeatIndex < 0) { in addRampDownToLoop()
[all …]
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()
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()
DClippingAmplitudeAndFrequencyAdapter.java41 public int apply(List<VibrationEffectSegment> segments, int repeatIndex, VibratorInfo info) { in apply() argument
51 return repeatIndex; in apply()
DVibrationEffectAdapters.java50 int apply(List<VibrationEffectSegment> segments, int repeatIndex, T modifier); in apply() argument
DVibrationThread.java1452 int repeatIndex = effect.getRepeatIndex(); in getVibratorOnDuration() local
1463 if (i == segmentCount && repeatIndex >= 0) { in getVibratorOnDuration()
1464 i = repeatIndex; in getVibratorOnDuration()
1466 repeatIndex = -1; in getVibratorOnDuration()
/frameworks/base/core/java/android/os/
DVibrationEffect.java570 public Composed(@NonNull List<? extends VibrationEffectSegment> segments, int repeatIndex) { in Composed() argument
573 mRepeatIndex = repeatIndex; in Composed()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java1781 VibrateRepeatMatcher(int repeatIndex) { in VibrateRepeatMatcher() argument
1782 mRepeatIndex = repeatIndex; in VibrateRepeatMatcher()