HomeSort by relevance Sort by last modified time
    Searched refs:LayoutTransition (Results 1 - 25 of 33) sorted by null

1 2

  /cts/tests/tests/animation/src/android/animation/cts/
LayoutAnimationTest.java 25 import android.animation.LayoutTransition;
26 import android.animation.LayoutTransition.TransitionListener;
79 mLayoutTransition.setInterpolator(LayoutTransition.CHANGE_APPEARING,
91 assertEquals(duration, mLayoutTransition.getDuration(LayoutTransition.APPEARING));
92 assertEquals(duration, mLayoutTransition.getDuration(LayoutTransition.CHANGE_APPEARING));
94 mLayoutTransition.getDuration(LayoutTransition.CHANGE_DISAPPEARING));
95 assertEquals(duration, mLayoutTransition.getDuration(LayoutTransition.DISAPPEARING));
100 mLayoutTransition.setDuration(LayoutTransition.APPEARING, duration);
101 assertEquals(duration, mLayoutTransition.getDuration(LayoutTransition.APPEARING));
106 mLayoutTransition.setInterpolator(LayoutTransition.APPEARING, interpolator)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
LayoutAnimations.java 27 import android.animation.LayoutTransition;
39 * This application demonstrates how to use LayoutTransition to automate transition animations
63 final LayoutTransition transitioner = new LayoutTransition();
65 defaultAppearingAnim = transitioner.getAnimator(LayoutTransition.APPEARING);
67 transitioner.getAnimator(LayoutTransition.DISAPPEARING);
69 transitioner.getAnimator(LayoutTransition.CHANGE_APPEARING);
71 transitioner.getAnimator(LayoutTransition.CHANGE_DISAPPEARING);
129 private void setupTransition(LayoutTransition transition) {
135 transition.setAnimator(LayoutTransition.APPEARING, appearingCB.isChecked()
    [all...]
LayoutAnimationsHideShow.java 28 import android.animation.LayoutTransition;
40 * This application demonstrates how to use LayoutTransition to automate transition animations
47 private LayoutTransition mTransitioner;
94 mTransitioner.setStagger(LayoutTransition.CHANGE_APPEARING, 30);
95 mTransitioner.setStagger(LayoutTransition.CHANGE_DISAPPEARING, 30);
108 mTransitioner = new LayoutTransition();
128 setDuration(mTransitioner.getDuration(LayoutTransition.CHANGE_APPEARING));
129 mTransitioner.setAnimator(LayoutTransition.CHANGE_APPEARING, changeIn);
146 setDuration(mTransitioner.getDuration(LayoutTransition.CHANGE_DISAPPEARING));
147 mTransitioner.setAnimator(LayoutTransition.CHANGE_DISAPPEARING, changeOut)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
PageIndicator.java 19 import android.animation.LayoutTransition;
75 LayoutTransition transition = getLayoutTransition();
80 LayoutTransition transition = getLayoutTransition();
81 transition.enableTransitionType(LayoutTransition.APPEARING);
82 transition.enableTransitionType(LayoutTransition.DISAPPEARING);
83 transition.enableTransitionType(LayoutTransition.CHANGE_APPEARING);
84 transition.enableTransitionType(LayoutTransition.CHANGE_DISAPPEARING);
88 LayoutTransition transition = getLayoutTransition();
89 transition.disableTransitionType(LayoutTransition.APPEARING);
90 transition.disableTransitionType(LayoutTransition.DISAPPEARING)
    [all...]
Workspace.java 23 import android.animation.LayoutTransition;
115 private LayoutTransition mLayoutTransition;
452 mLayoutTransition = new LayoutTransition();
453 mLayoutTransition.enableTransitionType(LayoutTransition.DISAPPEARING);
454 mLayoutTransition.enableTransitionType(LayoutTransition.CHANGE_DISAPPEARING);
455 mLayoutTransition.disableTransitionType(LayoutTransition.APPEARING);
456 mLayoutTransition.disableTransitionType(LayoutTransition.CHANGE_APPEARING);
    [all...]
  /development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/
LayoutTransChanging.java 19 import android.animation.LayoutTransition;
30 * This example shows how to use LayoutTransition to animate simple changes in a layout
59 // Adding a view will cause a LayoutTransition animation
68 // Removing a view will cause a LayoutTransition animation
74 // Note that this assumes a LayoutTransition is set on the container, which is the
76 // in the layout file. You can also call setLayoutTransition(new LayoutTransition()) in
77 // code to set a LayoutTransition on any container.
78 LayoutTransition transition = container.getLayoutTransition();
82 transition.enableTransitionType(LayoutTransition.CHANGING);
111 // Size changes will cause a LayoutTransition animation if the CHANGIN
    [all...]
  /developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/
CardStreamLinearLayout.java 23 import android.animation.LayoutTransition;
136 private LayoutTransition.TransitionListener mTransitionListener
137 = new LayoutTransition.TransitionListener() {
140 public void startTransition(LayoutTransition transition, ViewGroup container, View
142 Log.d(TAG, "Start LayoutTransition animation:" + transitionType);
146 public void endTransition(LayoutTransition transition, ViewGroup container,
149 Log.d(TAG, "End LayoutTransition animation:" + transitionType);
150 if (transitionType == LayoutTransition.APPEARING) {
241 LayoutTransition layoutTransition = new LayoutTransition()
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SearchPanelView.java 19 import android.animation.LayoutTransition;
216 final LayoutTransition transitioner = animate ? createLayoutTransitioner() : null;
294 private LayoutTransition createLayoutTransitioner() {
295 LayoutTransition transitioner = new LayoutTransition();
297 transitioner.setStartDelay(LayoutTransition.CHANGE_DISAPPEARING, 0);
298 transitioner.setAnimator(LayoutTransition.DISAPPEARING, null);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
NavigationBarView.java 19 import android.animation.LayoutTransition;
20 import android.animation.LayoutTransition.TransitionListener;
107 public void startTransition(LayoutTransition transition, ViewGroup container,
111 } else if (view.getId() == R.id.home && transitionType == LayoutTransition.APPEARING) {
120 public void endTransition(LayoutTransition transition, ViewGroup container,
124 } else if (view.getId() == R.id.home && transitionType == LayoutTransition.APPEARING) {
363 LayoutTransition lt = navButtons.getLayoutTransition();
370 LayoutTransition.CHANGE_APPEARING |
371 LayoutTransition.CHANGE_DISAPPEARING |
372 LayoutTransition.APPEARING
    [all...]
QuickSettingsContainerView.java 19 import android.animation.LayoutTransition;
51 LayoutTransition transitions = getLayoutTransition();
  /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
StopwatchFragment.java 3 import android.animation.LayoutTransition;
65 private LayoutTransition mLayoutTransition;
66 private LayoutTransition mCircleLayoutTransition;
357 mLayoutTransition = new LayoutTransition();
358 mCircleLayoutTransition = new LayoutTransition();
361 mCircleLayoutTransition.enableTransitionType(LayoutTransition.CHANGING);
362 mCircleLayoutTransition.disableTransitionType(LayoutTransition.APPEARING);
363 mCircleLayoutTransition.disableTransitionType(LayoutTransition.DISAPPEARING);
364 mCircleLayoutTransition.disableTransitionType(LayoutTransition.CHANGE_APPEARING);
365 mCircleLayoutTransition.disableTransitionType(LayoutTransition.CHANGE_DISAPPEARING)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsHorizontalScrollView.java 19 import android.animation.LayoutTransition;
97 LayoutTransition transitioner = getLayoutTransition();
314 LayoutTransition transition = mLinearLayout.getLayoutTransition();
327 LayoutTransition transition = mLinearLayout.getLayoutTransition();
367 public void setLayoutTransition(LayoutTransition transition) {
RecentsVerticalScrollView.java 19 import android.animation.LayoutTransition;
98 LayoutTransition transitioner = getLayoutTransition();
323 LayoutTransition transition = mLinearLayout.getLayoutTransition();
336 LayoutTransition transition = mLinearLayout.getLayoutTransition();
377 public void setLayoutTransition(LayoutTransition transition) {
RecentsPanelView.java 20 import android.animation.LayoutTransition;
387 final LayoutTransition transitioner = new LayoutTransition();
465 private void createCustomAnimations(LayoutTransition transitioner) {
467 transitioner.setStartDelay(LayoutTransition.CHANGE_DISAPPEARING, 0);
468 transitioner.setAnimator(LayoutTransition.DISAPPEARING, null);
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderSessionImpl.java 61 import android.animation.LayoutTransition;
62 import android.animation.LayoutTransition.TransitionListener;
721 parentView.setLayoutTransition(new LayoutTransition());
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NotificationRowLayout.java 19 import android.animation.LayoutTransition;
66 private LayoutTransition mRealLayoutTransition;
75 mRealLayoutTransition = new LayoutTransition();
  /frameworks/base/core/java/android/animation/
LayoutTransition.java 34 * transitions for a layout container, create a LayoutTransition object and set it on any
35 * ViewGroup by calling {@link ViewGroup#setLayoutTransition(LayoutTransition)}. This will cause
37 * custom animations, use the {@link LayoutTransition#setAnimator(int, Animator)
85 * Using LayoutTransition at multiple levels of a nested view hierarchy may not work due to the
88 * this utility, because the before/after locations calculated by LayoutTransition
95 public class LayoutTransition {
251 * These are the types of transition animations that the LayoutTransition is reacting
273 * Constructs a LayoutTransition object. By default, the object will listen to layout
277 public LayoutTransition() {
331 * Enables the specified transitionType for this LayoutTransition object
    [all...]
  /frameworks/base/core/java/android/view/
ViewOverlay.java 18 import android.animation.LayoutTransition;
174 // LayoutTransition will cause the child to delay removal - cancel it
175 parent.getLayoutTransition().cancel(LayoutTransition.DISAPPEARING);
ViewGroup.java 19 import android.animation.LayoutTransition;
443 private LayoutTransition mTransition;
543 setLayoutTransition(new LayoutTransition());
    [all...]
  /frameworks/base/core/java/android/app/
FragmentBreadCrumbs.java 19 import android.animation.LayoutTransition;
112 setLayoutTransition(new LayoutTransition());