c4ef52d880c51f804b6d2f6326b34da037265740 |
|
05-Jun-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix/suppress lint warnings in support-core-ui Bug: 62349821 Test: None Change-Id: I0d455bc14adaf7a8b5934fd1b46f98644789442c
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.java
|
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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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/SwipeRefreshLayout.java
|
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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
|
e5faeaff97f60817cde21f0f92513845355a7d0d |
|
23-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove usages of used deprecated methods in core-ui. Bug: 30074170 Change-Id: I5e8627efd645a5229649c1c932f93fce438a5acc
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.java
|
bfc67307a7a80d8ace8fb8f369c9f82282133a38 |
|
11-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Add getters for start and end offsets in SwipeRefreshLayout. Bug: 19814988 Change-Id: Ibee2c47929c717469e794025cdc4d1b270053e79
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.java
|
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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.java
|
7bfcf18730dbd6a3b20e25d0e0c31d1c1f714a8c |
|
22-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix small style issues in SwipeRefreshLayout. Change-Id: I2f67f52011e994a78a4bdb0271afe61e19c6c3c9
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.java
|
2d9f7eee120aa94acd715c7bac9f0ff20ca06e80 |
|
21-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Start resetting SwipeRefreshLayout on setEnabled(false) calls. Bug: 29872858 Change-Id: Ia070109ae31b8aa5ae4d0b273ce250681d357599
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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)
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.java
|
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
/frameworks/support/core-ui/java/android/support/v4/widget/SwipeRefreshLayout.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/SwipeRefreshLayout.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/SwipeRefreshLayout.java
|