929f27aab7ac7231f3734c988d5ee7201627d535 |
|
20-Apr-2016 |
Alan Viverette <alanv@google.com> |
Update attr refs for unbundling No longer relies on framework-private android.R.styleable fields. Bug: 28124434 Change-Id: Ib2b11d5be949b7243964ada63fba7cd7ec25315b
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
d344e81ad956ec445038f5ba2ca2ebd1831b1f8a |
|
06-Apr-2016 |
Alan Viverette <alanv@google.com> |
NestedScrollView should call super.onAttachedToWindow() Bug: 27595887 Change-Id: I0ed573d8f334b78826fc620ad9e000a0329b5f0f
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
d370f75e50bf31d348d4e424ba8477ac77635f70 |
|
21-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Re-dispatch nested scrolls in NestedScrollView Currently NestedScrollView just swallows them which doesn't work very well for things for like AppBarLayout. This CL fixes it by re-dispatching them up the tree. BUG: 27611756 Change-Id: Ia921616634527ec5d311f30897f2bf3cee9756fa
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
bb58a82daf11bf3c056d1cd5887aa26435d37b69 |
|
16-Mar-2016 |
Aurimas Liutikas <aurimas@google.com> |
Check for saved state type in onRestoreInstanceState. Add instanceof check in onRestoreInstanceState calls throughout frameworks/support code. Bug: 27589237 Change-Id: Id9db70de03979379ca9d98bb8599ac9fa2b46218
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
c5847d13e40f5d52459f5c0dab32dc08f1a9a683 |
|
29-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Tidy up support-v4 shim APIs Make shim classes final with private constructors BUG: 24461189 Change-Id: I7af3f17111ef679aa20652bedc703ff1b9e11c82
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
661d25de05417a357540283ee0cd93b1326ac3a4 |
|
07-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Fix NSV not allowing clicks after a small fling This was a fun one to work out. The reason that manifests is because NSV's onInterceptTouchEvent checks if it's scroller.isFinished() returns true. NSV was missing some code to manually post an invalidation, and thus also a further call to computeScroll(). This means that the result of Scroller.isFinished() is incorrect since it hasn't had computeScrollOffset() called on it since the last scroll event (which could be quite a while ago). This CL fixes this by adding the invalidation post, but also adds a call to computeScrollOffset() before calling isFinished(). BUG: 26051101 Change-Id: Iad15a165f6c8605bcd98efe2869df955792c4f1b
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
cb3b6124a87f9116ce92fcf17f59287445c41442 |
|
04-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
NestedScrollView onStopNestedScroll fix We previously were not calling upto NestedScrollingParentHelper which means that things can go wrong for later nested scrolls. BUG: 25418751 Change-Id: I94298080c1b1856ff34057360310db8e5e800534
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
28411021e3a0e525439d65d4bff419236621df98 |
|
08-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Make sure that NestedScrollView calls stopNestedScroll" into mnc-ub-dev
|
c608a7d5a7fddcf06af43d58d7c62dedd38cffc9 |
|
02-Oct-2015 |
Yuichi Araki <yaraki@google.com> |
NestedScrollView now implements ScrollingView This fixes issue that ViewCompat.canScrollVertically/Horizontally always returns false for NestedScrollView. Bug: 24591066 Change-Id: Ie7635274e4255bed4dd5be60279d9e7ee4d4e0cf
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
cc82b3ee0c53b2f2da75b7fda5fe4b8f5af5dc1c |
|
21-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
AlertDialog + Dialog fixes & improvements - Brought AlertController up to date with M - Fix min width on tablets - Add scroll indicators - Added OnScrollChangeListener to NestedScrollView to enable scroll indicators - Add scroll indicators shim to ViewCompat BUG: 19673703 BUG: 20961957 Change-Id: I02802d5299cb8554ff16de4ca689dd44325f465f
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
ba3bd1923ffd1ef5597deb0a9df8c1444fbf4433 |
|
18-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Make sure that NestedScrollView calls stopNestedScroll Currently it only does so if it thinks that it is being dragged. This is incorrect since a nested scroll could be in progress without the ScrollView actually being 'dragged'. BUG: 24187945 Change-Id: Idef958ce2aa9c78f252d7a05ac790bfc311e8580
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
a732dc29a32fbd8e1d39853082d4720b1a711079 |
|
20-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Allow NestedScrollView to always intercept touches Currently if a NestedScrollView's content aren't long enough to scroll then it doesn't intercept any touch events. That is fine for it's own scrolling but can interfere with things when nested scrolling is in the mix. By not intercepting any touch events, nested scrolling will not happen if the touch event originate from a child view which has it's own touch handling (i.e. a clickable Button). BUG: 23380443 Change-Id: Ieec61ecb193068a538623a8c5fbdb08efea2c6a5
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|
00db92e217c3bc08acd09143cac8e3d3b0d0e813 |
|
19-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Fix NestedScrollView intercepting touches when it shouldn't Caused by NestedScrollView not calling springBack() like it's framework cousin. This means that the scroller still thinks it is running and makes NSV intercept the next DOWN -> UP touch event cycle. BUG: 23340105 Change-Id: I5a036b27c6c2161f7932ee6c3ad3ec180b1e12f3
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.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/v4/java/android/support/v4/widget/NestedScrollView.java
|
1fcce4485ef99aca928ebfb877859c5ecd47716c |
|
01-Nov-2014 |
Adam Powell <adamp@google.com> |
Nested scrolling: android-support-v4 edition Implement the nested scrolling patterns from Android 5.0 Lollipop for use on older platform versions. Custom nested scrolling child views should implement the new interface NestedScrollingChild. These views can instantiate a NestedScrollingChildHelper and delegate overridden interface and View/ViewGroup methods to the helper methods of the same name. The helper will manage associated state and behavior. Similarly, custom nested scrolling ViewGroups should implement NestedScrollingParent and create a NestedScrollingParentHelper, delegating methods of the same name to the helper. Nested scrolling methods should be invoked via the ViewCompat/ViewParentCompat shims. These shims will delegate to the proper implementation for both framework and support views that allow nested scrolling. Now with bonus NestedScrollView! Bug 18195379 Change-Id: Ia125816875a9caf19baab545a65b9404240c8d8b
/frameworks/support/v4/java/android/support/v4/widget/NestedScrollView.java
|