History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestedFrameLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
76daed103193a1756535d1f59b165e98e1d17445 13-Dec-2016 Chris Banes <chrisbanes@google.com> Nested scrolling++

This CL adds a number of overloads for the support
implementation of the nested scrolling APIs, to
add the 'type' parameter. This allow developers to
differentiate between direct touch scrolls, and
other non-direct scrolls. Primarily this is to support
dispatching the nested scrolling APIs from when a
scrolling view settles from a fling.

NestedScrollView and RecyclerView have both been updated
to dispatch these events from a fling settle. AppBarLayout
has also been updated to consume these new events.

The way the interfaces have been implemented allow us to
be API compatible without breaking anyone. Yes, the names
are fugly but so be it. If developers wish to support the
new APIs they just need to change the interface they
implement.

This CL also fixes some scroll issues in NSV and RV:
- NSV: fling not starting if scroll is completely
consumed (since it doesn't think it is dragging).
- RV: intercept setting the wrong X/Y start values
sometimes causing flinging in the wrong direction.

BUG: 22780822
Test: included for RV

Change-Id: I37de005e4fb33b5b443852058f3e1ab22ef98e20
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestedFrameLayout.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/TestedFrameLayout.java
1e512760b1db986c428c7305476c50065c1d1eb0 20-Jul-2015 Yigit Boyar <yboyar@google.com> Don't reset modes when nested scrolling stops

Bug: 20857006
Change-Id: I67bf13442674006cdd116068c2c55e3c439bd860
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestedFrameLayout.java
d4c72f08279df548fbc4d556fe1a8b3500fafdbc 15-Jun-2015 Chris Banes <chrisbanes@google.com> Allow vertical dragging of AppBarLayout

Also fixed onStopNestedScroll() not being called
from NestedScrollView and RecyclerView

BUG: 21843568
BUG: 20679299

Change-Id: I1b19d7cae2db403ede30fc9116ea05aace586b3b
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/TestedFrameLayout.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/TestedFrameLayout.java