History log of /frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.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/core-ui/java/android/support/v4/widget/NestedScrollView.java
14d02ef06479168249fdfeea47bc105d05e88749 26-Feb-2017 Aurimas Liutikas <aurimas@google.com> Cleanup AccessibilityEventCompat and AccessibilityRecordCompat after minSdk 14 bump.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I5431e454e017deb7bf3f5a0779e5375416487e4f
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
e2104f4b5c8e3ad63570306a25e61502dfe4c418 05-Mar-2017 Aurimas Liutikas <aurimas@google.com> Add all missing @Override annotations.

Historically, we could not add @Override for certain methods due to
using older SDKs to build support library. That is no longer the case
so we can add @Override everywhere now.

Test: ./gradlew assemble assembleAndroidTest still works
Change-Id: I85e3c1157f0e253e3eab7584189f3bf95cf030e9
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
3035be16658d7652fdc472f971c81d8f7ffb60fd 15-Feb-2017 Aurimas Liutikas <aurimas@google.com> Deprecate ScrollerCompat after minSdk 14 bump.

ScrollerCompat can be completely replaced by OverScroller that was
added in API14 which ScrollerCompat wraps.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: Ice79dd122b00e1b3c92dea3a95446ac897135a84
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
506695b4cf6b22d70d2e3647d94551e721ee0430 14-Feb-2017 Aurimas Liutikas <aurimas@google.com> Clean up EdgeEffectCompat after minSdk 14 bump.

- Deprecate methods added in API 14 or earlier.
- Remove all the usages of these methods.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I637e40ffd7bf580d04057fb67afe47a2f72c8962
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
6ed40c1f86bcb172a1f0f069cde1c571a7781aee 07-Feb-2017 Aurimas Liutikas <aurimas@google.com> Deprecate and remove usage of MotionEventCompat methods.

We bumped our minSdk to 14 and now most of MotionEventCompat methods and
constants are no longer needed.

Bug: 32794064
Test: ./gradlew assemble assembleAndroidTest
Change-Id: I5fc698fc8243107cd969743b7500163818f8c258
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
374cad6778dfb6923f35bfc28290a9baad22743e 30-Jan-2017 Aurimas Liutikas <aurimas@google.com> Deprecated methods in VelocityTrackerCompat that got after before API 14.

Deprecated methods in VelocityTracker and removed their usage in the rest
of the support library.

Bug: 32794064
Test: ./gradlew assemble still works.
Change-Id: Ia805a39aeebce9ff69278836c6dad55218b8b2d5
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
8e10080c914d1ad0784394fa3026b85535535847 18-Nov-2016 Aurimas Liutikas <aurimas@google.com> Move from GROUP_ID to LIBRARY_GROUP annotations

- GROUP_ID was deprecated in favor of LIBRARY_GROUP.
- Fix import order in touched files.

Test: ./gradlew assemble assembleAndroidTest
Change-Id: I2a774e93215090f42262fb86cf8e841f2a546a4f
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b 25-Aug-2016 Alan Viverette <alanv@google.com> Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations

Also removes some unnecessary @hide annotations on classes that wouldn't
have shown up in docs anyway due to package/private visibility or NO_DOCS.

Bug: 27937193
Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
540222c3675801eaa141ace1c164c4d3499b4721 26-Aug-2016 Aurimas Liutikas <aurimas@google.com> Remove all the extra accessor methods added by javac in support-core-ui

Change private methods to be package protected to avoid extra methods
that get added to be able to access them from inner classes.

This CL saves 84 methods in our jar.

Bug: 31075707
Change-Id: I283934f5248e608749c2c33a8cd1bd0adb0efae2
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
4d2c7b7c4f194034c5f17c4bee7320d808aabe4c 25-Jul-2016 Aurimas Liutikas <aurimas@google.com> Fix style issues in design library code.

Change-Id: I6c43e2343e8314bef4ea0d6b1a6d887ad8d64ca3
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
e12dfa03641ad9cf0ddf272675bbe7d1198adbfd 11-Jul-2016 Aurimas Liutikas <aurimas@google.com> Stop using a several deprecated methods/constants.

- Swap FILL_PARENT with MATCH_PARENT
- Stop using ViewCompat#getOverScrollMode and related constants
- Clean up some unused import statements.

Bug: 30074170

Change-Id: Iaafd5415ee69181cc900a7fa971cdd6f5a20c6ce
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
236bf5bc5041e4bf356eac3855fd4fcf72cd6994 03-Jun-2016 Aurimas Liutikas <aurimas@google.com> Fix documentation of NestedScrollView#setFillViewport.

Bug:
https://code.google.com/p/android/issues/detail?id=199078

Change-Id: I4b5950e68409a3c2b4055353e3b2561d1350dee4
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.java
15375aa6fd54b036f97f99229aefab2822c8a1c9 24-May-2016 Aurimas Liutikas <aurimas@google.com> Add missing @Override annotations in support library code.

Change-Id: Ifcc3a20b54d6a14b0a14aa0f48e642cf7e8c0e70
/frameworks/support/core-ui/java/android/support/v4/widget/NestedScrollView.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/widget/NestedScrollView.java