/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/filters/ |
CropFilter.java | 20 import android.media.effect.Effect; 21 import android.media.effect.EffectFactory; 48 Effect effect = getEffect(EffectFactory.EFFECT_CROP); local 49 effect.setParameter("xorigin", Math.round(bounds.left * src.width())); 50 effect.setParameter("yorigin", Math.round(bounds.top * src.height())); 51 effect.setParameter("width", dst.width()); 52 effect.setParameter("height", dst.height()); 53 effect.apply(src.texture(), src.width(), src.height(), dst.texture()) [all...] |
DuotoneFilter.java | 19 import android.media.effect.Effect; 20 import android.media.effect.EffectFactory; 43 Effect effect = getEffect(EffectFactory.EFFECT_DUOTONE); local 44 effect.setParameter("first_color", firstColor); 45 effect.setParameter("second_color", secondColor); 46 effect.apply(src.texture(), src.width(), src.height(), dst.texture());
|
RedEyeFilter.java | 20 import android.media.effect.Effect; 21 import android.media.effect.EffectFactory; 47 Effect effect = getEffect(EffectFactory.EFFECT_REDEYE); local 54 effect.setParameter("centers", centers); 55 effect.apply(src.texture(), src.width(), src.height(), dst.texture());
|
DoodleFilter.java | 25 import android.media.effect.Effect; 26 import android.media.effect.EffectFactory; 72 Effect effect = getEffect(EffectFactory.EFFECT_BITMAPOVERLAY); local 73 effect.setParameter("bitmap", bitmap); 74 effect.apply(src.texture(), src.width(), src.height(), dst.texture());
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
MenuIconGenerator.java | 19 import com.android.assetstudiolib.Util.Effect; 53 Util.drawEffects(g, tempImage, 0, 0, new Effect[] {
|
TabIconGenerator.java | 18 import com.android.assetstudiolib.Util.Effect; 56 Util.drawEffects(g, tempImage, 0, 0, new Effect[] { 86 Util.drawEffects(g, tempImage, 0, 0, new Effect[] { 100 Util.drawEffects(g, tempImage, 0, 0, new Effect[] { 130 Util.drawEffects(g, tempImage, 0, 0, new Effect[] {
|
NotificationIconGenerator.java | 18 import com.android.assetstudiolib.Util.Effect; 77 Util.drawEffects(g, tempImage, 0, 0, new Effect[] { 83 Util.drawEffects(g, tempImage, 0, 0, new Effect[] {
|
Util.java | 239 * {@link Effect}s applied. Note that drawn effects may be outside the bounds of the source 249 Effect[] effects) { 253 for (Effect effect : effects) { 254 if (effect instanceof ShadowEffect) { 255 shadowEffects.add((ShadowEffect) effect); 256 } else if (effect instanceof FillEffect) { 257 fillEffects.add((FillEffect) effect); 262 for (ShadowEffect effect : shadowEffects) { 263 if (effect.inner) [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
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
|
Transition.java | 279 * Checks if the effect and overlay applied on a media item 285 * associated with current transition)for which the effect 292 List<Effect> effects; 308 for (Effect effect : effects) { 309 if (effect instanceof EffectColor) { 310 tmpEffectSettings = mNativeHelper.getEffectSettings((EffectColor)effect); 361 * generate effect clip first if there is any overlap 392 * generate effect clip first if there is any overlap 414 * generate effect clip first if there is any overla [all...] |
/external/v8/test/mjsunit/compiler/ |
simple-inlining.js | 32 // Effect context. 54 // Effect context. 76 // Effect context. 98 // Effect context. 120 // Effect context. 143 // Effect context.
|
inline-param.js | 32 // Effect context. 55 // Effect context. 69 // Effect context.
|
inline-two.js | 32 // Effect context. 55 // Effect context. 80 // Effect context.
|
inline-compare.js | 33 // Effect context.
|
inline-conditional.js | 31 // Effect context.
|
inline-global-access.js | 34 // Effect context.
|
/system/media/mca/effect/java/android/media/effect/ |
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).
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
MovieMediaItem.java | 21 import android.media.videoeditor.Effect; 62 // The effect applied to the media item 132 final List<Effect> effects = mediaItem.getAllEffects(); 133 for (Effect effect : effects) { 134 addEffect(new MovieEffect(effect)); 429 * @return The effect 436 * Only one effect is supported at this time 438 * @param effect The effect [all...] |
/frameworks/base/media/libmedia/ |
IEffect.cpp | 118 IMPLEMENT_META_INTERFACE(Effect, "android.media.IEffect");
|