Search in sources :

Example 1 with ChangeTransform

use of android.transition.ChangeTransform in project Fragmentation by YoKeyword.

the class DetailTransition method init.

private void init() {
    setOrdering(ORDERING_TOGETHER);
    addTransition(new ChangeBounds()).addTransition(new ChangeTransform()).addTransition(new ChangeImageTransform());
}
Also used : ChangeTransform(android.transition.ChangeTransform) ChangeBounds(android.transition.ChangeBounds) ChangeImageTransform(android.transition.ChangeImageTransform)

Example 2 with ChangeTransform

use of android.transition.ChangeTransform in project Conductor by bluelinelabs.

the class ArcFadeMoveChangeHandler method getTransition.

@Override
@NonNull
protected Transition getTransition(@NonNull ViewGroup container, View from, View to, boolean isPush) {
    TransitionSet transition = new TransitionSet().setOrdering(TransitionSet.ORDERING_SEQUENTIAL).addTransition(new Fade(Fade.OUT)).addTransition(new TransitionSet().addTransition(new ChangeBounds()).addTransition(new ChangeClipBounds()).addTransition(new ChangeTransform())).addTransition(new Fade(Fade.IN));
    transition.setPathMotion(new ArcMotion());
    return transition;
}
Also used : ChangeTransform(android.transition.ChangeTransform) TransitionSet(android.transition.TransitionSet) ChangeBounds(android.transition.ChangeBounds) Fade(android.transition.Fade) ArcMotion(android.transition.ArcMotion) ChangeClipBounds(android.transition.ChangeClipBounds) NonNull(android.support.annotation.NonNull)

Example 3 with ChangeTransform

use of android.transition.ChangeTransform in project AndroidUtilCode by Blankj.

the class DetailTransition method init.

private void init() {
    setOrdering(ORDERING_TOGETHER);
    addTransition(new ChangeBounds()).addTransition(new ChangeTransform()).addTransition(new ChangeImageTransform());
}
Also used : ChangeTransform(android.transition.ChangeTransform) ChangeBounds(android.transition.ChangeBounds) ChangeImageTransform(android.transition.ChangeImageTransform)

Example 4 with ChangeTransform

use of android.transition.ChangeTransform in project FanLayoutManager by Cleveroad.

the class SharedTransitionSet method init.

private void init() {
    setOrdering(ORDERING_TOGETHER);
    addTransition(new ChangeBounds()).addTransition(new ChangeTransform()).addTransition(new ChangeImageTransform());
}
Also used : ChangeTransform(android.transition.ChangeTransform) ChangeBounds(android.transition.ChangeBounds) ChangeImageTransform(android.transition.ChangeImageTransform)

Aggregations

ChangeBounds (android.transition.ChangeBounds)4 ChangeTransform (android.transition.ChangeTransform)4 ChangeImageTransform (android.transition.ChangeImageTransform)3 NonNull (android.support.annotation.NonNull)1 ArcMotion (android.transition.ArcMotion)1 ChangeClipBounds (android.transition.ChangeClipBounds)1 Fade (android.transition.Fade)1 TransitionSet (android.transition.TransitionSet)1