History log of /frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9457c0c167cca5aafe971fb2eb75f4a43c07ec05 01-Nov-2014 Yigit Boyar <yboyar@google.com> Fix default item animator to end animations properly

This change also adds more test cases to avoid similar issues.

Bug: 18182313
Change-Id: I7b6e965ad0f70033d0e685d41238d9225372d143
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
90ca3086dbf66ad6bb8840e46ec8524a705e1c18 03-Oct-2014 Yigit Boyar <yboyar@google.com> Fix RV's onViewAttached/detached callbacks

This change also fixes a bug in DefaultItemAnimator.

Bug: 17599182
Bug: 17881182
Change-Id: I4adadeb5d2d7d5aaef0f253eac52d2624de73d5e
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
549bbdfca3cffe64fd3ef69723a54037df326689 10-Sep-2014 Chet Haase <chet@google.com> Account for change duration in RecyclerView add animation delay

Issue #17455520 DefaultItemAnimator add animation start delay should depend on changesPending

Change-Id: I2ba81373797da88647fabe2ef7a6602687a59ec0
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
07715e8dcfa3e9fcd6c3e7727f61ca41b50e5763 02-Sep-2014 Dake Gu <dake@google.com> Recyclerview: fix overflow stack in animation

Remove view property listener before dispatch events.

b/17333832

Change-Id: I2452564bae5fc676cf9b70f96a484904d1dd0ccd
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
047e1151b1ce6965f5578eac83ee1ac3cf524ba7 13-Aug-2014 Yigit Boyar <yboyar@google.com> Check all pending animation groups in DefaultItemAnimator#isRunning

I also added a test case class for DefaultItemAnimator

Bug: 16958409
Change-Id: Id410890d146afeb953e934358e9c2ba12c14bc07
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
0e0bfdb790fd9477e3531a1db92c3377057f83b7 05-Aug-2014 Chet Haase <chet@google.com> Use unique lists to hold new animations spawned

Previously all new move/change/add animations would be placed on a global
list to avoid starting. That meant that a later request for unrelated animations
would populate the same lists and would thus potentially start at the wrong
time (coincident with the original animations instead of with the new
animation requirements).

This change changes the list instances to be lists-of-lists. When animation runnables
are first created, new lists are created and populated and then these new lists are
added to the list-of-list instances. Then the later runnables will act only on the
unique list associated with the proper animation event. Meanwhile, there is still global
access to all animations in case any of the animations need to get canceled.

Issue #16550053 DefaultItemAnimator should run unique animation lists

Change-Id: I87206da608eb4205405d9b99879c38d018ad6feb
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
e321eb5c831282c92a28a483692d8520b766a0a5 04-Aug-2014 Chet Haase <chet@google.com> Add methods to ItemAnimator for listening to animation events

Subclasses of itemAnimator can now override new on*Starting() and on*Finished()
methods to find out when animations are starting on specific ViewHolder
objects.

Issue #16399347 Add to ItemAnimator onAddFinished, onRemoveFinished, and onMoveFinished

Change-Id: Id9b47e3f743d5cb53f261a4db58cfdf4ed911005
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
a29fe6d4967a704799dc83d35ba80e426e9512cf 24-Jul-2014 Yigit Boyar <yboyar@google.com> Add support for parellel move and change animations

If an item moves during a change animations, now it is also animated to the new location.

We still dont support moving a changed item while it has a shadow. Right now, changed item
jumps to final state while shadow is still fading out.

Change-Id: Id73becbc6832b921a8b11c4999f3da0435e26680
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
e3d27c97eb0769997cd9d73baabffff70551efe0 18-Jul-2014 Yigit Boyar <yboyar@google.com> Invalidate RecyclerView during animations

Bug: 16241985
Change-Id: Icac7f6d035095f2937a2628fa59af056ba6aa478
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
504c54ea52c1b2aae6f8f4ae128f1dcaac7e3f6a 13-Jul-2014 Yigit Boyar <yboyar@google.com> Support animations during multiple layout calls

This CL also fixes two bugs related to view recycling
* we were moving views to cached view list w/o checking if they are recycleable or not
* AdapterHelper had a bug where it was checking missing views via < -1 instead of == -1

Change-Id: I7d70c1b884c3af046ba78924c9a966f83cda99f0
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
235114f0ea0ae165e74a478f39bfc586392c53aa 09-Jul-2014 Chet Haase <chet@google.com> Add RecyclerView animations for change actions

Issue #15691746 RecyclerView item animations for changed/resizing item views

Change-Id: Iacfda5b2508b20c8de3ea5ec9547e0f4d527d05e
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
ec93520d243d3eb3c6cddeaea7908d1b869bf367 14-Jun-2014 Dake Gu <dake@google.com> RecyclerView: fix animation not ended properly

1. DefaultItemAnimator should also end animations of mAdditions
and mMoves list.

2. setItemAnimator() should end animations.

b/15622617

Change-Id: I97f8427b2f0c9182c8b5088d6720b71dd14faf4d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
c35968d173f900d8024bdf38174e2225c9a7f311 28-May-2014 Chet Haase <chet@google.com> Enable simple automatic item animations for RecyclerView

RecyclerView now has automatic animations for add/remove operations requiring
no changes from LayoutManagers. This approach, which is enabled by RecyclerView
having a non-null ItemAnimator (the default behavior) and LayoutManager returning
false for supportsPredictiveItemAnimations() (the default behavior), enables
LayoutManagers to run normally, with only one layout pass and requiring no extra
logic to predict placement of appearing or disappearing items. Appearing
and disappearing items will simply be faded in/out, since the RecyclerView lacks
the knowledge or where to animate the views from/to.

Issue #15542012 Simplify RecyclerView animations

Change-Id: I6219210c9b0ca32535182c1d233076a355fe0671
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
93b78dd7cbfafbe669e124b38a8e3ccb38ad3079 07-Jun-2014 Dake Gu <dake@google.com> fix animation bug

b/15472737

Change-Id: Ibd1da9bc35aaff66eb90c3726f3b70bdd64e832d
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
d7d27e9ebe5c7325e67e1a8af265378bd2056cad 28-Feb-2014 Chet Haase <chet@google.com> Add animations to RecyclerView

This CL adds the basic plumbing for animating item changes in
RecyclerView. It also implements the bare essentials add/delete
animations. When the app specifies that items have been
added/removed (by calling the appropriate Adapter methods), the
RecyclerView will determine the appropriate fading and moving
animations to animate the items being added, removed, and moved
into new locations.

Change-Id: I4fa8686f54c8bfa2ba29c399eea112d33f71689c
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
b1bfdf4c03d1b25959c5818805b997020f7ed085 15-May-2014 Chet Haase <chet@google.com> Revert "Add animations to RecyclerView"

This reverts commit 33b18903168c177d65e3c2ef7398c1b2ca0c826f.

Change-Id: I41664a375f9fc5fa878481b90cd2e61aad17f739
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java
33b18903168c177d65e3c2ef7398c1b2ca0c826f 28-Feb-2014 Chet Haase <chet@google.com> Add animations to RecyclerView

This CL adds the basic plumbing for animating item changes in
RecyclerView. It also implements the bare essentials add/delete
animations. When the app specifies that items have been
added/removed (by calling the appropriate Adapter methods), the
RecyclerView will determine the appropriate fading and moving
animations to animate the items being added, removed, and moved
into new locations.

Change-Id: If70c09e7af168ce5963c785b5886a18c87a7dc98
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/DefaultItemAnimator.java