/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
TvSettingsActivity.java | 23 import android.transition.Scene; 24 import android.transition.Slide; 25 import android.transition.Transition; 26 import android.transition.TransitionManager; 90 slide.addListener(new Transition.TransitionListener() { 92 public void onTransitionStart(Transition transition) { 97 public void onTransitionEnd(Transition transition) { [all...] |
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
TransitionFragment.java | 28 import android.transition.Transition; 44 private Transition.TransitionListener mListener = mock(Transition.TransitionListener.class); 71 verify(mListener, within(300)).onTransitionEnd((Transition) any()); 77 verify(mListener, never()).onTransitionStart((Transition) any());
|
/frameworks/support/transition/tests/src/android/support/transition/ |
TransitionInflaterTest.java | 17 package android.support.transition; 31 import android.support.transition.test.R; 47 Transition transition = inflater.inflateTransition(R.transition.transition_constructors); local 48 assertTrue(transition instanceof TransitionSet); 49 TransitionSet set = (TransitionSet) transition; 56 verifyFadeProperties(inflater.inflateTransition(R.transition.fade)); 57 verifyChangeBoundsProperties(inflater.inflateTransition(R.transition.change_bounds)); 58 verifySlideProperties(inflater.inflateTransition(R.transition.slide)) [all...] |
FragmentTransitionTest.java | 17 package android.support.transition; 32 import android.support.transition.test.R; 86 .onTransitionStart(any(Transition.class)); 88 .onTransitionEnd(any(Transition.class)); 90 .onTransitionStart(any(Transition.class)); 92 .onTransitionEnd(any(Transition.class)); 95 .onTransitionStart(any(Transition.class)); 97 .onTransitionStart(any(Transition.class)); 107 .onTransitionStart(any(Transition.class)); 109 .onTransitionEnd(any(Transition.class)) 217 final AutoTransition transition = new AutoTransition(); local [all...] |
TransitionManagerTest.java | 17 package android.support.transition; 31 import android.support.transition.test.R; 99 Transition transition = new AutoTransition(); 100 transition.setDuration(0); 101 assertThat(transition.addListener(listener), is(sameInstance(transition))); 102 TransitionManager.go(mScenes[0], transition); 116 Transition transition = new AutoTransition() 143 final Transition transition = new AutoTransition(); local 167 final Transition transition = new AutoTransition(); local [all...] |
TransitionTest.java | 17 package android.support.transition; 42 import android.support.transition.test.R; 73 Transition transition = new EmptyTransition(); local 74 assertThat(transition.getName(), 75 is(equalTo("android.support.transition.TransitionTest$EmptyTransition"))); 80 Transition transition = new EmptyTransition(); local 82 assertThat(transition.setDuration(duration), is(sameInstance(transition))); 88 Transition transition = new EmptyTransition(); local 96 Transition transition = new EmptyTransition(); local 104 Transition transition = new EmptyTransition(); local 130 Transition transition = new EmptyTransition(); local 146 Transition transition = new EmptyTransition(); local 162 Transition transition = new EmptyTransition(); local 179 Transition transition = new EmptyTransition(); local 194 Transition transition = new EmptyTransition(); local 209 Transition transition = new EmptyTransition(); local 226 Transition transition = new EmptyTransition(); local 239 Transition transition = new EmptyTransition(); local 248 final Transition transition = new ChangeBounds() { local 276 final DummyTransition transition = new DummyTransition(animatorListener); local 297 final Transition transition = new EmptyTransition(); local 321 final Transition transition = new EmptyTransition(); local 330 final EmptyTransition transition = new EmptyTransition(); local [all...] |
ChangeTransformTest.java | 17 package android.support.transition; 25 import android.support.transition.test.R; 34 Transition createTransition() { 54 verify(mListener, never()).onTransitionEnd(any(Transition.class)); // still running 77 verify(mListener, never()).onTransitionEnd(any(Transition.class)); // still running 100 verify(mListener, never()).onTransitionEnd(any(Transition.class)); // still running 114 verify(mListener, never()).onTransitionEnd(any(Transition.class)); // still running 121 waitForEnd(); // no transition to run because reparent == false
|
/cts/tests/app/app/src/android/app/stubs/ |
FragmentTestActivity.java | 24 import android.transition.Transition; 25 import android.transition.Transition.TransitionListener; 26 import android.transition.TransitionInflater; 59 android.R.transition.explode, 60 android.R.transition.explode, 61 android.R.transition.fade, 62 android.R.transition.fade, 63 android.R.transition.move 150 Transition transition = TransitionInflater.from(getActivity()).inflateTransition(id); local [all...] |
/cts/tests/tests/transition/src/android/transition/cts/ |
TransitionSetTest.java | 16 package android.transition.cts; 30 import android.transition.ChangeBounds; 31 import android.transition.Fade; 32 import android.transition.Transition; 33 import android.transition.TransitionSet; 45 final Transition.TransitionListener fadeListener = 46 mock(Transition.TransitionListener.class); 49 final Transition.TransitionListener changeBoundsListener = 50 mock(Transition.TransitionListener.class) [all...] |
TransitionInflaterTest.java | 16 package android.transition.cts; 29 import android.transition.ArcMotion; 30 import android.transition.AutoTransition; 31 import android.transition.ChangeBounds; 32 import android.transition.ChangeClipBounds; 33 import android.transition.ChangeImageTransform; 34 import android.transition.ChangeScroll; 35 import android.transition.ChangeTransform; 36 import android.transition.Explode; 37 import android.transition.Fade 64 Transition transition = inflater.inflateTransition(R.transition.transition_constructors); local 103 Transition transition = transitionManager.getTransition(scene1); local [all...] |
PropagationTest.java | 16 package android.transition.cts; 24 import android.transition.CircularPropagation; 25 import android.transition.SidePropagation; 26 import android.transition.Transition; 27 import android.transition.TransitionValues; 64 mTransition.setEpicenterCallback(new Transition.EpicenterCallback() { 66 public Rect onGetEpicenter(Transition transition) { 92 mTransition.setEpicenterCallback(new Transition.EpicenterCallback() [all...] |
BaseTransitionTest.java | 16 package android.transition.cts; 30 import android.transition.Scene; 31 import android.transition.Transition; 32 import android.transition.TransitionManager; 33 import android.transition.TransitionValues; 34 import android.transition.Visibility; 52 protected Transition mTransition; 53 protected Transition.TransitionListener mListener; 67 mListener = mock(Transition.TransitionListener.class) [all...] |
TargetActivity.java | 16 package android.transition.cts; 23 import android.transition.Transition; 24 import android.transition.Transition.TransitionListener; 25 import android.transition.TransitionListenerAdapter; 28 import com.android.compatibility.common.util.transition.TrackingTransition; 29 import com.android.compatibility.common.util.transition.TrackingVisibility; 81 public void onTransitionStart(Transition transition) { [all...] |
/frameworks/base/core/java/android/transition/ |
TransitionValues.java | 17 package android.transition; 27 * Data structure which holds cached values for the transition. 33 * example, the platform might store a property "alpha" in a transition 37 * {@link Transition#captureStartValues(TransitionValues)} 41 * for {@link Transition#createAnimator(ViewGroup, TransitionValues, TransitionValues)} 59 final ArrayList<Transition> targetedTransitions = new ArrayList<Transition>();
|
TransitionSet.java | 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 al [all...] |
TranslationAnimationCreator.java | 16 package android.transition; 23 import android.transition.Transition.TransitionListener; 31 * will not blink out or shift suddenly when the transition is interrupted. 53 Transition transition) { 78 transition.addListener(listener); 141 public void onTransitionStart(Transition transition) { 145 public void onTransitionEnd(Transition transition) [all...] |
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/ |
CustomUsage.java | 17 package com.example.android.support.transition.widget; 19 import com.example.android.support.transition.R; 22 import android.support.transition.Scene; 23 import android.support.transition.Transition; 24 import android.support.transition.TransitionManager; 28 * This demonstrates usage of a custom Transition. See {@link ChangeColor} for the actual 29 * implementation of a custom Transition. 33 private Transition mTransition;
|
ExplodeUsage.java | 17 package com.example.android.support.transition.widget; 22 import android.support.transition.Explode; 23 import android.support.transition.Transition; 24 import android.support.transition.TransitionManager; 28 import com.example.android.support.transition.R; 33 * This demonstrates usage of {@link Explode} Transition type. 51 mExplode.setEpicenterCallback(new Transition.EpicenterCallback() { 53 public Rect onGetEpicenter(@NonNull Transition transition) { [all...] |
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
TranslationAnimationCreator.java | 1 package android.support.v17.leanback.transition; 13 import android.transition.Transition; 14 import android.transition.Transition.TransitionListener; 15 import android.transition.TransitionValues; 21 * will not blink out or shift suddenly when the transition is interrupted. 46 Transition transition) { 71 transition.addListener(listener) [all...] |
/frameworks/base/core/tests/coretests/src/android/transition/ |
AutoTransitionTest.java | 17 package android.transition; 36 Transition fadeOut = autoTransition.getTransitionAt(0); 41 Transition move = autoTransition.getTransitionAt(1); 45 Transition fadeIn = autoTransition.getTransitionAt(2);
|
/frameworks/support/transition/src/android/support/transition/ |
TransitionSet.java | 17 package android.support.transition; 43 * a {@link ChangeBounds}, followed by a Fade(Fade.OUT) transition. 47 * attributes of {@code TransitionSet} and {@link Transition}. Child transitions of the 51 * transition on the affected view targets:</p> 60 public class TransitionSet extends Transition { 62 private ArrayList<Transition> mTransitions = new ArrayList<>(); 75 * play in sequence; when one child transition ends, the next child 76 * transition begins. Note that a transition does not end until all 78 * transition) end [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
NFAState.java | 48 public Transition[] transition = new Transition[MAX_TRANSITIONS]; field in class:NFAState 100 /** Is this state the sole target of an EOT transition? */ 116 public void addTransition(Transition e) { 118 throw new IllegalArgumentException("You can't add a null transition"); 120 if ( numTransitions>transition.length ) { 121 throw new IllegalArgumentException("You can only have "+transition.length+" transitions"); 124 transition[numTransitions] = e; 139 * transition another state has 150 public Transition transition(int i) { method in class:NFAState [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ActivityState.java | 67 private static final String KEY_TRANSITION_IN = "transition-in"; 69 private StateTransitionAnimation.Transition mNextTransition = 70 StateTransitionAnimation.Transition.None; 171 Class<? extends ActivityState> incoming, StateTransitionAnimation.Transition hint) { 173 mNextTransition = StateTransitionAnimation.Transition.Outgoing; 175 mNextTransition = StateTransitionAnimation.Transition.PhotoIncoming; 190 if (mNextTransition != StateTransitionAnimation.Transition.None) { 193 mNextTransition = StateTransitionAnimation.Transition.None; 235 // the transition store should be cleared after resume; 244 KEY_TRANSITION_IN, StateTransitionAnimation.Transition.None) [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
ActivityTransitionActivity.java | 27 import android.transition.ChangeBounds; 28 import android.transition.Explode; 29 import android.transition.Fade; 30 import android.transition.Transition; 31 import android.transition.Transition.TransitionListener; 32 import android.transition.TransitionListenerAdapter; 39 * A simple activity containing the start state for an Activity Transition 118 public void onTransitionEnd(Transition transition) 134 final Transition transition = isExplode ? new Explode() : new Fade(); local 141 final Transition transition = isExplode ? new Explode() : new Fade(); local [all...] |
/cts/tests/fragment/src/android/fragment/cts/ |
TransitionFragment.java | 26 import com.android.compatibility.common.util.transition.TrackingTransition; 27 import com.android.compatibility.common.util.transition.TrackingVisibility; 31 import android.transition.Transition; 47 private Transition.TransitionListener mListener = mock(Transition.TransitionListener.class);
|