Fix NPE / add downX,Y location for all swipes/ add extra debugging info
Bug: 122700646 Bug: 127840207 Change-Id: I5862c8950565df172a933114e1fb2f9c4575593e
This commit is contained in:
1 parent
01b8b68db7
commit
bf44bc342f
8 files changed
+39
-18
No files matched your search
@@ -180,6 +180,13 @@ public class SwipeDetector {
|
||||
return mState == ScrollState.DRAGGING || mState == ScrollState.SETTLING;
|
||||
}
|
||||
|
||||
public int getDownX() {
|
||||
return (int) mDownPos.x;
|
||||
}
|
||||
|
||||
public int getDownY() {
|
||||
return (int) mDownPos.y;
|
||||
}
|
||||
/**
|
||||
* There's no touch and there's no animation.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user