• Home
  • History
  • Annotate
  • only in /frameworks/support/core-ui/java/android/support/v4/widget/
History log of /frameworks/support/core-ui/java/android/support/v4/widget/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3c3b1c6f15e03989299725eb8a1fe94f0d9a32b4 07-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix/suppress lint warnings in support-core-ui" into oc-support-26.0-dev
c4ef52d880c51f804b6d2f6326b34da037265740 05-Jun-2017 Aurimas Liutikas <aurimas@google.com> Fix/suppress lint warnings in support-core-ui

Bug: 62349821
Test: None
Change-Id: I0d455bc14adaf7a8b5934fd1b46f98644789442c
pace.java
wipeRefreshLayout.java
3236f136c34c3db9b05c69cdbaccdc0fa6203a1b 02-Jun-2017 Aurimas Liutikas <aurimas@google.com> Fix error-prone warning in ExploreByTouchHelper

ExploreByTouchHelper was not checking the return value of Rect#intersect.
This change adds that check.

Test: ./gradlew support-core-ui:assembleErrorProne
Change-Id: I75411be1b17d57e6df874201f8bbd2405786aa77
xploreByTouchHelper.java
9df73e86fb0949ee8c5afee0bf519982f59c016d 17-May-2017 Kirill Grouchnikov <kirillg@google.com> Backport of ListView.canScrollList in compat

Bug: 33100659
Test: ./gradlew support-compat:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.widget.ListViewCompatTest
Test: ./gradlew support-core-ui:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v4.widget.SwipeRefreshLayoutTest
Change-Id: If99bb26683671f5e722857d9c3600ea4d3d5fe53
wipeRefreshLayout.java
ad1b0e82100ee31e70040d77bfa4d847b2bf0864 02-May-2017 Aurimas Liutikas <aurimas@google.com> Fix and suppress an assortment of ErrorProne warnings.

Test: ./gradlew assembleErrorProne now has fewer warnings
Change-Id: I445c7dfd36b33243771eb7821562ca468851ad8a
rawerLayout.java
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
estedScrollView.java
905bcd294a7351749c60382eab03aa0c679e08bb 13-Apr-2017 Alan Viverette <alanv@google.com> Un-suppress NewApi lint where applicable

Reduces scope where NewApi must be retained. Updates media compat
code to use BuildCompat directly rather than checking SDK_INT
against 26 (which is not a real SDK_INT on any devices yet).

Test: ./gradlew lint
Change-Id: I052641ae0540605559ad68132ef0470bc8dc3f22
wipeRefreshLayout.java
b78985701876dc678d982bf4f838f40a806f72a9 11-Mar-2017 Aurimas Liutikas <aurimas@google.com> Fix some error prone warnings in support-core-ui.

Test: ./gradlew support-core-ui:assembleErrorProne
Change-Id: I8838285544e5e13a32dd53dfacb0d59d00283955
utoScrollHelper.java
rawerLayout.java
iewDragHelper.java
573f9688939e5894ddd2b9333c0a63f226def726 13-Mar-2017 Aurimas Liutikas <aurimas@google.com> Merge "Cleanup AccessibilityEventCompat and AccessibilityRecordCompat after minSdk 14 bump."
133e9934fc20a3bc27b83b64e98658af45c23508 09-Mar-2017 Zach Kuznia <zork@google.com> Merge "Update java doc for ExploreByTouchHelper, since it now supports heirarchies." into nyc-support-25.3-dev am: c83be1a54c
am: 413b7e31e9

Change-Id: Ic38ccade54e2002ad99f6f284f7998be84b9354e
67f879143b4b6d4bb07a90437df66174791781e8 07-Mar-2017 Zach Kuznia <zork@google.com> Update java doc for ExploreByTouchHelper, since it now supports heirarchies.

BUG: 35999299
Test: None

Change-Id: I3261bab0a97dd2af0dabcd40c407f520ee3f32be
xploreByTouchHelper.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
xploreByTouchHelper.java
estedScrollView.java
2656ae585662d63454ca757c2f33336fa58062fa 06-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Re-enable lint enforcement, fix remaining lint issues"
c69882cb9b130902c1554ef5d3e3b06d776cd796 05-Mar-2017 Alan Viverette <alanv@google.com> Re-enable lint enforcement, fix remaining lint issues

Bug: 29630077
Test: ./gradlew lint
Change-Id: Ied1e4b1c33ba158d6bfab5439497ee4fc8284a8f
rawerLayout.java
lidingPaneLayout.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
rawerLayout.java
aterialProgressDrawable.java
estedScrollView.java
b3e505ba630279480e99844f6754ad93ded2f862 28-Feb-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Clean up ParcelableCompat after minSdk 14 bump."
d38b36c6370fe2aa448b7b824e8fb399fb3f0b97 01-Feb-2017 Alan Viverette <alanv@google.com> Require lint when building release target

