Home | History | Annotate | Download | only in com.example.android.activityscenetransitionbasic

Lines Matching refs:Transition

25 import android.transition.Transition;
62 * Set the name of the view's which will be transition to, using the static values above.
79 // transition, load the thumbnail. The listener will load the full-size image when
80 // the transition is complete.
110 * Try and add a {@link Transition.TransitionListener} to the entering shared element
111 * {@link Transition}. We do this so that we can load the full-size image after the transition
114 * @return true if we were successful in adding a listener to the enter transition
117 final Transition transition = getWindow().getSharedElementEnterTransition();
119 if (transition != null) {
120 // There is an entering shared element transition so add a listener to it
121 transition.addListener(new Transition.TransitionListener() {
123 public void onTransitionEnd(Transition transition) {
124 // As the transition has ended, we can now load the full-size image
128 transition.removeListener(this);
132 public void onTransitionStart(Transition transition) {
137 public void onTransitionCancel(Transition transition) {
139 transition.removeListener(this);
143 public void onTransitionPause(Transition transition) {
148 public void onTransitionResume(Transition transition) {