Searched defs:effect (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
H A DEffectsBar.java54 // selected but showing an active effect instead of effects-gallery. Set the clicked
82 private void setupEffect(final EffectAction effect) { argument
83 effect.setOnClickListener(new View.OnClickListener() {
88 // Set the clicked effect active before exiting effects-gallery.
89 activeEffect = effect;
107 // Detach the active effect to prevent it stopping effects-gallery from gc.
138 * Exits from effects gallery or the active effect; then executes the runnable if applicable.
140 * @return true if exiting from effects gallery or the active effect; otherwise, false.
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DMovieEffect.java27 * An effect can only be applied to a single media item.
48 * @param effect The effect
50 MovieEffect(Effect effect) { argument
51 mUniqueId = effect.getId();
52 mStartTimeMs = effect.getStartTime();
53 mDurationMs = effect.getDuration();
54 if (effect instanceof EffectKenBurns) {
55 mStartRect = ((EffectKenBurns)effect).getStartRect();
56 mEndRect = ((EffectKenBurns)effect)
147 toType(Effect effect) argument
[all...]
H A DMovieMediaItem.java62 // The effect applied to the media item
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
440 void addEffect(MovieEffect effect) { argument
444 mEffect = effect;
448 * @param effectId The effect i
[all...]
H A DApiServiceListener.java383 * A new effect was added
386 * @param effect The newly added effect
390 public void onEffectAdded(String projectPath, MovieEffect effect, argument
394 * An effect was removed
397 * @param effectId The id of the effect which was removed
H A DVideoEditorProject.java864 * Add the effect
867 * @param effect The effect
869 void addEffect(String mediaItemId, MovieEffect effect) { argument
871 // Remove an existing effect
877 mediaItem.addEffect(effect);
882 * Remove the specified effect
885 * @param effectId The effect id
894 * Get the specified effect
897 * @param effectId The effect i
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DEffectsRecorder.java116 /** Determine if a given effect is supported at runtime
277 public void setEffect(int effect, Object effectParameter) { argument
279 "setEffect: effect ID " + effect +
290 mEffect = effect;
452 throw new RuntimeException("Unknown effect ID" + mEffect + "!");
471 throw new RuntimeException("Unable to connect camera to effect input", e);
521 throw new RuntimeException("No effect selected!");
524 throw new RuntimeException("No effect parameter provided!");
596 throw new RuntimeException("Unable to connect camera to effect inpu
927 sendMessage(final int effect, final int msg) argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DEffectsRecorder.java123 /** Determine if a given effect is supported at runtime
276 public void setEffect(int effect, Object effectParameter) { argument
278 "setEffect: effect ID " + effect +
289 mEffect = effect;
457 throw new RuntimeException("Unknown effect ID" + mEffect + "!");
476 throw new RuntimeException("Unable to connect camera to effect input", e);
527 throw new RuntimeException("No effect selected!");
530 throw new RuntimeException("No effect parameter provided!");
589 "camera from effect inpu
860 sendMessage(final int effect, final int msg) argument
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DVideoEditorBaseActivity.java662 public void onEffectAdded(String projectPath, MovieEffect effect, String mediaItemId, argument
697 // Remove the effect

Completed in 143 milliseconds