Searched refs:createPredefined (Results 1 – 15 of 15) sorted by relevance
476 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()477 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_POP)) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()494 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_POP)) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()495 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)) in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()525 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_THUD)) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()543 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_POP)) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
288 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK); in computeLegacyPattern_notPatternPased()467 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK).validate(); in testValidatePrebaked()468 VibrationEffect.createPredefined(VibrationEffect.RINGTONES[1]).validate(); in testValidatePrebaked()471 () -> VibrationEffect.createPredefined(-1).validate()); in testValidatePrebaked()583 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_DOUBLE_CLICK)) in testValidateComposed()746 VibrationEffect predefined = VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK); in testApplyRepeatingIndefinitely_nonRepeatingOriginal()853 .addEffect(VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)) in testAreVibrationFeaturesSupported_allSegmentsSupported()
48 vibrator.vibrate(VibrationEffect.createPredefined(EFFECT_CLICK)) in <lambda>()
387 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in createService_doNotCrashIfUsedBeforeSystemReady()561 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability()582 .addVibrator(1, VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)) in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()583 .addVibrator(2, VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)) in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()584 .addVibrator(3, VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)) in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability()609 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in setAlwaysOnEffect_withNullEffect_disablesAlwaysOnEffects()654 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in setAlwaysOnEffect_withNoVibratorWithCapability_ignoresEffect()656 .addVibrator(0, VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)) in setAlwaysOnEffect_withNoVibratorWithCapability_ignoresEffect()672 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK), in vibrate_withoutVibratePermission_throwsSecurityException()1392 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in performHapticFeedback_doesNotRequireVibrateOrBypassPermissions()[all …]
68 VibrationEffect.createPredefined(EFFECT_CLICK);
213 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
49 mVibrator.vibrate(VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in testEffectClick()
82 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK);
472 vibrator.vibrate(VibrationEffect.createPredefined(effectId), vibrationAttributes) in <lambda>()
540 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_POP); in testEqualityDependsOnVibration()
314 public static VibrationEffect createPredefined(@EffectType int effectId) { in createPredefined() method in VibrationEffect
593 VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)); in setScaleAndClearIfNeeded()
126 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK);
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
34172 method @NonNull public static android.os.VibrationEffect createPredefined(int);