Make plugin more groovy. Fixes lint errors that were blocking submit.
Fixes lint API database path to be relative to project directory.

Change-Id: I0c3d8b0ba0b9c40d4a7979677f03b9eff6dcf2ce
Fixes: 29630077
Test: ./gradlew createArchive
wipeRefreshLayout.java
4b25d63ff53d4676150ac54897851e4ff9f1049f 25-Feb-2017 Aurimas Liutikas <aurimas@google.com> Clean up ParcelableCompat after minSdk 14 bump.

Bug: 32794064
Test: ./gradlew assemble

Change-Id: I87d35d527e80d55ac4a2a626a6040fcdaff63ae3
rawerLayout.java
lidingPaneLayout.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
estedScrollView.java
iewDragHelper.java
f08ca26b0b99165c37ee5b1658b81c9388152dad 15-Feb-2017 Aurimas Liutikas <aurimas@google.com> Merge "Another ViewCompat cleanup after minSdk 14 bump."
130c79c956de092c5d81b81191c8a219aace87de 15-Feb-2017 Aurimas Liutikas <aurimas@google.com> Another ViewCompat cleanup after minSdk 14 bump.

There will be more follow up CLs.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: Ic745244812b9e179d55f9066f1ffda6dd63d9235
lidingPaneLayout.java
iewDragHelper.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
estedScrollView.java
9c3a43f2608c2e7fceea46e4b500d68ce1c619ff 07-Feb-2017 Aurimas Liutikas <aurimas@google.com> Deprecate and cleanup usage of KeyEventCompat.

Clean up KeyEventCompat after minSdk 14 bump.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I2579a79d1feea94b24a6cbf9dd8b2911cefe27a7
xploreByTouchHelper.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
utoScrollHelper.java
rawerLayout.java
xploreByTouchHelper.java
estedScrollView.java
lidingPaneLayout.java
wipeRefreshLayout.java
iewDragHelper.java
f30607dabc24bc191803ca5ffe601256d4a1e588 30-Jan-2017 Aurimas Liutikas <aurimas@google.com> Merge "Deprecated methods in VelocityTrackerCompat that got after before API 14."
fa0f82f629bf95681c14ed559922f77a3030aa18 30-Jan-2017 Aurimas Liutikas <aurimas@google.com> Deprecated ViewCompat methods that were added in API 11.

Deprecated all the ViewCompat methods that were APIs added to View
since API 11. Additionally this removes usages of these APIs in support
library.

Bug: 32794064
Test: ./gradlew assemble assembleAndroidTest still works
Change-Id: I18fb0cc1ebc67c911eeb30aada7b8315afc15835
ircleImageView.java
lidingPaneLayout.java
wipeRefreshLayout.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
estedScrollView.java
iewDragHelper.java
e5337987eaede81fed67f8894dfa2e0145170bb5 07-Dec-2016 Aurimas Liutikas <aurimas@google.com> Update DrawerLayout#setDrawerShadow javadoc.

Bug: 33409311
Test: None
Change-Id: Ib46b61f842e4765e8144b56e115a879d01389ede
rawerLayout.java
3b591130c68223aa613660aaff79e65e26b5fc06 29-Nov-2016 Zach Kuznia <zork@google.com> Update ExploreByTouchHelper to calculate bounds on screen properly

Previously, the bounds in parent were assumed to be relative to the host view.
Now it properly handles calculation of the bounds of nested views.

Bug: 33196811
Test: Try the ExploreByTouchHelper sample in Support4Demos
Test: Run the ExploreByTouchHelperTest

Change-Id: Icf007e33f519281f4a78b4f5b46017b6a121e17f
xploreByTouchHelper.java
96b44e68c6ab615a6ad76f29280e19432636fb3e 29-Nov-2016 Aurimas Liutikas <aurimas@google.com> Revert "Update ExploreByTouchHelper to calculate bounds on screen properly"

This change broke the only ExploreByTouchHelperTest test. Please reland with a fix for the test.

This reverts commit 6edfb90015df5500cb5887137257d69c3da2dc78.

Change-Id: If07d3e64e6a72158c948123597bbc7e342f1f81b
xploreByTouchHelper.java
6edfb90015df5500cb5887137257d69c3da2dc78 23-Nov-2016 Zach Kuznia <zork@google.com> Update ExploreByTouchHelper to calculate bounds on screen properly

