/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | RampDownAdapter.java | 56 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 …]
|
D | SplitSegmentsAdapter.java | 42 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()
|
D | RampToStepAdapter.java | 47 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()
|
D | AbstractVibratorStep.java | 168 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()
|
D | StepToRampAdapter.java | 40 int repeatIndex) { in adaptToVibrator() argument 43 return repeatIndex; in adaptToVibrator() 65 return repeatIndex; in adaptToVibrator()
|
D | ComposePrimitivesVibratorStep.java | 102 int repeatIndex = effect.getRepeatIndex(); in unrollPrimitiveSegments() local 106 if (repeatIndex >= 0) { in unrollPrimitiveSegments() 107 i = repeatIndex; in unrollPrimitiveSegments()
|
D | SetAmplitudeVibratorStep.java | 176 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()
|
D | ComposePwleVibratorStep.java | 104 int repeatIndex = effect.getRepeatIndex(); in unrollRampSegments() local 110 if (repeatIndex >= 0) { in unrollRampSegments() 111 i = repeatIndex; in unrollRampSegments()
|
D | ClippingAmplitudeAndFrequencyAdapter.java | 39 int repeatIndex) { in adaptToVibrator() argument 47 return repeatIndex; in adaptToVibrator()
|
D | VibrationSegmentsAdapter.java | 40 int adaptToVibrator(VibratorInfo info, List<VibrationEffectSegment> segments, int repeatIndex); in adaptToVibrator() argument
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | SerializedAmplitudeStepWaveform.java | 51 private SerializedAmplitudeStepWaveform(long[] timings, int[] amplitudes, int repeatIndex) { in SerializedAmplitudeStepWaveform() argument 54 mRepeatIndex = repeatIndex; in SerializedAmplitudeStepWaveform()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 726 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/ |
D | NotificationAttentionHelperTest.java | 2796 VibrateRepeatMatcher(int repeatIndex) { in VibrateRepeatMatcher() argument 2797 mRepeatIndex = repeatIndex; in VibrateRepeatMatcher()
|