Home
last modified time | relevance | path

Searched refs:createWaveform (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/vibrator/src/android/os/
DVibrationEffectTest.java73 VibrationEffect.createWaveform(TEST_TIMINGS, TEST_AMPLITUDES, -1);
77 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnEvenIndices()
88 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnOddIndices()
100 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheStart()
111 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheEnd()
122 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allDefaultAmplitudes()
134 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allZeroAmplitudes()
145 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_sparsedZeroAmplitudes()
157 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithDefaultAmplitude()
168 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithZeroAmplitude()
[all …]
DCombinedVibrationTest.java132 VibrationEffect.createWaveform( in testDurationMono()
141 VibrationEffect.createWaveform(new long[]{1, 2, 3}, new int[]{1, 2, 3}, -1)) in testDurationStereo()
147 VibrationEffect.createWaveform(new long[]{1, 2, 3}, new int[]{1, 2, 3}, -1)) in testDurationStereo()
153 VibrationEffect.createWaveform(new long[]{1, 2, 3}, new int[]{1, 2, 3}, 0)) in testDurationStereo()
163 VibrationEffect.createWaveform(new long[]{1, 2, 3}, new int[]{1, 2, 3}, -1)) in testDurationSequential()
169 VibrationEffect.createWaveform(new long[]{1, 2, 3}, new int[]{1, 2, 3}, -1)) in testDurationSequential()
175 VibrationEffect.createWaveform(new long[]{1, 2, 3}, new int[]{1, 2, 3}, 0)) in testDurationSequential()
197 VibrationEffect.createWaveform(new long[]{1}, new int[]{1}, 0)) in testIsHapticFeedbackCandidateMono()
205 .addVibrator(2, VibrationEffect.createWaveform(new long[]{6}, new int[]{1}, -1)) in testIsHapticFeedbackCandidateStereo()
220 .addVibrator(2, VibrationEffect.createWaveform(new long[]{1}, new int[]{1}, 0)) in testIsHapticFeedbackCandidateStereo()
[all …]
DVibratorInfoTest.java392 VibrationEffect.createWaveform( in areVibrationFeaturesSupported_noAmplitudeControl_nonFractionalAmplitudeSupported()
410 VibrationEffect.createWaveform( in areVibrationFeaturesSupported_withAmplitudeControl_allWaveformsSupported()
472 .addEffect(VibrationEffect.createWaveform( in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
489 .addEffect(VibrationEffect.createWaveform( in areVibrationFeaturesSupported_composedEffects_allComponentsSupported()
512 .addEffect(VibrationEffect.createWaveform( in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
521 .addEffect(VibrationEffect.createWaveform( in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
539 .addEffect(VibrationEffect.createWaveform( in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
552 return VibrationEffect.createWaveform(timings, amplitudes, /* repeatIndex= */ -1); in waveformWithAmplitudes()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java230 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes()
252 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleWaveformWithAdaptiveHapticsScaling_scalesAmplitudesProperly()
274 VibrationEffect effect = VibrationEffect.createWaveform(
295 VibrationEffect effect = VibrationEffect.createWaveform(new long[]{5, 5, 5}, amplitudes, 0);
336 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger()
356 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorPatternWithZeroDurationSteps_skipsZeroDurationSteps()
376 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorPatternWithZeroDurationAndAmplitude_skipsZeroDurationSteps()
399 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingPatternWithZeroDurationSteps_repeatsEffectCorrectly()
492 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle()
516 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn()
[all …]
DVibrationScalerTest.java246 VibrationEffect.createWaveform(new long[]{10}, in scale_withOneShotAndWaveform_resolvesAmplitude()
267 VibrationEffect.createWaveform(new long[]{128}, new int[]{128}, -1), in scale_withOneShotAndWaveform_scalesAmplitude()
318 VibrationEffect.createWaveform(new long[]{128}, new int[]{128}, -1),
340 VibrationEffect.createWaveform(new long[]{128}, new int[]{128}, -1),
362 VibrationEffect.createWaveform(new long[]{128}, new int[]{128}, -1),
DVibratorManagerServiceTest.java853 vibrate(service, VibrationEffect.createWaveform( in vibrate_withAttributesUnknownUsage_usesEffectToIdentifyTouchUsage()
878 vibrate(service, VibrationEffect.createWaveform( in vibrate_withAttributesUnknownUsage_ignoresEffectIfNotHapticFeedbackCandidate()
906 VibrationEffect repeatingEffect = VibrationEffect.createWaveform( in vibrate_withOngoingRepeatingVibration_ignoresEffect()
941 VibrationEffect repeatingEffect = VibrationEffect.createWaveform( in vibrate_withOngoingRepeatingVibrationBeingCancelled_playsAfterPreviousIsCancelled()
971 VibrationEffect repeatingEffect = VibrationEffect.createWaveform( in vibrate_withNewSameImportanceVibrationAndBothRepeating_cancelsOngoingEffect()
980 VibrationEffect repeatingEffect2 = VibrationEffect.createWaveform( in vibrate_withNewSameImportanceVibrationAndBothRepeating_cancelsOngoingEffect()
1001 VibrationEffect repeatingEffect = VibrationEffect.createWaveform( in vibrate_withNewSameImportanceVibrationButOngoingIsRepeating_ignoreNewVibration()
1028 VibrationEffect repeatingEffect = VibrationEffect.createWaveform( in vibrate_withNewUnknownUsageVibrationAndRepeating_cancelsOngoingEffect()
1037 VibrationEffect repeatingEffect2 = VibrationEffect.createWaveform( in vibrate_withNewUnknownUsageVibrationAndRepeating_cancelsOngoingEffect()
1058 VibrationEffect alarmEffect = VibrationEffect.createWaveform( in vibrate_withNewUnknownUsageVibrationAndNotRepeating_ignoreNewVibration()
[all …]
DHapticFeedbackCustomizationTest.java76 VibrationEffect.createWaveform(new long[] {123}, new int[] {254}, -1);
DHapticFeedbackVibrationProviderTest.java221 .isEqualTo(VibrationEffect.createWaveform(new long[] {10, 20, 30, 40}, -1)); in testNoValidCustomizationPresentForSafeModeEnabled_resourceBasedVibrationUsed()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelTest.java403 VibrationEffect effect = VibrationEffect.createWaveform(pattern, /* repeatIndex= */ -1); in testVibrationGetters_patternBasedVibrationEffect_nonRepeating()
422 VibrationEffect effect = VibrationEffect.createWaveform(pattern, /* repeatIndex= */ 0); in testVibrationGetters_patternBasedVibrationEffect_wholeRepeating()
442 VibrationEffect effect = VibrationEffect.createWaveform(pattern, /* repeatIndex= */ 2); in testVibrationGetters_patternBasedVibrationEffect_partialRepeating()
522 .isEqualTo(VibrationEffect.createWaveform(pattern, -1)); in testVibrationGetters_setPatternOverridesSetEffect()
551 channel2.setVibrationEffect(VibrationEffect.createWaveform(pattern, /* repeat= */ -1)); in testEqualityDependsOnVibration()
569 .isEqualTo(VibrationEffect.createWaveform(pattern, -1)); in testSetVibrationPattern_flagOn_setsEffect()
/frameworks/base/samples/demo/haptic-assessment/src/com/example/android/hapticassessment/
DMainActivity.kt57 VibrationEffect.createWaveform(WAVEFORM_TIMINGS, WAVEFORM_AMPLITUDES, -1)) in <lambda>()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DVibratorPerfTest.java67 mVibrator.vibrate(VibrationEffect.createWaveform(timings, -1)); in testWaveform()
/frameworks/base/core/java/android/os/
DVibrationEffect.java195 return createWaveform(new long[]{milliseconds}, new int[]{amplitude}, -1 /* repeat */); in createOneShot()
223 public static VibrationEffect createWaveform(long[] timings, int repeat) { in createWaveform() method in VibrationEffect
228 return createWaveform(timings, amplitudes, repeat); in createWaveform()
278 public static VibrationEffect createWaveform(long[] timings, int[] amplitudes, int repeat) { in createWaveform() method in VibrationEffect
DVibrator.java456 vibrate(VibrationEffect.createWaveform(pattern, repeat), attributes); in vibrate()
/frameworks/base/services/core/java/com/android/server/notification/
DVibratorHelper.java86 return VibrationEffect.createWaveform(pattern, /* repeat= */ insistent ? 0 : -1); in createWaveformVibration()
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DSerializedAmplitudeStepWaveform.java59 composition.addEffect(VibrationEffect.createWaveform(mTimings, mAmplitudes, mRepeatIndex)); in deserializeIntoComposition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacks.java547 return VibrationEffect.createWaveform( in getCameraGestureVibrationEffect()
558 return VibrationEffect.createWaveform(timings, /* repeat= */ -1); in getCameraGestureVibrationEffect()
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/
DVibrationEffectXmlSerializationTest.java276 VibrationEffect effect = VibrationEffect.createWaveform(new long[]{123, 456, 789, 0}, in testWaveforms_allSucceed()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java822 return VibrationEffect.createWaveform(timings, -1);
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java119 VibrationEffect.createWaveform(CHARGING_VIBRATION_TIME, CHARGING_VIBRATION_AMPLITUDE,
/frameworks/base/core/java/android/app/
DNotificationChannel.java662 VibrationEffect.createWaveform(vibrationPattern, /* repeat= */ -1); in setVibrationPattern()
/frameworks/base/boot/
Dboot-image-profile.txt13013 HSPLandroid/os/VibrationEffect;->createWaveform([JI)Landroid/os/VibrationEffect;
13014 HSPLandroid/os/VibrationEffect;->createWaveform([J[II)Landroid/os/VibrationEffect;
/frameworks/base/config/
Dboot-image-profile.txt13016 HSPLandroid/os/VibrationEffect;->createWaveform([JI)Landroid/os/VibrationEffect;
13017 HSPLandroid/os/VibrationEffect;->createWaveform([J[II)Landroid/os/VibrationEffect;
/frameworks/base/core/api/
Dcurrent.txt34173 method public static android.os.VibrationEffect createWaveform(long[], int);
34174 method public static android.os.VibrationEffect createWaveform(long[], int[], int);