Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DCombinedVibrationTest.java52 .addVibrator(0, VALID_EFFECT) in testValidateStereo()
53 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in testValidateStereo()
56 .addVibrator(0, INVALID_EFFECT) in testValidateStereo()
57 .addVibrator(0, VALID_EFFECT) in testValidateStereo()
62 .addVibrator(0, INVALID_EFFECT) in testValidateStereo()
136 .addVibrator(1, VibrationEffect.createOneShot(1, 1)) in testDurationStereo()
137 .addVibrator(2, in testDurationStereo()
142 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_CLICK)) in testDurationStereo()
143 .addVibrator(2, in testDurationStereo()
148 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_CLICK)) in testDurationStereo()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java358 .addVibrator(0, VibrationEffect.createOneShot(40, 100))
359 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_CLICK))
397 .addVibrator(1, VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK))
398 .addVibrator(2, VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK))
399 .addVibrator(3, VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK))
471 .addVibrator(0, VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK))
742 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_CLICK))
743 .addVibrator(2, VibrationEffect.startComposition()
768 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_CLICK))
769 .addVibrator(2, VibrationEffect.createOneShot(10, 100))
[all …]
DVibrationThreadTest.java647 .addVibrator(VIBRATOR_ID, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
648 .addVibrator(2, VibrationEffect.get(VibrationEffect.EFFECT_TICK)) in vibrate_multipleExistingAndMissingVibrators_vibratesOnlyExistingOnes()
706 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_CLICK)) in vibrate_multipleStereo_runsVibrationOnRightVibrators()
707 .addVibrator(2, VibrationEffect.createOneShot(10, 100)) in vibrate_multipleStereo_runsVibrationOnRightVibrators()
708 .addVibrator(3, VibrationEffect.createWaveform( in vibrate_multipleStereo_runsVibrationOnRightVibrators()
710 .addVibrator(4, composed) in vibrate_multipleStereo_runsVibrationOnRightVibrators()
835 .addVibrator(1, VibrationEffect.get(VibrationEffect.EFFECT_CLICK)) in vibrate_multipleSynced_callsPrepareAndTriggerCallbacks()
836 .addVibrator(2, VibrationEffect.createOneShot(10, 100)) in vibrate_multipleSynced_callsPrepareAndTriggerCallbacks()
837 .addVibrator(3, VibrationEffect.createWaveform(new long[]{10}, new int[]{100}, -1)) in vibrate_multipleSynced_callsPrepareAndTriggerCallbacks()
838 .addVibrator(4, composed) in vibrate_multipleSynced_callsPrepareAndTriggerCallbacks()
[all …]
/frameworks/base/core/java/android/os/
DSystemVibratorManager.java217 .addVibrator(mVibratorInfo.getId(), effect) in setAlwaysOnEffect()
227 .addVibrator(mVibratorInfo.getId(), vibe) in vibrate()
DCombinedVibration.java141 public ParallelCombination addVibrator(int vibratorId, @NonNull VibrationEffect effect) { in addVibrator() method in CombinedVibration.ParallelCombination
217 CombinedVibration.startParallel().addVibrator(vibratorId, effect).combine(), in addNext()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibration.java172 combination.addVibrator(effects.keyAt(i), fn.apply(effects.valueAt(i))); in transformCombinedEffect()
DVibratorManagerService.java1538 combination.addVibrator(vibratorId, nextEffect()); in runStereo()
/frameworks/base/core/api/
Dcurrent.txt30890 …method @NonNull public android.os.CombinedVibration.ParallelCombination addVibrator(int, @NonNull …