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/core-ui/java/android/support/v4/view/NestedScrollingParentHelper.java
|
c9a859537b0871f84afeeb706a5b425fe3f2b4dd |
|
25-May-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix a random assortment of spelling errors. Fix spelling errors found by Android Studio. Change-Id: I121c79029f4e323da4ff2f44891e25480c44ebbc
/frameworks/support/core-ui/java/android/support/v4/view/NestedScrollingParentHelper.java
|
ff22d81f6561f6cdd2a91eb63238c41079927a22 |
|
12-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Extracting fragments and widgets into their own modules. Also rename core to core-utils. Change-Id: Icef764d01bc49cd4d04ac4ce47faadda983f4c48
/frameworks/support/core-ui/java/android/support/v4/view/NestedScrollingParentHelper.java
|