summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/list/SwipeHelper.java
AgeCommit message (Collapse)Author
2013-09-19Smooth drag and drop scrollingHongwei Wang
Bug: 10686781 Change-Id: I4435b5b1087c132d1f94978489cdacac1ac519f3
2013-09-09Tone down the sensitivity of swipe for square contact tilesHongwei Wang
Bug: 10510033 Change-Id: I57961e3f7dcc8c65dfb814afd808d01b68803f14
2013-08-23Fix bug in SwipeHelperYorke Lee
If a child is swiped and then a scroll happens immediately after while the swipe animation is still occurring, the onChildDismissed callback happens on the newly scrolled view, not the originally swiped one. Bug: 10257340 Change-Id: I7e030cee155f4ead5479b1c31069d8cf78659d46
2013-08-16Prevent multiple swipes at one timeYorke Lee
Bug: 10257340 Change-Id: I550ce45b30ba036e6479ad5f8b5126a69b29c167
2013-08-16Use swipe helper for swipingYorke Lee
* Use SwipeHelper for swiping, in SwipeableListView for regular favorites. SwipeHelper and SwipeableListView are copied from DeskClock, with minor modifications (to prevent swiping or call log items, and all contact buttons). * Make ContactTileRow implement SwipeHelperCallback so that tiled favorites can be swiped. * Remove PhoneFavoriteGestureListener * Add selectable item backgrounds to undo buttons on removal dialog * Moved common code shared by PhoneFavoriteRegularRowView and PhoneFavoriteSquareTileView to PhoneFavoriteTileView * Standardize layout ids for phone_favorite_regular_row_view and phone_favorite_tile_view * Add long click listener to PhoneFavoriteTileView to trigger the start of a drag and drop operation * Remove any contact entries that are in the removal dialog phase if the app is paused Bug: 10257340 Bug: 10341201 Bug: 10328093 Bug: 10290239 Bug: 10262721 Bug: 10257340 Change-Id: I20448048b658759f6de75d643d2150be5a6ba8af