Methods Summary |
---|
static void | addTarget(java.lang.Object transition, android.view.View view)
((Transition) transition).addTarget(view);
|
static void | addTransition(java.lang.Object transitionSet, java.lang.Object transition)
((TransitionSet) transitionSet).addTransition((Transition) transition);
|
static java.lang.Object | createAutoTransition()
return new AutoTransition();
|
static java.lang.Object | createChangeBounds(boolean reparent)
CustomChangeBounds changeBounds = new CustomChangeBounds();
changeBounds.setReparent(reparent);
return changeBounds;
|
static java.lang.Object | createFadeTransition(int fadingMode)
Fade fade = new Fade(fadingMode);
return fade;
|
static java.lang.Object | createScale()
Scale scale = new Scale();
return scale;
|
static java.lang.Object | createScene(android.view.ViewGroup sceneRoot, java.lang.Runnable enterAction)
Scene scene = new Scene(sceneRoot);
scene.setEnterAction(enterAction);
return scene;
|
static java.lang.Object | createSlide(int slideEdge)
SlideKitkat slide = new SlideKitkat();
slide.setSlideEdge(slideEdge);
return slide;
|
static java.lang.Object | createTransitionSet(boolean sequential)
TransitionSet set = new TransitionSet();
set.setOrdering(sequential ? TransitionSet.ORDERING_SEQUENTIAL :
TransitionSet.ORDERING_TOGETHER);
return set;
|
static void | exclude(java.lang.Object transition, int targetId, boolean exclude)
((Transition) transition).excludeTarget(targetId, exclude);
|
static void | exclude(java.lang.Object transition, android.view.View targetView, boolean exclude)
((Transition) transition).excludeTarget(targetView, exclude);
|
static void | excludeChildren(java.lang.Object transition, int targetId, boolean exclude)
((Transition) transition).excludeChildren(targetId, exclude);
|
static void | excludeChildren(java.lang.Object transition, android.view.View targetView, boolean exclude)
((Transition) transition).excludeChildren(targetView, exclude);
|
static void | include(java.lang.Object transition, int targetId)
((Transition) transition).addTarget(targetId);
|
static void | include(java.lang.Object transition, android.view.View targetView)
((Transition) transition).addTarget(targetView);
|
static java.lang.Object | loadTransition(android.content.Context context, int resId)
return TransitionInflater.from(context).inflateTransition(resId);
|
static void | runTransition(java.lang.Object scene, java.lang.Object transition)
TransitionManager.go((Scene) scene, (Transition) transition);
|
static void | setChangeBoundsDefaultStartDelay(java.lang.Object changeBounds, int startDelay)
((CustomChangeBounds) changeBounds).setDefaultStartDelay(startDelay);
|
static void | setChangeBoundsStartDelay(java.lang.Object changeBounds, int viewId, int startDelay)
((CustomChangeBounds) changeBounds).setStartDelay(viewId, startDelay);
|
static void | setChangeBoundsStartDelay(java.lang.Object changeBounds, android.view.View view, int startDelay)
((CustomChangeBounds) changeBounds).setStartDelay(view, startDelay);
|
static void | setChangeBoundsStartDelay(java.lang.Object changeBounds, java.lang.String className, int startDelay)
((CustomChangeBounds) changeBounds).setStartDelay(className, startDelay);
|
static void | setDuration(java.lang.Object transition, long duration)
((Transition)transition).setDuration(duration);
|
static void | setInterpolator(java.lang.Object transition, java.lang.Object timeInterpolator)
((Transition) transition).setInterpolator((TimeInterpolator) timeInterpolator);
|
static void | setStartDelay(java.lang.Object transition, long startDelay)
((Transition)transition).setStartDelay(startDelay);
|
static void | setTransitionListener(java.lang.Object transition, TransitionListener listener)
Transition t = (Transition) transition;
t.addListener(new Transition.TransitionListener() {
@Override
public void onTransitionStart(Transition transition) {
listener.onTransitionStart(transition);
}
@Override
public void onTransitionResume(Transition transition) {
}
@Override
public void onTransitionPause(Transition transition) {
}
@Override
public void onTransitionEnd(Transition transition) {
listener.onTransitionEnd(transition);
}
@Override
public void onTransitionCancel(Transition transition) {
}
});
|