@Test public void testSetPropagation() { final TransitionPropagation propagation = new SidePropagation(); mTransitionSet.setPropagation(propagation); assertThat(mTransitionSet.getPropagation(), is(propagation)); assertThat(mTransition.getPropagation(), is(propagation)); }
@Override public void setPropagation(TransitionPropagation propagation) { super.setPropagation(propagation); mChangeFlags |= FLAG_CHANGE_PROPAGATION; int numTransitions = mTransitions.size(); for (int i = 0; i < numTransitions; ++i) { mTransitions.get(i).setPropagation(propagation); } }
TransitionSet extends Transition { @Override public void setPropagation(TransitionPropagation propagation) { super.setPropagation(propagation); mChangeFlags |= FLAG_CHANGE_PROPAGATION; int numTransitions = mTransitions.size(); for (int i = 0; i < numTransitions; ++i) { mTransitions.get(i).setPropagation(propagation); } } }
TransitionSet extends Transition { @Override public void setPropagation(TransitionPropagation propagation) { super.setPropagation(propagation); mChangeFlags |= FLAG_CHANGE_PROPAGATION; int numTransitions = mTransitions.size(); for (int i = 0; i < numTransitions; ++i) { mTransitions.get(i).setPropagation(propagation); } } TransitionSet();  TransitionSet(Context context, AttributeSet attrs); }
TransitionSet extends Transition { @Override public void setPropagation(TransitionPropagation propagation) { super.setPropagation(propagation); mChangeFlags |= FLAG_CHANGE_PROPAGATION; int numTransitions = mTransitions.size(); for (int i = 0; i < numTransitions; ++i) { mTransitions.get(i).setPropagation(propagation); } } TransitionSet();  TransitionSet(Context context, AttributeSet attrs); @NonNull TransitionSet setOrdering(int ordering); int getOrdering(); @NonNull TransitionSet addTransition(@NonNull Transition transition); int getTransitionCount(); Transition getTransitionAt(int index); @NonNull @Override TransitionSet setDuration(long duration); @NonNull @Override TransitionSet setStartDelay(long startDelay); @NonNull @Override TransitionSet setInterpolator(@Nullable TimeInterpolator interpolator); @NonNull @Override TransitionSet addTarget(@NonNull View target); @NonNull @Override TransitionSet addTarget(@IdRes int targetId); @NonNull @Override TransitionSet addTarget(@NonNull String targetName); @NonNull @Override TransitionSet addTarget(@NonNull Class targetType); @NonNull @Override TransitionSet addListener(@NonNull TransitionListener listener); @NonNull @Override TransitionSet removeTarget(@IdRes int targetId); @NonNull @Override TransitionSet removeTarget(@NonNull View target); @NonNull @Override TransitionSet removeTarget(@NonNull Class target); @NonNull @Override TransitionSet removeTarget(@NonNull String target); @NonNull @Override Transition excludeTarget(@NonNull View target, boolean exclude); @NonNull @Override Transition excludeTarget(@NonNull String targetName, boolean exclude); @NonNull @Override Transition excludeTarget(int targetId, boolean exclude); @NonNull @Override Transition excludeTarget(@NonNull Class type, boolean exclude); @NonNull @Override TransitionSet removeListener(@NonNull TransitionListener listener); @Override void setPathMotion(PathMotion pathMotion); @NonNull TransitionSet removeTransition(@NonNull Transition transition); @Override void captureStartValues(@NonNull TransitionValues transitionValues); @Override void captureEndValues(@NonNull TransitionValues transitionValues); @RestrictTo(LIBRARY_GROUP) @Override void pause(View sceneRoot); @RestrictTo(LIBRARY_GROUP) @Override void resume(View sceneRoot); @Override void setPropagation(TransitionPropagation propagation); @Override void setEpicenterCallback(EpicenterCallback epicenterCallback); @Override Transition clone(); }
TransitionSet extends Transition { @Override public void setPropagation(TransitionPropagation propagation) { super.setPropagation(propagation); mChangeFlags |= FLAG_CHANGE_PROPAGATION; int numTransitions = mTransitions.size(); for (int i = 0; i < numTransitions; ++i) { mTransitions.get(i).setPropagation(propagation); } } TransitionSet();  TransitionSet(Context context, AttributeSet attrs); @NonNull TransitionSet setOrdering(int ordering); int getOrdering(); @NonNull TransitionSet addTransition(@NonNull Transition transition); int getTransitionCount(); Transition getTransitionAt(int index); @NonNull @Override TransitionSet setDuration(long duration); @NonNull @Override TransitionSet setStartDelay(long startDelay); @NonNull @Override TransitionSet setInterpolator(@Nullable TimeInterpolator interpolator); @NonNull @Override TransitionSet addTarget(@NonNull View target); @NonNull @Override TransitionSet addTarget(@IdRes int targetId); @NonNull @Override TransitionSet addTarget(@NonNull String targetName); @NonNull @Override TransitionSet addTarget(@NonNull Class targetType); @NonNull @Override TransitionSet addListener(@NonNull TransitionListener listener); @NonNull @Override TransitionSet removeTarget(@IdRes int targetId); @NonNull @Override TransitionSet removeTarget(@NonNull View target); @NonNull @Override TransitionSet removeTarget(@NonNull Class target); @NonNull @Override TransitionSet removeTarget(@NonNull String target); @NonNull @Override Transition excludeTarget(@NonNull View target, boolean exclude); @NonNull @Override Transition excludeTarget(@NonNull String targetName, boolean exclude); @NonNull @Override Transition excludeTarget(int targetId, boolean exclude); @NonNull @Override Transition excludeTarget(@NonNull Class type, boolean exclude); @NonNull @Override TransitionSet removeListener(@NonNull TransitionListener listener); @Override void setPathMotion(PathMotion pathMotion); @NonNull TransitionSet removeTransition(@NonNull Transition transition); @Override void captureStartValues(@NonNull TransitionValues transitionValues); @Override void captureEndValues(@NonNull TransitionValues transitionValues); @RestrictTo(LIBRARY_GROUP) @Override void pause(View sceneRoot); @RestrictTo(LIBRARY_GROUP) @Override void resume(View sceneRoot); @Override void setPropagation(TransitionPropagation propagation); @Override void setEpicenterCallback(EpicenterCallback epicenterCallback); @Override Transition clone(); static final int ORDERING_TOGETHER; static final int ORDERING_SEQUENTIAL; }