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/BaseLinearLayoutManagerTest.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/BaseLinearLayoutManagerTest.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/BaseLinearLayoutManagerTest.java
|
e12dfa03641ad9cf0ddf272675bbe7d1198adbfd |
|
11-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Stop using a several deprecated methods/constants. - Swap FILL_PARENT with MATCH_PARENT - Stop using ViewCompat#getOverScrollMode and related constants - Clean up some unused import statements. Bug: 30074170 Change-Id: Iaafd5415ee69181cc900a7fa971cdd6f5a20c6ce
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseLinearLayoutManagerTest.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/BaseLinearLayoutManagerTest.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/BaseLinearLayoutManagerTest.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/BaseLinearLayoutManagerTest.java
|
999c3976674d20b0de5425490bdfe7415b9c6af2 |
|
30-Dec-2015 |
Yigit Boyar <yboyar@google.com> |
Divide LinearLayoutManager tests LLM has many tests that test different configuration variations. For instance, for saved state, it tests around 600 configuration variations. Running all of these in a single test call makes test runner very unhappy. This CL moves such methods into separate parameterized test classes. It also updates testing dependencies to get these new features. If this works well with test runners, I'll divide other layout manager tests as well. The only downside is that tests run a lot slower due to new activiy creation for each but it is definitelly better given the isolation benefit. Bug: 24494874 Change-Id: I0e9a5baba2ff8e3aedc5868a89db86499a98c7ae
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/BaseLinearLayoutManagerTest.java
|