/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | VibratorHelperTest.java | 111 assertTrue(getRepeatIndex(effect) >= 0); in assertRepeatingVibration() 115 assertEquals(-1, getRepeatIndex(effect)); in assertSingleVibration() 118 private static int getRepeatIndex(VibrationEffect effect) { in getRepeatIndex() method in VibratorHelperTest 121 return ((VibrationEffect.Composed) effect).getRepeatIndex(); in getRepeatIndex()
|
D | NotificationAttentionHelperTest.java | 2803 && ((VibrationEffect.Composed) actual).getRepeatIndex() == mRepeatIndex) { in matches()
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | VibrationEffectXmlSerializer.java | 80 XmlValidator.checkSerializerCondition(effect.getRepeatIndex() == -1, in serializePredefinedEffect() 90 XmlValidator.checkSerializerCondition(effect.getRepeatIndex() == -1, in serializePrimitiveEffect() 112 if (effect.getRepeatIndex() == i) { in serializeWaveformEffect()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | PerformPrebakedVibratorStep.java | 99 int newRepeatIndex = effect.getRepeatIndex(); in replaceCurrentSegment() 102 if (segmentIndex < effect.getRepeatIndex()) { in replaceCurrentSegment()
|
D | SetAmplitudeVibratorStep.java | 176 int repeatIndex = effect.getRepeatIndex(); in getVibratorOnDuration() 198 if (i == segmentCount && effect.getRepeatIndex() < 0) { in getVibratorOnDuration()
|
D | DeviceAdapter.java | 100 int newRepeatIndex = composed.getRepeatIndex(); in adaptToVibrator()
|
D | ComposePrimitivesVibratorStep.java | 102 int repeatIndex = effect.getRepeatIndex(); in unrollPrimitiveSegments()
|
D | ComposePwleVibratorStep.java | 104 int repeatIndex = effect.getRepeatIndex(); in unrollRampSegments()
|
D | AbstractVibratorStep.java | 168 int repeatIndex = effect.getRepeatIndex(); in nextSteps()
|
D | VibrationScaler.java | 173 new VibrationEffect.Composed(segments, composedEffect.getRepeatIndex()); in scale()
|
D | VibrationStepConductor.java | 131 segmentIndex = effect.getRepeatIndex(); in nextVibrateStep()
|
D | Vibration.java | 405 proto.write(VibrationEffectProto.REPEAT, composed.getRepeatIndex()); in dumpEffect()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | DeviceAdapterTest.java | 120 assertThat(adaptedEffect.getRepeatIndex()).isAtLeast(effect.getRepeatIndex()); in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 737 public int getRepeatIndex() { in getRepeatIndex() method in VibrationEffect.Composed 745 if (getRepeatIndex() >= 0) { in computeCreateWaveformOffOnTimingsOrNull() 1253 if (composed.getRepeatIndex() >= 0) { in addSegments() 1255 mRepeatIndex = mSegments.size() + composed.getRepeatIndex(); in addSegments()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 1337 public int getRepeatIndex() { in getRepeatIndex() method in InputManagerService.VibrationInfo 1352 patternRepeatIndex = composed.getRepeatIndex(); in VibrationInfo() 1356 if (composed.getRepeatIndex() == i) { in VibrationInfo() 1421 info.getRepeatIndex(), v.mTokenValue); in vibrate() 1453 info.getRepeatIndex(), v.mTokenValue); in vibrateCombined() 1467 repeat = info.getRepeatIndex(); in vibrateCombined()
|
/frameworks/base/core/api/ |
D | test-current.txt | 2542 method public int getRepeatIndex();
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 39503 Landroid/os/VibrationEffect$Waveform;->getRepeatIndex()I
|