History log of /frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6bebe14261b8f3f17ef5059f00d077c7b81561cc 15-Mar-2017 Aurimas Liutikas <aurimas@google.com> Fix up error prone warnings in support-recyclerview

Test: ./gradlew support-recyclerview:assembleErrorProne is now happy
Change-Id: I40aed6e29a81e5f038209596220b60be936a1153
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
f715449617ee8846dcf3452d5e4a934f9ced5879 22-Feb-2017 Aurimas Liutikas <aurimas@google.com> Clean up ItemTouchHelper after minSdk 14 bump.

Bug: 32794064
Test: ./gradlew assemble
Change-Id: I513fe459dda2bba3f89442a63c8a5ed4ffa829bd
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
1e827caa16440590647019b9c1338f6309c5be7a 19-Jan-2017 Aurimas Liutikas <aurimas@google.com> Fix style issues in RecyclerView module.

Test: None, there should be no behavior changes.
Change-Id: Ibf8690102bc0c6a4368ed0a7977056e9437344a2
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
ca03208c6ef5bd79af99309d0e14db4a238cb691 18-Jan-2017 Aurimas Liutikas <aurimas@google.com> Remove unneeded calls in RecyclerView code.

Our new minSdk is 14. This CL remove code that calls compat version
of a method where a framework call works now. Mostly affects ViewCompat,
ViewPropertyAnimatorCompat, ViewPropertyAnimatorListener, MotionEventCompat,
ScrollerCompat.

Bug: 32794064
Test: ./gradlew clean assemble still works
Change-Id: Idad69fdd5e89f76fe57fe8e1b5c12dc723185814
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
d60a0fbc25b78edc8f271f48a11e6098e4ce3b30 13-Jan-2017 Aurimas Liutikas <aurimas@google.com> Merge "Fix ItemTouchHelper log messages when dragging or swiping is disabled" am: 721de09a57 am: d9ac4809c7 am: ce4c1258f3
am: 1c5f2ce188

Change-Id: If8ce7249a7f830122316808c157678fe26417a8d
ae7189188acb2bc972b08d9fbd59939f341c7829 06-Jan-2017 Aurimas Liutikas <aurimas@google.com> Move to using ValueAnimator directly instead of compat versions.

ValueAnimator can now be used directly given that our minSdk is 14.

Bug: 32794064
Test: ./gradlew clean assemble still works
Change-Id: Ibf0111b104eaea10acf33c8d54a3275fdfa0c1a4
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
db4e9d4491b4e3ebf03d077e2f590b32d750fbdc 21-Dec-2016 Ivan Soriano <ivansoriano@gmail.com> Fix ItemTouchHelper log messages when dragging or swiping is disabled

Swiping and dragging messages were inverted.

Change-Id: Ib8f302f66b0022bc2c465853eea71fe8849c86ec
Signed-off-by: Ivan Soriano <ivansoriano@gmail.com>
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
3a500f61a8bdf48904f380f2d4925fe420d18ce7 25-Aug-2016 Aurimas Liutikas <aurimas@google.com> Remove all the extra accessor methods added by javac in support-recyclerview.

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 119 methods in our jar.

Bug: 31075707
Change-Id: I1c3147a196ae70ef14080a955d4399e01a997b1a
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
be9c2981f3d9fb8f414c25967480652adfbf1216 03-Jun-2016 Aurimas Liutikas <aurimas@google.com> Update an example in documentation of ItemTouchHelper.

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

Change-Id: I7403c273f257f0d81941c1134c6b954f88d1b64a
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.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/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
dc8e099ed130434c0238f558277c5bcb6a533121 23-May-2016 Aurimas Liutikas <aurimas@google.com> Add missing @Override annotations in v7 code. Part 1.

Change-Id: I8487ae3980cf84aa486edb086f676a14a82f22c6
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
1b3e9466b4c4d72f28bb4448672ef8bab19b6f3e 11-May-2016 Kirill Grouchnikov <kirillg@google.com> Clean up internal usage of now-deprecated Compat APIs

Change-Id: I309a6637e1c013dc9b218dd048d2cfab7dcee171
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
79f19550856a1e90f90f1c103c404b6163e92c0f 22-Feb-2016 Yigit Boyar <yboyar@google.com> Clarify ItemTouchHelper and SimpleItemAnimator docs

Bug: 27278066
Bug: 26731186
Change-Id: Iecbbbb0427b0f6685752218d87181c1157b060c3
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
a56b4b40d7b5c30010a8c4467e13b41213a192e8 28-Dec-2015 Yigit Boyar <yboyar@google.com> API Review fix.

Also fixed some styles.

Bug: 26160952
Change-Id: I8d5f5fe2f24a43b6bdce7fc7908a3870b09e5e15
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
603a6eee11eea71cd6726babca8ece2a6a1bf2dc 04-Dec-2015 Yigit Boyar <yboyar@google.com> ItemTouchHelper swipe improvements

This CL changes how ItemTouchHelper handles swipe.
It now checks the velocity in the perpendicular direction to ensure
it is not larger than current direction.
It also provides APIs in the callback to modify this
behavior.

Bug: 26012982
Change-Id: I50716524897c65876a03c9502237599debe36055
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
204cead713431632c2037ac027f4dbfa162d7d03 20-Oct-2015 Yigit Boyar <yboyar@google.com> Allow swiped view recycling ASAP

This CL fixes a bug in ItemTouchHelper where it would assume that the
swiped view will be removed by the RecyclerView even if its animation
count does not reach 0.

This was a bad assumption and broke w/ the RecyclerView cleanups.

This CL changes ItemTouchHelper to allow view's recycling instantly
but do the cleanup when the view is detached (e.g. all other
animations etc. allows it to be removed).

This CL also fixes a bug in ItemAnimatorV2 test where it would call dispatch
end twice for change animations.

Bug: 25037922
Change-Id: I8c264ef1c7a89cb03f967796a0e14739f9e1945b
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
c0459105252a3db52bc44ad62ecff4288860180d 05-May-2015 Yigit Boyar <yboyar@google.com> Export UI Compat class used by ItemTouchHelper

If a developer wants to customize item touch interactions, they
cannot use ItemTouchUICompat anymore so they have to handle
translation, cleanup, API checks etc manually.

This CL renames it to ItemTouchUIUtil, changes its API to work
with views instead of ViewHolders and also makes it public.
This way, developers can easly change which child views receive
automatic changes. (e.g. only swipe the contents not the background).

Bug: 20824812
Change-Id: I6303c270d398e21fb549ed5627dc175de10a3487
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java
e71a1df9b3c0e1bd3c21a1b3dd20a41790d4a950 06-Jan-2015 Yigit Boyar <yboyar@google.com> Item touch interactions helper class

Notice: TBR, APIs may change

This CL adds a component that can attach to any RecyclerView
and add support for Drag & Drop and Swiping.

It assumes some defaults based on the scroll orientation of
the LayoutManager but can also be extended to customize behavior.

Bug: 18889496
Change-Id: I7aede2084efa599552e053596661fa58b2685d10
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ItemTouchHelper.java