Previously, the bounds in parent were assumed to be relative to the host view.
Now it properly handles calculation of the bounds of nested views.

Test: Try the ExporeByTouchHelper sample in Support4Demos
Change-Id: I1f2aa31c1ba4fdd62c7446f50d548e5b3c70ffc3
xploreByTouchHelper.java
a3cf462a456713f17a43a9452cd6399acfe5de1a 22-Nov-2016 Zach Kuznia <zork@google.com> Merge "Allow the parent to be set for nodes created by ExploreByTouchHelper." into nyc-support-25.1-dev
46f49c1900fc65a3e3bc0057e28161be6230e1da 15-Nov-2016 Zach Kuznia <zork@google.com> Allow the parent to be set for nodes created by ExploreByTouchHelper.

Test: Run Support4Demos and check that the hierarchy is setup in the
ExploreByTouch test.

Change-Id: Iae0fbcb310e6984c6fa4dc4ef51c36b3270280b7
xploreByTouchHelper.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
ursorAdapter.java
estedScrollView.java
impleCursorAdapter.java
af6b251c15dab2237fdf100b5ebb9c0851c2d490 16-Nov-2016 Alan Viverette <alanv@google.com> Adds working lint target to support lib build, more workarounds

Explicitly disable on v17 leanback and v7 preference, which need
some work. Suppress issues due to Lint failing to distinguish locally-
defined methods from framework methods.

Depends on fullsdk project, which is NOT in the default checkout.

Bug: 29630077
Test: ./gradlew lint && ./gradlew assemble
Change-Id: If8da576a8f9e2a431bc60a473f0c36054818d7c1
wipeRefreshLayout.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
ircleImageView.java
ursorAdapter.java
rawerLayout.java
aterialProgressDrawable.java
estedScrollView.java
impleCursorAdapter.java
85ac705f8f1e9f1a6b4b7bb2bda72ad13eb303e4 07-Sep-2016 Yuichi Araki <yaraki@google.com> Remove unnecessary requestFocus

DrawerLayout restricts focus to its drawer items when the drawer is
open. There is no need to forcibly request focus on the drawer. This
fixes undesirable scrolling of RecyclerView when the drawer is closed.

Bug: 31041758
Change-Id: I96fbce77e3853dcac6527cd759d1994b7a817ea4
rawerLayout.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
utoScrollHelper.java
ircleImageView.java
ontentLoadingProgressBar.java
ursorAdapter.java
rawerLayout.java
xploreByTouchHelper.java
aterialProgressDrawable.java
estedScrollView.java
lidingPaneLayout.java
wipeRefreshLayout.java
43b18ec4b746139357fa2fff0900a846db2c9432 25-Aug-2016 Aurimas Liutikas <aurimas@google.com> Delay calling setEnabled to the end of the constructor.
am: 0cb84900fe

Change-Id: I988245d3f092f6f3eb850d9df1c44bd34092a4df
0cb84900fe37e6b9fbc301296cc6b07d47355149 24-Aug-2016 Aurimas Liutikas <aurimas@google.com> Delay calling setEnabled to the end of the constructor.

setEnabled is now called at the end of the constructor when
everything is initialized.

Bug: 31017118
Test: Added SwipeRefreshLayoutTest#testSwipeDownToRefreshInitiallyDisabled

Change-Id: Ib88d7a075a439cb49ba745f6cdcff3cf12ce771d
wipeRefreshLayout.java
f1aea9f5fe8a7849edaae366e3e7b886b13591a8 23-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove usages of used deprecated methods in core-ui." into nyc-mr1-dev
4a4d1cec1a0a072e8b6fa6425949cc2f6fadfbc9 23-Aug-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix all usages of deprecated setBackgroundDrawable." into nyc-mr1-dev
47082c30c630c34829439a9eecd1cf7e8d255a86 23-Aug-2016 Aurimas Liutikas <aurimas@google.com> Fix all usages of deprecated setBackgroundDrawable.

- Adds ViewCompat#setBackground that will call setBackgroundDrawable
or setBackground depending on the version.
- Replaced usages of setBackgroundDrawable with this ViewCompat version.

Bug: 30074170
Change-Id: I756c8558608da752acd6f3ca7121114d3cd1416a
ircleImageView.java
e5faeaff97f60817cde21f0f92513845355a7d0d 23-Aug-2016 Aurimas Liutikas <aurimas@google.com> Remove usages of used deprecated methods in core-ui.

Bug: 30074170
Change-Id: I5e8627efd645a5229649c1c932f93fce438a5acc
ircleImageView.java
rawerLayout.java
lidingPaneLayout.java
wipeRefreshLayout.java
bfc67307a7a80d8ace8fb8f369c9f82282133a38 11-Aug-2016 Aurimas Liutikas <aurimas@google.com> Add getters for start and end offsets in SwipeRefreshLayout.

