HomeSort by relevance Sort by last modified time
    Searched refs:Transition (Results 26 - 50 of 74) sorted by null

12 3

  /frameworks/base/media/java/android/media/videoeditor/
VideoEditor.java 48 * <li>Transition video clips</li>
153 * processing a media object such as a Transition, AudioTrack & Kenburns
156 * @param object The object that is being processed such as a Transition
339 * Pending transition generations must be allowed to complete before the
486 * before or after this media item, then this/these transition(s) are
542 * Add a transition between the media items specified by the transition.
543 * If a transition existed at the same position it is invalidated and then
544 * the transition is replaced. Note that the new transition video clip i
    [all...]
Transition.java 38 * Adding a transition between MediaItems makes the
39 * duration of the storyboard shorter by the duration of the Transition itself.
40 * As a result, if the duration of the transition is larger than the smaller
41 * duration of the two MediaItems associated with the Transition, an exception
44 * During a transition, the audio track are cross-fading
47 public abstract class Transition {
49 * The transition behavior
53 /** The transition starts slowly and speed up */
55 /** The transition start fast and speed down */
57 /** The transition speed is constant *
    [all...]
MediaItem.java 105 protected Transition mBeginTransition;
107 protected Transition mEndTransition;
213 * @param transition The beginning transition
215 void setBeginTransition(Transition transition) {
216 mBeginTransition = transition;
220 * @return The begin transition
222 public Transition getBeginTransition() {
227 * @param transition The end transitio
    [all...]
VideoEditorImpl.java 71 private static final String TAG_TRANSITION = "transition";
131 private final List<Transition> mTransitions = new ArrayList<Transition>();
239 * Invalidate the end transition if necessary
265 public synchronized void addTransition(Transition transition) {
266 if (transition == null) {
267 throw new IllegalArgumentException("Null Transition");
270 final MediaItem beforeMediaItem = transition.getBeforeMediaItem();
271 final MediaItem afterMediaItem = transition.getAfterMediaItem()
882 final Transition transition = getTransition(transitionId); local
1011 final Transition transition = parseTransition(parser, local
1194 final Transition transition; local
    [all...]
TransitionAlpha.java 29 * This class allows to render an "alpha blending" transition according to a
30 * bitmap mask. The mask shows the shape of the transition all along the
31 * duration of the transition: just before the transition, video 1 is fully
32 * displayed. When the transition starts, as the time goes on, pixels of video 2
37 public class TransitionAlpha extends Transition {
44 * value equals 100, then the mask is not at all applied (no transition
73 * @param transitionId The transition id
74 * @param afterMediaItem The transition is applied to the end of this media
76 * @param beforeMediaItem The transition is applied to the beginning of thi
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DFAState.java 75 * elements are Transition objects.
77 protected List<Transition> transitions =
78 new ArrayList<Transition>(INITIAL_NUM_TRANSITIONS);
157 * transition that could be a valid label is transition(0). When we
176 public Transition transition(int i) { method in class:DFAState
177 return (Transition)transitions.get(i);
184 public void addTransition(Transition t) {
188 /** Add a transition from this state to target with label. Retur
    [all...]
DFA.java 171 /** Map an edge transition table to a unique set number; ordered so
173 * and then ref them from within the transition[][] table. Like this
188 /** The unique edge transition class number; every time we see a new
191 * some of the big edge transition tables are seen about 57 times.
195 /* This DFA can be converted to a transition[state][char] table and
214 public Vector transition; field in class:DFA
330 if ( transition==null || transition.size()==0 ) {
333 List encoded = new ArrayList(transition.size());
334 // walk Vector<Vector<FormattedInteger>> which is the transition[][] tabl
    [all...]
NFAToDFAConverter.java 130 * transition is actually the exit branch of the loop. Rather than make
136 * when nongreedy and EOT transition. Make state with EOT emanating
159 closure((NFAState)alt.transition[0].target,
169 closure((NFAState)alt.transition[0].target,
181 if ( alt.transition[1] ==null ) {
184 alt = (NFAState)alt.transition[1].target;
196 /** From this node, add a d--a-->t transition for all
232 // When a loop is nongreedy and we find an EOT transition, the DFA
344 /** Add a transition from state d to targetState with label in normal case.
418 Transition oldTransition = (Transition)targetToLabelMap.get(tI)
    [all...]
DecisionProbe.java 374 NFAState isolatedAltStart = (NFAState)altStart.transition[0].target;
577 Transition transition0 = ruleInvocationState.transition[0];
728 Transition t = s.transition(i);
738 if ( targetStatus==REACHABLE_NO ) { // try another transition
781 Transition t = startState.transition(i);
835 Transition t = s.transition[i]
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DOTGenerator.java 131 // make a DOT edge for each transition
133 Transition edge = (Transition) s.transition(i);
194 if ( alt.transition[1] !=null ) {
195 alt = (NFAState)alt.transition[1].target;
205 // make a DOT edge for each transition
208 Transition edge = (Transition) s.transition(i)
    [all...]
GrammarSanity.java 32 import org.antlr.analysis.Transition;
79 /** From state s, look for any transition to a rule that is currently
83 * rule must look at follow transition for that invoking state.
104 Transition t0 = s.transition[0];
146 // now do the other transition if it exists
147 Transition t1 = s.transition[1];
RandomPhrase.java 34 import org.antlr.analysis.Transition;
89 (RuleClosureTransition)invokingState.transition[0];
96 Transition t0 = state.transition[0];
121 Transition t = altStartState.transition[0];
Interpreter.java 276 s = (NFAState)alt.transition[0].target;
293 (RuleClosureTransition)invokingState.transition[0];
299 Transition trans = s.transition[0];
311 // CASE 3: epsilon transition
326 // CASE 3b: plain old epsilon transition, just move
332 // CASE 4: match label on transition
341 s = (NFAState)s.transition[0].target;
398 Transition eotTransition = null;
407 Transition t = s.transition(i)
    [all...]
  /external/icu4c/i18n/unicode/
rbtz.h 26 struct Transition;
251 * Gets the first time zone transition after the base time.
254 * @param result Receives the first transition after the base time.
255 * @return TRUE if the transition is found.
261 * Gets the most recent time zone transition before the base time.
264 * @param result Receives the most recent transition before the base time.
265 * @return TRUE if the transition is found.
289 * @param trsrules Receives the timezone transition rules
291 * the timezone transition rules. On output, actual number of
316 UDate getTransitionTime(Transition* transition, UBool local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
StateManager.java 64 StateTransitionAnimation.Transition.Incoming);
98 StateTransitionAnimation.Transition.Incoming);
216 StateTransitionAnimation.Transition.Outgoing);
243 StateTransitionAnimation.Transition.Incoming);
  /packages/apps/Gallery2/src/com/android/gallery3d/anim/
StateTransitionAnimation.java 77 private static Spec specForTransition(Transition t) {
92 public static enum Transition { None, Outgoing, Incoming, PhotoIncoming }
103 public StateTransitionAnimation(Transition t, RawTexture oldScreen) {
  /packages/apps/VideoEditor/src/com/android/videoeditor/service/
MovieTransition.java 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()
    [all...]
ApiService.java 52 import android.media.videoeditor.Transition;
251 } else if (item instanceof Transition) {
252 intent.putExtra(PARAM_STORYBOARD_ITEM_ID, ((Transition)item).getId());
253 intent.putExtra(PARAM_ATTRIBUTES, Transition.class.getCanonicalName());
805 * Insert an alpha transition after the specified media item
809 * @param afterMediaItemId Insert the transition after the media item with this id
810 * @param transitionId The transition id
812 * @param behavior The transition behavior
814 * @param blending The transition blendin
2071 final Transition transition = applyThemeAfterRemove(videoEditor, themeId, local
2265 final Transition transition = new TransitionAlpha( local
2297 final Transition transition = new TransitionCrossfade( local
2325 final Transition transition = new TransitionFadeBlack( local
2353 final Transition transition = new TransitionSliding( local
2385 final Transition transition = videoEditor.getTransition(transitionId); local
2402 final Transition transition = videoEditor.getTransition(transitionId); local
3281 final MovieTransition transition = (MovieTransition)result; local
3510 final Transition transition = (Transition)result; local
3561 final MovieTransition transition = videoProject.getTransition(transitionId); local
4567 Transition transition = null; local
4617 final Transition transition = local
4623 final Transition transition = theme.getEndTransition().buildTransition(context, local
4631 final Transition transition = theme.getMidTransition().buildTransition( local
4638 final Transition transition = theme.getMidTransition().buildTransition( local
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
VideoEditorExportTest.java 31 import android.media.videoeditor.Transition;
417 *To Test export : With Transition on Different Media Items
444 2000, Transition.BEHAVIOR_LINEAR, maskFilename, 50, true);
460 mediaItem3, 4000, Transition.BEHAVIOR_MIDDLE_FAST,
472 mediaItem4, 3500, Transition.BEHAVIOR_MIDDLE_SLOW);
482 mediaItem5, 3500, Transition.BEHAVIOR_SPEED_DOWN);
492 mediaItem6, 1000/*4000*/, Transition.BEHAVIOR_SPEED_UP,
498 1000 /*4000*/, Transition.BEHAVIOR_SPEED_UP,
585 3000, Transition.BEHAVIOR_LINEAR, maskFilename, 50, false);
636 2000, Transition.BEHAVIOR_LINEAR, maskFilename, 50, true)
    [all...]
