Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/transitions/
DDefaultClockSteppingTransition.kt36 private fun captureValues(transitionValues: TransitionValues) { in <lambda>()
37 transitionValues.values[PROP_BOUNDS_LEFT] = transitionValues.view.left in <lambda>()
39 transitionValues.view.getLocationInWindow(locationInWindowTmp) in <lambda>()
40 transitionValues.values[PROP_X_IN_WINDOW] = locationInWindowTmp[0] in <lambda>()
43 override fun captureEndValues(transitionValues: TransitionValues) { in <lambda>()
44 captureValues(transitionValues) in <lambda>()
47 override fun captureStartValues(transitionValues: TransitionValues) { in <lambda>()
48 captureValues(transitionValues) in <lambda>()
/frameworks/base/core/java/android/transition/
DRecolor.java53 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
54 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); in captureValues()
55 if (transitionValues.view instanceof TextView) { in captureValues()
56 transitionValues.values.put(PROPNAME_TEXT_COLOR, in captureValues()
57 ((TextView)transitionValues.view).getCurrentTextColor()); in captureValues()
62 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
63 captureValues(transitionValues); in captureStartValues()
67 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
68 captureValues(transitionValues); in captureEndValues()
DChangeScroll.java49 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
50 captureValues(transitionValues); in captureStartValues()
54 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
55 captureValues(transitionValues); in captureEndValues()
63 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
64 transitionValues.values.put(PROPNAME_SCROLL_X, transitionValues.view.getScrollX()); in captureValues()
65 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY()); in captureValues()
DRotate.java37 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
38 transitionValues.values.put(PROPNAME_ROTATION, transitionValues.view.getRotation()); in captureStartValues()
42 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
43 transitionValues.values.put(PROPNAME_ROTATION, transitionValues.view.getRotation()); in captureEndValues()
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.java264 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
265 View view = transitionValues.view; in captureValues()
270 transitionValues.values.put(PROPNAME_BOUNDS, bounds); in captureValues()
273 Log.d(LOG_TAG, "Captured bounds " + transitionValues.values.get(PROPNAME_BOUNDS)); in captureValues()
283 transitionValues.values.put(PROPNAME_BITMAP, bitmap); in captureValues()
288 transitionValues.values.put(PROPNAME_DRAWABLE, drawable); in captureValues()
292 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
293 captureValues(transitionValues); in captureStartValues()
297 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
298 captureValues(transitionValues); in captureEndValues()
DChangeText.java130 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
131 if (transitionValues.view instanceof TextView) { in captureValues()
132 TextView textview = (TextView) transitionValues.view; in captureValues()
133 transitionValues.values.put(PROPNAME_TEXT, textview.getText()); in captureValues()
135 transitionValues.values.put(PROPNAME_TEXT_SELECTION_START, in captureValues()
137 transitionValues.values.put(PROPNAME_TEXT_SELECTION_END, in captureValues()
141 transitionValues.values.put(PROPNAME_TEXT_COLOR, textview.getCurrentTextColor()); in captureValues()
147 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
148 captureValues(transitionValues); in captureStartValues()
152 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
[all …]
DSlide.java162 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
163 View view = transitionValues.view; in captureValues()
166 transitionValues.values.put(PROPNAME_SCREEN_POSITION, position); in captureValues()
170 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
171 super.captureStartValues(transitionValues); in captureStartValues()
172 captureValues(transitionValues); in captureStartValues()
176 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
177 super.captureEndValues(transitionValues); in captureEndValues()
178 captureValues(transitionValues); in captureEndValues()
DChangeImageTransform.java81 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
82 View view = transitionValues.view; in captureValues()
91 Map<String, Object> values = transitionValues.values; in captureValues()
116 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
117 captureValues(transitionValues); in captureStartValues()
121 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
122 captureValues(transitionValues); in captureEndValues()
DTransitionSet.java487 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
488 if (isValidTarget(transitionValues.view)) { in captureStartValues()
490 if (childTransition.isValidTarget(transitionValues.view)) { in captureStartValues()
491 childTransition.captureStartValues(transitionValues); in captureStartValues()
492 transitionValues.targetedTransitions.add(childTransition); in captureStartValues()
499 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
500 if (isValidTarget(transitionValues.view)) { in captureEndValues()
502 if (childTransition.isValidTarget(transitionValues.view)) { in captureEndValues()
503 childTransition.captureEndValues(transitionValues); in captureEndValues()
504 transitionValues.targetedTransitions.add(childTransition); in captureEndValues()
[all …]
DVisibility.java150 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
151 int visibility = transitionValues.view.getVisibility(); in captureValues()
152 transitionValues.values.put(PROPNAME_VISIBILITY, visibility); in captureValues()
153 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
155 transitionValues.view.getLocationOnScreen(loc); in captureValues()
156 transitionValues.values.put(PROPNAME_SCREEN_LOCATION, loc); in captureValues()
160 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
161 captureValues(transitionValues); in captureStartValues()
165 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
166 captureValues(transitionValues); in captureEndValues()
DChangeTransform.java188 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
189 View view = transitionValues.view; in captureValues()
193 transitionValues.values.put(PROPNAME_PARENT, view.getParent()); in captureValues()
195 transitionValues.values.put(PROPNAME_TRANSFORMS, transforms); in captureValues()
202 transitionValues.values.put(PROPNAME_MATRIX, matrix); in captureValues()
208 transitionValues.values.put(PROPNAME_PARENT_MATRIX, parentMatrix); in captureValues()
209 transitionValues.values.put(PROPNAME_INTERMEDIATE_MATRIX, in captureValues()
211 transitionValues.values.put(PROPNAME_INTERMEDIATE_PARENT_MATRIX, in captureValues()
218 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
219 captureValues(transitionValues); in captureStartValues()
[all …]
DChangeClipBounds.java71 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
72 captureValues(transitionValues); in captureStartValues()
76 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
77 captureValues(transitionValues); in captureEndValues()
DFade.java110 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
111 super.captureStartValues(transitionValues); in captureStartValues()
112 transitionValues.values.put(PROPNAME_TRANSITION_ALPHA, in captureStartValues()
113 transitionValues.view.getTransitionAlpha()); in captureStartValues()
DTransitionPropagation.java72 public abstract void captureValues(TransitionValues transitionValues); in captureValues() argument
DChangeBounds.java257 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
258 captureValues(transitionValues); in captureStartValues()
262 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
263 captureValues(transitionValues); in captureEndValues()
DTransition.java938 public abstract void captureStartValues(TransitionValues transitionValues); in captureStartValues() argument
967 public abstract void captureEndValues(TransitionValues transitionValues); in captureEndValues() argument
1490 View view, TransitionValues transitionValues) { in addViewValues() argument
1491 transitionValuesMaps.viewValues.put(view, transitionValues); in addViewValues()
2180 void capturePropagationValues(TransitionValues transitionValues) { in capturePropagationValues() argument
2181 if (mPropagation != null && !transitionValues.values.isEmpty()) { in capturePropagationValues()
2188 if (!transitionValues.values.containsKey(propertyNames[i])) { in capturePropagationValues()
2194 mPropagation.captureValues(transitionValues); in capturePropagationValues()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPinShapeNonHintingView.java165 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
166 if (transitionValues != null) { in captureEndValues()
167 captureValues(transitionValues); in captureEndValues()
172 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
173 if (transitionValues != null) { in captureStartValues()
174 captureValues(transitionValues); in captureStartValues()
DKeyguardStatusViewController.java631 private void captureValues(TransitionValues transitionValues) { in captureValues() argument
632 transitionValues.values.put(PROP_BOUNDS_LEFT, transitionValues.view.getLeft()); in captureValues()
633 transitionValues.values.put(PROP_BOUNDS_RIGHT, transitionValues.view.getRight()); in captureValues()
635 transitionValues.view.getLocationInWindow(locationInWindowTmp); in captureValues()
636 transitionValues.values.put(PROP_X_IN_WINDOW, locationInWindowTmp[0]); in captureValues()
640 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
641 captureValues(transitionValues); in captureEndValues()
645 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
646 captureValues(transitionValues); in captureStartValues()
DKeyguardSecurityViewTransition.kt60 override fun captureEndValues(transitionValues: TransitionValues?) { in <lambda>()
61 transitionValues?.let { captureValues(it) } in <lambda>()
64 override fun captureStartValues(transitionValues: TransitionValues?) { in <lambda>()
65 transitionValues?.let { captureValues(it) } in <lambda>()
/frameworks/base/core/java/com/android/internal/transition/
DEpicenterTranslateClipReveal.java94 public void captureStartValues(TransitionValues transitionValues) { in captureStartValues() argument
95 super.captureStartValues(transitionValues); in captureStartValues()
96 captureValues(transitionValues); in captureStartValues()
100 public void captureEndValues(TransitionValues transitionValues) { in captureEndValues() argument
101 super.captureEndValues(transitionValues); in captureEndValues()
102 captureValues(transitionValues); in captureEndValues()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionInteractorTest.kt239 val transitionValues by collectValues(underTest.transitionValue(state = DOZING)) in transitionValue() constant
263 assertThat(transitionValues).isEqualTo(listOf(0f, 0.5f, 1f, 1f, 0.5f, 0f)) in transitionValue()