History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e2104f4b5c8e3ad63570306a25e61502dfe4c418 05-Mar-2017 Aurimas Liutikas <aurimas@google.com> Add all missing @Override annotations.

Historically, we could not add @Override for certain methods due to
using older SDKs to build support library. That is no longer the case
so we can add @Override everywhere now.

Test: ./gradlew assemble assembleAndroidTest still works
Change-Id: I85e3c1157f0e253e3eab7584189f3bf95cf030e9
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
35232c6eaeb9b99f390cb8ef0ac83bf45fa0b3fa 01-Feb-2017 Aurimas Liutikas <aurimas@google.com> Update test sizes for all currently @SmallTest.

SmallTests are supposed to complete in <200ms, Medium in <1s, and Large in <30s.
This CL updates the size of all the SmallTest based on excecution times from
presubmit test runners.

Test: None
Bug: 34854821
Change-Id: Iec73f7b6ef63b27cd3d8b19a8e8c7a9b91ff6729
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
42e7d6fafcde7bfe261dd7d8d75ee53ca0cd6790 28-Sep-2016 Aurimas Liutikas <aurimas@google.com> Replace usage of Instrumentation#runOnMainSync with ActivityTestRule#runOnUiThread.

ActivityTestRule#runOnUiThread handles exceptions correctly and thus should be used
in place of Instrumentation#runOnMainSync. This changes most of these use-cases
except for tricky cases.

Bug: 31801302
Test: ran support-design:connectedCheck and support-appcompat:connectedCheck
Change-Id: I70904aef89e6bbc2a3cff1b3be697258d666e316
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
754cb29c50f09a83251dd4bb633ba445b2411adb 27-Sep-2016 Aurimas Liutikas <aurimas@google.com> Switch from deprecated size annotations to new ones.

Switching from android.test.suitebuilder.annotation.*Test
to android.support.test.filters.*Test.

Bug: 30074170
Test: manual - ran small appcompat tests, they still run and pass
Change-Id: Idce58b988c8e1a809f7f5fae67e0e235159d9fc5
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
e54c4f143c6bca9e3fc7184119ca40f2742804ff 18-Aug-2016 Yigit Boyar <yboyar@google.com> Remove main thread assertion from test

Bug: 30229849
Change-Id: I09d25bebf28f45423320e79d1ba2ad49a327bdb0
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
a90fb62f06861beb3af9f9b3356ef0bb0685547c 12-Apr-2016 Yigit Boyar <yboyar@google.com> Don't invalidate layout on detach

This CL fixes a bug in RV where it was always expecting an onLayout
call after it is detached which may not be the case if the RV's
parent is detached-attached.

With this change, RecyclerView will only clear firstLayout flag if
a layout is already requested.

I've also changed SGLM to request layout on onDetach since it
releases View references.

Bug: 27229764
Change-Id: I8d7b2c9bc2b3e24eaa66253153ffa0c960f81bc6
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
0a017072206f93474ccd2706e7983c2ff778b904 07-Jan-2016 Yigit Boyar <yboyar@google.com> Move all RecyclerView tests to Junit4

This CL moves all RecyclerView tests to Junit4 and uses
the new ActivityTestRule instead of ActivityInstrumentationTest.

Bug: 24494874
Change-Id: I049d8b1ac7869a6af13a3ee7905d6dd1f6eb418b
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
f1b288ec2104488f4a92e911b0ab80c8f0f3e9d1 28-Dec-2015 Yigit Boyar <yboyar@google.com> Add test size annotations to RecyclerView Tests

Bug: 24494874
Change-Id: I0e7606d1c55017dc17467155372b708a0b1ea36d
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
abea494886a17e7a51080ab5e9c2ca041c533353 09-Dec-2015 Yigit Boyar <yboyar@google.com> Pass list of payloads to Animator#canReUse

This CL adds the payloads as a parameter to the canReUse API.
Turns out it was desired so that custom ItemAnimators can select
between specific animation or the default behavior of cross-fading.

To be consistent with adapter API, the previous method is not
deprecated.

Bug: 25904129
Change-Id: I97c69aef15268bf0960f8ca7ffff773a4a977192
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
121ba9616e5bed44d2490f1744f7b6a9d3e79866 30-Aug-2015 Yigit Boyar <yboyar@google.com> RecyclerView Animation API V2

This CL introduces a new Animation for RecyclerView that
gives more responsibility and power to the ItemAnimator.

It is backward incompatible but there is a new SimpleItemAnimator
that mimics the old API for easy transition.

The main goal for this API change is to enable better change
animations. This change will enable ItemAnimator to easily animate
contents of ViewHolders.

Bug: 22507896
Change-Id: I4d9a6b92ff5c27691b277a777da77116476b1cd3
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java
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/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.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/tests/src/android/support/v7/widget/DefaultItemAnimatorTest.java