Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/transition/
H A DVisibility.java197 if (startValues != null && startValues.values.containsKey(PROPNAME_VISIBILITY)) { in getVisibilityChangeInfo()
211 if (startValues != null && endValues != null) { in getVisibilityChangeInfo()
282 TransitionValues startValues, int startVisibility, in onAppear() argument
287 if (startValues == null) { in onAppear()
299 return onAppear(sceneRoot, endValues.view, startValues, endValues); in onAppear()
357 TransitionValues startValues, int startVisibility, in onDisappear() argument
363 if (startValues == null) { in onDisappear()
368 final View startView = startValues.view; in onDisappear()
509 if (startValues == null && newValues == null) { in isTransitionRequired()
512 if (startValues != null && newValues != null && in isTransitionRequired()
[all …]
H A DFade.java142 TransitionValues startValues, in onAppear() argument
145 View startView = (startValues != null) ? startValues.view : null; in onAppear()
149 float startAlpha = getStartAlpha(startValues, 0); in onAppear()
157 public Animator onDisappear(ViewGroup sceneRoot, final View view, TransitionValues startValues, in onDisappear() argument
159 float startAlpha = getStartAlpha(startValues, 1); in onDisappear()
163 private static float getStartAlpha(TransitionValues startValues, float fallbackValue) { in getStartAlpha() argument
165 if (startValues != null) { in getStartAlpha()
166 Float startAlphaFloat = (Float) startValues.values.get(PROPNAME_TRANSITION_ALPHA); in getStartAlpha()
H A DChangeTransform.java229 if (startValues == null || endValues == null || in createAnimator()
230 !startValues.values.containsKey(PROPNAME_PARENT) || in createAnimator()
241 startValues.values.put(PROPNAME_MATRIX, startMatrix); in createAnimator()
245 startValues.values.get(PROPNAME_INTERMEDIATE_PARENT_MATRIX); in createAnimator()
247 startValues.values.put(PROPNAME_PARENT_MATRIX, startParentMatrix); in createAnimator()
252 setMatricesForParent(startValues, endValues); in createAnimator()
260 createGhostView(sceneRoot, startValues, endValues); in createAnimator()
385 if (startValues.view != endValues.view) { in createGhostView()
386 startValues.view.setTransitionAlpha(0); in createGhostView()
399 Matrix startLocal = (Matrix) startValues.values.get(PROPNAME_MATRIX); in setMatricesForParent()
[all …]
H A DChangeClipBounds.java79 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
81 if (startValues == null || endValues == null in createAnimator()
82 || !startValues.values.containsKey(PROPNAME_CLIP) in createAnimator()
86 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP); in createAnimator()
94 start = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator()
H A DCircularPropagation.java58 TransitionValues startValues, TransitionValues endValues) { in getStartDelay() argument
59 if (startValues == null && endValues == null) { in getStartDelay()
64 if (endValues == null || getViewVisibility(startValues) == View.VISIBLE) { in getStartDelay()
65 positionValues = startValues; in getStartDelay()
H A DChangeScroll.java67 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
69 if (startValues == null || endValues == null) { in createAnimator()
73 int startX = (Integer) startValues.values.get(PROPNAME_SCROLL_X); in createAnimator()
75 int startY = (Integer) startValues.values.get(PROPNAME_SCROLL_Y); in createAnimator()
H A DExplode.java81 TransitionValues startValues, TransitionValues endValues) { in onAppear() argument
98 TransitionValues startValues, TransitionValues endValues) { in onDisappear() argument
99 if (startValues == null) { in onDisappear()
102 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS); in onDisappear()
109 int[] interruptedPosition = (int[]) startValues.view.getTag(R.id.transitionPosition); in onDisappear()
121 return TranslationAnimationCreator.createAnimation(view, startValues, in onDisappear()
H A 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()
H A 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()
H A DSidePropagation.java74 TransitionValues startValues, TransitionValues endValues) { in getStartDelay() argument
75 if (startValues == null && endValues == null) { in getStartDelay()
81 if (endValues == null || getViewVisibility(startValues) == View.VISIBLE) { in getStartDelay()
82 positionValues = startValues; in getStartDelay()
H A DTransition.java560 if (startValues != null && endValues != null) { in matchItemIds()
561 mStartValuesList.add(startValues); in matchItemIds()
587 if (startValues != null && endValues != null) { in matchIds()
588 mStartValuesList.add(startValues); in matchIds()
614 if (startValues != null && endValues != null) { in matchNames()
615 mStartValuesList.add(startValues); in matchNames()
650 private void matchStartAndEnd(TransitionValuesMaps startValues, in matchStartAndEnd() argument
668 startValues.idValues, endValues.idValues); in matchStartAndEnd()
1756 if (startValues == null && endValues == null) { in playTransition()
1800 if (startValues != null && endValues != null) { in isTransitionRequired()
[all …]
H A DSlide.java235 TransitionValues startValues, TransitionValues endValues) { in onAppear() argument
251 TransitionValues startValues, TransitionValues endValues) { in onDisappear() argument
252 if (startValues == null) { in onDisappear()
255 int[] position = (int[]) startValues.values.get(PROPNAME_SCREEN_POSITION); in onDisappear()
261 .createAnimation(view, startValues, position[0], position[1], in onDisappear()
H A DChangeImageTransform.java139 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
141 if (startValues == null || endValues == null) { in createAnimator()
144 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator()
146 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_MATRIX); in createAnimator()
H A 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()
H A 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()
H A DChangeBounds.java278 public Animator createAnimator(final ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
280 if (startValues == null || endValues == null) { in createAnimator()
283 Map<String, Object> startParentVals = startValues.values; in createAnimator()
292 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS); in createAnimator()
306 Rect startClip = (Rect) startValues.values.get(PROPNAME_CLIP); in createAnimator()
441 int startX = (Integer) startValues.values.get(PROPNAME_WINDOW_X) - tempLocation[0]; in createAnimator()
442 int startY = (Integer) startValues.values.get(PROPNAME_WINDOW_Y) - tempLocation[1]; in createAnimator()
H A DTransitionPropagation.java46 TransitionValues startValues, TransitionValues endValues); in getStartDelay() argument
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DSplitShadeTransitionAdapterTest.kt52 val animator = adapter.createAnimator(startValues = null, endValues = endValues)
59 val animator = adapter.createAnimator(startValues = createStartValues(), endValues = null)
67 adapter.createAnimator(startValues = createStartValues(), endValues = createEndValues())
86 startValues: TransitionValues?,
89 return createAnimator(/* sceneRoot= */ mock(), startValues, endValues)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewTransition.kt70 startValues: TransitionValues?,
73 if (startValues == null || endValues == null) {
97 val startRect = startValues.values[PROP_BOUNDS] as Rect
99 val v = startValues.view
H A DPinShapeNonHintingView.java176 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
178 if (sceneRoot == null || startValues == null || endValues == null) { in createAnimator()
182 Rect startRect = (Rect) startValues.values.get(PROP_BOUNDS); in createAnimator()
184 View v = startValues.view; in createAnimator()
H A DKeyguardStatusViewController.java552 @Nullable TransitionValues startValues, in createAnimator() argument
554 if (startValues == null || endValues == null) { in createAnimator()
559 int fromLeft = (int) startValues.values.get(PROP_BOUNDS_LEFT); in createAnimator()
560 int fromWindowX = (int) startValues.values.get(PROP_X_IN_WINDOW); in createAnimator()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DViewHierarchyAnimator.kt332 val startValues = regex
354 if (startValues.getValue(Bound.LEFT) != left) boundsToAnimate.add(Bound.LEFT)
355 if (startValues.getValue(Bound.TOP) != top) boundsToAnimate.add(Bound.TOP)
356 if (startValues.getValue(Bound.RIGHT) != right) boundsToAnimate.add(Bound.RIGHT)
357 if (startValues.getValue(Bound.BOTTOM) != bottom) {
365 startValues,
443 val startValues = regex
472 startValues,
1001 startValues: Map<Bound, Int>,
1014 startValues.getValue(bound),
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java124 TransitionValues startValues, TransitionValues endValues) { in onAppear() argument
161 TransitionValues startValues, TransitionValues endValues) { in onDisappear() argument
162 if (startValues == null) { in onDisappear()
170 final float endZ = 0 - (float) startValues.values.get(PROPNAME_Z); in onDisappear()
176 final Rect startClip = getBestRect(startValues); in onDisappear()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DControlsAnimations.kt189 startValues: TransitionValues?,
191 ): Animator? = animator(startValues!!.view)
/aosp14/frameworks/base/core/tests/coretests/src/android/transition/
H A DFadeTransitionTest.java143 TransitionValues startValues, in testSnapshotView()
154 return super.onDisappear(sceneRoot, view, startValues, endValues); in testSnapshotView()

12