/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | ViewInfoStore.java | 61 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 D | SimpleItemAnimator.java | 26 * 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 D | RecyclerView.java | 81 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 D | ItemTouchHelper.java | 240 * 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 D | WrappedRecyclerView.java | 87 new ItemAnimator.ItemAnimatorFinishedListener() {
|
H A D | ItemAnimatorV2ApiTest.java | 18 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 D | BaseRecyclerViewAnimationsTest.java | 94 protected RecyclerView.ItemAnimator createItemAnimator() { 629 static class LoggingInfo extends RecyclerView.ItemAnimator.ItemHolderInfo { 631 @RecyclerView.ItemAnimator.AdapterChanges
|
H A D | BaseLinearLayoutManagerTest.java | 526 RecyclerView.ItemAnimator itemAnimator = mRecyclerView.getItemAnimator(); 532 new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() {
|
H A D | BaseRecyclerViewInstrumentationTest.java | 285 .isRunning(new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() {
|
H A D | RecyclerViewCacheTest.java | 675 RecyclerView.ItemAnimator itemAnimator = mRecyclerView.getItemAnimator();
|
H A D | RecyclerViewAnimationsTest.java | 497 protected RecyclerView.ItemAnimator createItemAnimator() {
|
H A D | RecyclerViewLayoutTest.java | 2375 new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() { 2411 new RecyclerView.ItemAnimator.ItemAnimatorFinishedListener() {
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
H A D | ViewInfoStoreTest.java | 37 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 D | SimpleItemAnimator.java | 28 * 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 D | ViewInfoStore.java | 25 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 D | RecyclerView.java | 60 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 D | BaseGridView.java | 203 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 D | AnimatedRecyclerView.java | 55 RecyclerView.ItemAnimator mCachedAnimator = null; 112 private RecyclerView.ItemAnimator createAnimator() {
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | AnimatedRecyclerView.java | 55 RecyclerView.ItemAnimator mCachedAnimator = null; 112 private RecyclerView.ItemAnimator createAnimator() {
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchHelper.java | 236 * 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 D | GridWidgetTest.java | 450 * 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.
|