4510b5c24adad2b94df9b84c6b73f5534ffe9b57 |
|
06-Apr-2016 |
Yigit Boyar <yboyar@google.com> |
Do not recycle visible views This CL adds a new API to the LayoutManager where the LayoutManager can get the bounds of a View while taking into account its transformation matrix. This API is mainly useful for recycle decision. I've also changed built in layout managers to respect this value in addition to layout position of the view. Bug: 26402811 Change-Id: If75072c73d3374bfac0439d7714714c82684096a
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerBaseConfigSetTest.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/LinearLayoutManagerBaseConfigSetTest.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/LinearLayoutManagerBaseConfigSetTest.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/LinearLayoutManagerBaseConfigSetTest.java
|