Home | History | Annotate | Download | only in transition

Lines Matching refs:Transition

17 package android.transition;
37 * a {@link ChangeBounds}, followed by a Fade(Fade.OUT) transition.
42 * {@link android.R.styleable#Transition}. Child transitions of the
46 * transition on the affected view targets:</p>
55 public class TransitionSet extends Transition {
57 ArrayList<Transition> mTransitions = new ArrayList<Transition>();
69 * play in sequence; when one child transition ends, the next child
70 * transition begins. Note that a transition does not end until all
72 * transition) end.
77 * Constructs an empty transition set. Add child transitions to the
78 * set by calling {@link #addTransition(Transition)} )}. By default,
130 * Adds child transition to this set. The order in which this child transition
136 * child transition will inherit that duration. Transitions are assumed to have
139 * @param transition A non-null child transition to be added to this set.
142 public TransitionSet addTransition(Transition transition) {
143 if (transition != null) {
144 mTransitions.add(transition);
145 transition.mParent = this;
147 transition.setDuration(mDuration);
157 * @see #addTransition(Transition)
165 * Returns the child Transition at the specified position in the TransitionSet.
167 * @param index The position of the Transition to retrieve.
168 * @see #addTransition(Transition)
171 public Transition getTransitionAt(int index) {
277 public Transition excludeTarget(View target, boolean exclude) {
285 public Transition excludeTarget(String targetName, boolean exclude) {
293 public Transition excludeTarget(int targetId, boolean exclude) {
301 public Transition excludeTarget(Class type, boolean exclude) {
331 * Removes the specified child transition from this set.
333 * @param transition The transition to be removed.
336 public TransitionSet removeTransition(Transition transition) {
337 mTransitions.remove(transition);
338 transition.mParent = null;
344 * determine when this transition set is finished (all child transitions
349 for (Transition childTransition : mTransitions) {
357 * which point this transition set is also done.
365 public void onTransitionStart(Transition transition) {
373 public void onTransitionEnd(Transition transition) {
380 transition.removeListener(this);
394 Transition childTransition = mTransitions.get(i);
395 // We only set the start delay on the first transition if we are playing
426 Transition previousTransition = mTransitions.get(i - 1);
427 final Transition nextTransition = mTransitions.get(i);
430 public void onTransitionEnd(Transition transition) {
432 transition.removeListener(this);
436 Transition firstTransition = mTransitions.get(0);
450 for (Transition childTransition : mTransitions) {
462 for (Transition childTransition : mTransitions) {
559 clone.mTransitions = new ArrayList<Transition>();
562 clone.addTransition((Transition) mTransitions.get(i).clone());