Bug: 19814988
Change-Id: Ibee2c47929c717469e794025cdc4d1b270053e79
wipeRefreshLayout.java
ba96d1bb447ca44c1546975cf3b534a341801360 12-Aug-2016 Aurimas Liutikas <aurimas@google.com> Fix SwipeRefreshLayout#setProgressViewOffset.
am: 4e62a7931a

Change-Id: I2a22c52bf6f6c8aa718dfc1125017042cd29d337
4e62a7931a2367c80793b24e9c1dc79eca1cafd7 11-Aug-2016 Aurimas Liutikas <aurimas@google.com> Fix SwipeRefreshLayout#setProgressViewOffset.

Properly reset progress spinner position on setProgressViewOffset.
Previously calling it would change mCurrentTargetOffsetTop without
actually moving the progress spinner.

Bug: 30743447
Change-Id: Ib4bf0d5865c8feb41798ce3bf344a4e3786e7cbf
wipeRefreshLayout.java
e6dd7c88f05af7c7782b264c140fdc0182436714 12-Aug-2016 Phil Weaver <pweaver@google.com> Merge "Add findFocus to ExploreByTouchHelper." into nyc-mr1-dev
4d2c7b7c4f194034c5f17c4bee7320d808aabe4c 25-Jul-2016 Aurimas Liutikas <aurimas@google.com> Fix style issues in design library code.

Change-Id: I6c43e2343e8314bef4ea0d6b1a6d887ad8d64ca3
utoScrollHelper.java
ircleImageView.java
ursorAdapter.java
ursorFilter.java
rawerLayout.java
ocusStrategy.java
aterialProgressDrawable.java
estedScrollView.java
esourceCursorAdapter.java
impleCursorAdapter.java
lidingPaneLayout.java
wipeProgressBar.java
ecc6bceb033418eb01e912a706d21b22b569235e 25-Jul-2016 Aurimas Liutikas <aurimas@google.com> Merge "Fix small style issues in ViewDragHelper." into nyc-support-24.1-dev
a42f536faec507067b103784315fc636e4963710 25-Jul-2016 Aurimas Liutikas <aurimas@google.com> Merge "Fix small style issues in SwipeRefreshLayout." into nyc-support-24.1-dev
669715ba128b7086e696f957b3e00b37d999ea56 22-Jul-2016 Aurimas Liutikas <aurimas@google.com> Fix small style issues in ViewDragHelper.

Change-Id: I850d1c0647c8ef82242c250dbbf81d4498e33971
iewDragHelper.java
7bfcf18730dbd6a3b20e25d0e0c31d1c1f714a8c 22-Jul-2016 Aurimas Liutikas <aurimas@google.com> Fix small style issues in SwipeRefreshLayout.

Change-Id: I2f67f52011e994a78a4bdb0271afe61e19c6c3c9
wipeRefreshLayout.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
rawerLayout.java
estedScrollView.java
lidingPaneLayout.java
5c0b1da91a9f27f85113990f99f6844030e8c9d8 22-Jul-2016 Phil Weaver <pweaver@google.com> Add findFocus to ExploreByTouchHelper.

Bug: 30042251
Change-Id: I57f829a6919af2b0690d3e656609173e6fc24a65
xploreByTouchHelper.java
2d9f7eee120aa94acd715c7bac9f0ff20ca06e80 21-Jul-2016 Aurimas Liutikas <aurimas@google.com> Start resetting SwipeRefreshLayout on setEnabled(false) calls.

Bug: 29872858
Change-Id: Ia070109ae31b8aa5ae4d0b273ce250681d357599
wipeRefreshLayout.java
00075c897ce1f936204b23f53954a7b9ff3f49b9 29-Jun-2016 Aurimas Liutikas <aurimas@google.com> Enable SwipeRefreshLayout for children that don't consume touch events.

SwipeRefreshLayout will now allow swiping when the child view returns
false for onTouchEvent.

Bug: 25992747
Change-Id: Ie592d68ac949097505c1c01ea054855e41e4a95b
(cherry picked from commit 3b60bb8c0b46dd91136ec37ab983d1a7a7f480c8)
wipeRefreshLayout.java
a5c36708f8dd136f2a02a79709923630449be5b5 05-Jul-2016 Chris Banes <chrisbanes@google.com> Move support libs to use ViewCompat.offset* methods

offsetTopAndBottom and offsetLeftAndRight have various
issues across the API levels, which are worked around
in the ViewCompat versions.

