Home
last modified time | relevance | path

Searched refs:Transition (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/core/java/android/transition/
DTransitionManager.java68 private static Transition sDefaultTransition = new AutoTransition();
72 ArrayMap<Scene, Transition> mSceneTransitions = new ArrayMap<Scene, Transition>();
73 ArrayMap<Scene, ArrayMap<Scene, Transition>> mScenePairTransitions =
74 new ArrayMap<Scene, ArrayMap<Scene, Transition>>();
75 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>
77 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>();
90 public void setDefaultTransition(Transition transition) { in setDefaultTransition()
103 public static Transition getDefaultTransition() { in getDefaultTransition()
116 public void setTransition(Scene scene, Transition transition) { in setTransition()
132 public void setTransition(Scene fromScene, Scene toScene, Transition transition) { in setTransition()
[all …]
DTransitionSet.java55 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()
336 public TransitionSet removeTransition(Transition transition) { in removeTransition()
349 for (Transition childTransition : mTransitions) { in setupStartEndListeners()
[all …]
DTransition.java119 public abstract class Transition implements Cloneable { class
256 public Transition() {} in Transition() method in Transition
267 public Transition(Context context, AttributeSet attrs) { in Transition() method in Transition
269 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Transition); in Transition()
296 matches[index] = Transition.MATCH_ID; in parseMatchOrder()
298 matches[index] = Transition.MATCH_INSTANCE; in parseMatchOrder()
300 matches[index] = Transition.MATCH_NAME; in parseMatchOrder()
302 matches[index] = Transition.MATCH_NAME; in parseMatchOrder()
304 matches[index] = Transition.MATCH_ITEM_ID; in parseMatchOrder()
328 public Transition setDuration(long duration) { in setDuration()
[all …]
DTransitionInflater.java74 public Transition inflateTransition(int resource) { in inflateTransition()
123 private Transition createTransitionFromXml(XmlPullParser parser, in createTransitionFromXml()
124 AttributeSet attrs, Transition parent) in createTransitionFromXml()
127 Transition transition = null; in createTransitionFromXml()
167 transition = (Transition) createCustom(attrs, Transition.class, "transition"); in createTransitionFromXml()
235 AttributeSet attrs, Transition transition) throws XmlPullParserException, IOException { in getTargetIds()
326 Transition transition = inflateTransition(transitionId); in loadTransition()
DCrossfade.java47 public class Crossfade extends Transition {
182 if (Transition.DBG) { in createAnimator()
218 if (Transition.DBG) { in createAnimator()
239 if (Transition.DBG) { in createAnimator()
268 if (Transition.DBG) { in captureValues()
DTransitionValues.java59 final ArrayList<Transition> targetedTransitions = new ArrayList<Transition>();
/frameworks/support/v4/api21/android/support/v4/app/
DFragmentTransitionCompat21.java22 import android.transition.Transition;
42 transition = ((Transition)transition).clone(); in cloneTransition()
58 addTargets((Transition) exitTransition, viewList); in captureExitingViews()
65 Transition transition = (Transition) transitionObject; in excludeTarget()
70 Transition transition = (Transition) transitionObject; in beginDelayedTransition()
75 Transition transition = (Transition) transitionObject; in setEpicenter()
78 transition.setEpicenterCallback(new Transition.EpicenterCallback() { in setEpicenter()
80 public Rect onGetEpicenter(Transition transition) { in setEpicenter()
104 final Transition enterTransition = (Transition) enterTransitionObject; in addTransitionTargets()
109 Transition sharedElementTransition = (Transition) sharedElementTransitionObject; in addTransitionTargets()
[all …]
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DTransitionHelperKitkat.java23 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 …]
DScale.java22 import android.transition.Transition;
28 class Scale extends Transition {
/frameworks/base/core/java/android/app/
DExitTransitionCoordinator.java30 import android.transition.Transition;
161 Transition transition = getSharedElementExitTransition(); in startSharedElementExit()
162 transition.addListener(new Transition.TransitionListenerAdapter() { in startSharedElementExit()
164 public void onTransitionEnd(Transition transition) { in startSharedElementExit()
269 Transition transition = getExitTransition(); in startExitTransition()
305 private Transition getExitTransition() { in getExitTransition()
306 Transition viewsTransition = null; in getExitTransition()
316 public void onTransitionEnd(Transition transition) { in getExitTransition()
333 private Transition getSharedElementExitTransition() { in getSharedElementExitTransition()
334 Transition sharedElementTransition = null; in getSharedElementExitTransition()
[all …]
DEnterTransitionCoordinator.java25 import android.transition.Transition;
59 private Transition mEnterViewsTransition;
108 public Transition getEnterViewsTransition() { in getEnterViewsTransition()
285 protected Transition getViewsTransition() { in getViewsTransition()
297 protected Transition getSharedElementTransition() { in getSharedElementTransition()
337 Transition transition = beginTransition(decorView, startEnterTransition, in startSharedElementTransition()
413 private Transition beginTransition(ViewGroup decorView, boolean startEnterTransition, in beginTransition()
415 Transition sharedElementTransition = null; in beginTransition()
424 sharedElementTransition.addListener(new Transition.TransitionListenerAdapter() { in beginTransition()
426 public void onTransitionStart(Transition transition) { in beginTransition()
[all …]
DFragment.java31 import android.transition.Transition;
364 private static final Transition USE_DEFAULT_TRANSITION = new TransitionSet();
490 private Transition mEnterTransition = null;
491 private Transition mReturnTransition = USE_DEFAULT_TRANSITION;
492 private Transition mExitTransition = null;
493 private Transition mReenterTransition = USE_DEFAULT_TRANSITION;
494 private Transition mSharedElementEnterTransition = null;
495 private Transition mSharedElementReturnTransition = USE_DEFAULT_TRANSITION;
1677 public void setEnterTransition(Transition transition) { in setEnterTransition()
1691 public Transition getEnterTransition() { in getEnterTransition()
[all …]
DBackStackRecord.java25 import android.transition.Transition;
1026 private static Transition cloneTransition(Transition transition) { in cloneTransition()
1033 private static Transition getEnterTransition(Fragment inFragment, boolean isBack) { in getEnterTransition()
1041 private static Transition getExitTransition(Fragment outFragment, boolean isBack) { in getExitTransition()
1049 private static Transition getSharedElementTransition(Fragment inFragment, Fragment outFragment, in getSharedElementTransition()
1058 private static ArrayList<View> captureExitingViews(Transition exitTransition, in captureExitingViews()
1114 final Transition enterTransition, final Transition sharedElementTransition, in addTransitionTargets()
1115 final Transition overallTransition, final View container, in addTransitionTargets()
1210 private static Transition mergeTransitions(Transition enterTransition, in mergeTransitions()
1211 Transition exitTransition, Transition sharedElementTransition, Fragment inFragment, in mergeTransitions()
[all …]
DActivityTransitionCoordinator.java26 import android.transition.Transition;
354 protected Transition setTargets(Transition transition, boolean add) { in setTargets()
384 protected Transition configureTransition(Transition transition, in configureTransition()
394 protected static Transition mergeTransitions(Transition transition1, Transition transition2) { in mergeTransitions()
427 protected abstract Transition getViewsTransition(); in getViewsTransition()
897 protected class ContinueTransitionListener extends Transition.TransitionListenerAdapter {
899 public void onTransitionStart(Transition transition) { in onTransitionStart()
918 private static class FixedEpicenterCallback extends Transition.EpicenterCallback {
924 public Rect onGetEpicenter(Transition transition) { in onGetEpicenter()
/frameworks/base/docs/html/training/transitions/
Dcustom-transitions.jd9 <li><a href="#Extend">Extend the Transition Class</a></li>
12 <li><a href="#Apply">Apply a Custom Transition</a></li>
32 <h2 id="Extend">Extend the Transition Class</h2>
35 android.transition.Transition} class and override the methods shown in the following snippet:</p>
38 public class CustomTransition extends Transition {
59 <p>Transition animations use the property animation system described in
76 {@link android.transition.Transition#captureStartValues captureStartValues(transitionValues)}
91 android.transition.Transition#captureStartValues captureStartValues()} method:</p>
94 public class CustomTransition extends Transition {
124 <p>The framework calls the {@link android.transition.Transition#captureEndValues} method
[all …]
Dtransitions.jd1 page.title=Applying a Transition
9 <li><a href="#Create">Create a Transition</a></li>
10 <li><a href="#Apply">Apply a Transition</a></li>
13 <li><a href="#NoScenes">Apply a Transition Without Scenes</a></li>
14 <li><a href="#Callbacks">Define Transition Lifecycle Callbacks</a></li>
30 <h2 id="Create">Create a Transition</h2>
34 want to change between, you need to create a {@link android.transition.Transition} object
97 <p>The following code snippet shows how to inflate a {@link android.transition.Transition}
101 Transition mFadeTransition =
114 the subclasses of the {@link android.transition.Transition} class. For example, the following
[all …]
/frameworks/base/core/java/android/view/
DWindow.java34 import android.transition.Transition;
1518 public void setEnterTransition(Transition transition) {} in setEnterTransition()
1535 public void setReturnTransition(Transition transition) {} in setReturnTransition()
1549 public void setExitTransition(Transition transition) {} in setExitTransition()
1565 public void setReenterTransition(Transition transition) {} in setReenterTransition()
1578 public Transition getEnterTransition() { return null; } in getEnterTransition()
1593 public Transition getReturnTransition() { return null; } in getReturnTransition()
1607 public Transition getExitTransition() { return null; } in getExitTransition()
1621 public Transition getReenterTransition() { return null; } in getReenterTransition()
1634 public void setSharedElementEnterTransition(Transition transition) {} in setSharedElementEnterTransition()
[all …]
/frameworks/native/services/inputflinger/
DPointerControllerInterface.h61 enum Transition { enum
69 virtual void fade(Transition transition) = 0;
75 virtual void unfade(Transition transition) = 0;
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DSequenceTest.java23 import android.transition.Transition;
54 Transition fade1 = new Fade().addTarget(R.id.removingButton); in onCreate()
55 Transition fade2 = new Fade().addTarget(R.id.invisibleButton); in onCreate()
56 Transition fade3 = new Fade().addTarget(R.id.goneButton); in onCreate()
DListViewAddRemove.java32 import android.transition.Transition;
80 final Transition myTransition = new AutoTransition(); in onCreate()
87 myTransition.addListener(new Transition.TransitionListenerAdapter() { in onCreate()
89 public void onTransitionStart(Transition transition) { in onCreate()
98 public void onTransitionEnd(Transition transition) { in onCreate()
DHierarchicalMove.java23 import android.transition.Transition;
35 Transition mTransition;
66 Transition move0 = new ChangeBounds(); in onCreate()
DScenesTestAutoTransition.java25 import android.transition.Transition;
32 Transition mTransition = new AutoTransition();
DCrossfadeImage.java25 import android.transition.Transition;
36 Transition mTransition;
/frameworks/native/cmds/flatland/
DREADME.txt42 16:10 App -> Home Transition | 1280 x 800 | 4.069
43 16:10 App -> Home Transition | 2560 x 1600 | 15.911
44 16:10 App -> Home Transition | 3840 x 2400 | 38.795
45 16:10 SurfaceView -> Home Transition | 1280 x 800 | 5.387
46 16:10 SurfaceView -> Home Transition | 2560 x 1600 | 21.147
47 16:10 SurfaceView -> Home Transition | 3840 x 2400 | slow
/frameworks/base/core/java/com/android/internal/transition/
DActionBarTransition.java23 import android.transition.Transition;
34 private static final Transition sTransition;

123