3104d446bcf3da9ffb7a761fd30f0506c30f0cc9 |
|
21-Nov-2016 |
Chris Craik <ccraik@google.com> |
Make RecyclerView prefetch APIs public Bug: 27106058 Test: @SmallTests still pass Change-Id: I086b17fb8ba8164a680d03a5b6255670334784a5
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
1e0a453dff8d7bb7a966d006541454c770d1ed05 |
|
25-Oct-2016 |
Chris Craik <ccraik@google.com> |
Nested RecyclerView Prefetch Bug: 27106058 Fixes: 32343355 Test: tests added, existing @SmallTests pass - Stash RecyclerView if found within ViewHolder - Prefetch nested LinearLayout content based on anchor - Avoid double query of Display#getRefreshRate() - Avoid dispatching recycled callbacks for unbound holders - Reorganized State members based on lifecycle. Change-Id: I51701576d8f5985e3cab7b684694c50bf03ef280
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
945dc1e8a9ee0b71e6b2454ccb3e61145d2132f5 |
|
30-Sep-2016 |
Chris Craik <ccraik@google.com> |
Improve LayoutManager prefetch API Bug: 27106058 Test: new prefetch test for SGLM, existing caching tests still pass Additionally, refactors prefetch logic to separate view specific work from general GapWorker behavior. Change-Id: I2b98ec689eef606cee7eb3cada92957a0641babd
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
3876bebeea440474dfecf34e7a759d265bf67e0e |
|
28-Sep-2016 |
Aga Madurska <amad@google.com> |
Resolve merge conflicts of 571fe86 to master Test: Merge conflict resolution. CL adds tests. Change-Id: Ib4a18c02761273cde62de57b1a959da2d37d803d
|
3911e1c2d38e301d5ffbdf11f808fdc593dd83e9 |
|
09-Sep-2016 |
Aga Madurska <amad@google.com> |
Add tests for edge view to the LinearLayoutManagerSnappingTest Also, stabilize the Linear- and GridLayoutManagerSnappingTest as they seemed to have a flaky setup. Bug:31399980 Change-Id:If7780a5cc863a53cf4df946d186dfd5ae28274cc
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
210acb1081c292500390aaeb7a3eba249933dd9f |
|
20-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Update RecyclerView parameterised test names not to have spaces. Spaces cause issues with the test runner. Remove the spaces as we have , to separate different parameters. Test: ./gradlew assembleAndroidTest still builds Change-Id: I9e5aca7f8511f4f28374017a34fca2cd7e672c7e
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
ec4b5429886bfe93707a85823cf40de107bd9dc6 |
|
16-Aug-2016 |
Chris Craik <ccraik@google.com> |
RecyclerView item prefetching bug:27106058 If item inflation or binding are expensive, having them block the production of a frame can lead to jank/stuttering as frames with such work fail to meet rendering deadlines. RecyclerView will now query LayoutManagers for views in advance of them coming onscreen during scrolls and flings. These views are prefetched into the Recycler cache during the UI thread's idle time between handing a frame off to RenderThread, and the start of the next frame. Change-Id: If3e485231243c188efd4cf3e512b9e8e13a50d47
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
c587f7dba5a337169e854e235da59f595255d6cc |
|
20-Jun-2016 |
Aga Madurska <amad@google.com> |
Add an OnFlingListener to the RecyclerView. This enable custom fling implementations and is used to implement expose a snapping API to developers. Bug: 28169210 Change-Id: I09ffcab384eb69338df1fcc5f8d1d2a0d1191a57
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
66826566020afc8d11f183cf3fe443ac0a022384 |
|
05-Apr-2016 |
Yigit Boyar <yboyar@google.com> |
Test stability improvements * Fix wait for layout's idle wait to ensure RV's layout is complete * Made main thread exception private to have more strict control around its usage Change-Id: I40d414538c16459400fe6460a638848de9ee5597
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|
4143554adb9b31b700b6876a251a64419e6111e2 |
|
10-Dec-2015 |
Yigit Boyar <yboyar@google.com> |
RecyclerView Automatic WRAP_CONTENT support This CL adds support for wrapping content for RecyclerView while supporting predictive animations. It is an opt-in API which is off by default because these changes will change the callback flow, especially will start calling LayoutManager#onLayout when RecyclerView#onMeasure is called. See LayoutManager#setAutoMeasureEnabled for API details. All built in LayoutManagers support WRAP_CONTENT using this new mechanishm. Bug: 22508392 Change-Id: I6e010f8807e9d2fa379dd52493b2d8340b8c65de
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseGridLayoutManagerTest.java
|