Home
last modified time | relevance | path

Searched refs:PRIMITIVE_TICK (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardBottomAreaVibrations.kt40 VibrationEffect.Composition.PRIMITIVE_TICK, in <lambda>()
51 VibrationEffect.Composition.PRIMITIVE_TICK,
65 VibrationEffect.Composition.PRIMITIVE_TICK,
/frameworks/base/services/core/java/com/android/server/vibrator/
DHapticFeedbackVibrationProvider.java160 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()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DHapticFeedbackVibrationProviderTest.java26 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()
DDeviceAdapterTest.java95 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()
DStepToRampAdapterTest.java63 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testRampAndPrebakedAndPrimitiveSegments_returnsOriginalSegments()
94 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10), in testStepAndRampSegments_withPwleCapabilityAndNoFrequency_keepsOriginalSteps()
DHapticFeedbackCustomizationTest.java20 import static android.os.VibrationEffect.Composition.PRIMITIVE_TICK;
63 VibrationEffect.startComposition().addPrimitive(PRIMITIVE_TICK, 0.2497f).compose();
DRampToStepAdapterTest.java63 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testStepAndPrebakedAndPrimitiveSegments_keepsListUnchanged()
DSplitSegmentsAdapterTest.java66 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testStepAndPrebakedAndPrimitiveSegments_returnsOriginalSegments()
DVibrationThreadTest.java661 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()
DVibratorManagerServiceTest.java456 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 …]
DRampDownAdapterTest.java53 new PrimitiveSegment(VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10))); in testPrebakedAndPrimitiveSegments_keepsListUnchanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldHapticsPlayer.kt98 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0F, 0) in <lambda>()
109 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, hapticsScaleTick) in <lambda>()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DVibratorPerfTest.java78 .addPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 0.5f, 100) in testCompose()
96 VibrationEffect.Composition.PRIMITIVE_TICK}; in testArePrimitivesSupported()
/frameworks/base/core/tests/vibrator/src/android/os/
DVibrationEffectTest.java366 .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()
DCombinedVibrationTest.java128 .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()
DVibratorInfoTest.java100 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()
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/persistence/
DVibrationEffectXmlSerializationTest.java22 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()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/haptics/
DFakeVibratorHelper.kt74 VibrationEffect.Composition.PRIMITIVE_TICK to 5,
/frameworks/base/core/tests/vibrator/src/android/os/vibrator/
DVibratorInfoFactoryTest.java68 .setSupportedPrimitive(VibrationEffect.Composition.PRIMITIVE_TICK, 30) in testCreatedInfo_fromSingleVibratorInfo_hasEqualContent()
DPrimitiveSegmentTest.java201 VibrationEffect.Composition.PRIMITIVE_TICK, 1, 10).isHapticFeedbackCandidate()); in testIsHapticFeedbackCandidate_returnsTrue()
/frameworks/base/core/java/com/android/internal/vibrator/persistence/
DXmlConstants.java73 TICK(VibrationEffect.Composition.PRIMITIVE_TICK),
/frameworks/base/core/java/android/os/
DVibrationEffect.java1046 PRIMITIVE_TICK,
1103 public static final int PRIMITIVE_TICK = 7; field in VibrationEffect.Composition
1303 case PRIMITIVE_TICK: in primitiveToString()
/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.txt34197 field public static final int PRIMITIVE_TICK = 7; // 0x7