Home
last modified time | relevance | path

Searched refs:startValues (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/support/transition/tests/src/android/support/transition/
DFadeTest.java55 final TransitionValues startValues = new TransitionValues(); in testDisappear() local
56 startValues.view = mView; in testDisappear()
57 fade.captureStartValues(startValues); in testDisappear()
62 Animator animator = fade.createAnimator(mRoot, startValues, endValues); in testDisappear()
71 final TransitionValues startValues = new TransitionValues(); in testAppear() local
72 startValues.view = mView; in testAppear()
73 fade.captureStartValues(startValues); in testAppear()
78 Animator animator = fade.createAnimator(mRoot, startValues, endValues); in testAppear()
86 final TransitionValues startValues = new TransitionValues(); in testNoChange() local
87 startValues.view = mView; in testNoChange()
[all …]
/frameworks/base/core/java/android/transition/
DVisibility.java186 private static VisibilityInfo getVisibilityChangeInfo(TransitionValues startValues, in getVisibilityChangeInfo() argument
191 if (startValues != null && startValues.values.containsKey(PROPNAME_VISIBILITY)) { in getVisibilityChangeInfo()
192 visInfo.startVisibility = (Integer) startValues.values.get(PROPNAME_VISIBILITY); in getVisibilityChangeInfo()
193 visInfo.startParent = (ViewGroup) startValues.values.get(PROPNAME_PARENT); in getVisibilityChangeInfo()
205 if (startValues != null && endValues != null) { in getVisibilityChangeInfo()
229 } else if (startValues == null && visInfo.endVisibility == View.VISIBLE) { in getVisibilityChangeInfo()
240 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
242 VisibilityInfo visInfo = getVisibilityChangeInfo(startValues, endValues); in createAnimator()
246 return onAppear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator()
249 return onDisappear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator()
[all …]
DFade.java140 TransitionValues startValues, in onAppear() argument
143 View startView = (startValues != null) ? startValues.view : null; in onAppear()
147 float startAlpha = getStartAlpha(startValues, 0); in onAppear()
155 public Animator onDisappear(ViewGroup sceneRoot, final View view, TransitionValues startValues, in onDisappear() argument
157 float startAlpha = getStartAlpha(startValues, 1); in onDisappear()
161 private static float getStartAlpha(TransitionValues startValues, float fallbackValue) { in getStartAlpha() argument
163 if (startValues != null) { in getStartAlpha()
164 Float startAlphaFloat = (Float) startValues.values.get(PROPNAME_TRANSITION_ALPHA); in getStartAlpha()
DChangeTransform.java224 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
226 if (startValues == null || endValues == null || in createAnimator()
227 !startValues.values.containsKey(PROPNAME_PARENT) || in createAnimator()
232 ViewGroup startParent = (ViewGroup) startValues.values.get(PROPNAME_PARENT); in createAnimator()
236 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_INTERMEDIATE_MATRIX); in createAnimator()
238 startValues.values.put(PROPNAME_MATRIX, startMatrix); in createAnimator()
242 startValues.values.get(PROPNAME_INTERMEDIATE_PARENT_MATRIX); in createAnimator()
244 startValues.values.put(PROPNAME_PARENT_MATRIX, startParentMatrix); in createAnimator()
249 setMatricesForParent(startValues, endValues); in createAnimator()
253 ObjectAnimator transformAnimator = createTransformAnimator(startValues, endValues, in createAnimator()
[all …]
DChangeClipBounds.java78 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
80 if (startValues == null || endValues == null in createAnimator()
81 || !startValues.values.containsKey(PROPNAME_CLIP) in createAnimator()
85 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP); in createAnimator()
92 start = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator()
DCircularPropagation.java58 TransitionValues startValues, TransitionValues endValues) { in getStartDelay() argument
59 if (startValues == null && endValues == null) { in getStartDelay()
64 if (endValues == null || getViewVisibility(startValues) == View.VISIBLE) { in getStartDelay()
65 positionValues = startValues; in getStartDelay()
DChangeScroll.java59 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
61 if (startValues == null || endValues == null) { in createAnimator()
65 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); in createAnimator()
67 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y); in createAnimator()
DExplode.java81 TransitionValues startValues, TransitionValues endValues) { in onAppear() argument
98 TransitionValues startValues, TransitionValues endValues) { in onDisappear() argument
99 if (startValues == null) { in onDisappear()
102 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS); in onDisappear()
109 int[] interruptedPosition = (int[]) startValues.view.getTag(R.id.transitionPosition); in onDisappear()
121 return TranslationAnimationCreator.createAnimation(view, startValues, in onDisappear()
DRecolor.java70 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
72 if (startValues == null || endValues == null) { in createAnimator()
76 Drawable startBackground = (Drawable) startValues.values.get(PROPNAME_BACKGROUND); in createAnimator()
91 int start = (Integer) startValues.values.get(PROPNAME_TEXT_COLOR); in createAnimator()
DRotate.java45 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
47 if (startValues == null || endValues == null) { in createAnimator()
51 float startRotation = (Float) startValues.values.get(PROPNAME_ROTATION); in createAnimator()
DSidePropagation.java74 TransitionValues startValues, TransitionValues endValues) { in getStartDelay() argument
75 if (startValues == null && endValues == null) { in getStartDelay()
81 if (endValues == null || getViewVisibility(startValues) == View.VISIBLE) { in getStartDelay()
82 positionValues = startValues; in getStartDelay()
DTransition.java471 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
556 TransitionValues startValues = unmatchedStart.get(startView); in matchItemIds() local
558 if (startValues != null && endValues != null) { in matchItemIds()
559 mStartValuesList.add(startValues); in matchItemIds()
583 TransitionValues startValues = unmatchedStart.get(startView); in matchIds() local
585 if (startValues != null && endValues != null) { in matchIds()
586 mStartValuesList.add(startValues); in matchIds()
610 TransitionValues startValues = unmatchedStart.get(startView); in matchNames() local
612 if (startValues != null && endValues != null) { in matchNames()
613 mStartValuesList.add(startValues); in matchNames()
[all …]
/frameworks/support/transition/ics/android/support/transition/
DVisibilityPort.java91 private VisibilityInfo getVisibilityChangeInfo(TransitionValues startValues, in getVisibilityChangeInfo() argument
96 if (startValues != null) { in getVisibilityChangeInfo()
97 visInfo.startVisibility = (Integer) startValues.values.get(PROPNAME_VISIBILITY); in getVisibilityChangeInfo()
98 visInfo.startParent = (ViewGroup) startValues.values.get(PROPNAME_PARENT); in getVisibilityChangeInfo()
110 if (startValues != null && endValues != null) { in getVisibilityChangeInfo()
135 if (startValues == null) { in getVisibilityChangeInfo()
146 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
148 VisibilityInfo visInfo = getVisibilityChangeInfo(startValues, endValues); in createAnimator()
154 View startView = startValues != null ? startValues.view : null; in createAnimator()
162 return onAppear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator()
[all …]
DVisibilityIcs.java40 public Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onAppear() argument
42 return ((VisibilityPort) mTransition).onAppear(sceneRoot, startValues, startVisibility, in onAppear()
47 public Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, in onDisappear() argument
49 return ((VisibilityPort) mTransition).onDisappear(sceneRoot, startValues, startVisibility, in onDisappear()
72 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
74 return mVisibility.createAnimator(sceneRoot, startValues, endValues); in createAnimator()
83 public Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, in onAppear() argument
86 return mVisibility.onAppear(sceneRoot, startValues, startVisibility, in onAppear()
91 public Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, in onDisappear() argument
93 return mVisibility.onDisappear(sceneRoot, startValues, startVisibility, in onDisappear()
DFadeIcs.java38 public Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onAppear() argument
40 return ((FadePort) mTransition).onAppear(sceneRoot, startValues, startVisibility, in onAppear()
45 public Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, in onDisappear() argument
47 return ((FadePort) mTransition).onDisappear(sceneRoot, startValues, startVisibility, in onDisappear()
48 startValues, startVisibility); in onDisappear()
DFadePort.java140 TransitionValues startValues, int startVisibility, in onAppear() argument
147 View startView = (startValues != null) ? startValues.view : null; in onAppear()
187 TransitionValues startValues, int startVisibility, in onDisappear() argument
193 View startView = (startValues != null) ? startValues.view : null; in onDisappear()
244 int screenX = (Integer) startValues.values.get(PROPNAME_SCREEN_X); in onDisappear()
245 int screenY = (Integer) startValues.values.get(PROPNAME_SCREEN_Y); in onDisappear()
DChangeBoundsPort.java111 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
113 if (startValues == null || endValues == null) { in createAnimator()
116 Map<String, Object> startParentVals = startValues.values; in createAnimator()
131 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator()
312 int startX = (Integer) startValues.values.get(PROPNAME_WINDOW_X); in createAnimator()
313 int startY = (Integer) startValues.values.get(PROPNAME_WINDOW_Y); in createAnimator()
/frameworks/support/transition/kitkat/android/support/transition/
DVisibilityKitKat.java40 public Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onAppear() argument
43 convertToPlatform(startValues), startVisibility, in onAppear()
48 public Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, in onDisappear() argument
51 convertToPlatform(startValues), startVisibility, in onDisappear()
75 android.transition.TransitionValues startValues, in createAnimator() argument
77 return mVisibility.createAnimator(sceneRoot, convertToSupport(startValues), in createAnimator()
93 android.transition.TransitionValues startValues, int startVisibility, in onAppear() argument
95 return mVisibility.onAppear(sceneRoot, convertToSupport(startValues), startVisibility, in onAppear()
101 android.transition.TransitionValues startValues, int startVisibility, in onDisappear() argument
103 return mVisibility.onDisappear(sceneRoot, convertToSupport(startValues), in onDisappear()
DFadeKitKat.java38 public Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onAppear() argument
41 convertToPlatform(startValues), startVisibility, in onAppear()
46 public Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, in onDisappear() argument
49 convertToPlatform(startValues), startVisibility, in onDisappear()
/frameworks/support/transition/src/android/support/transition/
DVisibility.java100 public Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onAppear() argument
102 return ((VisibilityImpl) mImpl).onAppear(sceneRoot, startValues, startVisibility, in onAppear()
122 public Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, in onDisappear() argument
124 return ((VisibilityImpl) mImpl).onDisappear(sceneRoot, startValues, startVisibility, in onDisappear()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DScale.java50 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
52 if (startValues == null || endValues == null) { in createAnimator()
56 final float startScale = (Float) startValues.values.get(PROPNAME_SCALE); in createAnimator()
59 final View view = startValues.view; in createAnimator()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DFadeAndShortSlide.java214 public Animator onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onAppear() argument
232 final Animator fadeAnimator = mFade.onAppear(sceneRoot, view, startValues, endValues); in onAppear()
245 public Animator onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onDisappear() argument
247 if (startValues == null) { in onDisappear()
254 int[] position = (int[]) startValues.values.get(PROPNAME_SCREEN_POSITION); in onDisappear()
262 startValues, left, top, startX, startY, endX, endY, sDecelerate /* sAccelerate */, in onDisappear()
264 final Animator fadeAnimator = mFade.onDisappear(sceneRoot, view, startValues, endValues); in onDisappear()
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DChangeColor.java66 @Nullable TransitionValues startValues, in createAnimator() argument
69 if (null == startValues || null == endValues) { in createAnimator()
77 Drawable startBackground = (Drawable) startValues.values.get(PROPNAME_BACKGROUND); in createAnimator()
/frameworks/support/transition/base/android/support/transition/
DVisibilityImpl.java29 Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onAppear() argument
32 Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onDisappear() argument
DVisibilityInterface.java29 Animator onAppear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onAppear() argument
32 Animator onDisappear(ViewGroup sceneRoot, TransitionValues startValues, int startVisibility, in onDisappear() argument

12