BUG: 29970143
Change-Id: Ic0919f438a0c4a6bf4f2e153a6062d5aeb727db1
wipeRefreshLayout.java
95aefdf2b1a052f177e3f371fe2f82014bfcddd6 29-Jun-2016 Aurimas Liutikas <aurimas@google.com> Check SwipeRefreshLayout was dragged before finishSpinner call.

Fixes UI oddity where SwipeRefreshLayout would show a scale down
animation in cases where child view does not consume touch events
and thus we never start dragging.

Bug: 25992747
Change-Id: I60e8d3a1f7449f87b3047d70989d738055abfad0
wipeRefreshLayout.java
7e6328174488c5e3ebbe4576ea7a85263811fd5c 22-Jun-2016 Aurimas Liutikas <aurimas@google.com> Add more pointer validation check to ViewDragHelper.

Adding isPointerDown checks before modifying mInitialMotionX
and mLastMotionX arrays.

clearMotionHistory gets called on ACTION_POINTER_UP so there is
nothing to clear if we never got ACTION_POINTER_DOWN.

Merging to master manually as it has merge conflict due to support
library refactoring.

Bug: 29561625
Change-Id: I39c28dc58e0e96602d160c7168f5d555c147d27c
iewDragHelper.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
estedScrollView.java
1243d181f9a83d4b05aeaab883d13438a2e67b01 03-Jun-2016 Aurimas Liutikas <aurimas@google.com> Update SwipeRefreshLayout documentation for scale parameter.

Previous documentation did not explain the effects of setting scale to
true.

Bug: 29118036
Change-Id: I1e78f3efb407073ad10f34e91b873da38c9ceaae
wipeRefreshLayout.java
8e6e2dc689ed1e922ec4256ba80bbd0f34dd20cc 03-Jun-2016 Aurimas Liutikas <aurimas@google.com> Start handling CircleImageView resizing on pre API-21

CircleImageView uses internal OvalShadow class for pre API-21 devices.
OvalShadow size was hardcoded and did not update based on CircleImageView size
like it does on API 21+. This CL makes OvalShadow listen to onResize events
and handle size changes correctly.

SwipeRefreshLayout resizes CircleImageView when you call setSize and that was
causing visual issues.

Bug: 29106323
Change-Id: I0b333d43dd49d15f01c53f2d4fcf2fd2013d0f3c
ircleImageView.java
wipeRefreshLayout.java
b3a14cb852e554e6c28cb18619bd686f0f318fcb 26-May-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fix a random assortment of spelling errors."
586c5961d373c3104a02228731e70f025ae8edee 25-May-2016 Aurimas Liutikas <aurimas@google.com> Fix refresh animation if setRefreshing is called before onLayout.

The issue was happening as mOriginalOffsetTop and mCurrentTargetOffsetTop
were only initialized in onLayout, causing animation to fail. Moving their
initialization to the constructor as we know the size of the mCircleView
even before layout.

Bug: 26293980

Change-Id: I53dd7e3168ce4edd02c64207dc11074d72c630b9
wipeRefreshLayout.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
ursorAdapter.java
15375aa6fd54b036f97f99229aefab2822c8a1c9 24-May-2016 Aurimas Liutikas <aurimas@google.com> Add missing @Override annotations in support library code.

Change-Id: Ifcc3a20b54d6a14b0a14aa0f48e642cf7e8c0e70
ursorAdapter.java
rawerLayout.java
ocusStrategy.java
estedScrollView.java
lidingPaneLayout.java
wipeRefreshLayout.java
iewDragHelper.java
2597acfbdd5db3142f53745a6e20bd2eac5f0952 23-May-2016 Chris Banes <chrisbanes@google.com> Merge "SlidingPaneLayout: Preserve GONE visibility" am: e4e9654f5d am: 0f1779bb1d am: 88d994902d
am: beedc5e793

* commit 'beedc5e793f2054896dc6e3b8d5748b68ae9dd9c':
SlidingPaneLayout: Preserve GONE visibility

Change-Id: Icc06b1efffffa07a6c33bc9082d4ea48aec53f46
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
utoScrollHelper.java
ircleImageView.java
ontentLoadingProgressBar.java
ursorAdapter.java
ursorFilter.java
rawerLayout.java
xploreByTouchHelper.java
ocusStrategy.java
istViewAutoScrollHelper.java
aterialProgressDrawable.java
estedScrollView.java
esourceCursorAdapter.java
impleCursorAdapter.java
lidingPaneLayout.java
pace.java
wipeProgressBar.java
wipeRefreshLayout.java
iewDragHelper.java
ackage.html