VideoEditorPreviewTest.java 36 import android.media.videoeditor.Transition;
431 Transition.BEHAVIOR_MIDDLE_FAST);
436 mediaVideoItem2, 4000, Transition.BEHAVIOR_SPEED_UP,
442 mediaVideoItem1, 2000, Transition.BEHAVIOR_MIDDLE_FAST);
445 List<Transition> transitionList = mVideoEditor.getAllTransitions();
446 assertEquals("Transition List Size", 3, transitionList.size());
447 assertEquals("Transition 1", transition1And2CrossFade,
449 assertEquals("Transition 2", transition2And3Alpha, transitionList.get(1));
450 assertEquals("Transition 3", transition1FadeBlack, transitionList.get(2));
482 /* As transition takes more time buffer of 10 sec is added *
    [all...]
  /external/icu4c/tools/tzcode/
tz2icu.cpp 121 // A transition from one ZoneType to another
123 struct Transition {
126 Transition(int64_t _time, int32_t _type) {
164 vector<Transition> transitions;
334 // Used temporarily to store transition times and types. We need
340 // Read transition times
349 // Read transition types
370 // Preserve the latest transition before the 32bit minimum time
374 // Skipping the rest of the transition data. We cannot put such
379 info.transitions.push_back(Transition(transitionTimes[i], transitionTypes[i]))
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
VideoEditorPerformance.java 35 import android.media.videoeditor.Transition;
277 * To test the performance of adding and removing the transition
293 final int transitionBehavior = Transition.BEHAVIOR_MIDDLE_FAST;
327 tranCrossfade[i] = new TransitionCrossfade("transition" + i,
332 loggingInfo[0] = "Time taken to Create CrossFade Transition :" +
340 loggingInfo[1] = "\n\tTime taken to add CrossFade Transition :" +
349 loggingInfo[2] = "\n\tTime taken to remove CrossFade Transition :" +
406 * 7.Add TransitionAlpha, Apply this Transition as Begin for Media Item 1
412 2000, Transition.BEHAVIOR_LINEAR, maskFilename, 50, true);
416 * 8.Add Transition Sliding between MediaItem 2 and 3
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
TreeToNFAConverter.g 125 while ( end.transition( 1 ) != null )
127 end = (NFAState)end.transition( 1 ).target;
129 if ( end.transition( 0 ) != null )
134 Transition e = new Transition( Label.EPSILON, n );
138 Transition followEdge = new Transition( Label.EPSILON, following );
245 start.addTransition(new Transition(Label.EPSILON, g.left));
259 g.right.addTransition(new Transition(Label.EPSILON,end));
432 NFAState altBlockState = (NFAState)$g.left.transition(0).target
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
VideoEditorStressTest.java 36 import android.media.videoeditor.Transition;
307 * To stress test transition
334 mediaItem1, 5000, Transition.BEHAVIOR_MIDDLE_FAST);
349 mediaItem2, 5000, Transition.BEHAVIOR_SPEED_UP,
366 mediaItem3, 5000, Transition.BEHAVIOR_SPEED_UP,
375 mediaItem3, 3000, Transition.BEHAVIOR_MIDDLE_FAST,
387 null, 2500, Transition.BEHAVIOR_SPEED_UP);
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DFA.as 3 /** A DFA implemented as a set of transition tables.
21 protected var transition:Array; // short[][]
33 eot:Array, eof:Array, min:Array, max:Array, accept:Array, special:Array, transition:Array,
45 this.transition = transition;
94 // look for a normal char transition
97 var snext:int = transition[s][c-min[s]]; // move to next state
99 // was in range but not a normal transition
103 if ( eot[s]>=0 ) { // EOT Transition to accept state?
104 if ( debug ) trace("EOT transition");
    [all...]

Completed in 1533 milliseconds

12 3