Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DParallaxFloatEffectTest.java44 ParallaxEffect.FloatEffect mEffect; field in ParallaxFloatEffectTest
66 mEffect = new ParallaxEffect.FloatEffect(); in setUp()
74 mEffect.setPropertyRanges(var1.atAbsolute(540), var1.atAbsolute(0)); in testOneVariable()
75 mEffect.target(mTarget); in testOneVariable()
79 mEffect.performMapping(mSource); in testOneVariable()
85 mEffect.performMapping(mSource); in testOneVariable()
91 mEffect.performMapping(mSource); in testOneVariable()
97 mEffect.performMapping(mSource); in testOneVariable()
103 mEffect.performMapping(mSource); in testOneVariable()
109 mEffect.performMapping(mSource); in testOneVariable()
[all …]
DParallaxIntEffectTest.java41 ParallaxEffect.IntEffect mEffect; field in ParallaxIntEffectTest
63 mEffect = new ParallaxEffect.IntEffect(); in setUp()
71 mEffect.setPropertyRanges(var1.atAbsolute(540), var1.atAbsolute(0)); in testOneVariable()
72 mEffect.target(mTarget); in testOneVariable()
76 mEffect.performMapping(mSource); in testOneVariable()
82 mEffect.performMapping(mSource); in testOneVariable()
88 mEffect.performMapping(mSource); in testOneVariable()
94 mEffect.performMapping(mSource); in testOneVariable()
100 mEffect.performMapping(mSource); in testOneVariable()
106 mEffect.performMapping(mSource); in testOneVariable()
[all …]
/frameworks/av/media/libaudiohal/
DEffectHalHidl.cpp43 : mEffect(effect), mEffectId(effectId), mBuffersChanged(true), mEfGroup(nullptr) { in EffectHalHidl()
47 if (mEffect != 0) { in ~EffectHalHidl()
49 mEffect.clear(); in ~EffectHalHidl()
150 Return<void> ret = mEffect->prepareForProcessing( in prepareForProcessing()
182 if (mEffect == 0 || mInBuffer == 0 || mOutBuffer == 0) return NO_INIT; in processImpl()
214 Return<Result> ret = mEffect->setProcessBuffers( in setProcessBuffers()
226 if (mEffect == 0) return NO_INIT; in command()
243 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, in command()
257 if (mEffect == 0) return NO_INIT; in getDescriptor()
259 Return<void> ret = mEffect->getDescriptor( in getDescriptor()
[all …]
DEffectHalHidl.h74 sp<IEffect> mEffect; variable
/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/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/base/services/core/java/com/android/server/
DVibratorService.java112 private final VibrationEffect mEffect; field in VibratorService.Vibration
121 mEffect = effect; in Vibration()
140 if (mEffect instanceof VibrationEffect.OneShot) { in hasLongerTimeout()
141 VibrationEffect.OneShot oneShot = (VibrationEffect.OneShot) mEffect; in hasLongerTimeout()
149 if (mEffect instanceof VibrationEffect.Waveform) { in isSystemHapticFeedback()
150 VibrationEffect.Waveform waveform = (VibrationEffect.Waveform) mEffect; in isSystemHapticFeedback()
160 private final VibrationEffect mEffect; field in VibratorService.VibrationInfo
168 mEffect = effect; in VibrationInfo()
180 .append(mEffect) in toString()
369 && mCurrentVibration.mEffect instanceof VibrationEffect.OneShot) { in vibrate()
[all …]
/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.h220 wp<EffectModule> effect() const { return mEffect; } in effect()
222 sp<EffectModule> effect = mEffect.promote(); in id()
239 wp<EffectModule> mEffect; // pointer to controlled EffectModule variable
378 wp<EffectModule> mEffect; variable
DEffects.cpp1159 mEffect(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL), in EffectHandle()
1195 sp<EffectModule> effect = mEffect.promote(); in enable()
1249 sp<EffectModule> effect = mEffect.promote(); in disable()
1299 sp<EffectModule> effect = mEffect.promote(); in disconnect()
1308 sp<EffectModule> effect = mEffect.promote(); in disconnect()
1333 cmdCode, mHasControl, mEffect.unsafe_get()); in command()
1372 sp<EffectModule> effect = mEffect.promote(); in command()
2037 desc->mEffect = effect; in setEffectSuspended_l()
2054 if (desc->mEffect != 0) { in setEffectSuspended_l()
2055 sp<EffectModule> effect = desc->mEffect.promote(); in setEffectSuspended_l()
[all …]