Home | History | Annotate | Download | only in service

Lines Matching refs:transition

23 import android.media.videoeditor.Transition;
34 * This class represents a transition in the user interface
37 // The unique id of the transition
54 * @param transition The transition
56 MovieTransition(Transition transition) {
57 mTypeClass = transition.getClass();
58 mUniqueId = transition.getId();
59 mAppDurationMs = mDurationMs = transition.getDuration();
60 mBehavior = transition.getBehavior();
61 if (transition instanceof TransitionSliding) {
62 mSlidingDirection = ((TransitionSliding)transition).getDirection();
67 if (transition instanceof TransitionAlpha) {
68 final TransitionAlpha ta = (TransitionAlpha)transition;
86 * @param type The transition type
87 * @param id The transition id
108 * @param type The transition type
109 * @param id The transition id
132 * @param type The transition type
133 * @param id The transition id
156 * @return The type class of the transition
163 * @return The type of the transition
170 * @return The id of the transition
177 * Set the duration of the transition.
179 * @param durationMs the duration of the transition in milliseconds
186 * @return the duration of the transition in milliseconds
193 * Set the duration of the transition
202 * @return The duration of the transition
251 * Create a VideoEditor transition
254 * @param afterMediaItem Add the transition after this media item
255 * @param beforeMediaItem Add the transition before this media item
257 * @return The transition
259 Transition buildTransition(Context context, MediaItem afterMediaItem,