Home
last modified time | relevance | path

Searched refs:createPredefined (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/vibrator/src/android/os/
DVibratorInfoTest.java476 .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()
DVibrationEffectTest.java288 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()
/frameworks/base/samples/demo/haptic-assessment/src/com/example/android/hapticassessment/
DMainActivity.kt48 vibrator.vibrate(VibrationEffect.createPredefined(EFFECT_CLICK)) in <lambda>()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java387 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 …]
DHapticFeedbackCustomizationTest.java68 VibrationEffect.createPredefined(EFFECT_CLICK);
DVibrationScalerTest.java213 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DVibratorPerfTest.java49 mVibrator.vibrate(VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK)); in testEffectClick()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DShutdownThreadTest.java82 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt472 vibrator.vibrate(VibrationEffect.createPredefined(effectId), vibrationAttributes) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java540 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_POP); in testEqualityDependsOnVibration()
/frameworks/base/core/java/android/os/
DVibrationEffect.java314 public static VibrationEffect createPredefined(@EffectType int effectId) { in createPredefined() method in VibrationEffect
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java593 VibrationEffect.createPredefined(VibrationEffect.EFFECT_TICK)); in setScaleAndClearIfNeeded()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java126 VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt34172 method @NonNull public static android.os.VibrationEffect createPredefined(int);