History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerWrapContentTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f3844451301cb14ca885e125cb27f108a834c386 16-Mar-2016 Yigit Boyar <yboyar@google.com> Handle hint in unspecified specs

On M+, the parent can pass a hint size with unspecified specs.
Previously, our LayoutManagers ignored this because it might
be garbage on older platforms.

With this CL, RV ensures that it is 0 on older platforms and
the value parent provided in newer ones. This way, RV can
know when to stop based on the hint but still ask for what
it needs (so that it is not treated as AT_MOST).

Bug: 27608240
Change-Id: I2d452731c7251b0ee1f35b9a0694c78381cdf39f
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerWrapContentTest.java
6b6a29eea7f6a212447b3cc7b45a081b609ca4b1 29-Jan-2016 Yigit Boyar <yboyar@google.com> Handle padding in wrap content

This CL fixes a bug in GridLayoutManager and StaggeredGridLM where
they were ignoring padding in non-scroll direction when calculating
the content wrapping. This would eventually cause clipped children.

I've also fixed some code-style errors.

Change-Id: I7dca4a30007596ae52bf367e5f7af9a10e387954
Bug: 26769843
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerWrapContentTest.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/LinearLayoutManagerWrapContentTest.java