Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DVisibility.java185 private VisibilityInfo getVisibilityChangeInfo(TransitionValues startValues, in getVisibilityChangeInfo() argument
190 if (startValues != null && startValues.values.containsKey(PROPNAME_VISIBILITY)) { in getVisibilityChangeInfo()
191 visInfo.startVisibility = (Integer) startValues.values.get(PROPNAME_VISIBILITY); in getVisibilityChangeInfo()
192 visInfo.startParent = (ViewGroup) startValues.values.get(PROPNAME_PARENT); in getVisibilityChangeInfo()
204 if (startValues != null && endValues != null) { in getVisibilityChangeInfo()
228 } else if (startValues == null && visInfo.endVisibility == View.VISIBLE) { in getVisibilityChangeInfo()
239 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
241 VisibilityInfo visInfo = getVisibilityChangeInfo(startValues, endValues); in createAnimator()
245 return onAppear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator()
248 return onDisappear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator()
[all …]
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()
DChangeScroll.java61 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
63 if (startValues == null || endValues == null) { in createAnimator()
67 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); in createAnimator()
69 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y); in createAnimator()
DCircularPropagation.java60 TransitionValues startValues, TransitionValues endValues) { in getStartDelay() argument
61 if (startValues == null && endValues == null) { in getStartDelay()
66 if (endValues == null || getViewVisibility(startValues) == View.VISIBLE) { in getStartDelay()
67 positionValues = startValues; in getStartDelay()
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()
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()
DExplode.java82 TransitionValues startValues, TransitionValues endValues) { in onAppear() argument
99 TransitionValues startValues, TransitionValues endValues) { in onDisappear() argument
100 if (startValues == null) { in onDisappear()
103 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS); in onDisappear()
110 int[] interruptedPosition = (int[]) startValues.view.getTag(R.id.transitionPosition); in onDisappear()
122 return TranslationAnimationCreator.createAnimation(view, startValues, in onDisappear()
DFade.java128 TransitionValues startValues, in onAppear() argument
131 View startView = (startValues != null) ? startValues.view : null; in onAppear()
139 public Animator onDisappear(ViewGroup sceneRoot, final View view, TransitionValues startValues, in onDisappear() argument
DSidePropagation.java75 TransitionValues startValues, TransitionValues endValues) { in getStartDelay() argument
76 if (startValues == null && endValues == null) { in getStartDelay()
82 if (endValues == null || getViewVisibility(startValues) == View.VISIBLE) { in getStartDelay()
83 positionValues = startValues; in getStartDelay()
DSlide.java223 TransitionValues startValues, TransitionValues endValues) { in onAppear() argument
239 TransitionValues startValues, TransitionValues endValues) { in onDisappear() argument
240 if (startValues == null) { in onDisappear()
243 int[] position = (int[]) startValues.values.get(PROPNAME_SCREEN_POSITION); in onDisappear()
249 .createAnimation(view, startValues, position[0], position[1], in onDisappear()
DChangeImageTransform.java148 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
150 if (startValues == null || endValues == null) { in createAnimator()
153 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator()
159 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_MATRIX); in createAnimator()
DCrossfade.java167 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
169 if (startValues == null || endValues == null) { in createAnimator()
174 Map<String, Object> startVals = startValues.values; in createAnimator()
220 startValues + ", " + endValues); in createAnimator()
DTransition.java470 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
553 TransitionValues startValues = unmatchedStart.get(startView); in matchItemIds() local
555 if (startValues != null && endValues != null) { in matchItemIds()
556 mStartValuesList.add(startValues); in matchItemIds()
580 TransitionValues startValues = unmatchedStart.get(startView); in matchIds() local
582 if (startValues != null && endValues != null) { in matchIds()
583 mStartValuesList.add(startValues); in matchIds()
607 TransitionValues startValues = unmatchedStart.get(startView); in matchNames() local
609 if (startValues != null && endValues != null) { in matchNames()
610 mStartValuesList.add(startValues); in matchNames()
[all …]
DChangeText.java155 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
157 if (startValues == null || endValues == null || in createAnimator()
158 !(startValues.view instanceof TextView) || !(endValues.view instanceof TextView)) { in createAnimator()
162 Map<String, Object> startVals = startValues.values; in createAnimator()
DChangeBounds.java274 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
276 if (startValues == null || endValues == null) { in createAnimator()
279 Map<String, Object> startParentVals = startValues.values; in createAnimator()
288 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator()
302 Rect startClip = (Rect) startValues.values.get(PROPNAME_CLIP); in createAnimator()
435 int startX = (Integer) startValues.values.get(PROPNAME_WINDOW_X); in createAnimator()
436 int startY = (Integer) startValues.values.get(PROPNAME_WINDOW_Y); in createAnimator()
DTransitionPropagation.java47 TransitionValues startValues, TransitionValues endValues); in getStartDelay() argument
DTransitionSet.java388 protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues, in createAnimators() argument
405 childTransition.createAnimators(sceneRoot, startValues, endValues, startValuesList, in createAnimators()
/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()
DSlideKitkat.java228 TransitionValues startValues, int startVisibility, in onAppear() argument
242 TransitionValues startValues, int startVisibility, in onDisappear() argument
244 View view = (startValues != null) ? startValues.view : null; in onDisappear()
DTransitionHelperKitkat.java108 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
110 Animator animator = super.createAnimator(sceneRoot, startValues, endValues); in createAnimator()
/frameworks/base/docs/html/training/transitions/
Dcustom-transitions.jd48 TransitionValues startValues,
169 a {@link android.transition.TransitionValues} object for both the <code>startValues</code> and