Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/transition/
DVisibility.java192 private static VisibilityInfo getVisibilityChangeInfo(TransitionValues startValues, in getVisibilityChangeInfo() argument
197 if (startValues != null && startValues.values.containsKey(PROPNAME_VISIBILITY)) { in getVisibilityChangeInfo()
198 visInfo.startVisibility = (Integer) startValues.values.get(PROPNAME_VISIBILITY); in getVisibilityChangeInfo()
199 visInfo.startParent = (ViewGroup) startValues.values.get(PROPNAME_PARENT); in getVisibilityChangeInfo()
211 if (startValues != null && endValues != null) { in getVisibilityChangeInfo()
235 } else if (startValues == null && visInfo.endVisibility == View.VISIBLE) { in getVisibilityChangeInfo()
246 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
248 VisibilityInfo visInfo = getVisibilityChangeInfo(startValues, endValues); in createAnimator()
252 return onAppear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator()
255 return onDisappear(sceneRoot, startValues, visInfo.startVisibility, in createAnimator()
[all …]
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()
DChangeTransform.java226 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
228 if (startValues == null || endValues == null || in createAnimator()
229 !startValues.values.containsKey(PROPNAME_PARENT) || in createAnimator()
234 ViewGroup startParent = (ViewGroup) startValues.values.get(PROPNAME_PARENT); in createAnimator()
238 Matrix startMatrix = (Matrix) startValues.values.get(PROPNAME_INTERMEDIATE_MATRIX); in createAnimator()
240 startValues.values.put(PROPNAME_MATRIX, startMatrix); in createAnimator()
244 startValues.values.get(PROPNAME_INTERMEDIATE_PARENT_MATRIX); in createAnimator()
246 startValues.values.put(PROPNAME_PARENT_MATRIX, startParentMatrix); in createAnimator()
251 setMatricesForParent(startValues, endValues); in createAnimator()
255 ObjectAnimator transformAnimator = createTransformAnimator(startValues, endValues, in createAnimator()
[all …]
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()
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()
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()
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()
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()
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()
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()
DTransition.java472 public Animator createAnimator(ViewGroup sceneRoot, TransitionValues startValues, in createAnimator() argument
557 TransitionValues startValues = unmatchedStart.get(startView); in matchItemIds() local
559 if (startValues != null && endValues != null) { in matchItemIds()
560 mStartValuesList.add(startValues); in matchItemIds()
584 TransitionValues startValues = unmatchedStart.get(startView); in matchIds() local
586 if (startValues != null && endValues != null) { in matchIds()
587 mStartValuesList.add(startValues); in matchIds()
611 TransitionValues startValues = unmatchedStart.get(startView); in matchNames() local
613 if (startValues != null && endValues != null) { in matchNames()
614 mStartValuesList.add(startValues); in matchNames()
[all …]
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()
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()
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()
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()
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()
DTransitionPropagation.java46 TransitionValues startValues, TransitionValues endValues); in getStartDelay() argument
DTransitionSet.java427 protected void createAnimators(ViewGroup sceneRoot, TransitionValuesMaps startValues, in createAnimators() argument
444 childTransition.createAnimators(sceneRoot, startValues, endValues, startValuesList, in createAnimators()
/frameworks/base/core/java/com/android/internal/transition/
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()
/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java143 TransitionValues startValues, in testSnapshotView()
154 return super.onDisappear(sceneRoot, view, startValues, endValues); in testSnapshotView()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java541 public Animator onAppear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onAppear() argument
556 public Animator onDisappear(ViewGroup sceneRoot, View view, TransitionValues startValues, in onDisappear() argument