am 6e97efef: Fix rugged gesture trail
* commit '6e97efef78f32daebed7ec3b0624cd645072ec84': Fix rugged gesture trailmain
commit
91000283b5
|
@ -355,9 +355,6 @@ public final class PointerTracker implements PointerTrackerQueue.Element {
|
||||||
ResourceUtils.getDeviceOverrideValue(
|
ResourceUtils.getDeviceOverrideValue(
|
||||||
res, R.array.phantom_sudden_move_event_device_list));
|
res, R.array.phantom_sudden_move_event_device_list));
|
||||||
sNeedsProximateBogusDownMoveUpEventHack = needsProximateBogusDownMoveUpEventHack(res);
|
sNeedsProximateBogusDownMoveUpEventHack = needsProximateBogusDownMoveUpEventHack(res);
|
||||||
sGestureStrokeParams = GestureStrokeParams.DEFAULT;
|
|
||||||
sGesturePreviewParams = GestureStrokePreviewParams.DEFAULT;
|
|
||||||
sTimeRecorder = new TimeRecorder(sParams, sGestureStrokeParams);
|
|
||||||
|
|
||||||
sTimerProxy = timerProxy;
|
sTimerProxy = timerProxy;
|
||||||
sDrawingProxy = drawingProxy;
|
sDrawingProxy = drawingProxy;
|
||||||
|
|
|
@ -84,7 +84,7 @@ public class GestureStroke {
|
||||||
public final float mRecognitionSpeedThreshold; // keyWidth/sec
|
public final float mRecognitionSpeedThreshold; // keyWidth/sec
|
||||||
|
|
||||||
// Default GestureStroke parameters.
|
// Default GestureStroke parameters.
|
||||||
public static final GestureStrokeParams DEFAULT = new GestureStrokeParams();
|
private static final GestureStrokeParams DEFAULT = new GestureStrokeParams();
|
||||||
|
|
||||||
private GestureStrokeParams() {
|
private GestureStrokeParams() {
|
||||||
// These parameter values are default and intended for testing.
|
// These parameter values are default and intended for testing.
|
||||||
|
|
|
@ -45,7 +45,7 @@ public final class GestureStrokeWithPreviewPoints extends GestureStroke {
|
||||||
public final double mMaxInterpolationDistanceThreshold; // in pixel
|
public final double mMaxInterpolationDistanceThreshold; // in pixel
|
||||||
public final int mMaxInterpolationSegments;
|
public final int mMaxInterpolationSegments;
|
||||||
|
|
||||||
public static final GestureStrokePreviewParams DEFAULT = new GestureStrokePreviewParams();
|
private static final GestureStrokePreviewParams DEFAULT = new GestureStrokePreviewParams();
|
||||||
|
|
||||||
private static final int DEFAULT_MAX_INTERPOLATION_ANGULAR_THRESHOLD = 15; // in degree
|
private static final int DEFAULT_MAX_INTERPOLATION_ANGULAR_THRESHOLD = 15; // in degree
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue