OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Effect
(Results
1 - 25
of
40
) sorted by null
1
2
/frameworks/base/media/mca/effect/java/android/media/effect/
EffectUpdateListener.java
18
package android.media.
effect
;
21
* Some effects may issue callbacks to inform the host of changes to the
effect
state. This is the
27
* Called when the
effect
state is updated.
29
* @param
effect
The
effect
that has been updated.
30
* @param info A value that gives more information about the update. See the
effect
's
33
public void onEffectUpdated(
Effect
effect
, Object info);
Effect.java
18
package android.media.
effect
;
26
* <p>To create an
Effect
you must first create an EffectContext. You can obtain an instance of the
28
* {@link android.media.
effect
.EffectContext#getFactory() getFactory()}. The EffectFactory allows
32
* applying an
effect
. An
effect
is bound to a single EffectContext, which in turn is bound to a
37
public abstract class
Effect
{
40
* Get the
effect
name.
42
* Returns the unique name of the
effect
, which matches the name used for instantiating this
43
*
effect
by the EffectFactory.
45
* @return The name of the
effect
[
all
...]
EffectFactory.java
18
package android.media.
effect
;
26
* creating a certain
effect
, the application should confirm that the
effect
is supported on this
34
"android.media.
effect
.effects.", // Default
effect
package
59
"android.media.
effect
.effects.BrightnessEffect";
74
"android.media.
effect
.effects.ContrastEffect";
88
"android.media.
effect
.effects.FisheyeEffect";
93
* background visible before the
effect
becomes active. The
effect
will wai
507
Effect
effect
= null;
local
[
all
...]
FilterEffect.java
18
package android.media.
effect
;
35
public abstract class FilterEffect extends
Effect
{
49
* Get the
effect
name.
51
* Returns the unique name of the
effect
, which matches the name used for instantiating this
52
*
effect
by the EffectFactory.
54
* @return The name of the
effect
.
79
* Returns the active filter context for this
effect
.
SizeChangeEffect.java
17
package android.media.
effect
;
23
import android.media.
effect
.
Effect
;
24
import android.media.
effect
.EffectContext;
29
*
Effect
subclass for effects based on a single Filter with output size differnet
31
* to obtain an
Effect
implementation.
FilterGraphEffect.java
17
package android.media.
effect
;
24
import android.media.
effect
.
Effect
;
25
import android.media.
effect
.FilterEffect;
26
import android.media.
effect
.EffectContext;
34
*
Effect
subclass for effects based on a single Filter. Subclasses need only invoke the
35
* constructor with the correct arguments to obtain an
Effect
implementation.
52
* @param name The name of this
effect
(used to create it in the EffectFactory).
77
throw new RuntimeException("Could not setup
effect
", e);
81
throw new RuntimeException("Could not setup
effect
");
[
all
...]
SingleFilterEffect.java
18
package android.media.
effect
;
24
import android.media.
effect
.
Effect
;
25
import android.media.
effect
.EffectContext;
30
*
Effect
subclass for effects based on a single Filter. Subclasses need only invoke the
31
* constructor with the correct arguments to obtain an
Effect
implementation.
44
* @param name The name of this
effect
(used to create it in the EffectFactory).
/external/skia/include/gpu/
GrEffectUnitTest.h
75
#define GR_DEFINE_EFFECT_TEST(
Effect
) \
76
GrEffectTestFactory
Effect
:: gTestFactory(
Effect
:: TestCreate)
/frameworks/base/media/java/android/media/videoeditor/
Effect.java
21
* This is the super class for all effects. An
effect
can only be applied to a
25
public abstract class
Effect
{
31
* The
effect
owner
37
* The start time of the
effect
relative to the beginning
46
private
Effect
() {
57
* @param effectId The
effect
id
60
* @param durationMs The
effect
duration in milliseconds
62
public
Effect
(MediaItem mediaItem, String effectId, long startTimeMs,
82
* Get the id of the
effect
.
84
* @return The id of the
effect
[
all
...]
EffectColor.java
21
* This class allows to apply color
effect
on a media item.
24
public class EffectColor extends
Effect
{
61
* The
effect
type
66
* The
effect
color
83
* @param effectId The
effect
id
86
* @param durationMs The duration of this
effect
in milliseconds
87
* @param type type of the
effect
. type is one of: TYPE_COLOR,
126
* Get the
effect
type.
128
* @return The
effect
type
135
* Get the color if
effect
type is TYPE_COLOR or TYPE_GRADIENT
[
all
...]
MediaImageItem.java
300
* This invalidation is necessary for the case in which an
effect
or
306
* because an
effect
or an overlay overlaps with the beginning
316
final List<
Effect
> adjustedEffects = adjustEffects();
320
* This invalidation is necessary for the case in which an
effect
or
324
*
effect
.
349
private void invalidateBeginTransition(List<
Effect
> effects, List<Overlay> overlays) {
355
* an
effect
.
357
for (
Effect
effect
: effects) {
359
* Check if the
effect
overlaps with the begin transitio
[
all
...]
MediaItem.java
86
private final List<
Effect
> mEffects;
146
mEffects = new ArrayList<
Effect
>();
276
* Add the specified
effect
to this media item.
283
*
effect
overlaps with the beginning and/or the end transition.
285
* @param
effect
The
effect
to apply
287
* @throws IllegalArgumentException if the
effect
start and/or duration are
288
* invalid or if the
effect
cannot be applied to this type of media
289
* item or if the
effect
id is not unique across all the Effects
292
public void addEffect(
Effect
effect)
[
all
...]
EffectKenBurns.java
23
* This class represents a Ken Burns
effect
.
26
public class EffectKenBurns extends
Effect
{
46
* @param effectId The
effect
id
50
* @param durationMs The duration of the Ken Burns
effect
in milliseconds
88
* Get the KenBurn
effect
start and end rectangle coordinates