Home
last modified time | relevance | path

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

12

/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.java44 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
45 captureValues(transitionValues); in captureStartValues()
49 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
50 captureValues(transitionValues); in captureEndValues()
53 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
54 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
55 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.java57 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
58 View view = transitionValues.view; in captureValues()
64 transitionValues.values.put(PROPNAME_SCREEN_BOUNDS, new Rect(left, top, right, bottom)); in captureValues()
68 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
69 super.captureStartValues(transitionValues); in captureStartValues()
70 captureValues(transitionValues); in captureStartValues()
74 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
75 super.captureEndValues(transitionValues); in captureEndValues()
76 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.java161 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
162 View view = transitionValues.view; in captureValues()
165 transitionValues.values.put(PROPNAME_SCREEN_POSITION, position); in captureValues()
169 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
170 super.captureStartValues(transitionValues); in captureStartValues()
171 captureValues(transitionValues); in captureStartValues()
175 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
176 super.captureEndValues(transitionValues); in captureEndValues()
177 captureValues(transitionValues); in captureEndValues()
DTransitionSet.java439 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
440 if (isValidTarget(transitionValues.view)) { in captureStartValues()
442 if (childTransition.isValidTarget(transitionValues.view)) { in captureStartValues()
443 childTransition.captureStartValues(transitionValues); in captureStartValues()
444 transitionValues.targetedTransitions.add(childTransition); in captureStartValues()
451 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
452 if (isValidTarget(transitionValues.view)) { in captureEndValues()
454 if (childTransition.isValidTarget(transitionValues.view)) { in captureEndValues()
455 childTransition.captureEndValues(transitionValues); in captureEndValues()
456 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.java142 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
143 int visibility = transitionValues.view.getVisibility(); in captureValues()
144 transitionValues.values.put(PROPNAME_VISIBILITY, visibility); in captureValues()
145 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
147 transitionValues.view.getLocationOnScreen(loc); in captureValues()
148 transitionValues.values.put(PROPNAME_SCREEN_LOCATION, loc); in captureValues()
152 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
153 captureValues(transitionValues); in captureStartValues()
157 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
158 captureValues(transitionValues); 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 …]
/frameworks/support/design/ics/android/support/design/internal/
DTextScale.java35 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
36 captureValues(transitionValues); in captureStartValues()
40 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
41 captureValues(transitionValues); in captureEndValues()
44 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
45 if (transitionValues.view instanceof TextView) { in captureValues()
46 TextView textview = (TextView) transitionValues.view; in captureValues()
47 transitionValues.values.put(PROPNAME_SCALE, textview.getScaleX()); in captureValues()
/frameworks/support/transition/kitkat/android/support/transition/
DTransitionKitKat.java59 android.transition.TransitionValues transitionValues) { in wrapCaptureStartValues() argument
62 copyValues(transitionValues, externalValues); in wrapCaptureStartValues()
64 copyValues(externalValues, transitionValues); in wrapCaptureStartValues()
68 android.transition.TransitionValues transitionValues) { in wrapCaptureEndValues() argument
71 copyValues(transitionValues, externalValues); in wrapCaptureEndValues()
73 copyValues(externalValues, transitionValues); in wrapCaptureEndValues()
141 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
144 copyValues(transitionValues, internalValues); in captureEndValues()
146 copyValues(internalValues, transitionValues); in captureEndValues()
150 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
[all …]
/frameworks/support/transition/ics/android/support/transition/
DVisibilityPort.java50 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
51 int visibility = transitionValues.view.getVisibility(); in captureValues()
52 transitionValues.values.put(PROPNAME_VISIBILITY, visibility); in captureValues()
53 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
57 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
58 captureValues(transitionValues); in captureStartValues()
62 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
63 captureValues(transitionValues); in captureEndValues()
DTransitionSetPort.java215 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
216 int targetId = transitionValues.view.getId(); in captureStartValues()
217 if (isValidTarget(transitionValues.view, targetId)) { in captureStartValues()
219 if (childTransition.isValidTarget(transitionValues.view, targetId)) { in captureStartValues()
220 childTransition.captureStartValues(transitionValues); in captureStartValues()
227 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
228 int targetId = transitionValues.view.getId(); in captureEndValues()
229 if (isValidTarget(transitionValues.view, targetId)) { in captureEndValues()
231 if (childTransition.isValidTarget(transitionValues.view, targetId)) { in captureEndValues()
232 childTransition.captureEndValues(transitionValues); in captureEndValues()
DTransitionIcs.java81 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
82 mTransition.captureEndValues(transitionValues); in captureEndValues()
86 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
87 mTransition.captureStartValues(transitionValues); in captureStartValues()
216 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
217 mTransition.captureStartValues(transitionValues); in captureStartValues()
221 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
222 mTransition.captureEndValues(transitionValues); in captureEndValues()
DFadePort.java125 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
127 transitionValues.view.getLocationOnScreen(loc); in captureValues()
128 transitionValues.values.put(PROPNAME_SCREEN_X, loc[0]); in captureValues()
129 transitionValues.values.put(PROPNAME_SCREEN_Y, loc[1]); in captureValues()
133 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
134 super.captureStartValues(transitionValues); in captureStartValues()
135 captureValues(transitionValues); in captureStartValues()
DVisibilityIcs.java62 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
63 mVisibility.captureStartValues(transitionValues); in captureStartValues()
67 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
68 mVisibility.captureEndValues(transitionValues); in captureEndValues()
/frameworks/support/transition/src/android/support/transition/
DChangeBounds.java43 public void captureEndValues(@NonNull TransitionValues transitionValues) { in captureEndValues() argument
44 mImpl.captureEndValues(transitionValues); in captureEndValues()
48 public void captureStartValues(@NonNull TransitionValues transitionValues) { in captureStartValues() argument
49 mImpl.captureStartValues(transitionValues); in captureStartValues()
DFade.java101 public void captureEndValues(@NonNull TransitionValues transitionValues) { in captureEndValues() argument
102 mImpl.captureEndValues(transitionValues); in captureEndValues()
106 public void captureStartValues(@NonNull TransitionValues transitionValues) { in captureStartValues() argument
107 mImpl.captureStartValues(transitionValues); in captureStartValues()
DTransitionSet.java124 public void captureEndValues(@NonNull TransitionValues transitionValues) { in captureEndValues() argument
125 mImpl.captureEndValues(transitionValues); in captureEndValues()
129 public void captureStartValues(@NonNull TransitionValues transitionValues) { in captureStartValues() argument
130 mImpl.captureStartValues(transitionValues); in captureStartValues()
DVisibility.java55 public void captureEndValues(@NonNull TransitionValues transitionValues) { in captureEndValues() argument
56 mImpl.captureEndValues(transitionValues); in captureEndValues()
60 public void captureStartValues(@NonNull TransitionValues transitionValues) { in captureStartValues() argument
61 mImpl.captureStartValues(transitionValues); in captureStartValues()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DFadeAndShortSlide.java174 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
175 View view = transitionValues.view; in captureValues()
178 transitionValues.values.put(PROPNAME_SCREEN_POSITION, position); in captureValues()
182 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
183 mFade.captureStartValues(transitionValues); in captureStartValues()
184 super.captureStartValues(transitionValues); in captureStartValues()
185 captureValues(transitionValues); in captureStartValues()
189 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
190 mFade.captureEndValues(transitionValues); in captureEndValues()
191 super.captureEndValues(transitionValues); in captureEndValues()
[all …]
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DScale.java37 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
38 captureValues(transitionValues); in captureStartValues()
42 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
43 captureValues(transitionValues); in captureEndValues()
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DChangeColor.java49 public void captureEndValues(@NonNull TransitionValues transitionValues) { in captureEndValues() argument
50 captureValues(transitionValues); in captureEndValues()
54 public void captureStartValues(@NonNull TransitionValues transitionValues) { in captureStartValues() argument
55 captureValues(transitionValues); in captureStartValues()

12