Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DRecolor.java44 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
45 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); in captureValues()
46 if (transitionValues.view instanceof TextView) { in captureValues()
47 transitionValues.values.put(PROPNAME_TEXT_COLOR, in captureValues()
48 ((TextView)transitionValues.view).getCurrentTextColor()); in captureValues()
53 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
54 captureValues(transitionValues); in captureStartValues()
58 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
59 captureValues(transitionValues); in captureEndValues()
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()
DVisibility.java57 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
58 int visibility = transitionValues.view.getVisibility(); in captureValues()
59 transitionValues.values.put(PROPNAME_VISIBILITY, visibility); in captureValues()
60 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
64 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
65 captureValues(transitionValues); in captureStartValues()
69 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
70 captureValues(transitionValues); 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 …]
DTransitionSet.java295 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
296 int targetId = transitionValues.view.getId(); in captureStartValues()
297 if (isValidTarget(transitionValues.view, targetId)) { in captureStartValues()
299 if (childTransition.isValidTarget(transitionValues.view, targetId)) { in captureStartValues()
300 childTransition.captureStartValues(transitionValues); in captureStartValues()
307 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
308 int targetId = transitionValues.view.getId(); in captureEndValues()
309 if (isValidTarget(transitionValues.view, targetId)) { in captureEndValues()
311 if (childTransition.isValidTarget(transitionValues.view, targetId)) { in captureEndValues()
312 childTransition.captureEndValues(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()
DFade.java122 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
124 transitionValues.view.getLocationOnScreen(loc); in captureValues()
125 transitionValues.values.put(PROPNAME_SCREEN_X, loc[0]); in captureValues()
126 transitionValues.values.put(PROPNAME_SCREEN_Y, loc[1]); in captureValues()
130 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
131 super.captureStartValues(transitionValues); in captureStartValues()
132 captureValues(transitionValues); in captureStartValues()
DChangeBounds.java95 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
96 captureValues(transitionValues); in captureStartValues()
100 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
101 captureValues(transitionValues); in captureEndValues()
DTransition.java636 public abstract void captureStartValues(TransitionValues transitionValues); in captureStartValues() argument
665 public abstract void captureEndValues(TransitionValues transitionValues); in captureEndValues() argument