Searched refs:PRIMITIVE_TICK (Results 1 – 24 of 24) sorted by relevance
40 VibrationEffect.Composition.PRIMITIVE_TICK, in <lambda>()51 VibrationEffect.Composition.PRIMITIVE_TICK,65 VibrationEffect.Composition.PRIMITIVE_TICK,
160 VibrationEffect.Composition.PRIMITIVE_TICK, in getVibrationForHapticFeedback()167 VibrationEffect.Composition.PRIMITIVE_TICK, in getVibrationForHapticFeedback()313 && mVibratorInfo.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)) { in getAssistantButtonVibration()317 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 1f, 50) in getAssistantButtonVibration()339 primitiveId = VibrationEffect.Composition.PRIMITIVE_TICK; in getKeyboardVibration()371 VibrationEffect.Composition.PRIMITIVE_TICK); in shouldBypassIntensityScale()
26 import static android.os.VibrationEffect.Composition.PRIMITIVE_TICK;77 VibrationEffect.startComposition().addPrimitive(PRIMITIVE_TICK, 0.2497f).compose();235 mockVibratorPrimitiveSupport(PRIMITIVE_CLICK, PRIMITIVE_TICK); in testKeyboardHaptic_noFixedAmplitude_defaultVibrationReturned()260 mockVibratorPrimitiveSupport(PRIMITIVE_CLICK, PRIMITIVE_TICK); in testKeyboardHaptic_fixAmplitude_keyboardCategoryOff_defaultVibrationReturned()274 mockVibratorPrimitiveSupport(PRIMITIVE_CLICK, PRIMITIVE_TICK); in testKeyboardHaptic_fixAmplitude_keyboardCategoryOn_keyboardVibrationReturned()285 .addPrimitive(PRIMITIVE_TICK, KEYBOARD_VIBRATION_FIXED_AMPLITUDE) in testKeyboardHaptic_fixAmplitude_keyboardCategoryOn_keyboardVibrationReturned()395 mockVibratorPrimitiveSupport(PRIMITIVE_CLICK, PRIMITIVE_TICK); in testVibrationAttribute_noFixAmplitude_notBypassIntensityScale()411 mockVibratorPrimitiveSupport(PRIMITIVE_CLICK, PRIMITIVE_TICK); in testVibrationAttribute_notIme_notBypassIntensityScale()427 mockVibratorPrimitiveSupport(PRIMITIVE_CLICK, PRIMITIVE_TICK); in testVibrationAttribute_fixAmplitude_isIme_bypassIntensityScale()
95 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10), in testPrebakedAndPrimitiveSegments_returnsOriginalSegment()178 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10), in testStepAndRampSegments_withValidFreqMapping_returnsClippedValuesOnlyInRamps()191 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10), in testStepAndRampSegments_withValidFreqMapping_returnsClippedValuesOnlyInRamps()207 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10), in testMonoCombinedVibration_returnsSameVibrationWhenEffectsUnchanged()
63 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testRampAndPrebakedAndPrimitiveSegments_returnsOriginalSegments()94 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10), in testStepAndRampSegments_withPwleCapabilityAndNoFrequency_keepsOriginalSteps()
20 import static android.os.VibrationEffect.Composition.PRIMITIVE_TICK;63 VibrationEffect.startComposition().addPrimitive(PRIMITIVE_TICK, 0.2497f).compose();
63 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testStepAndPrebakedAndPrimitiveSegments_keepsListUnchanged()
66 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testStepAndPrebakedAndPrimitiveSegments_returnsOriginalSegments()
661 VibrationEffect.Composition.PRIMITIVE_TICK); in vibrate_singleVibratorComposed_runsVibration()665 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f) in vibrate_singleVibratorComposed_runsVibration()677 expectedPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f, 0)), in vibrate_singleVibratorComposed_runsVibration()702 VibrationEffect.Composition.PRIMITIVE_TICK, in vibrate_singleVibratorLargeComposition_splitsVibratorComposeCalls()708 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f) in vibrate_singleVibratorLargeComposition_splitsVibratorComposeCalls()726 VibrationEffect.Composition.PRIMITIVE_TICK); in vibrate_singleVibratorComposedEffects_runsDifferentVibrations()738 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f) in vibrate_singleVibratorComposedEffects_runsDifferentVibrations()759 expectedPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f, 0), in vibrate_singleVibratorComposedEffects_runsDifferentVibrations()776 VibrationEffect.Composition.PRIMITIVE_TICK); in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()784 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f) in vibrate_singleVibratorComposedWithFallback_replacedInTheMiddleOfComposition()
456 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()887 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in vibrate_withAttributesUnknownUsage_ignoresEffectIfNotHapticFeedbackCandidate()1548 VibrationEffect.Composition.PRIMITIVE_TICK); in vibrate_withIntensitySettings_appliesSettingsToScaleVibrations()1552 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f) in vibrate_withIntensitySettings_appliesSettingsToScaleVibrations()1733 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in vibrate_prebakedAndComposedVibrationsWithFallbacks_playsFallbackOnlyForPredefined()2331 VibrationEffect.Composition.PRIMITIVE_TICK); in frameworkStats_prebakedAndComposedVibrations_reportsAllMetrics()2337 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in frameworkStats_prebakedAndComposedVibrations_reportsAllMetrics()2338 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in frameworkStats_prebakedAndComposedVibrations_reportsAllMetrics()2374 assertArrayEquals(new int[] {VibrationEffect.Composition.PRIMITIVE_TICK}, in frameworkStats_prebakedAndComposedVibrations_reportsAllMetrics()2492 VibrationEffect.Composition.PRIMITIVE_TICK); in frameworkStats_multiVibrators_reportsAllMetrics()[all …]
53 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testPrebakedAndPrimitiveSegments_keepsListUnchanged()
98 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0F, 0) in <lambda>()109 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, hapticsScaleTick) in <lambda>()
78 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f, 100) in testCompose()96 VibrationEffect.Composition.PRIMITIVE_TICK}; in testArePrimitivesSupported()
366 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in computeLegacyPattern_composition_withPrimitives()519 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in testValidateWaveformBuilder()577 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 1.0f, 100) in testValidateComposed()751 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 100) in testApplyRepeatingIndefinitely_nonRepeatingOriginal()796 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in testApplyRepeatingIndefinitely_repeatingOriginalComposition()816 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in testApplyRepeatingIndefinitely_repeatingOriginalComposition()828 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 100) in testDuration()910 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in testIsHapticFeedbackCandidate_longCompositions_notCandidates()921 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in testIsHapticFeedbackCandidate_longCompositions_notCandidates()937 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in testIsHapticFeedbackCandidate_shortCompositions_areCandidates()
128 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 100) in testDurationMono()189 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 100) in testIsHapticFeedbackCandidateMono()213 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 100) in testIsHapticFeedbackCandidateStereo()
100 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in testIsPrimitiveSupported()116 assertEquals(0, info.getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_TICK)); in testGetPrimitiveDuration()118 .getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_TICK)); in testGetPrimitiveDuration()511 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK) in areVibrationFeaturesSupported_composedEffects_someComponentsUnupported()
22 import static android.os.VibrationEffect.Composition.PRIMITIVE_TICK;75 .addPrimitive(PRIMITIVE_TICK, 0.2497f) in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag()120 parser, VibrationEffect.startComposition().addPrimitive(PRIMITIVE_TICK).compose()); in testParseElement_fromVibrationTag_succeedAndParserPointsToEndVibrationTag()129 .addPrimitive(PRIMITIVE_TICK, 0.2497f) in testParseElement_fromVibrationSelectTag_succeedAndParserPointsToEndVibrationSelectTag()235 .addPrimitive(PRIMITIVE_TICK, 0.2497f) in testPrimitives_allSucceed()
74 VibrationEffect.Composition.PRIMITIVE_TICK to 5,
68 .setSupportedPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 30) in testCreatedInfo_fromSingleVibratorInfo_hasEqualContent()
201 VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10).isHapticFeedbackCandidate()); in testIsHapticFeedbackCandidate_returnsTrue()
73 TICK(VibrationEffect.Composition.PRIMITIVE_TICK),
1046 PRIMITIVE_TICK,1103 public static final int PRIMITIVE_TICK = 7; field in VibrationEffect.Composition1303 case PRIMITIVE_TICK: in primitiveToString()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
34197 field public static final int PRIMITIVE_TICK = 7; // 0x7