/frameworks/base/core/java/android/transition/ |
D | TransitionManager.java | 69 private static Transition sDefaultTransition = new AutoTransition(); 73 ArrayMap<Scene, Transition> mSceneTransitions = new ArrayMap<Scene, Transition>(); 74 ArrayMap<Scene, ArrayMap<Scene, Transition>> mScenePairTransitions = 75 new ArrayMap<Scene, ArrayMap<Scene, Transition>>(); 76 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>> 78 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>(); 91 public void setDefaultTransition(Transition transition) { in setDefaultTransition() 104 public static Transition getDefaultTransition() { in getDefaultTransition() 117 public void setTransition(Scene scene, Transition transition) { in setTransition() 133 public void setTransition(Scene fromScene, Scene toScene, Transition transition) { in setTransition() [all …]
|
D | TransitionListenerAdapter.java | 25 public abstract class TransitionListenerAdapter implements Transition.TransitionListener { 31 public void onTransitionStart(Transition transition) { in onTransitionStart() 38 public void onTransitionEnd(Transition transition) { in onTransitionEnd() 45 public void onTransitionCancel(Transition transition) { in onTransitionCancel() 52 public void onTransitionPause(Transition transition) { in onTransitionPause() 59 public void onTransitionResume(Transition transition) { in onTransitionResume()
|
D | TransitionSet.java | 55 public class TransitionSet extends Transition { 57 ArrayList<Transition> mTransitions = new ArrayList<Transition>(); 142 public TransitionSet addTransition(Transition transition) { in addTransition() 171 public Transition getTransitionAt(int index) { in getTransitionAt() 277 public Transition excludeTarget(View target, boolean exclude) { in excludeTarget() 285 public Transition excludeTarget(String targetName, boolean exclude) { in excludeTarget() 293 public Transition excludeTarget(int targetId, boolean exclude) { in excludeTarget() 301 public Transition excludeTarget(Class type, boolean exclude) { in excludeTarget() 327 public TransitionSet removeTransition(Transition transition) { in removeTransition() 340 for (Transition childTransition : mTransitions) { in setupStartEndListeners() [all …]
|
D | TranslationAnimationCreator.java | 23 import android.transition.Transition.TransitionListener; 53 Transition transition) { in createAnimation() 141 public void onTransitionStart(Transition transition) { in onTransitionStart() 145 public void onTransitionEnd(Transition transition) { in onTransitionEnd() 152 public void onTransitionCancel(Transition transition) { in onTransitionCancel() 156 public void onTransitionPause(Transition transition) { in onTransitionPause() 160 public void onTransitionResume(Transition transition) { in onTransitionResume()
|
D | Transition.java | 120 public abstract class Transition implements Cloneable { class 257 public Transition() {} in Transition() method in Transition 268 public Transition(Context context, AttributeSet attrs) { in Transition() method in Transition 270 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Transition); in Transition() 297 matches[index] = Transition.MATCH_ID; in parseMatchOrder() 299 matches[index] = Transition.MATCH_INSTANCE; in parseMatchOrder() 301 matches[index] = Transition.MATCH_NAME; in parseMatchOrder() 303 matches[index] = Transition.MATCH_NAME; in parseMatchOrder() 305 matches[index] = Transition.MATCH_ITEM_ID; in parseMatchOrder() 329 public Transition setDuration(long duration) { in setDuration() [all …]
|
/frameworks/support/transition/src/android/support/transition/ |
D | TransitionManager.java | 82 private static Transition sDefaultTransition = new AutoTransition(); 84 private ArrayMap<Scene, Transition> mSceneTransitions = new ArrayMap<>(); 85 private ArrayMap<Scene, ArrayMap<Scene, Transition>> mScenePairTransitions = new ArrayMap<>(); 86 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>> 99 public void setTransition(@NonNull Scene scene, @Nullable Transition transition) { in setTransition() 116 @Nullable Transition transition) { in setTransition() 117 ArrayMap<Scene, Transition> sceneTransitionMap = mScenePairTransitions.get(toScene); in setTransition() 135 private Transition getTransition(Scene scene) { in getTransition() 136 Transition transition; in getTransition() 142 ArrayMap<Scene, Transition> sceneTransitionMap = mScenePairTransitions in getTransition() [all …]
|
D | TransitionListenerAdapter.java | 27 public class TransitionListenerAdapter implements Transition.TransitionListener { 30 public void onTransitionStart(@NonNull Transition transition) { in onTransitionStart() 34 public void onTransitionEnd(@NonNull Transition transition) { in onTransitionEnd() 38 public void onTransitionCancel(@NonNull Transition transition) { in onTransitionCancel() 42 public void onTransitionPause(@NonNull Transition transition) { in onTransitionPause() 46 public void onTransitionResume(@NonNull Transition transition) { in onTransitionResume()
|
D | TransitionSet.java | 60 public class TransitionSet extends Transition { 62 private ArrayList<Transition> mTransitions = new ArrayList<>(); 150 public TransitionSet addTransition(@NonNull Transition transition) { in addTransition() 177 public Transition getTransitionAt(int index) { in getTransitionAt() 296 public Transition excludeTarget(@NonNull View target, boolean exclude) { in excludeTarget() 305 public Transition excludeTarget(@NonNull String targetName, boolean exclude) { in excludeTarget() 314 public Transition excludeTarget(int targetId, boolean exclude) { in excludeTarget() 323 public Transition excludeTarget(@NonNull Class type, boolean exclude) { in excludeTarget() 351 public TransitionSet removeTransition(@NonNull Transition transition) { in removeTransition() 364 for (Transition childTransition : mTransitions) { in setupStartEndListeners() [all …]
|
D | Transition.java | 118 public abstract class Transition implements Cloneable { class 203 private static ThreadLocal<ArrayMap<Animator, Transition.AnimationInfo>> sRunningAnimators = 233 private ArrayList<Transition.TransitionListener> mListeners = null; 260 public Transition() { in Transition() method in Transition 272 public Transition(Context context, AttributeSet attrs) { in Transition() method in Transition 276 Styleable.Transition.DURATION, -1); in Transition() 281 Styleable.Transition.START_DELAY, -1); in Transition() 286 Styleable.Transition.INTERPOLATOR, 0); in Transition() 291 Styleable.Transition.MATCH_ORDER); in Transition() 307 matches[index] = Transition.MATCH_ID; in parseMatchOrder() [all …]
|
/frameworks/support/fragment/java/android/support/v4/app/ |
D | FragmentTransitionCompat21.java | 21 import android.transition.Transition; 38 Transition copy = null; in cloneTransition() 40 copy = ((Transition) transition).clone(); in cloneTransition() 54 transitionSet.addTransition((Transition) transition); in wrapTransitionInSet() 122 Transition transition = (Transition) transitionObj; in setEpicenter() 126 transition.setEpicenterCallback(new Transition.EpicenterCallback() { in setEpicenter() 128 public Rect onGetEpicenter(Transition transition) { in setEpicenter() 154 Transition transition = (Transition) transitionObj; in addTargets() 162 Transition child = set.getTransitionAt(i); in addTargets() 180 private static boolean hasSimpleTarget(Transition transition) { in hasSimpleTarget() [all …]
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
D | TransitionHelperKitkat.java | 24 import android.transition.Transition; 55 ((TransitionSet) transitionSet).addTransition((Transition) transition); in addTransition() 157 ((Transition)transition).setStartDelay(startDelay); in setStartDelay() 161 ((Transition)transition).setDuration(duration); in setDuration() 165 ((Transition) transition).excludeTarget(targetId, exclude); in exclude() 169 ((Transition) transition).excludeTarget(targetView, exclude); in exclude() 173 ((Transition) transition).excludeChildren(targetId, exclude); in excludeChildren() 177 ((Transition) transition).excludeChildren(targetView, exclude); in excludeChildren() 181 ((Transition) transition).addTarget(targetId); in include() 185 ((Transition) transition).addTarget(targetView); in include() [all …]
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
D | TransitionHelperApi21.java | 21 import android.transition.Transition; 35 fragment.setEnterTransition((Transition)transition); in setEnterTransition() 39 fragment.setExitTransition((Transition)transition); in setExitTransition() 44 fragment.setSharedElementEnterTransition((Transition)transition); in setSharedElementEnterTransition() 57 window.setSharedElementEnterTransition((Transition) transition); in setSharedElementEnterTransition() 65 window.setSharedElementReturnTransition((Transition) transition); in setSharedElementReturnTransition() 81 window.setEnterTransition((Transition) transition); in setEnterTransition() 89 window.setReturnTransition((Transition) transition); in setReturnTransition() 123 Transition transition = (Transition) transitionObject; in beginDelayedTransition() 133 Transition transition = (Transition) transitionObject; in setEpicenterCallback() [all …]
|
D | TranslationAnimationCreator.java | 13 import android.transition.Transition; 14 import android.transition.Transition.TransitionListener; 46 Transition transition) { in createAnimation() 134 public void onTransitionStart(Transition transition) { in onTransitionStart() 138 public void onTransitionEnd(Transition transition) { in onTransitionEnd() 144 public void onTransitionCancel(Transition transition) { in onTransitionCancel() 148 public void onTransitionPause(Transition transition) { in onTransitionPause() 152 public void onTransitionResume(Transition transition) { in onTransitionResume()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/util/ |
D | StateMachine.java | 82 static class Transition { class in StateMachine 89 Transition(State fromState, State toState, Event event) { in Transition() method in StateMachine.Transition 99 Transition(State fromState, State toState) { in Transition() method in StateMachine.Transition 106 Transition(State fromState, State toState, Condition condition) { in Transition() method in StateMachine.Transition 141 ArrayList<Transition> mIncomings; 142 ArrayList<Transition> mOutgoings; 169 void addIncoming(Transition t) { in addIncoming() 176 void addOutgoing(Transition t) { in addOutgoing() 194 for (Transition t: mIncomings) { in checkPreCondition() 201 for (Transition t: mIncomings) { in checkPreCondition() [all …]
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | FadeTest.java | 124 final Transition.TransitionListener listenerOut = mock(Transition.TransitionListener.class); in testFadeOutThenIn() 127 verify(listenerOut, timeout(3000)).onTransitionStart(any(Transition.class)); in testFadeOutThenIn() 135 final Transition.TransitionListener listenerIn = mock(Transition.TransitionListener.class); in testFadeOutThenIn() 138 verify(listenerOut, timeout(3000)).onTransitionPause(any(Transition.class)); in testFadeOutThenIn() 139 verify(listenerIn, timeout(3000)).onTransitionStart(any(Transition.class)); in testFadeOutThenIn() 146 verify(listenerIn, timeout(3000)).onTransitionEnd(any(Transition.class)); in testFadeOutThenIn() 160 final Transition.TransitionListener listenerIn = mock(Transition.TransitionListener.class); in testFadeInThenOut() 163 verify(listenerIn, timeout(3000)).onTransitionStart(any(Transition.class)); in testFadeInThenOut() 171 final Transition.TransitionListener listenerOut = mock(Transition.TransitionListener.class); in testFadeInThenOut() 174 verify(listenerIn, timeout(3000)).onTransitionPause(any(Transition.class)); in testFadeInThenOut() [all …]
|
D | TransitionInflaterTest.java | 47 Transition transition = inflater.inflateTransition(R.transition.transition_constructors); in testInflationConstructors() 80 private void verifyFadeProperties(Transition transition) { in verifyFadeProperties() 86 private void verifyChangeBoundsProperties(Transition transition) { in verifyChangeBoundsProperties() 92 private void verifySlideProperties(Transition transition) { in verifySlideProperties() 98 private void verifyExplodeProperties(Transition transition) { in verifyExplodeProperties() 104 private void verifyChangeImageTransformProperties(Transition transition) { in verifyChangeImageTransformProperties() 108 private void verifyChangeTransformProperties(Transition transition) { in verifyChangeTransformProperties() 115 private void verifyChangeClipBoundsProperties(Transition transition) { in verifyChangeClipBoundsProperties() 119 private void verifyAutoTransitionProperties(Transition transition) { in verifyAutoTransitionProperties() 123 private void verifyChangeScrollProperties(Transition transition) { in verifyChangeScrollProperties() [all …]
|
D | TransitionTest.java | 73 Transition transition = new EmptyTransition(); in testName() 80 Transition transition = new EmptyTransition(); in testDuration() 88 Transition transition = new EmptyTransition(); in testInterpolator() 96 Transition transition = new EmptyTransition(); in testStartDelay() 104 Transition transition = new EmptyTransition(); in testTargetIds() 130 Transition transition = new EmptyTransition(); in testTargetView() 146 Transition transition = new EmptyTransition(); in testTargetName() 162 Transition transition = new EmptyTransition(); in testTargetType() 179 Transition transition = new EmptyTransition(); in testExcludeTargetId() 194 Transition transition = new EmptyTransition(); in testExcludeTargetView() [all …]
|
D | TransitionManagerTest.java | 99 Transition transition = new AutoTransition(); in testGo_transitionListenerStart() 116 Transition transition = new AutoTransition(); in testGo_transitionListenerEnd() 143 final Transition transition = new AutoTransition(); in testEndTransitions() 146 final Transition.TransitionListener listener = mock(Transition.TransitionListener.class); in testEndTransitions() 154 verify(listener, timeout(3000)).onTransitionStart(any(Transition.class)); in testEndTransitions() 161 verify(listener, timeout(3000)).onTransitionEnd(any(Transition.class)); in testEndTransitions() 167 final Transition transition = new AutoTransition(); in testEndTransitionsBeforeStarted() 169 final Transition.TransitionListener listener = mock(Transition.TransitionListener.class); in testEndTransitionsBeforeStarted() 179 verify(listener, never()).onTransitionStart(any(Transition.class)); in testEndTransitionsBeforeStarted() 180 verify(listener, never()).onTransitionEnd(any(Transition.class)); in testEndTransitionsBeforeStarted()
|
D | SyncTransitionListener.java | 26 class SyncTransitionListener implements Transition.TransitionListener { 54 public void onTransitionStart(@NonNull Transition transition) { in onTransitionStart() 61 public void onTransitionEnd(@NonNull Transition transition) { in onTransitionEnd() 68 public void onTransitionCancel(@NonNull Transition transition) { in onTransitionCancel() 75 public void onTransitionPause(@NonNull Transition transition) { in onTransitionPause() 82 public void onTransitionResume(@NonNull Transition transition) { in onTransitionResume()
|
D | BaseTransitionTest.java | 40 Transition mTransition; 41 Transition.TransitionListener mListener; 50 mListener = mock(Transition.TransitionListener.class); in setUp() 54 Transition createTransition() { in createTransition() 59 verify(mListener, timeout(3000)).onTransitionStart(any(Transition.class)); in waitForStart() 63 verify(mListener, timeout(3000)).onTransitionEnd(any(Transition.class)); in waitForEnd() 108 mListener = mock(Transition.TransitionListener.class); in resetListener()
|
D | SlideEdgeTest.java | 69 final Transition.TransitionListener listener = in testSlideOut() 70 mock(Transition.TransitionListener.class); in testSlideOut() 95 verify(listener, timeout(1000)).onTransitionStart(any(Transition.class)); in testSlideOut() 96 verify(listener, never()).onTransitionEnd(any(Transition.class)); in testSlideOut() 135 verify(listener, timeout(1000)).onTransitionEnd(any(Transition.class)); in testSlideOut() 152 final Transition.TransitionListener listener = in testSlideIn() 153 mock(Transition.TransitionListener.class); in testSlideIn() 189 verify(listener, timeout(1000)).onTransitionStart(any(Transition.class)); in testSlideIn() 191 verify(listener, never()).onTransitionEnd(any(Transition.class)); in testSlideIn() 230 verify(listener, timeout(1000)).onTransitionEnd(any(Transition.class)); in testSlideIn()
|
/frameworks/base/core/java/android/app/ |
D | FragmentTransition.java | 20 import android.transition.Transition; 209 Transition enterTransition = getEnterTransition(inFragment, inIsPop); in configureTransitionsReordered() 210 Transition exitTransition = getExitTransition(outFragment, outIsPop); in configureTransitionsReordered() 229 Transition transition = mergeTransitions(enterTransition, exitTransition, in configureTransitionsReordered() 279 Transition enterTransition = getEnterTransition(inFragment, inIsPop); in configureTransitionsOrdered() 280 Transition exitTransition = getExitTransition(outFragment, outIsPop); in configureTransitionsOrdered() 307 Transition transition = mergeTransitions(enterTransition, exitTransition, in configureTransitionsOrdered() 328 private static void replaceHide(Transition exitTransition, Fragment exitingFragment, in replaceHide() 339 public void onTransitionEnd(Transition transition) { in replaceHide() 368 final Transition enterTransition, final ArrayList<View> enteringViews, in scheduleTargetChange() [all …]
|
D | ExitTransitionCoordinator.java | 33 import android.transition.Transition; 164 Transition transition = getSharedElementExitTransition(); in startSharedElementExit() 167 public void onTransitionEnd(Transition transition) { in startSharedElementExit() 280 Transition transition = getExitTransition(); in startExitTransition() 320 private Transition getExitTransition() { in getExitTransition() 321 Transition viewsTransition = null; in getExitTransition() 335 public void onTransitionEnd(Transition transition) { in getExitTransition() 351 private Transition getSharedElementExitTransition() { in getSharedElementExitTransition() 352 Transition sharedElementTransition = null; in getSharedElementExitTransition() 361 public void onTransitionEnd(Transition transition) { in getSharedElementExitTransition() [all …]
|
D | EnterTransitionCoordinator.java | 28 import android.transition.Transition; 64 private Transition mEnterViewsTransition; 126 public Transition getEnterViewsTransition() { in getEnterViewsTransition() 135 Transition viewsTransition = getViewsTransition(); in viewsReady() 356 protected Transition getViewsTransition() { in getViewsTransition() 368 protected Transition getSharedElementTransition() { in getSharedElementTransition() 409 Transition transition = beginTransition(decorView, startEnterTransition, in startSharedElementTransition() 486 private Transition beginTransition(ViewGroup decorView, boolean startEnterTransition, in beginTransition() 488 Transition sharedElementTransition = null; in beginTransition() 499 public void onTransitionStart(Transition transition) { in beginTransition() [all …]
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
D | TransitionFragment.java | 28 import android.transition.Transition; 44 private Transition.TransitionListener mListener = mock(Transition.TransitionListener.class); 71 verify(mListener, within(300)).onTransitionEnd((Transition) any()); in waitForTransition() 77 verify(mListener, never()).onTransitionStart((Transition) any()); in waitForNoTransition()
|