OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mEffect
(Results
1 - 11
of
11
) 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
...]
/developers/build/prebuilts/gradle/MediaEffects/MediaEffectsSample/src/main/java/com/example/android/mediaeffects/
MediaEffectsFragment.java
48
private Effect
mEffect
;
150
if (
mEffect
!= null) {
151
mEffect
.release();
160
mEffect
= effectFactory.createEffect(EffectFactory.EFFECT_AUTOFIX);
161
mEffect
.setParameter("scale", 0.5f);
165
mEffect
= effectFactory.createEffect(EffectFactory.EFFECT_BLACKWHITE);
166
mEffect
.setParameter("black", .1f);
167
mEffect
.setParameter("white", .7f);
171
mEffect
= effectFactory.createEffect(EffectFactory.EFFECT_BRIGHTNESS);
172
mEffect
.setParameter("brightness", 2.0f)
[
all
...]
/developers/samples/android/media/MediaEffects/MediaEffectsSample/src/main/java/com/example/android/mediaeffects/
MediaEffectsFragment.java
48
private Effect
mEffect
;
150
if (
mEffect
!= null) {
151
mEffect
.release();
160
mEffect
= effectFactory.createEffect(EffectFactory.EFFECT_AUTOFIX);
161
mEffect
.setParameter("scale", 0.5f);
165
mEffect
= effectFactory.createEffect(EffectFactory.EFFECT_BLACKWHITE);
166
mEffect
.setParameter("black", .1f);
167
mEffect
.setParameter("white", .7f);
171
mEffect
= effectFactory.createEffect(EffectFactory.EFFECT_BRIGHTNESS);
172
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;
163
mEffect
.setEnabled(true);
192
mMediaPlayer.attachAuxEffect(
mEffect
.getId());
225
mMediaPlayer.attachAuxEffect(
mEffect
.getId());
261
int status = track.attachAuxEffect(
mEffect
.getId());
352
byte[] param =
mEffect
.intToByteArray(PresetReverb.PARAM_PRESET);
354
int status =
mEffect
.getParameter(param, value);
357
if (
mEffect
.byteArrayToShort(value) == preset) {
360
value =
mEffect
.shortToByteArray(preset);
361
status =
mEffect
.setParameter(param, value)
[
all
...]
/frameworks/av/include/media/
AudioEffect.h
422
EffectClient(AudioEffect *effect) :
mEffect
(effect){}
426
mEffect
->controlStatusChanged(controlGranted);
429
mEffect
->enableStatusChanged(enabled);
436
mEffect
->commandExecuted(cmdCode, cmdSize, pCmdData, replySize, pReplyData);
440
virtual void binderDied(const wp<IBinder>& who) {
mEffect
->binderDied();}
443
AudioEffect *
mEffect
;
/frameworks/av/services/audioflinger/
Effects.cpp
[
all
...]
Effects.h
207
int id() const { return
mEffect
->id(); }
210
sp<EffectModule> effect() const { return
mEffect
; }
217
friend class AudioFlinger; // for
mEffect
, mHasControl, mEnabled
221
sp<EffectModule>
mEffect
; // pointer to controlled EffectModule
344
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 773 milliseconds