Home
last modified time | relevance | path

Searched defs:effect (Results 1 – 25 of 78) sorted by relevance

1234

/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DVibrationEffectTest.java84 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnEvenIndices() local
95 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesOnOddIndices() local
107 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheStart() local
118 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_zeroAmplitudesAtTheEnd() local
129 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allDefaultAmplitudes() local
141 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_allZeroAmplitudes() local
152 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_sparsedZeroAmplitudes() local
164 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithDefaultAmplitude() local
175 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_oneTimingWithZeroAmplitude() local
186 VibrationEffect effect = VibrationEffect.createWaveform( in computeLegacyPattern_timingsAndAmplitudes_repeating() local
[all …]
H A DCombinedVibrationTest.java262 CombinedVibration effect = CombinedVibration.createParallel( in testHasVibratorMono_returnsTrueForAnyVibrator() local
270 CombinedVibration effect = CombinedVibration.startParallel() in testHasVibratorStereo_returnsOnlyTheIdsSet() local
280 CombinedVibration effect = CombinedVibration.startSequential() in testHasVibratorSequential_returnsNestedVibrators() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationThreadTest.java157 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_noVibrator_ignoresVibration() local
225 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
292 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local
350 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorRepeatingPrimitives_generatesLargestComposition() local
380 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local
405 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() local
437 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorPredefinedCancel_cancelsVibrationImmediately() local
559 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorComposed_runsVibration() local
580 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorComposedAndNoCapability_ignoresVibration() local
604 VibrationEffect effect = VibrationEffect.startComposition() in vibrate_singleVibratorLargeComposition_splitsVibratorComposeCalls() local
[all …]
H A DDeviceVibrationEffectAdapterTest.java91 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testPrebakedAndPrimitiveSegments_returnsOriginalSegment() local
106 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withoutPwleCapability_convertsRampsToSteps() local
129 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withPwleCapability_convertsStepsToRamps() local
156 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withEmptyFreqMapping_returnsAmplitudesWithResonantFreq() local
187 VibrationEffect.Composed effect = new VibrationEffect.Composed(Arrays.asList( in testStepAndRampSegments_withValidFreqMapping_returnsClippedValues() local
H A DVibratorManagerServiceTest.java352 CombinedVibration effect = CombinedVibration.createParallel( in createService_doNotCrashIfUsedBeforeSystemReady() local
526 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withMono_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
547 CombinedVibration effect = CombinedVibration.startParallel() in setAlwaysOnEffect_withStereo_enablesAlwaysOnEffectToAllVibratorsWithCapability() local
574 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNullEffect_disablesAlwaysOnEffects() local
592 CombinedVibration effect = CombinedVibration.createParallel( in setAlwaysOnEffect_withNonPrebakedEffect_ignoresEffect() local
990 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingHigherImportanceVibration_ignoresEffect() local
1017 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingLowerImportanceVibration_cancelsOngoingEffect() local
1082 VibrationEffect effect = VibrationEffect.createWaveform( in vibrate_withOngoingSameImportancePipelinedVibration_continuesOngoingEffect() local
1118 CombinedVibration effect = CombinedVibration.createParallel( in vibrate_withInputDevices_vibratesInputDevices() local
1212 CombinedVibration effect = CombinedVibration.startParallel() in vibrate_withMultipleVibratorsAndCapabilities_prepareAndTriggerCalled() local
[all …]
H A DVibrationScalerTest.java152 PrebakedSegment effect = new PrebakedSegment(VibrationEffect.EFFECT_CLICK, in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() local
177 VibrationEffect effect = VibrationEffect.createPredefined(VibrationEffect.EFFECT_CLICK); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() local
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java505 AudioEffect effect = null; in test3_0SetParameterByteArrayByteArray() local
539 AudioEffect effect = null; in test3_1SetParameterIntInt() local
572 AudioEffect effect = null; in test3_2SetParameterIntShort() local
605 AudioEffect effect = null; in test3_3SetParameterIntByteArray() local
639 AudioEffect effect = null; in test3_4SetParameterIntArrayIntArray() local
676 AudioEffect effect = null; in test3_5SetParameterIntArrayShortArray() local
713 AudioEffect effect = null; in test3_6SetParameterIntArrayByteArray() local
749 AudioEffect effect = null; in test3_7SetParameterAfterRelease() local
783 AudioEffect effect = null; in test4_0GetParameterByteArrayByteArray() local
817 AudioEffect effect = null; in test4_1GetParameterIntIntArray() local
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DVibratorManager.java84 @Nullable CombinedVibration effect, @Nullable VibrationAttributes attributes) { in setAlwaysOnEffect()
102 public final void vibrate(@NonNull CombinedVibration effect) { in vibrate()
124 public final void vibrate(@NonNull CombinedVibration effect, in vibrate()
126 vibrate(Process.myUid(), mPackageName, effect, null, attributes); in vibrate() local
136 public abstract void vibrate(int uid, String opPkg, @NonNull CombinedVibration effect, in vibrate()
H A DCombinedVibration.java57 public static CombinedVibration createParallel(@NonNull VibrationEffect effect) { in createParallel()
155 public ParallelCombination addVibrator(int vibratorId, @NonNull VibrationEffect effect) { in addVibrator()
209 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect) { in addNext()
228 public SequentialCombination addNext(int vibratorId, @NonNull VibrationEffect effect, in addNext()
247 public SequentialCombination addNext(@NonNull CombinedVibration effect) { in addNext()
265 public SequentialCombination addNext(@NonNull CombinedVibration effect, int delay) { in addNext()
315 Mono(@NonNull VibrationEffect effect) { in Mono()
/aosp14/frameworks/base/libs/hwui/jni/
H A DPathEffect.cpp12 SkPathEffect* effect = reinterpret_cast<SkPathEffect*>(effectHandle); in destructor() local
20 SkPathEffect* effect = SkPathEffect::MakeCompose(sk_ref_sp(outer), in Compose_constructor() local
29 SkPathEffect* effect = SkPathEffect::MakeSum(sk_ref_sp(first), in Sum_constructor() local
39 SkPathEffect* effect = SkDashPathEffect::Make(intervals, count, phase).release(); in Dash_constructor() local
47 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor() local
53 SkPathEffect* effect = SkCornerPathEffect::Make(radius).release(); in Corner_constructor() local
59 SkPathEffect* effect = SkDiscretePathEffect::Make(length, deviation).release(); in Discrete_constructor() local
/aosp14/frameworks/base/core/java/android/content/integrity/
H A DRule.java66 public Rule(@NonNull IntegrityFormula formula, @Effect int effect) { in Rule()
67 checkArgument(isValidEffect(effect), "Unknown effect: %d", effect); in Rule() local
133 private static String effectToString(int effect) { in effectToString()
144 private static boolean isValidEffect(int effect) { in isValidEffect()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DVibratorHelperTest.java110 private void assertRepeatingVibration(VibrationEffect effect) { in assertRepeatingVibration()
114 private void assertSingleVibration(VibrationEffect effect) { in assertSingleVibration()
118 private static int getRepeatIndex(VibrationEffect effect) { in getRepeatIndex()
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DStartSequentialEffectStep.java60 CombinedVibration.Sequential effect) { in StartSequentialEffectStep()
67 CombinedVibration.Sequential effect, int index) { in StartSequentialEffectStep()
88 CombinedVibration effect = sequentialEffect.getEffects().get(currentIndex); in play() local
143 CombinedVibration effect) { in createEffectToVibratorMapping()
265 VibrationEffect effect = conductor.deviceEffectAdapter.apply( in DeviceEffectMap() local
283 VibrationEffect effect = conductor.deviceEffectAdapter.apply( in DeviceEffectMap() local
H A DHalVibration.java58 HalVibration(@NonNull IBinder token, CombinedVibration effect, @NonNull CallerInfo callerInfo) { in HalVibration()
99 public void addFallback(int effectId, VibrationEffect effect) { in addFallback()
127 VibrationEffect effect = ((CombinedVibration.Mono) combinedEffect).getEffect(); in transformCombinedEffect() local
H A DVibrationEffectAdapters.java61 VibrationEffect apply(VibrationEffect effect, T modifier); in apply()
74 public static <T> VibrationEffect apply(VibrationEffect effect, in apply()
H A DComposePrimitivesVibratorStep.java42 VibratorController controller, VibrationEffect.Composed effect, int index, in ComposePrimitivesVibratorStep()
98 private List<PrimitiveSegment> unrollPrimitiveSegments(VibrationEffect.Composed effect, in unrollPrimitiveSegments()
H A DVibration.java214 DebugInfo(Status status, VibrationStats stats, @Nullable CombinedVibration effect, in DebugInfo()
280 ProtoOutputStream proto, long fieldId, CombinedVibration effect) { in dumpEffect()
288 ProtoOutputStream proto, long fieldId, CombinedVibration.Sequential effect) { in dumpEffect()
305 ProtoOutputStream proto, long fieldId, CombinedVibration.Mono effect) { in dumpEffect()
312 ProtoOutputStream proto, long fieldId, CombinedVibration.Stereo effect) { in dumpEffect()
322 ProtoOutputStream proto, long fieldId, VibrationEffect effect) { in dumpEffect()
H A DVibratorController.java402 private static native long performEffect(long nativePtr, long effect, long strength, in performEffect()
405 private static native long performComposedEffect(long nativePtr, PrimitiveSegment[] effect, in performComposedEffect()
408 private static native long performPwleEffect(long nativePtr, RampSegment[] effect, in performPwleEffect()
413 private static native void alwaysOnEnable(long nativePtr, long id, long effect, in alwaysOnEnable()
456 public long perform(long effect, long strength, long vibrationId) { in perform()
476 public void alwaysOnEnable(long id, long effect, long strength) { in alwaysOnEnable()
H A DComposePwleVibratorStep.java43 VibratorController controller, VibrationEffect.Composed effect, int index, in ComposePwleVibratorStep()
98 private List<RampSegment> unrollRampSegments(VibrationEffect.Composed effect, int startIndex, in unrollRampSegments()
H A DSetAmplitudeVibratorStep.java43 VibratorController controller, VibrationEffect.Composed effect, int index, in SetAmplitudeVibratorStep()
173 private long getVibratorOnDuration(VibrationEffect.Composed effect, int startIndex) { in getVibratorOnDuration()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DVibratorHelper.java124 VibrationEffect effect = waveformBuilder.build(); in createPwleWaveformVibration() local
143 public void vibrate(VibrationEffect effect, AudioAttributes attrs, String reason) { in vibrate()
162 VibrationEffect effect = createPwleWaveformVibration(mFallbackPwlePattern, insistent); in createFallbackVibration() local
177 VibrationEffect effect = createPwleWaveformVibration(mDefaultPwlePattern, insistent); in createDefaultVibration() local
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DVirtualizerTest.java183 public void setEffect(Object effect) { in setEffect()
193 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange()
196 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange()
199 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
H A DBassBoostTest.java192 public void setEffect(Object effect) { in setEffect()
202 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange()
205 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange()
208 public void onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) { in onParameterChange()
H A DPresetReverbTest.java224 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in onEnableStatusChange()
227 public void onControlStatusChange(AudioEffect effect, boolean controlGranted) { in onControlStatusChange()
231 public void onParameterChange(PresetReverb effect, int status, int param, short value) { in onParameterChange()
/aosp14/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffectUpdateListener.java33 public void onEffectUpdated(Effect effect, Object info); in onEffectUpdated()

1234