Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/transition/
DTransitionManager.java70 private static Transition sDefaultTransition = new AutoTransition();
74 ArrayMap<Scene, Transition> mSceneTransitions = new ArrayMap<Scene, Transition>();
75 ArrayMap<Scene, ArrayMap<Scene, Transition>> mScenePairTransitions =
76 new ArrayMap<Scene, ArrayMap<Scene, Transition>>();
78 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>
80 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>();
94 public void setDefaultTransition(Transition transition) { in setDefaultTransition()
107 public static Transition getDefaultTransition() { in getDefaultTransition()
120 public void setTransition(Scene scene, Transition transition) { in setTransition()
136 public void setTransition(Scene fromScene, Scene toScene, Transition transition) { in setTransition()
[all …]
DTransitionListenerAdapter.java25 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()
DTransitionSet.java55 public class TransitionSet extends Transition {
73 ArrayList<Transition> mTransitions = new ArrayList<Transition>();
164 public TransitionSet addTransition(Transition transition) { in addTransition()
186 private void addTransitionInternal(Transition transition) { in addTransitionInternal()
209 public Transition getTransitionAt(int index) { in getTransitionAt()
322 public Transition excludeTarget(View target, boolean exclude) { in excludeTarget()
330 public Transition excludeTarget(String targetName, boolean exclude) { in excludeTarget()
338 public Transition excludeTarget(int targetId, boolean exclude) { in excludeTarget()
346 public Transition excludeTarget(Class type, boolean exclude) { in excludeTarget()
375 public TransitionSet removeTransition(Transition transition) { in removeTransition()
[all …]
DTranslationAnimationCreator.java23 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()
DTransition.java121 public abstract class Transition implements Cloneable { class
258 public Transition() {} in Transition() method in Transition
269 public Transition(Context context, AttributeSet attrs) { in Transition() method in Transition
271 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Transition); in Transition()
298 matches[index] = Transition.MATCH_ID; in parseMatchOrder()
300 matches[index] = Transition.MATCH_INSTANCE; in parseMatchOrder()
302 matches[index] = Transition.MATCH_NAME; in parseMatchOrder()
304 matches[index] = Transition.MATCH_NAME; in parseMatchOrder()
306 matches[index] = Transition.MATCH_ITEM_ID; in parseMatchOrder()
330 public Transition setDuration(long duration) { in setDuration()
[all …]
DTransitionInflater.java75 public Transition inflateTransition(@TransitionRes int resource) { in inflateTransition()
127 private Transition createTransitionFromXml(XmlPullParser parser, in createTransitionFromXml()
128 AttributeSet attrs, Transition parent) in createTransitionFromXml()
131 Transition transition = null; in createTransitionFromXml()
171 transition = (Transition) createCustom(attrs, Transition.class, "transition"); in createTransitionFromXml()
239 AttributeSet attrs, Transition transition) throws XmlPullParserException, IOException { in getTargetIds()
332 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()
/frameworks/base/core/java/android/app/
DFragmentTransition.java20 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 …]
DExitTransitionCoordinator.java33 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 …]
DEnterTransitionCoordinator.java28 import android.transition.Transition;
64 private Transition mEnterViewsTransition;
127 public Transition getEnterViewsTransition() { in getEnterViewsTransition()
136 Transition viewsTransition = getViewsTransition(); in viewsReady()
366 protected Transition getViewsTransition() { in getViewsTransition()
378 protected Transition getSharedElementTransition() { in getSharedElementTransition()
419 Transition transition = beginTransition(decorView, startEnterTransition, in startSharedElementTransition()
496 private Transition beginTransition(ViewGroup decorView, boolean startEnterTransition, in beginTransition()
498 Transition sharedElementTransition = null; in beginTransition()
509 public void onTransitionStart(Transition transition) { in beginTransition()
[all …]
DFragment.java39 import android.transition.Transition;
279 private static final Transition USE_DEFAULT_TRANSITION = new TransitionSet();
2044 public void setEnterTransition(Transition transition) {
2060 public Transition getEnterTransition() {
2081 public void setReturnTransition(Transition transition) {
2100 public Transition getReturnTransition() {
2121 public void setExitTransition(Transition transition) {
2140 public Transition getExitTransition() {
2160 public void setReenterTransition(Transition transition) {
2179 public Transition getReenterTransition() {
[all …]
DActivityTransitionCoordinator.java26 import android.transition.Transition;
356 protected Transition setTargets(Transition transition, boolean add) { in setTargets()
392 protected Transition configureTransition(Transition transition, in configureTransition()
413 protected static void removeExcludedViews(Transition transition, ArrayList<View> views) { in removeExcludedViews()
430 private static void findIncludedViews(Transition transition, ArrayList<View> views, in findIncludedViews()
457 protected static Transition mergeTransitions(Transition transition1, Transition transition2) { in mergeTransitions()
490 protected abstract Transition getViewsTransition(); in getViewsTransition()
986 public void onTransitionStart(Transition transition) { in onTransitionStart()
996 public void onTransitionEnd(Transition transition) { in onTransitionEnd()
1029 private static void noLayoutSuppressionForVisibilityTransitions(Transition transition) { in noLayoutSuppressionForVisibilityTransitions()
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DToolbarView.kt20 import android.transition.Transition
28 var transitionListener: Transition.TransitionListener = object : TransitionListenerAdapter() {
29 override fun onTransitionStart(transition: Transition?) { in onTransitionStart()
32 override fun onTransitionEnd(transition: Transition?) { in onTransitionEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt27 import android.transition.Transition in <lambda>()
66 transition.addListener(object : Transition.TransitionListener { in <lambda>()
67 override fun onTransitionEnd(p0: Transition?) { in <lambda>()
71 override fun onTransitionResume(p0: Transition?) { in <lambda>()
74 override fun onTransitionPause(p0: Transition?) { in <lambda>()
77 override fun onTransitionCancel(p0: Transition?) { in <lambda>()
80 override fun onTransitionStart(p0: Transition?) { in <lambda>()
/frameworks/base/core/tests/coretests/src/android/transition/
DSlideTransitionTest.java90 public TransitionLatch setVisibilityInTransition(final Transition transition, int viewId, in setVisibilityInTransition()
106 public static class TransitionLatch implements Transition.TransitionListener {
114 public void onTransitionStart(Transition transition) { in onTransitionStart()
119 public void onTransitionEnd(Transition transition) { in onTransitionEnd()
125 public void onTransitionCancel(Transition transition) { in onTransitionCancel()
130 public void onTransitionPause(Transition transition) { in onTransitionPause()
135 public void onTransitionResume(Transition transition) { in onTransitionResume()
DFadeTransitionTest.java25 import android.transition.Transition.TransitionListener;
172 public TransitionLatch setVisibilityInTransition(final Transition transition, int viewId, in setVisibilityInTransition()
213 public void onTransitionStart(Transition transition) { in onTransitionStart()
218 public void onTransitionEnd(Transition transition) { in onTransitionEnd()
224 public void onTransitionCancel(Transition transition) { in onTransitionCancel()
229 public void onTransitionPause(Transition transition) { in onTransitionPause()
234 public void onTransitionResume(Transition transition) { in onTransitionResume()
248 public void onTransitionStart(Transition transition) { in onTransitionStart()
253 public void onTransitionPause(Transition transition) { in onTransitionPause()
DAutoTransitionTest.java36 Transition fadeOut = autoTransition.getTransitionAt(0); in testFadeOutMoveFadeIn()
41 Transition move = autoTransition.getTransitionAt(1); in testFadeOutMoveFadeIn()
45 Transition fadeIn = autoTransition.getTransitionAt(2); in testFadeOutMoveFadeIn()
/frameworks/native/services/inputflinger/include/
DPointerControllerInterface.h61 enum Transition { enum
69 virtual void fade(Transition transition) = 0;
75 virtual void unfade(Transition transition) = 0;
/frameworks/base/core/java/android/view/
DWindow.java47 import android.transition.Transition;
1958 public void setEnterTransition(Transition transition) {} in setEnterTransition()
1975 public void setReturnTransition(Transition transition) {} in setReturnTransition()
1989 public void setExitTransition(Transition transition) {} in setExitTransition()
2005 public void setReenterTransition(Transition transition) {} in setReenterTransition()
2018 public Transition getEnterTransition() { return null; } in getEnterTransition()
2033 public Transition getReturnTransition() { return null; } in getReturnTransition()
2047 public Transition getExitTransition() { return null; } in getExitTransition()
2061 public Transition getReenterTransition() { return null; } in getReenterTransition()
2074 public void setSharedElementEnterTransition(Transition transition) {} in setSharedElementEnterTransition()
[all …]
/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;
81 final Transition myTransition = new AutoTransition(); in onCreate()
90 public void onTransitionStart(Transition transition) { in onCreate()
99 public void onTransitionEnd(Transition transition) { in onCreate()
DHierarchicalMove.java23 import android.transition.Transition;
35 Transition mTransition;
66 Transition move0 = new ChangeBounds(); in onCreate()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClient.java522 if (bound != Transition.NO_TRANSITION) { in onStateTransition()
523 int value = (bound == Transition.UP) ? 1 : 0; // 1 is bound, 0 is not bound in onStateTransition()
526 if (connected != Transition.NO_TRANSITION) { in onStateTransition()
527 int value = (connected == Transition.UP) ? 1 : 0; // 1 is connected, 0 is not connected in onStateTransition()
540 @Transition
544 return Transition.UP; in transitionThroughState()
547 return Transition.DOWN; in transitionThroughState()
549 return Transition.NO_TRANSITION; in transitionThroughState()
627 @IntDef({Transition.DOWN, Transition.NO_TRANSITION, Transition.UP})
629 private @interface Transition { annotation
/frameworks/base/core/java/android/widget/
DPopupWindow.java36 import android.transition.Transition;
37 import android.transition.Transition.EpicenterCallback;
38 import android.transition.Transition.TransitionListener;
214 private Transition mEnterTransition;
215 private Transition mExitTransition;
337 final Transition enterTransition = getTransition(a.getResourceId( in PopupWindow()
339 final Transition exitTransition; in PopupWindow()
438 public void setEnterTransition(@Nullable Transition enterTransition) { in setEnterTransition()
450 public Transition getEnterTransition() { in getEnterTransition()
461 public void setExitTransition(@Nullable Transition exitTransition) { in setExitTransition()
[all …]
/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

123