OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mEffect
(Results
1 - 10
of
10
) sorted by null
/development/samples/HelloEffects/src/com/example/android/mediafx/
HelloEffects.java
44
private Effect
mEffect
;
91
if (
mEffect
!= null) {
92
mEffect
.release();
103
mEffect
= effectFactory.createEffect(
105
mEffect
.setParameter("scale", 0.5f);
109
mEffect
= effectFactory.createEffect(
111
mEffect
.setParameter("black", .1f);
112
mEffect
.setParameter("white", .7f);
116
mEffect
= effectFactory.createEffect(
118
mEffect
.setParameter("brightness", 2.0f)
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
EdgeView.java
43
private EdgeEffect[]
mEffect
= new EdgeEffect[4];
48
mEffect
[i] = new EdgeEffect(context);
61
mEffect
[i].setSize(w, h);
63
mEffect
[i].setSize(h, w);
93
more |=
mEffect
[i].draw(canvas);
105
mEffect
[direction].onPull((float)offset / fullLength);
106
if (!
mEffect
[direction].isFinished()) {
115
mEffect
[i].onRelease();
116
more |= !
mEffect
[i].isFinished();
127
mEffect
[direction].onAbsorb(velocity)
[
all
...]
/cts/tests/tests/media/src/android/media/cts/
AudioEffectTest.java
51
private AudioEffect
mEffect
= null;
260
mEffect
.setEnabled(true);
286
mMediaPlayer.attachAuxEffect(
mEffect
.getId());
316
mMediaPlayer.attachAuxEffect(
mEffect
.getId());
349
int status = track.attachAuxEffect(
mEffect
.getId());
433
byte[] param =
mEffect
.intToByteArray(PresetReverb.PARAM_PRESET);
435
int status =
mEffect
.getParameter(param, value);
438
if (
mEffect
.byteArrayToShort(value) == preset) {
441
value =
mEffect
.shortToByteArray(preset);
442
status =
mEffect
.setParameter(param, value)
[
all
...]
/frameworks/av/include/media/
AudioEffect.h
421
EffectClient(AudioEffect *effect) :
mEffect
(effect){}
425
mEffect
->controlStatusChanged(controlGranted);
428
mEffect
->enableStatusChanged(enabled);
435
mEffect
->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
439
virtual void binderDied(const wp<IBinder>& who) {
mEffect
->binderDied();}
442
AudioEffect *
mEffect
;
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
MovieMediaItem.java
63
private MovieEffect
mEffect
;
432
return
mEffect
;
441
if (
mEffect
!= null) {
444
mEffect
= effect;
451
if (
mEffect
!= null) {
452
if (!
mEffect
.getId().equals(effectId)) {
453
throw new IllegalStateException("Effect does not match: " +
mEffect
.getId() + " "
457
mEffect
= null;
/frameworks/av/services/audioflinger/
Effects.cpp
904
mEffect
(effect), mEffectClient(effectClient), mClient(client), mCblk(NULL),
932
if (
mEffect
== 0) {
936
mEffect
->lock();
938
mEffect
->unlock();
948
if (
mEffect
== 0) {
958
sp<ThreadBase> thread =
mEffect
->thread().promote();
960
thread->checkSuspendOnEffectEnabled(
mEffect
, true,
mEffect
->sessionId());
964
if (
mEffect
->suspended()) {
968
status_t status =
mEffect
->setEnabled(true)
[
all
...]
Effects.h
204
int id() const { return
mEffect
->id(); }
207
sp<EffectModule> effect() const { return
mEffect
; }
214
friend class AudioFlinger; // for
mEffect
, mHasControl, mEnabled
218
sp<EffectModule>
mEffect
; // pointer to controlled EffectModule
332
wp<EffectModule>
mEffect
;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaAudioEffectTest.java
50
private AudioEffect
mEffect
= null;
[
all
...]
/packages/apps/LegacyCamera/src/com/android/camera/
EffectsRecorder.java
98
private int
mEffect
= EFFECT_NONE;
289
mEffect
= effect;
430
mCurrentEffect !=
mEffect
||
448
switch (
mEffect
) {
457
throw new RuntimeException("Unknown effect ID" +
mEffect
+ "!");
459
mCurrentEffect =
mEffect
;
526
if (
mEffect
== EFFECT_NONE) {
[
all
...]
/packages/apps/Camera/src/com/android/camera/
EffectsRecorder.java
156
private int
mEffect
= EFFECT_NONE;
466
mEffect
= effect;
606
mCurrentEffect !=
mEffect
||
621
switch (
mEffect
) {
634
throw new RuntimeException("Unknown effect ID" +
mEffect
+ "!");
636
mCurrentEffect =
mEffect
;
705
if (
mEffect
== EFFECT_NONE) {
[
all
...]
Completed in 233 milliseconds