Searched refs:ItemAnimator (Results 1 - 21 of 21) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DViewInfoStore.java61 void addToPreLayout(RecyclerView.ViewHolder holder, RecyclerView.ItemAnimator.ItemHolderInfo info) {
83 RecyclerView.ItemAnimator.ItemHolderInfo popFromPreLayout(RecyclerView.ViewHolder vh) {
94 RecyclerView.ItemAnimator.ItemHolderInfo popFromPostLayout(RecyclerView.ViewHolder vh) {
98 private RecyclerView.ItemAnimator.ItemHolderInfo popFromLayoutStep(RecyclerView.ViewHolder vh, int flag) {
106 final RecyclerView.ItemAnimator.ItemHolderInfo info;
136 * already in the pre-layout so that ItemAnimator can choose to run a different animation for
142 void addToAppearedInPreLayoutHolders(RecyclerView.ViewHolder holder, RecyclerView.ItemAnimator.ItemHolderInfo info) {
179 void addToPostLayout(RecyclerView.ViewHolder holder, RecyclerView.ItemAnimator.ItemHolderInfo info) {
279 void processDisappeared(RecyclerView.ViewHolder viewHolder, @NonNull RecyclerView.ItemAnimator.ItemHolderInfo preInfo,
280 @Nullable RecyclerView.ItemAnimator
[all...]
H A DSimpleItemAnimator.java26 * A wrapper class for ItemAnimator that records View bounds and decides whether it should run
27 * move, change, add or remove animations. This class also replicates the original ItemAnimator
30 * It uses {@link RecyclerView.ItemAnimator.ItemHolderInfo} to track the bounds information of the Views. If you would like
33 * class that extends {@link RecyclerView.ItemAnimator.ItemHolderInfo}.
35 public abstract class SimpleItemAnimator extends RecyclerView.ItemAnimator {
44 * Returns whether this ItemAnimator supports animations of change events.
54 * Sets whether this ItemAnimator supports animations of item change events.
57 * up to the discretion of the ItemAnimator subclass, in its
62 * this ItemAnimator, false otherwise. If the property is false,
63 * the ItemAnimator
[all...]
H A DRecyclerView.java81 import androidx.recyclerview.widget.RecyclerView.ItemAnimator.ItemHolderInfo;
299 * prevent recycling or ItemAnimator not implementing the contract properly. ({@link
451 ItemAnimator mItemAnimator = new DefaultItemAnimator();
510 private ItemAnimator.ItemAnimatorListener mItemAnimatorListener =
2141 * Note: Running ItemAnimator is not stopped automatically, it's caller's
2142 * responsibility to call ItemAnimator.end().
3376 * Sets the {@link ItemAnimator} that will handle animations involving changes
3379 * enabled for the RecyclerView depends on the ItemAnimator and whether
3383 * @param animator The ItemAnimator being set. If null, no animations will occur
3386 public void setItemAnimator(@Nullable ItemAnimator animato
12437 public abstract static class ItemAnimator { class in class:RecyclerView
[all...]
H A DItemTouchHelper.java240 * Using framework animators has the side effect of clashing with ItemAnimator, creating
697 final RecyclerView.ItemAnimator animator = mRecyclerView.getItemAnimator();
2094 * Default implementation uses ItemAnimator's duration values. If
2096 * {@link RecyclerView.ItemAnimator#getMoveDuration()}, otherwise, it returns
2097 * {@link RecyclerView.ItemAnimator#getRemoveDuration()}. If RecyclerView does not have
2098 * any {@link RecyclerView.ItemAnimator} attached, this method returns
2113 final RecyclerView.ItemAnimator itemAnimator = recyclerView.getItemAnimator();
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DWrappedRecyclerView.java87 new ItemAnimator.ItemAnimatorFinishedListener() {
H A DItemAnimatorV2ApiTest.java18 import static androidx.recyclerview.widget.RecyclerView.ItemAnimator.FLAG_CHANGED;
19 import static androidx.recyclerview.widget.RecyclerView.ItemAnimator.FLAG_MOVED;
20 import static androidx.recyclerview.widget.RecyclerView.ItemAnimator.FLAG_REMOVED;
55 protected RecyclerView.ItemAnimator createItemAnimator() {
595 class LoggingV2Animator extends RecyclerView.ItemAnimator {
H A DBaseRecyclerViewAnimationsTest.java94 protected RecyclerView.ItemAnimator createItemAnimator() {
629 static class LoggingInfo extends RecyclerView.ItemAnimator.ItemHolderInfo {
631 @RecyclerView.ItemAnimator.AdapterChanges
H A DBaseLinearLayoutManagerTest.java526 RecyclerView.ItemAnimator itemAnimator = mRecyclerView.getItemAnimator();
532 new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() {
H A DBaseRecyclerViewInstrumentationTest.java285 .isRunning(new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() {
H A DRecyclerViewCacheTest.java675 RecyclerView.ItemAnimator itemAnimator = mRecyclerView.getItemAnimator();
H A DRecyclerViewAnimationsTest.java497 protected RecyclerView.ItemAnimator createItemAnimator() {
H A DRecyclerViewLayoutTest.java2375 new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() {
2411 new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() {
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DViewInfoStoreTest.java37 import androidx.recyclerview.widget.RecyclerView.ItemAnimator.ItemHolderInfo;
136 RecyclerView.ItemAnimator.ItemHolderInfo info = new MockInfo();
249 static class MockInfo extends RecyclerView.ItemAnimator.ItemHolderInfo {
265 private RecyclerView.ItemAnimator.ItemHolderInfo find(RecyclerView.ViewHolder viewHolder,
/frameworks/base/core/java/com/android/internal/widget/
H A DSimpleItemAnimator.java28 * A wrapper class for ItemAnimator that records View bounds and decides whether it should run
29 * move, change, add or remove animations. This class also replicates the original ItemAnimator
37 public abstract class SimpleItemAnimator extends RecyclerView.ItemAnimator {
46 * Returns whether this ItemAnimator supports animations of change events.
56 * Sets whether this ItemAnimator supports animations of item change events.
59 * up to the discretion of the ItemAnimator subclass, in its
64 * this ItemAnimator, false otherwise. If the property is false,
65 * the ItemAnimator
172 * ItemAnimator's {@link #runPendingAnimations()} method should be called at the
173 * next opportunity. This mechanism allows ItemAnimator t
[all...]
H A DViewInfoStore.java25 import static com.android.internal.widget.RecyclerView.ItemAnimator.ItemHolderInfo;
141 * already in the pre-layout so that ItemAnimator can choose to run a different animation for
H A DRecyclerView.java60 import com.android.internal.widget.RecyclerView.ItemAnimator.ItemHolderInfo;
263 * prevent recycling or ItemAnimator not implementing the contract properly. ({@link
392 ItemAnimator mItemAnimator = new DefaultItemAnimator();
448 private ItemAnimator.ItemAnimatorListener mItemAnimatorListener =
1901 * Note: Running ItemAnimator is not stopped automatically, it's caller's
1902 * responsibility to call ItemAnimator.end().
3048 * Sets the {@link ItemAnimator} that will handle animations involving changes
3051 * enabled for the RecyclerView depends on the ItemAnimator and whether
3055 * @param animator The ItemAnimator being set. If null, no animations will occur
3058 public void setItemAnimator(ItemAnimator animato
11486 public abstract static class ItemAnimator { class in class:RecyclerView
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DBaseGridView.java203 private RecyclerView.ItemAnimator mSavedItemAnimator;
801 * Sets whether ItemAnimator should run when a child changes size or when adding
803 * @param animateChildLayout True to enable ItemAnimator, false to disable.
820 * @return True if ItemAnimator is enabled, false otherwise.
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java55 RecyclerView.ItemAnimator mCachedAnimator = null;
112 private RecyclerView.ItemAnimator createAnimator() {
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DAnimatedRecyclerView.java55 RecyclerView.ItemAnimator mCachedAnimator = null;
112 private RecyclerView.ItemAnimator createAnimator() {
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java236 * Using framework animators has the side effect of clashing with ItemAnimator, creating
674 final RecyclerView.ItemAnimator animator = mRecyclerView.getItemAnimator();
2061 * Default implementation uses ItemAnimator's duration values. If
2063 * {@link RecyclerView.ItemAnimator#getMoveDuration()}, otherwise, it returns
2064 * {@link RecyclerView.ItemAnimator#getRemoveDuration()}. If RecyclerView does not have
2065 * any {@link RecyclerView.ItemAnimator} attached, this method returns
2079 final RecyclerView.ItemAnimator itemAnimator = recyclerView.getItemAnimator();
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetTest.java450 * To wait the ItemAnimator start, you can use waitForLayout() to make sure layout pass has
454 final RecyclerView.ItemAnimator.ItemAnimatorFinishedListener listener = mock(
455 RecyclerView.ItemAnimator.ItemAnimatorFinishedListener.class);
483 * Run task in UI thread and wait for layout and ItemAnimator finishes.

Completed in 149 milliseconds