Home
last modified time | relevance | path

Searched refs:transitionValues (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/transition/
DRecolor.java51 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
52 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); in captureValues()
53 if (transitionValues.view instanceof TextView) { in captureValues()
54 transitionValues.values.put(PROPNAME_TEXT_COLOR, in captureValues()
55 ((TextView)transitionValues.view).getCurrentTextColor()); in captureValues()
60 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
61 captureValues(transitionValues); in captureStartValues()
65 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
66 captureValues(transitionValues); in captureEndValues()
DChangeScroll.java46 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
47 captureValues(transitionValues); in captureStartValues()
51 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
52 captureValues(transitionValues); in captureEndValues()
55 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
56 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
57 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY()); in captureValues()
DRotate.java35 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
36 transitionValues.values.put(PROPNAME_ROTATION, transitionValues.view.getRotation()); in captureStartValues()
40 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
41 transitionValues.values.put(PROPNAME_ROTATION, transitionValues.view.getRotation()); in captureEndValues()
DChangeText.java128 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
129 if (transitionValues.view instanceof TextView) { in captureValues()
130 TextView textview = (TextView) transitionValues.view; in captureValues()
131 transitionValues.values.put(PROPNAME_TEXT, textview.getText()); in captureValues()
133 transitionValues.values.put(PROPNAME_TEXT_SELECTION_START, in captureValues()
135 transitionValues.values.put(PROPNAME_TEXT_SELECTION_END, in captureValues()
139 transitionValues.values.put(PROPNAME_TEXT_COLOR, textview.getCurrentTextColor()); in captureValues()
145 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
146 captureValues(transitionValues); in captureStartValues()
150 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
[all …]
DExplode.java58 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
59 View view = transitionValues.view; in captureValues()
65 transitionValues.values.put(PROPNAME_SCREEN_BOUNDS, new Rect(left, top, right, bottom)); in captureValues()
69 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
70 super.captureStartValues(transitionValues); in captureStartValues()
71 captureValues(transitionValues); in captureStartValues()
75 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
76 super.captureEndValues(transitionValues); in captureEndValues()
77 captureValues(transitionValues); in captureEndValues()
DCrossfade.java260 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
261 View view = transitionValues.view; in captureValues()
266 transitionValues.values.put(PROPNAME_BOUNDS, bounds); in captureValues()
269 Log.d(LOG_TAG, "Captured bounds " + transitionValues.values.get(PROPNAME_BOUNDS)); in captureValues()
279 transitionValues.values.put(PROPNAME_BITMAP, bitmap); in captureValues()
284 transitionValues.values.put(PROPNAME_DRAWABLE, drawable); in captureValues()
288 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
289 captureValues(transitionValues); in captureStartValues()
293 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
294 captureValues(transitionValues); in captureEndValues()
DSlide.java151 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
152 View view = transitionValues.view; in captureValues()
155 transitionValues.values.put(PROPNAME_SCREEN_POSITION, position); in captureValues()
159 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
160 super.captureStartValues(transitionValues); in captureStartValues()
161 captureValues(transitionValues); in captureStartValues()
165 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
166 super.captureEndValues(transitionValues); in captureEndValues()
167 captureValues(transitionValues); in captureEndValues()
DTransitionSet.java448 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
449 if (isValidTarget(transitionValues.view)) { in captureStartValues()
451 if (childTransition.isValidTarget(transitionValues.view)) { in captureStartValues()
452 childTransition.captureStartValues(transitionValues); in captureStartValues()
453 transitionValues.targetedTransitions.add(childTransition); in captureStartValues()
460 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
461 if (isValidTarget(transitionValues.view)) { in captureEndValues()
463 if (childTransition.isValidTarget(transitionValues.view)) { in captureEndValues()
464 childTransition.captureEndValues(transitionValues); in captureEndValues()
465 transitionValues.targetedTransitions.add(childTransition); in captureEndValues()
[all …]
DChangeImageTransform.java79 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
80 View view = transitionValues.view; in captureValues()
89 Map<String, Object> values = transitionValues.values; in captureValues()
123 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
124 captureValues(transitionValues); in captureStartValues()
128 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
129 captureValues(transitionValues); in captureEndValues()
DVisibility.java126 private void captureValues(TransitionValues transitionValues, int forcedVisibility) { in captureValues() argument
131 visibility = transitionValues.view.getVisibility(); in captureValues()
133 transitionValues.values.put(PROPNAME_VISIBILITY, visibility); in captureValues()
134 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
136 transitionValues.view.getLocationOnScreen(loc); in captureValues()
137 transitionValues.values.put(PROPNAME_SCREEN_LOCATION, loc); in captureValues()
141 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
142 captureValues(transitionValues, mForcedStartVisibility); in captureStartValues()
146 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
147 captureValues(transitionValues, mForcedEndVisibility); in captureEndValues()
DChangeTransform.java184 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
185 View view = transitionValues.view; in captureValues()
189 transitionValues.values.put(PROPNAME_PARENT, view.getParent()); in captureValues()
191 transitionValues.values.put(PROPNAME_TRANSFORMS, transforms); in captureValues()
198 transitionValues.values.put(PROPNAME_MATRIX, matrix); in captureValues()
204 transitionValues.values.put(PROPNAME_PARENT_MATRIX, parentMatrix); in captureValues()
205 transitionValues.values.put(PROPNAME_INTERMEDIATE_MATRIX, in captureValues()
207 transitionValues.values.put(PROPNAME_INTERMEDIATE_PARENT_MATRIX, in captureValues()
214 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
215 captureValues(transitionValues); in captureStartValues()
[all …]
DChangeClipBounds.java68 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
69 captureValues(transitionValues); in captureStartValues()
73 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
74 captureValues(transitionValues); in captureEndValues()
DTransitionPropagation.java73 public abstract void captureValues(TransitionValues transitionValues); in captureValues() argument
DChangeBounds.java251 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
252 captureValues(transitionValues); in captureStartValues()
256 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
257 captureValues(transitionValues); in captureEndValues()
DTransition.java918 public abstract void captureStartValues(TransitionValues transitionValues); in captureStartValues() argument
947 public abstract void captureEndValues(TransitionValues transitionValues); in captureEndValues() argument
1472 View view, TransitionValues transitionValues) { in addViewValues() argument
1473 transitionValuesMaps.viewValues.put(view, transitionValues); in addViewValues()
2120 void capturePropagationValues(TransitionValues transitionValues) { in capturePropagationValues() argument
2121 if (mPropagation != null && !transitionValues.values.isEmpty()) { in capturePropagationValues()
2128 if (!transitionValues.values.containsKey(propertyNames[i])) { in capturePropagationValues()
2134 mPropagation.captureValues(transitionValues); in capturePropagationValues()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DScale.java40 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
41 captureValues(transitionValues); in captureStartValues()
45 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
46 captureValues(transitionValues); in captureEndValues()
/frameworks/base/docs/html/training/transitions/
Dcustom-transitions.jd76 {@link android.transition.Transition#captureStartValues captureStartValues(transitionValues)}
103 public void captureStartValues(TransitionValues transitionValues) {
105 captureValues(transitionValues);
109 // For the view in transitionValues.view, get the values you
110 // want and put them in transitionValues.values
111 private void captureValues(TransitionValues transitionValues) {
113 View view = transitionValues.view;
115 transitionValues.values.put(PROPNAME_BACKGROUND, view.getBackground());
134 public void captureEndValues(TransitionValues transitionValues) {
135 captureValues(transitionValues);