/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/ |
D | TransitionHelper.java | 14 package android.support.v17.leanback.transition; 66 public void setEnterTransition(android.app.Fragment fragment, Object transition); in setEnterTransition() argument 68 public void setExitTransition(android.app.Fragment fragment, Object transition); in setExitTransition() argument 71 Object transition); in setSharedElementEnterTransition() argument 121 public void addTransition(Object transitionSet, Object transition); in addTransition() argument 123 public void addTransitionListener(Object transition, TransitionListener listener); in addTransitionListener() argument 125 public void removeTransitionListener(Object transition, TransitionListener listener); in removeTransitionListener() argument 127 public void runTransition(Object scene, Object transition); in runTransition() argument 129 public void exclude(Object transition, int targetId, boolean exclude); in exclude() argument 131 public void exclude(Object transition, View targetView, boolean exclude); in exclude() argument [all …]
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
D | TransitionHelperKitkat.java | 14 package android.support.v17.leanback.transition; 19 import android.transition.AutoTransition; 20 import android.transition.ChangeBounds; 21 import android.transition.Fade; 22 import android.transition.Scene; 23 import android.transition.Transition; 24 import android.transition.TransitionInflater; 25 import android.transition.TransitionManager; 26 import android.transition.TransitionSet; 27 import android.transition.TransitionValues; [all …]
|
/frameworks/base/core/java/android/transition/ |
D | TransitionManager.java | 17 package android.transition; 90 public void setDefaultTransition(Transition transition) { in setDefaultTransition() argument 91 sDefaultTransition = transition; in setDefaultTransition() 116 public void setTransition(Scene scene, Transition transition) { in setTransition() argument 117 mSceneTransitions.put(scene, transition); in setTransition() 132 public void setTransition(Scene fromScene, Scene toScene, Transition transition) { in setTransition() argument 138 sceneTransitionMap.put(fromScene, transition); in setTransition() 152 Transition transition = null; in getTransition() local 160 transition = sceneTransitionMap.get(currScene); in getTransition() 161 if (transition != null) { in getTransition() [all …]
|
D | TransitionInflater.java | 17 package android.transition; 131 Transition transition = null; in createTransitionFromXml() local 149 transition = new Fade(mContext, attrs); in createTransitionFromXml() 151 transition = new ChangeBounds(mContext, attrs); in createTransitionFromXml() 153 transition = new Slide(mContext, attrs); in createTransitionFromXml() 155 transition = new Explode(mContext, attrs); in createTransitionFromXml() 157 transition = new ChangeImageTransform(mContext, attrs); in createTransitionFromXml() 159 transition = new ChangeTransform(mContext, attrs); in createTransitionFromXml() 161 transition = new ChangeClipBounds(mContext, attrs); in createTransitionFromXml() 163 transition = new AutoTransition(mContext, attrs); in createTransitionFromXml() [all …]
|
D | TranslationAnimationCreator.java | 16 package android.transition; 25 import android.transition.Transition.TransitionListener; 53 Transition transition) { in createAnimation() argument 78 transition.addListener(listener); in createAnimation() 141 public void onTransitionStart(Transition transition) { in onTransitionStart() argument 145 public void onTransitionEnd(Transition transition) { in onTransitionEnd() argument 151 public void onTransitionCancel(Transition transition) { in onTransitionCancel() argument 155 public void onTransitionPause(Transition transition) { in onTransitionPause() argument 159 public void onTransitionResume(Transition transition) { in onTransitionResume() argument
|
/frameworks/support/v4/api21/android/support/v4/app/ |
D | FragmentTransitionCompat21.java | 20 import android.transition.Transition; 21 import android.transition.TransitionManager; 22 import android.transition.TransitionSet; 36 public static Object cloneTransition(Object transition) { in cloneTransition() argument 37 if (transition != null) { in cloneTransition() 38 transition = ((Transition)transition).clone(); in cloneTransition() 40 return transition; in cloneTransition() 61 Transition transition = (Transition) transitionObject; in excludeTarget() local 62 transition.excludeTarget(view, exclude); in excludeTarget() 66 Transition transition = (Transition) transitionObject; in beginDelayedTransition() local [all …]
|
/frameworks/base/docs/html/training/transitions/ |
D | transitions.jd | 21 these animations as transition objects, which contain information about an animation. To 22 run an animation, you provide the transition to use and the ending scene to a transition 34 want to change between, you need to create a {@link android.transition.Transition} object 35 that defines an animation. The framework enables you to specify a built-in transition in a 36 resource file and inflate it in your code or to create an instance of a built-in transition 39 <!-- Built in transition table --> 40 <p class="table-caption" id="table1"><strong>Table 1.</strong> Built-in transition types.</p> 49 …<td><code><a href="/reference/android/transition/AutoTransition.html">AutoTransition</a></code></t… 52 <td>Default transition. Fade out, move and resize, and fade in views, in that order.</td> 55 <td><code><a href="/reference/android/transition/Fade.html">Fade</a></code></td> [all …]
|
D | custom-transitions.jd | 17 <p>A custom transition enables you to create an animation that is not available from any of 18 the built-in transition classes. For example, you can define a custom transition that turns 22 <p>A custom transition, like one of the built-in transition types, applies animations to 23 child views of both the starting and ending scenes. Unlike built-in transition types, 34 <p>To create a custom transition, add a class to your project that extends the {@link 35 android.transition.Transition} class and override the methods shown in the following snippet:</p> 68 are specific to a transition, the transitions framework does not provide every property value 69 to a transition. Instead, the framework invokes callback methods that allow a transition to 76 {@link android.transition.Transition#captureStartValues captureStartValues(transitionValues)} 78 argument is a {@link android.transition.TransitionValues} object that contains a reference [all …]
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | ScenesTestAutoTargets.java | 21 import android.transition.ChangeBounds; 24 import android.transition.Fade; 25 import android.transition.Recolor; 26 import android.transition.Scene; 27 import android.transition.TransitionSet; 28 import android.transition.TransitionManager; 48 TransitionSet transition = new TransitionSet(); in onCreate() local 49 …transition.addTransition(new Fade()).addTransition(new ChangeBounds()).addTransition(new Recolor()… in onCreate() 52 mTransitionManager.setTransition(mSearchScreen, transition); in onCreate() 53 mTransitionManager.setTransition(mResultsScreen, transition); in onCreate()
|
D | Demo3.java | 20 import android.transition.ChangeBounds; 23 import android.transition.Fade; 24 import android.transition.Recolor; 25 import android.transition.Scene; 26 import android.transition.TransitionSet; 27 import android.transition.TransitionManager; 47 TransitionSet transition = new TransitionSet(); in onCreate() local 48 …transition.addTransition(new Fade()).addTransition(new ChangeBounds()).addTransition(new Recolor()… in onCreate() 51 mTransitionManager.setTransition(mSearchScreen, transition); in onCreate() 52 mTransitionManager.setTransition(mResultsScreen, transition); in onCreate()
|
D | Demo2.java | 22 import android.transition.Fade; 23 import android.transition.ChangeBounds; 24 import android.transition.Recolor; 25 import android.transition.Scene; 26 import android.transition.TransitionSet; 27 import android.transition.TransitionManager; 59 TransitionSet transition = new TransitionSet(); in sendMessage() local 60 transition.addTransition(new Fade().addTarget(R.id.resultsText). in sendMessage() 65 mTransitionManager.setTransition(mSearchScreen, transition); in sendMessage() 66 mTransitionManager.setTransition(mResultsScreen, transition); in sendMessage()
|
D | Demo1.java | 24 import android.transition.Fade; 25 import android.transition.ChangeBounds; 26 import android.transition.Scene; 27 import android.transition.TransitionSet; 28 import android.transition.TransitionManager; 72 TransitionSet transition = new TransitionSet(); in sendMessage() local 73 transition.addTransition(new Fade().addTarget(R.id.resultsText). in sendMessage() 77 mTransitionManager.setTransition(mSearchScreen, transition); in sendMessage() 78 mTransitionManager.setTransition(mResultsScreen, transition); in sendMessage()
|
D | ContactsExpansion.java | 21 import android.transition.ChangeBounds; 25 import android.transition.Fade; 26 import android.transition.Scene; 27 import android.transition.Transition; 28 import android.transition.TransitionSet; 31 import android.transition.Crossfade; 32 import android.transition.Rotate; 33 import android.transition.TransitionManager; 98 ToggleScene(ViewGroup rootView, Transition transition) { in ToggleScene() argument 100 mTransition = transition; in ToggleScene()
|
D | CrossfadeImage.java | 22 import android.transition.Crossfade; 23 import android.transition.ChangeBounds; 24 import android.transition.Scene; 25 import android.transition.Transition; 26 import android.transition.TransitionSet; 27 import android.transition.TransitionManager;
|
D | ClippingText.java | 20 import android.transition.ChangeBounds; 23 import android.transition.Scene; 25 import android.transition.Fade; 26 import android.transition.ChangeText; 27 import android.transition.TransitionSet; 28 import android.transition.TransitionManager;
|
D | ResourceLoadingTest.java | 22 import android.transition.Scene; 23 import android.transition.TransitionInflater; 24 import android.transition.Transition; 25 import android.transition.TransitionManager; 55 inflater.inflateTransitionManager(R.transition.my_transition_mgr, in sendMessage() 59 … Transition loadedTransition = inflater.inflateTransition(R.transition.my_transition); in sendMessage()
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
D | TransitionHelperApi21.java | 14 package android.support.v17.leanback.transition; 19 import android.transition.ChangeTransform; 20 import android.transition.Transition; 21 import android.transition.TransitionManager; 32 public static void setEnterTransition(android.app.Fragment fragment, Object transition) { in setEnterTransition() argument 33 fragment.setEnterTransition((Transition)transition); in setEnterTransition() 36 public static void setExitTransition(android.app.Fragment fragment, Object transition) { in setExitTransition() argument 37 fragment.setExitTransition((Transition)transition); in setExitTransition() 41 Object transition) { in setSharedElementEnterTransition() argument 42 fragment.setSharedElementEnterTransition((Transition)transition); in setSharedElementEnterTransition() [all …]
|
D | TranslationAnimationCreator.java | 1 package android.support.v17.leanback.transition; 10 import android.transition.Transition; 11 import android.transition.TransitionValues; 12 import android.transition.Transition.TransitionListener; 41 Transition transition) { in createAnimation() argument 66 transition.addListener(listener); in createAnimation() 129 public void onTransitionStart(Transition transition) { in onTransitionStart() argument 133 public void onTransitionEnd(Transition transition) { in onTransitionEnd() argument 139 public void onTransitionCancel(Transition transition) { in onTransitionCancel() argument 143 public void onTransitionPause(Transition transition) { in onTransitionPause() argument [all …]
|
/frameworks/support/v4/tests/java/android/support/v4/app/test/ |
D | FragmentTestActivity.java | 27 import android.transition.Transition; 28 import android.transition.Transition.TransitionListener; 29 import android.transition.TransitionInflater; 60 R.transition.fade, 61 R.transition.fade, 62 R.transition.fade, 63 R.transition.fade, 64 R.transition.change_bounds, 65 R.transition.change_bounds, 163 Transition transition = TransitionInflater.from(getActivity()).inflateTransition(id); in loadTransition() local [all …]
|
/frameworks/support/v17/leanback/common/android/support/v17/leanback/transition/ |
D | TransitionListener.java | 14 package android.support.v17.leanback.transition; 24 public void onTransitionStart(Object transition) { in onTransitionStart() argument 27 public void onTransitionEnd(Object transition) { in onTransitionEnd() argument 30 public void onTransitionCancel(Object transition) { in onTransitionCancel() argument 33 public void onTransitionPause(Object transition) { in onTransitionPause() argument 36 public void onTransitionResume(Object transition) { in onTransitionResume() argument
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | FadeTransitionTest.java | 17 package android.transition; 23 import android.transition.Transition.TransitionListener; 24 import android.transition.Transition.TransitionListenerAdapter; 132 public TransitionLatch setVisibilityInTransition(final Transition transition, int viewId, in setVisibilityInTransition() argument 137 transition.addListener(latch); in setVisibilityInTransition() 141 TransitionManager.beginDelayedTransition(sceneRoot, transition); in setVisibilityInTransition() 156 public void onTransitionStart(Transition transition) { in onTransitionStart() argument 161 public void onTransitionEnd(Transition transition) { in onTransitionEnd() argument 163 transition.removeListener(this); in onTransitionEnd() 167 public void onTransitionCancel(Transition transition) { in onTransitionCancel() argument [all …]
|
D | SlideTransitionTest.java | 17 package android.transition; 90 public TransitionLatch setVisibilityInTransition(final Transition transition, int viewId, in setVisibilityInTransition() argument 95 transition.addListener(latch); in setVisibilityInTransition() 99 TransitionManager.beginDelayedTransition(sceneRoot, transition); in setVisibilityInTransition() 114 public void onTransitionStart(Transition transition) { in onTransitionStart() argument 119 public void onTransitionEnd(Transition transition) { in onTransitionEnd() argument 121 transition.removeListener(this); in onTransitionEnd() 125 public void onTransitionCancel(Transition transition) { in onTransitionCancel() argument 130 public void onTransitionPause(Transition transition) { in onTransitionPause() argument 135 public void onTransitionResume(Transition transition) { in onTransitionResume() argument
|
/frameworks/base/core/java/android/app/ |
D | EnterTransitionCoordinator.java | 26 import android.transition.Transition; 27 import android.transition.TransitionManager; 397 Transition transition = beginTransition(decorView, startEnterTransition, in startSharedElementTransition() local 403 startEnterTransition(transition); in startSharedElementTransition() 496 public void onTransitionStart(Transition transition) { in beginTransition() 501 public void onTransitionEnd(Transition transition) { in beginTransition() 502 transition.removeListener(this); in beginTransition() 523 public void onTransitionStart(Transition transition) { in beginTransition() 524 mEnterViewsTransition = transition; in beginTransition() 528 super.onTransitionStart(transition); in beginTransition() [all …]
|
D | ExitTransitionCoordinator.java | 33 import android.transition.Transition; 34 import android.transition.TransitionManager; 156 Transition transition = getSharedElementExitTransition(); in startSharedElementExit() local 157 transition.addListener(new Transition.TransitionListenerAdapter() { in startSharedElementExit() 159 public void onTransitionEnd(Transition transition) { in startSharedElementExit() 160 transition.removeListener(this); in startSharedElementExit() 183 TransitionManager.beginDelayedTransition(decorView, transition); in startSharedElementExit() 270 Transition transition = getExitTransition(); in startExitTransition() local 272 if (transition != null && decorView != null && mTransitioningViews != null) { in startExitTransition() 274 TransitionManager.beginDelayedTransition(decorView, transition); in startExitTransition() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | FullWidthDetailsOverviewSharedElementHelper.java | 21 import android.support.v17.leanback.transition.TransitionListener; 22 import android.support.v17.leanback.transition.TransitionHelper; 79 Object transition = TransitionHelper.getSharedElementEnterTransition(activity.getWindow()); in setSharedElementEnterTransition() local 80 setAutoStartSharedElementTransition(transition != null); in setSharedElementEnterTransition() 142 Object transition = TransitionHelper.getSharedElementEnterTransition( in onBindLogo() 144 if (transition != null) { in onBindLogo() 145 TransitionHelper.addTransitionListener(transition, new TransitionListener() { in onBindLogo() 147 public void onTransitionEnd(Object transition) { in onBindLogo() 156 TransitionHelper.removeTransitionListener(transition, this); in onBindLogo()
|