Home
last modified time | relevance | path

Searched refs:effect (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/effect/src/android/effect/cts/
DEffectTest.java17 package android.effect.cts;
20 import android.media.effect.Effect;
21 import android.media.effect.EffectContext;
22 import android.media.effect.EffectFactory;
91 Effect effect = factory.createEffect(effectName); in test5_effectCreate() local
92 assertNotNull("Effect '" + effectName + "' instantiation", effect); in test5_effectCreate()
93 effect.release(); in test5_effectCreate()
100 Effect effect = factory.createEffect(EffectFactory.EFFECT_SEPIA); in test6_effectApply() local
105 effect.apply(inputTexture, bitmap.getWidth(), bitmap.getHeight(), outputTexture); in test6_effectApply()
DGLEnv.java17 package android.effect.cts;
/cts/tests/tests/media/src/android/media/cts/
DAudioEffectTest.java126 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test1_3GetEnabledAfterRelease() local
130 assertNotNull("could not create AudioEffect", effect); in test1_3GetEnabledAfterRelease()
131 effect.release(); in test1_3GetEnabledAfterRelease()
133 effect.getEnabled(); in test1_3GetEnabledAfterRelease()
280 AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in test2_0SetEnabledGetEnabled() local
284 assertNotNull("could not create AudioEffect", effect); in test2_0SetEnabledGetEnabled()
286 effect.setEnabled(true); in test2_0SetEnabledGetEnabled()
287 assertTrue("invalid state from getEnabled", effect.getEnabled()); in test2_0SetEnabledGetEnabled()
288 effect.setEnabled(false); in test2_0SetEnabledGetEnabled()
289 assertFalse("invalid state to getEnabled", effect.getEnabled()); in test2_0SetEnabledGetEnabled()
[all …]
DPresetReverbTest.java329 AudioEffect effect, boolean controlGranted) { in createListenerLooper()
331 if (effect == mReverb2) { in createListenerLooper()
342 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper()
344 if (effect == mReverb2) { in createListenerLooper()
354 public void onParameterChange(PresetReverb effect, in createListenerLooper()
358 if (effect == mReverb2) { in createListenerLooper()
DBassBoostTest.java368 AudioEffect effect, boolean controlGranted) { in createListenerLooper()
370 if (effect == mBassBoost2) { in createListenerLooper()
381 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper()
383 if (effect == mBassBoost2) { in createListenerLooper()
393 public void onParameterChange(BassBoost effect, int status, in createListenerLooper()
397 if (effect == mBassBoost2) { in createListenerLooper()
DEqualizerTest.java388 AudioEffect effect, boolean controlGranted) { in createListenerLooper()
390 if (effect == mEqualizer2) { in createListenerLooper()
401 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper()
403 if (effect == mEqualizer2) { in createListenerLooper()
413 public void onParameterChange(Equalizer effect, in createListenerLooper()
417 if (effect == mEqualizer2) { in createListenerLooper()
DEnvReverbTest.java488 AudioEffect effect, boolean controlGranted) { in createListenerLooper()
490 if (effect == mReverb2) { in createListenerLooper()
501 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper()
503 if (effect == mReverb2) { in createListenerLooper()
513 public void onParameterChange(EnvironmentalReverb effect, in createListenerLooper()
517 if (effect == mReverb2) { in createListenerLooper()
DVirtualizerTest.java625 AudioEffect effect, boolean controlGranted) { in createListenerLooper()
627 if (effect == mVirtualizer2) { in createListenerLooper()
638 public void onEnableStatusChange(AudioEffect effect, boolean enabled) { in createListenerLooper()
640 if (effect == mVirtualizer2) { in createListenerLooper()
650 public void onParameterChange(Virtualizer effect, int status, in createListenerLooper()
654 if (effect == mVirtualizer2) { in createListenerLooper()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathDashPathEffectTest.java42 PathDashPathEffect effect = new PathDashPathEffect(shape(), ADVANCE, 0, in testPathDashPathEffect() local
46 p.setPathEffect(effect); in testPathDashPathEffect()
DDashPathEffectTest.java44 PathEffect effect = new DashPathEffect(PATTERN, OFFSET); in testDashPathEffect() local
56 paint.setPathEffect(effect); in testDashPathEffect()
DDiscretePathEffectTest.java43 DiscretePathEffect effect = new DiscretePathEffect(SEGMENT_LENGTH, DEVIATION); in testDiscretePathEffect() local
49 paint.setPathEffect(effect); in testDiscretePathEffect()
DCornerPathEffectTest.java47 PathEffect effect = new CornerPathEffect(RADIUS); in testCornerPathEffect() local
53 pathPaint.setPathEffect(effect); in testCornerPathEffect()
/cts/tests/expectations/
Dknownfailures.txt189 …description: "This test failed on devices that use effect off loading. In addition it uses hidden …
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java618 String effect = parameters.getColorEffect(); in assertParameters() local
619 assertTrue(effect == null || effect.equals(parameters.EFFECT_NONE)); in assertParameters()