FileDocCategorySizeDatePackage
ActivityOptionsCompat21.javaAPI DocAndroid 5.1 API2121Thu Mar 12 22:22:56 GMT 2015android.support.v4.app

ActivityOptionsCompat21

public class ActivityOptionsCompat21 extends Object

Fields Summary
private final android.app.ActivityOptions
mActivityOptions
Constructors Summary
private ActivityOptionsCompat21(android.app.ActivityOptions activityOptions)

        mActivityOptions = activityOptions;
    
Methods Summary
public static android.support.v4.app.ActivityOptionsCompat21makeSceneTransitionAnimation(android.app.Activity activity, android.view.View sharedElement, java.lang.String sharedElementName)

        return new ActivityOptionsCompat21(
                ActivityOptions.makeSceneTransitionAnimation(activity, sharedElement,
                        sharedElementName));
    
public static android.support.v4.app.ActivityOptionsCompat21makeSceneTransitionAnimation(android.app.Activity activity, android.view.View[] sharedElements, java.lang.String[] sharedElementNames)

        Pair[] pairs = null;
        if (sharedElements != null) {
            pairs = new Pair[sharedElements.length];
            for (int i = 0; i < pairs.length; i++) {
                pairs[i] = Pair.create(sharedElements[i], sharedElementNames[i]);
            }
        }
        return new ActivityOptionsCompat21(
                ActivityOptions.makeSceneTransitionAnimation(activity, pairs));
    
public android.os.BundletoBundle()

        return mActivityOptions.toBundle();
    
public voidupdate(android.support.v4.app.ActivityOptionsCompat21 otherOptions)

        mActivityOptions.update(otherOptions.mActivityOptions);