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/TestActivity.java
|
959f4c0fac89425a8a9842e82fc180ec736fffac |
|
11-Mar-2016 |
Yigit Boyar <yboyar@google.com> |
Make RecyclerView tests faster and less flaky This CL makes a bunch improvements in RecyclerView tests. * Change requestFocus helper to wait for smooth scroller (flakiness) * Disable activity launch animation (perf) * Make sure SavedState tests uses same items on restore (flakiness) * Better step calculation in TouchUtils (perf) * Replace scroller to add a listener instead of busy waits (perf & flakiness) * Re-use the same TestActivity between tests. (perf) * This seems very dangerious but given that we have many short running tests, it greatly improves the performance. Change-Id: Id17e5b581c690816e82726bcabfd4899d13b6403
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
|
320463c1cf5f8e50cce340df195b60835fe23002 |
|
11-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Set activity enter and exit transitions to be no animation. This should speed up our tests as we spend a significant amount of time opening and closing activities. Bug: 27116907 Change-Id: I1bdb0530100abe8c4e8ae217e873b35e4332e79d
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
|
f129f1b050d2542a91fe8175eac30183beb07b41 |
|
20-Apr-2015 |
Chris Banes <chrisbanes@google.com> |
Nested Scrolling support for RecyclerView Also fixed annotation for ViewCompat's overscroll BUG: 20334660 Change-Id: Iafa2f52f63d9aa9d5c8ce10b5e8bf108c1407a12
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
|
4ef064e4d8dd8e835d878bf0c0358dff60e46733 |
|
30-Jan-2015 |
Yigit Boyar <yboyar@google.com> |
Merge "Widen the scope of ViewHolder#getAdapterPosition" into lmp-mr1-ub-dev
|
619ac016831a5ad75c2e0921c9036b6f030a9e63 |
|
29-Jan-2015 |
Yigit Boyar <yboyar@google.com> |
Widen the scope of ViewHolder#getAdapterPosition getAdapterPosition in ViewHolder needs to access RecyclerView to get the up to date position. This does not work if developer wants to access adapter position in onViewDetached/Recycled callbacks. This CL adds a reference from ViewHolder to the RecyclerView for the duration it is controlled by the RecyclerView (right before binding from the adapter till it is passed to the RecycledViewPool). Bug: 18960075 Change-Id: I4e310aff14f827f6289caaf2b94e61288ed3fb1a
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
|
1a2a95faea3d32075b8506f13f6d6f8292db51b6 |
|
29-Jan-2015 |
Yigit Boyar <yboyar@google.com> |
Ignore hidden views for adapter helper When adapter helper processes updates, it is important for it whether a View is already in the UI or not. When we run that check, we would usually check hidden views as well. This becomes an issue if hidden view is not up to date because it will be recycled while trying to re-use it in pre-layout. (end animation callback will recycle it because it is not up to date) This CL changes AdapterHelper to ignore hidden views so that they can continue their animation and LM will animate the rest. Bug: 19170543 Change-Id: Ic26efd4e2a215481415131715625d785edc4f6ef
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.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/tests/src/android/support/v7/widget/TestActivity.java
|
bde2d5e79f929ce8c54de29c8389695b4d4e9c25 |
|
15-May-2014 |
Chet Haase <chet@google.com> |
Revert "Remove adapter access from layout manager" This reverts commit 15a9db9177a871c7b1cd65b8923beac1b9b75174. Change-Id: Ia80ac4f093c49145a6a2c09d1ea4f9102b195f40
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
|
15a9db9177a871c7b1cd65b8923beac1b9b75174 |
|
06-May-2014 |
Yigit Boyar <yboyar@google.com> |
Remove adapter access from layout manager Change-Id: I33a48528e3290fa78aaa67237f3b098e010e09d9
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestActivity.java
|