Home
last modified time | relevance | path

Searched refs:mEffect (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DParallaxIntEffectTest.java40 ParallaxEffect.IntEffect mEffect; field in ParallaxIntEffectTest
62 mEffect = new ParallaxEffect.IntEffect(); in setUp()
70 mEffect.setPropertyRanges(var1.atAbsolute(540), var1.atAbsolute(0)); in testOneVariable()
71 mEffect.target(mTarget); in testOneVariable()
75 mEffect.performMapping(mSource); in testOneVariable()
81 mEffect.performMapping(mSource); in testOneVariable()
87 mEffect.performMapping(mSource); in testOneVariable()
93 mEffect.performMapping(mSource); in testOneVariable()
99 mEffect.performMapping(mSource); in testOneVariable()
105 mEffect.performMapping(mSource); in testOneVariable()
[all …]
DParallaxFloatEffectTest.java42 ParallaxEffect.FloatEffect mEffect; field in ParallaxFloatEffectTest
64 mEffect = new ParallaxEffect.FloatEffect(); in setUp()
72 mEffect.setPropertyRanges(var1.atAbsolute(540), var1.atAbsolute(0)); in testOneVariable()
73 mEffect.target(mTarget); in testOneVariable()
77 mEffect.performMapping(mSource); in testOneVariable()
83 mEffect.performMapping(mSource); in testOneVariable()
89 mEffect.performMapping(mSource); in testOneVariable()
95 mEffect.performMapping(mSource); in testOneVariable()
101 mEffect.performMapping(mSource); in testOneVariable()
107 mEffect.performMapping(mSource); in testOneVariable()
[all …]
/frameworks/av/media/libaudiohal/2.0/
DEffectHalHidl.cpp44 : mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) { in EffectHalHidl()
48 if (mEffect != 0) { in ~EffectHalHidl()
50 mEffect.clear(); in ~EffectHalHidl()
159 Return<void> ret = mEffect->prepareForProcessing( in prepareForProcessing()
191 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl()
223 Return<Result> ret = mEffect->setProcessBuffers( in setProcessBuffers()
235 if (mEffect == 0) return NO_INIT; in command()
252 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command()
266 if (mEffect == 0) return NO_INIT; in getDescriptor()
268 Return<void> ret = mEffect->getDescriptor( in getDescriptor()
[all …]
DEffectHalHidl.h74 sp<IEffect> mEffect; variable
/frameworks/av/media/libaudiohal/4.0/
DEffectHalHidl.cpp47 : mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) { in EffectHalHidl()
51 if (mEffect != 0) { in ~EffectHalHidl()
53 mEffect.clear(); in ~EffectHalHidl()
162 Return<void> ret = mEffect->prepareForProcessing( in prepareForProcessing()
194 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl()
226 Return<Result> ret = mEffect->setProcessBuffers( in setProcessBuffers()
238 if (mEffect == 0) return NO_INIT; in command()
255 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command()
269 if (mEffect == 0) return NO_INIT; in getDescriptor()
271 Return<void> ret = mEffect->getDescriptor( in getDescriptor()
[all …]
DEffectHalHidl.h75 sp<IEffect> mEffect; variable
/frameworks/av/include/media/
DAudioEffect.h437 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient()
441 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged()
447 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged()
457 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted()
466 sp<AudioEffect> effect = mEffect.promote(); in binderDied()
473 wp<AudioEffect> mEffect;
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h437 EffectClient(AudioEffect *effect) : mEffect(effect){} in EffectClient()
441 sp<AudioEffect> effect = mEffect.promote(); in controlStatusChanged()
447 sp<AudioEffect> effect = mEffect.promote(); in enableStatusChanged()
457 sp<AudioEffect> effect = mEffect.promote(); in commandExecuted()
466 sp<AudioEffect> effect = mEffect.promote(); in binderDied()
473 wp<AudioEffect> mEffect;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java50 private AudioEffect mEffect = null; field in MediaAudioEffectTest
1153 mEffect = null; in test5_2ControlStatusListener()
1202 mEffect = null; in test5_3EnableStatusListener()
1214 mEffect.setEnabled(true); in test5_3EnableStatusListener()
1254 mEffect = null; in test5_4ParameterChangedListener()
1427 mEffect = new AudioEffect(AudioEffect.EFFECT_TYPE_EQUALIZER, in createListenerLooper()
1431 assertNotNull("could not create AudioEffect", mEffect); in createListenerLooper()
1434mEffect.setControlStatusListener(new AudioEffect.OnControlStatusChangeListener() { in createListenerLooper()
1437 if (effect == mEffect) { in createListenerLooper()
1446 mEffect.setEnableStatusListener(new AudioEffect.OnEnableStatusChangeListener() { in createListenerLooper()
[all …]
/frameworks/av/services/audioflinger/
DEffects.h228 wp<EffectModule> effect() const { return mEffect; } in effect()
230 sp<EffectModule> effect = mEffect.promote(); in id()
247 wp<EffectModule> mEffect; // pointer to controlled EffectModule variable
386 wp<EffectModule> mEffect; variable
DEffects.cpp1469 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle()
1505 sp<EffectModule> effect = mEffect.promote(); in enable()
1559 sp<EffectModule> effect = mEffect.promote(); in disable()
1609 sp<EffectModule> effect = mEffect.promote(); in disconnect()
1618 sp<EffectModule> effect = mEffect.promote(); in disconnect()
1643 cmdCode, mHasControl, mEffect.unsafe_get()); in command()
1682 sp<EffectModule> effect = mEffect.promote(); in command()
2334 desc->mEffect = effect; in setEffectSuspended_l()
2351 if (desc->mEffect != 0) { in setEffectSuspended_l()
2352 sp<EffectModule> effect = desc->mEffect.promote(); in setEffectSuspended_l()
[all …]
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java242 private final VibrationEffect mEffect; field in VibratorService.VibrationInfo
251 mEffect = effect; in VibrationInfo()
264 .append(mEffect) in toString()