/frameworks/base/core/java/android/transition/ |
D | Visibility.java | 192 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 …]
|
D | Fade.java | 142 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()
|
D | ChangeTransform.java | 226 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 …]
|
D | ChangeClipBounds.java | 79 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()
|
D | CircularPropagation.java | 58 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()
|
D | ChangeScroll.java | 67 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()
|
D | Explode.java | 81 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()
|
D | Recolor.java | 70 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()
|
D | Rotate.java | 45 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()
|
D | SidePropagation.java | 74 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()
|
D | Transition.java | 472 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 …]
|
D | ChangeImageTransform.java | 139 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()
|
D | Slide.java | 235 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()
|
D | Crossfade.java | 167 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()
|
D | ChangeText.java | 155 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()
|
D | ChangeBounds.java | 278 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()
|
D | TransitionPropagation.java | 46 TransitionValues startValues, TransitionValues endValues); in getStartDelay() argument
|
D | TransitionSet.java | 427 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/ |
D | EpicenterTranslateClipReveal.java | 124 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/ |
D | FadeTransitionTest.java | 143 TransitionValues startValues, in testSnapshotView() 154 return super.onDisappear(sceneRoot, view, startValues, endValues); in testSnapshotView()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardClockSwitch.java | 541 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
|