# ChangeTransform

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)   
belongs to Maven artifact com.android.support:transition:28.0.0-alpha1  
Summary: [Inherited Constants](https://developer.android.com/reference/android/support/transition/ChangeTransform#inhconstants) \| [Ctors](https://developer.android.com/reference/android/support/transition/ChangeTransform#pubctors) \| [Methods](https://developer.android.com/reference/android/support/transition/ChangeTransform#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/support/transition/ChangeTransform#inhmethods) \| [\[Expand All\]](https://developer.android.com/reference/android/support/transition/ChangeTransform#)  

# ChangeTransform

| This package is part of the Android [support library](https://developer.android.com/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](https://developer.android.com/jetpack/androidx) which is part of [Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](https://developer.android.com/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class
| mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).


`
public


class
ChangeTransform
`


`


`

`

extends `[Transition](https://developer.android.com/reference/android/support/transition/Transition)`


`

`


`

|---|---|--------------------------------------------|
| java.lang.Object                                 |||
| ↳ | [android.support.transition.Transition](https://developer.android.com/reference/android/support/transition/Transition) ||
|   | ↳ | android.support.transition.ChangeTransform |

<br />

*** ** * ** ***

This Transition captures scale and rotation for Views before and after the
scene change and animates those changes during the transition.

A change in parent is handled as well by capturing the transforms from
the parent before and after the scene change and animating those during the
transition.

## Summary

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/transition/ChangeTransform#)From class ` `[android.support.transition.Transition](https://developer.android.com/reference/android/support/transition/Transition)` ` |-------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `int` | [MATCH_ID](https://developer.android.com/reference/android/support/transition/Transition#MATCH_ID) With [setMatchOrder(int)](https://developer.android.com/reference/android/support/transition/Transition#setMatchOrder(int...)), chooses to match by [getId()](https://developer.android.com/reference/android/view/View.html#getId()).                             | | `int` | [MATCH_INSTANCE](https://developer.android.com/reference/android/support/transition/Transition#MATCH_INSTANCE) With [setMatchOrder(int)](https://developer.android.com/reference/android/support/transition/Transition#setMatchOrder(int...)), chooses to match by View instance.                                                                                     | | `int` | [MATCH_ITEM_ID](https://developer.android.com/reference/android/support/transition/Transition#MATCH_ITEM_ID) With [setMatchOrder(int)](https://developer.android.com/reference/android/support/transition/Transition#setMatchOrder(int...)), chooses to match by the [Adapter](https://developer.android.com/reference/android/widget/Adapter.html) item id.          | | `int` | [MATCH_NAME](https://developer.android.com/reference/android/support/transition/Transition#MATCH_NAME) With [setMatchOrder(int)](https://developer.android.com/reference/android/support/transition/Transition#setMatchOrder(int...)), chooses to match by [getTransitionName()](https://developer.android.com/reference/android/view/View.html#getTransitionName()). | |

|                                                                                                                                                                            ### Public constructors                                                                                                                                                                            ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[ChangeTransform](https://developer.android.com/reference/android/support/transition/ChangeTransform#ChangeTransform())`() `                                                                                                                                                                                                                                            |
| ` `[ChangeTransform](https://developer.android.com/reference/android/support/transition/ChangeTransform#ChangeTransform(android.content.Context, android.util.AttributeSet))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) ` |

|                                                                                                                                                                                                                                                                                                                                                                                                                          ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                          ||
|----------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void`                                                                                | ` `[captureEndValues](https://developer.android.com/reference/android/support/transition/ChangeTransform#captureEndValues(android.support.transition.TransitionValues))`(`[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` transitionValues) ` Captures the values in the end scene for the properties that this transition monitors.                                                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                | ` `[captureStartValues](https://developer.android.com/reference/android/support/transition/ChangeTransform#captureStartValues(android.support.transition.TransitionValues))`(`[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` transitionValues) ` Captures the values in the start scene for the properties that this transition monitors.                                                                                                                                                                                                                                                                                                                                                                          |
| ` `[Animator](https://developer.android.com/reference/android/animation/Animator.html) | ` `[createAnimator](https://developer.android.com/reference/android/support/transition/ChangeTransform#createAnimator(android.view.ViewGroup, android.support.transition.TransitionValues, android.support.transition.TransitionValues))`(`[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` sceneRoot, `[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` startValues, `[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` endValues) ` This method creates an animation that will be run for this transition given the information in the startValues and endValues structures captured earlier for the start and end scenes. |
| ` boolean`                                                                             | ` `[getReparent](https://developer.android.com/reference/android/support/transition/ChangeTransform#getReparent())`() ` Returns whether parent changes will be tracked by the ChangeTransform.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ` boolean`                                                                             | ` `[getReparentWithOverlay](https://developer.android.com/reference/android/support/transition/ChangeTransform#getReparentWithOverlay())`() ` Returns whether changes to parent should use an overlay or not.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` String[]`                                                                            | ` `[getTransitionProperties](https://developer.android.com/reference/android/support/transition/ChangeTransform#getTransitionProperties())`() ` Returns the set of property names used stored in the [TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues) object passed into [captureStartValues(TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#captureStartValues(android.support.transition.TransitionValues)) that this transition cares about for the purposes of canceling overlapping animations.                                                                                                                                                                 |
| ` void`                                                                                | ` `[setReparent](https://developer.android.com/reference/android/support/transition/ChangeTransform#setReparent(boolean))`(boolean reparent) ` Sets whether parent changes will be tracked by the ChangeTransform.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                | ` `[setReparentWithOverlay](https://developer.android.com/reference/android/support/transition/ChangeTransform#setReparentWithOverlay(boolean))`(boolean reparentWithOverlay) ` Sets whether changes to parent should use an overlay or not.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/transition/ChangeTransform#)From class ` `[android.support.transition.Transition](https://developer.android.com/reference/android/support/transition/Transition)` ` |------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[addListener](https://developer.android.com/reference/android/support/transition/Transition#addListener(android.support.transition.Transition.TransitionListener))`(`[Transition.TransitionListener](https://developer.android.com/reference/android/support/transition/Transition.TransitionListener)` listener) ` Adds a listener to the set of listeners that are sent events through the life of an animation, such as start, repeat, and end.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[addTarget](https://developer.android.com/reference/android/support/transition/Transition#addTarget(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` target) ` Sets the target view instances that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[addTarget](https://developer.android.com/reference/android/support/transition/Transition#addTarget(int))`(int targetId) ` Adds the id of a target view that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[addTarget](https://developer.android.com/reference/android/support/transition/Transition#addTarget(java.lang.Class))`(Class targetType) ` Adds the Class of a target view that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[addTarget](https://developer.android.com/reference/android/support/transition/Transition#addTarget(java.lang.String))`(String targetName) ` Adds the transitionName of a target view that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` abstract void`                                                                                                                   | ` `[captureEndValues](https://developer.android.com/reference/android/support/transition/Transition#captureEndValues(android.support.transition.TransitionValues))`(`[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` transitionValues) ` Captures the values in the end scene for the properties that this transition monitors.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` abstract void`                                                                                                                   | ` `[captureStartValues](https://developer.android.com/reference/android/support/transition/Transition#captureStartValues(android.support.transition.TransitionValues))`(`[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` transitionValues) ` Captures the values in the start scene for the properties that this transition monitors.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[clone](https://developer.android.com/reference/android/support/transition/Transition#clone())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` `[Animator](https://developer.android.com/reference/android/animation/Animator.html)                                             | ` `[createAnimator](https://developer.android.com/reference/android/support/transition/Transition#createAnimator(android.view.ViewGroup, android.support.transition.TransitionValues, android.support.transition.TransitionValues))`(`[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` sceneRoot, `[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` startValues, `[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` endValues) ` This method creates an animation that will be run for this transition given the information in the startValues and endValues structures captured earlier for the start and end scenes.                                                                                                                                                                                  | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[excludeChildren](https://developer.android.com/reference/android/support/transition/Transition#excludeChildren(int, boolean))`(int targetId, boolean exclude) ` Whether to add the children of the given id to the list of targets to exclude from this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[excludeChildren](https://developer.android.com/reference/android/support/transition/Transition#excludeChildren(java.lang.Class, boolean))`(Class type, boolean exclude) ` Whether to add the given type to the list of types whose children should be excluded from this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[excludeChildren](https://developer.android.com/reference/android/support/transition/Transition#excludeChildren(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` target, boolean exclude) ` Whether to add the children of given target to the list of target children to exclude from this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[excludeTarget](https://developer.android.com/reference/android/support/transition/Transition#excludeTarget(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` target, boolean exclude) ` Whether to add the given target to the list of targets to exclude from this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[excludeTarget](https://developer.android.com/reference/android/support/transition/Transition#excludeTarget(java.lang.Class, boolean))`(Class type, boolean exclude) ` Whether to add the given type to the list of types to exclude from this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[excludeTarget](https://developer.android.com/reference/android/support/transition/Transition#excludeTarget(java.lang.String, boolean))`(String targetName, boolean exclude) ` Whether to add the given transitionName to the list of target transitionNames to exclude from this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[excludeTarget](https://developer.android.com/reference/android/support/transition/Transition#excludeTarget(int, boolean))`(int targetId, boolean exclude) ` Whether to add the given id to the list of target ids to exclude from this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ` long`                                                                                                                            | ` `[getDuration](https://developer.android.com/reference/android/support/transition/Transition#getDuration())`() ` Returns the duration set on this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)                                                      | ` `[getEpicenter](https://developer.android.com/reference/android/support/transition/Transition#getEpicenter())`() ` Returns the epicenter as specified by the [Transition.EpicenterCallback](https://developer.android.com/reference/android/transition/Transition.EpicenterCallback.html) or null if no callback exists.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | | ` `[Transition.EpicenterCallback](https://developer.android.com/reference/android/support/transition/Transition.EpicenterCallback) | ` `[getEpicenterCallback](https://developer.android.com/reference/android/support/transition/Transition#getEpicenterCallback())`() ` Returns the callback used to find the epicenter of the Transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` `[TimeInterpolator](https://developer.android.com/reference/android/animation/TimeInterpolator.html)                             | ` `[getInterpolator](https://developer.android.com/reference/android/support/transition/Transition#getInterpolator())`() ` Returns the interpolator set on this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | | ` String`                                                                                                                          | ` `[getName](https://developer.android.com/reference/android/support/transition/Transition#getName())`() ` Returns the name of this Transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | ` `[PathMotion](https://developer.android.com/reference/android/support/transition/PathMotion)                                     | ` `[getPathMotion](https://developer.android.com/reference/android/support/transition/Transition#getPathMotion())`() ` Returns the algorithm object used to interpolate along two dimensions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | | ` `[TransitionPropagation](https://developer.android.com/reference/android/support/transition/TransitionPropagation)               | ` `[getPropagation](https://developer.android.com/reference/android/support/transition/Transition#getPropagation())`() ` Returns the [TransitionPropagation](https://developer.android.com/reference/android/transition/TransitionPropagation.html) used to calculate Animator start delays.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` long`                                                                                                                            | ` `[getStartDelay](https://developer.android.com/reference/android/support/transition/Transition#getStartDelay())`() ` Returns the startDelay set on this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | ` List<Integer>`                                                                                                                   | ` `[getTargetIds](https://developer.android.com/reference/android/support/transition/Transition#getTargetIds())`() ` Returns the array of target IDs that this transition limits itself to tracking and animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` List<String>`                                                                                                                    | ` `[getTargetNames](https://developer.android.com/reference/android/support/transition/Transition#getTargetNames())`() ` Returns the list of target transitionNames that this transition limits itself to tracking and animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` List<Class>`                                                                                                                     | ` `[getTargetTypes](https://developer.android.com/reference/android/support/transition/Transition#getTargetTypes())`() ` Returns the list of target transitionNames that this transition limits itself to tracking and animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` List<`[View](https://developer.android.com/reference/android/view/View.html)`>`                                                  | ` `[getTargets](https://developer.android.com/reference/android/support/transition/Transition#getTargets())`() ` Returns the array of target views that this transition limits itself to tracking and animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` String[]`                                                                                                                        | ` `[getTransitionProperties](https://developer.android.com/reference/android/support/transition/Transition#getTransitionProperties())`() ` Returns the set of property names used stored in the [TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues) object passed into [captureStartValues(TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#captureStartValues(android.support.transition.TransitionValues)) that this transition cares about for the purposes of canceling overlapping animations.                                                                                                                                                                                                                                                                                                                                                  | | ` `[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)                         | ` `[getTransitionValues](https://developer.android.com/reference/android/support/transition/Transition#getTransitionValues(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, boolean start) ` This method can be called by transitions to get the TransitionValues for any particular view during the transition-playing process.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                         | ` `[isTransitionRequired](https://developer.android.com/reference/android/support/transition/Transition#isTransitionRequired(android.support.transition.TransitionValues, android.support.transition.TransitionValues))`(`[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` startValues, `[TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)` endValues) ` Returns whether or not the transition should create an Animator, based on the values captured during [captureStartValues(TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#captureStartValues(android.support.transition.TransitionValues)) and [captureEndValues(TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#captureEndValues(android.support.transition.TransitionValues)). | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[removeListener](https://developer.android.com/reference/android/support/transition/Transition#removeListener(android.support.transition.Transition.TransitionListener))`(`[Transition.TransitionListener](https://developer.android.com/reference/android/support/transition/Transition.TransitionListener)` listener) ` Removes a listener from the set listening to this animation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[removeTarget](https://developer.android.com/reference/android/support/transition/Transition#removeTarget(int))`(int targetId) ` Removes the given targetId from the list of ids that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[removeTarget](https://developer.android.com/reference/android/support/transition/Transition#removeTarget(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` target) ` Removes the given target from the list of targets that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[removeTarget](https://developer.android.com/reference/android/support/transition/Transition#removeTarget(java.lang.String))`(String targetName) ` Removes the given targetName from the list of transitionNames that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[removeTarget](https://developer.android.com/reference/android/support/transition/Transition#removeTarget(java.lang.Class))`(Class target) ` Removes the given target from the list of targets that this Transition is interested in animating.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[setDuration](https://developer.android.com/reference/android/support/transition/Transition#setDuration(long))`(long duration) ` Sets the duration of this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ` void`                                                                                                                            | ` `[setEpicenterCallback](https://developer.android.com/reference/android/support/transition/Transition#setEpicenterCallback(android.support.transition.Transition.EpicenterCallback))`(`[Transition.EpicenterCallback](https://developer.android.com/reference/android/support/transition/Transition.EpicenterCallback)` epicenterCallback) ` Sets the callback to use to find the epicenter of a Transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[setInterpolator](https://developer.android.com/reference/android/support/transition/Transition#setInterpolator(android.animation.TimeInterpolator))`(`[TimeInterpolator](https://developer.android.com/reference/android/animation/TimeInterpolator.html)` interpolator) ` Sets the interpolator of this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` void`                                                                                                                            | ` `[setMatchOrder](https://developer.android.com/reference/android/support/transition/Transition#setMatchOrder(int...))`(int... matches) ` Sets the order in which Transition matches View start and end values.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | | ` void`                                                                                                                            | ` `[setPathMotion](https://developer.android.com/reference/android/support/transition/Transition#setPathMotion(android.support.transition.PathMotion))`(`[PathMotion](https://developer.android.com/reference/android/support/transition/PathMotion)` pathMotion) ` Sets the algorithm used to calculate two-dimensional interpolation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                                            | ` `[setPropagation](https://developer.android.com/reference/android/support/transition/Transition#setPropagation(android.support.transition.TransitionPropagation))`(`[TransitionPropagation](https://developer.android.com/reference/android/support/transition/TransitionPropagation)` transitionPropagation) ` Sets the method for determining Animator start delays.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | | ` `[Transition](https://developer.android.com/reference/android/support/transition/Transition)                                     | ` `[setStartDelay](https://developer.android.com/reference/android/support/transition/Transition#setStartDelay(long))`(long startDelay) ` Sets the startDelay of this transition.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | ` String`                                                                                                                          | ` `[toString](https://developer.android.com/reference/android/support/transition/Transition#toString())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/transition/ChangeTransform#)From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||

## Public constructors

### ChangeTransform

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
ChangeTransform ()
```

<br />

<br />

### ChangeTransform

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
ChangeTransform (Context context, 
                AttributeSet attrs)
```

<br />

<br />

|            Parameters            ||
|-----------|-----------------------|
| `context` | `Context` <br />      |
| `attrs`   | `AttributeSet` <br /> |

## Public methods

### captureEndValues

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void captureEndValues (TransitionValues transitionValues)
```

Captures the values in the end scene for the properties that this
transition monitors. These values are then passed as the endValues
structure in a later call to
[createAnimator(ViewGroup, TransitionValues, TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#createAnimator(android.view.ViewGroup, android.support.transition.TransitionValues, android.support.transition.TransitionValues)).
The main concern for an implementation is what the
properties are that the transition cares about and what the values are
for all of those properties. The start and end values will be compared
later during the
[createAnimator(ViewGroup, TransitionValues, TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#createAnimator(android.view.ViewGroup, android.support.transition.TransitionValues, android.support.transition.TransitionValues))
method to determine what, if any, animations, should be run.

Subclasses must implement this method. The method should only be called by the
transition system; it is not intended to be called from external classes.

<br />

<br />

|                                                                                                                                                                                                                                         Parameters                                                                                                                                                                                                                                         ||
|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `transitionValues` | `TransitionValues`: The holder for any values that the Transition wishes to store. Values are stored in the `values` field of this TransitionValues object and are keyed from a String value. For example, to store a view's rotation value, a transition might call `transitionValues.values.put("appname:transitionname:rotation", view.getRotation())`. The target view will already be stored in the transitionValues structure when this method is called. <br /> |

### captureStartValues

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void captureStartValues (TransitionValues transitionValues)
```

Captures the values in the start scene for the properties that this
transition monitors. These values are then passed as the startValues
structure in a later call to
[createAnimator(ViewGroup, TransitionValues, TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#createAnimator(android.view.ViewGroup, android.support.transition.TransitionValues, android.support.transition.TransitionValues)).
The main concern for an implementation is what the
properties are that the transition cares about and what the values are
for all of those properties. The start and end values will be compared
later during the
[createAnimator(ViewGroup, TransitionValues, TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#createAnimator(android.view.ViewGroup, android.support.transition.TransitionValues, android.support.transition.TransitionValues))
method to determine what, if any, animations, should be run.

Subclasses must implement this method. The method should only be called by the
transition system; it is not intended to be called from external classes.

<br />

<br />

|                                                                                                                                                                                                                                         Parameters                                                                                                                                                                                                                                         ||
|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `transitionValues` | `TransitionValues`: The holder for any values that the Transition wishes to store. Values are stored in the `values` field of this TransitionValues object and are keyed from a String value. For example, to store a view's rotation value, a transition might call `transitionValues.values.put("appname:transitionname:rotation", view.getRotation())`. The target view will already be stored in the transitionValues structure when this method is called. <br /> |

### createAnimator

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Animator createAnimator (ViewGroup sceneRoot, 
                TransitionValues startValues, 
                TransitionValues endValues)
```

This method creates an animation that will be run for this transition
given the information in the startValues and endValues structures captured
earlier for the start and end scenes. Subclasses of Transition should override
this method. The method should only be called by the transition system; it is
not intended to be called from external classes.

This method is called by the transition's parent (all the way up to the
topmost Transition in the hierarchy) with the sceneRoot and start/end
values that the transition may need to set up initial target values
and construct an appropriate animation. For example, if an overall
Transition is a [TransitionSet](https://developer.android.com/reference/android/support/transition/TransitionSet) consisting of several
child transitions in sequence, then some of the child transitions may
want to set initial values on target views prior to the overall
Transition commencing, to put them in an appropriate state for the
delay between that start and the child Transition start time. For
example, a transition that fades an item in may wish to set the starting
alpha value to 0, to avoid it blinking in prior to the transition
actually starting the animation. This is necessary because the scene
change that triggers the Transition will automatically set the end-scene
on all target views, so a Transition that wants to animate from a
different value should set that value prior to returning from this method.

Additionally, a Transition can perform logic to determine whether
the transition needs to run on the given target and start/end values.
For example, a transition that resizes objects on the screen may wish
to avoid running for views which are not present in either the start
or end scenes.

If there is an animator created and returned from this method, the
transition mechanism will apply any applicable duration, startDelay,
and interpolator to that animation and start it. A return value of
`null` indicates that no animation should run. The default
implementation returns null.

The method is called for every applicable target object, which is
stored in the [view](https://developer.android.com/reference/android/support/transition/TransitionValues#view) field.

<br />

<br />

|                                           Parameters                                           ||
|---------------|---------------------------------------------------------------------------------|
| `sceneRoot`   | `ViewGroup`: The root of the transition hierarchy. <br />                       |
| `startValues` | `TransitionValues`: The values for a specific target in the start scene. <br /> |
| `endValues`   | `TransitionValues`: The values for the target in the end scene. <br />          |

|                                                                                                                   Returns                                                                                                                    ||
|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Animator](https://developer.android.com/reference/android/animation/Animator.html) | A Animator to be started at the appropriate time in the overall transition for this scene change. A null value means no animation should be run. <br /> |

### getReparent

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean getReparent ()
```

Returns whether parent changes will be tracked by the ChangeTransform. If parent
changes are tracked, then the transform will adjust to the transforms of the
different parents. If they aren't tracked, only the transforms of the transitioning
view will be tracked. Default is true.

<br />

|                                     Returns                                      ||
|-----------|-----------------------------------------------------------------------|
| `boolean` | whether parent changes will be tracked by the ChangeTransform. <br /> |

### getReparentWithOverlay

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean getReparentWithOverlay ()
```

Returns whether changes to parent should use an overlay or not. When the parent
change doesn't use an overlay, it affects the transforms of the child. The
default value is `true`.

Note: when Overlays are not used when a parent changes, a view can be clipped when
it moves outside the bounds of its parent. Setting
[setClipChildren(boolean)](https://developer.android.com/reference/android/view/ViewGroup.html#setClipChildren(boolean)) and
[setClipToPadding(boolean)](https://developer.android.com/reference/android/view/ViewGroup.html#setClipToPadding(boolean)) can help. Also, when
Overlays are not used and the parent is animating its location, the position of the
child view will be relative to its parent's final position, so it may appear to "jump"
at the beginning.

<br />

<br />

|                                                                                             Returns                                                                                              ||
|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `boolean` | `true` when a changed parent should execute the transition inside the scene root's overlay or `false` if a parent change only affects the transform of the transitioning view. <br /> |

### getTransitionProperties

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
String[] getTransitionProperties ()
```

Returns the set of property names used stored in the [TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)
object passed into [captureStartValues(TransitionValues)](https://developer.android.com/reference/android/support/transition/Transition#captureStartValues(android.support.transition.TransitionValues)) that
this transition cares about for the purposes of canceling overlapping animations.
When any transition is started on a given scene root, all transitions
currently running on that same scene root are checked to see whether the
properties on which they based their animations agree with the end values of
the same properties in the new transition. If the end values are not equal,
then the old animation is canceled since the new transition will start a new
animation to these new values. If the values are equal, the old animation is
allowed to continue and no new animation is started for that transition.

A transition does not need to override this method. However, not doing so
will mean that the cancellation logic outlined in the previous paragraph
will be skipped for that transition, possibly leading to artifacts as
old transitions and new transitions on the same targets run in parallel,
animating views toward potentially different end values.

<br />

<br />

|                                                                                                                    Returns                                                                                                                    ||
|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `String[]` | An array of property names as described in the class documentation for [TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues). The default implementation returns `null`. <br /> |

### setReparent

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setReparent (boolean reparent)
```

Sets whether parent changes will be tracked by the ChangeTransform. If parent
changes are tracked, then the transform will adjust to the transforms of the
different parents. If they aren't tracked, only the transforms of the transitioning
view will be tracked. Default is true.

<br />

|                                                                            Parameters                                                                             ||
|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| `reparent` | `boolean`: Set to true to track parent changes or false to only track changes of the transitioning view without considering the parent change. <br /> |

### setReparentWithOverlay

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setReparentWithOverlay (boolean reparentWithOverlay)
```

Sets whether changes to parent should use an overlay or not. When the parent
change doesn't use an overlay, it affects the transforms of the child. The
default value is `true`.

Note: when Overlays are not used when a parent changes, a view can be clipped when
it moves outside the bounds of its parent. Setting
[setClipChildren(boolean)](https://developer.android.com/reference/android/view/ViewGroup.html#setClipChildren(boolean)) and
[setClipToPadding(boolean)](https://developer.android.com/reference/android/view/ViewGroup.html#setClipToPadding(boolean)) can help. Also, when
Overlays are not used and the parent is animating its location, the position of the
child view will be relative to its parent's final position, so it may appear to "jump"
at the beginning.

<br />

<br />

|                                                                                                       Parameters                                                                                                        ||
|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `reparentWithOverlay` | `boolean`: `true` when a changed parent should execute the transition inside the scene root's overlay or `false` if a parent change only affects the transform of the transitioning view. <br /> |

-

  ## Interfaces

  - [Transition.TransitionListener](https://developer.android.com/reference/android/support/transition/Transition.TransitionListener)
-

  ## Classes

  - [ArcMotion](https://developer.android.com/reference/android/support/transition/ArcMotion)
  - [AutoTransition](https://developer.android.com/reference/android/support/transition/AutoTransition)
  - [ChangeBounds](https://developer.android.com/reference/android/support/transition/ChangeBounds)
  - [ChangeClipBounds](https://developer.android.com/reference/android/support/transition/ChangeClipBounds)
  - [ChangeImageTransform](https://developer.android.com/reference/android/support/transition/ChangeImageTransform)
  - [ChangeScroll](https://developer.android.com/reference/android/support/transition/ChangeScroll)
  - [ChangeTransform](https://developer.android.com/reference/android/support/transition/ChangeTransform)
  - [CircularPropagation](https://developer.android.com/reference/android/support/transition/CircularPropagation)
  - [Explode](https://developer.android.com/reference/android/support/transition/Explode)
  - [Fade](https://developer.android.com/reference/android/support/transition/Fade)
  - [PathMotion](https://developer.android.com/reference/android/support/transition/PathMotion)
  - [PatternPathMotion](https://developer.android.com/reference/android/support/transition/PatternPathMotion)
  - [R](https://developer.android.com/reference/android/support/transition/R)
  - [R.attr](https://developer.android.com/reference/android/support/transition/R.attr)
  - [R.bool](https://developer.android.com/reference/android/support/transition/R.bool)
  - [R.color](https://developer.android.com/reference/android/support/transition/R.color)
  - [R.dimen](https://developer.android.com/reference/android/support/transition/R.dimen)
  - [R.drawable](https://developer.android.com/reference/android/support/transition/R.drawable)
  - [R.id](https://developer.android.com/reference/android/support/transition/R.id)
  - [R.integer](https://developer.android.com/reference/android/support/transition/R.integer)
  - [R.layout](https://developer.android.com/reference/android/support/transition/R.layout)
  - [R.string](https://developer.android.com/reference/android/support/transition/R.string)
  - [R.style](https://developer.android.com/reference/android/support/transition/R.style)
  - [R.styleable](https://developer.android.com/reference/android/support/transition/R.styleable)
  - [Scene](https://developer.android.com/reference/android/support/transition/Scene)
  - [SidePropagation](https://developer.android.com/reference/android/support/transition/SidePropagation)
  - [Slide](https://developer.android.com/reference/android/support/transition/Slide)
  - [Transition](https://developer.android.com/reference/android/support/transition/Transition)
  - [Transition.EpicenterCallback](https://developer.android.com/reference/android/support/transition/Transition.EpicenterCallback)
  - [TransitionInflater](https://developer.android.com/reference/android/support/transition/TransitionInflater)
  - [TransitionListenerAdapter](https://developer.android.com/reference/android/support/transition/TransitionListenerAdapter)
  - [TransitionManager](https://developer.android.com/reference/android/support/transition/TransitionManager)
  - [TransitionPropagation](https://developer.android.com/reference/android/support/transition/TransitionPropagation)
  - [TransitionSet](https://developer.android.com/reference/android/support/transition/TransitionSet)
  - [TransitionValues](https://developer.android.com/reference/android/support/transition/TransitionValues)
  - [Visibility](https://developer.android.com/reference/android/support/transition/Visibility)
  - [VisibilityPropagation](https://developer.android.com/reference/android/support/transition/VisibilityPropagation)