Merge "1. Get rid of unnecessary ; from VerticalPullDetector 2. Make an instance variable final" into ub-launcher3-dorval-polish
This commit is contained in:
@@ -17,7 +17,7 @@ public class VerticalPullDetector {
|
||||
private static final boolean DBG = false;
|
||||
private static final String TAG = "VerticalPullDetector";
|
||||
|
||||
private float mTouchSlop;
|
||||
private final float mTouchSlop;
|
||||
|
||||
private int mScrollConditions;
|
||||
public static final int DIRECTION_UP = 1 << 0;
|
||||
@@ -47,8 +47,6 @@ public class VerticalPullDetector {
|
||||
SETTLING // onDragEnd
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
//------------------- ScrollState transition diagram -----------------------------------
|
||||
//
|
||||
// IDLE -> (mDisplacement > mTouchSlop) -> DRAGGING
|
||||
@@ -110,7 +108,7 @@ public class VerticalPullDetector {
|
||||
private boolean mIgnoreSlopWhenSettling;
|
||||
|
||||
/* Client of this gesture detector can register a callback. */
|
||||
Listener mListener;
|
||||
private Listener mListener;
|
||||
|
||||
public void setListener(Listener l) {
|
||||
mListener = l;
|
||||
|
||||
Reference in New Issue
Block a user