am 8bbd74f2: am 5e3b9354: Fix the bug that the first gesture preview trail isn\'t drawn
* commit '8bbd74f20450a73ac3d00dcb4ea031ec4a58745e': Fix the bug that the first gesture preview trail isn't drawnmain
commit
4a048202cf
|
@ -30,7 +30,7 @@ class GesturePreviewTrail {
|
||||||
private final ResizableIntArray mXCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
|
private final ResizableIntArray mXCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
|
||||||
private final ResizableIntArray mYCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
|
private final ResizableIntArray mYCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
|
||||||
private final ResizableIntArray mEventTimes = new ResizableIntArray(DEFAULT_CAPACITY);
|
private final ResizableIntArray mEventTimes = new ResizableIntArray(DEFAULT_CAPACITY);
|
||||||
private int mCurrentStrokeId;
|
private int mCurrentStrokeId = -1;
|
||||||
private long mCurrentDownTime;
|
private long mCurrentDownTime;
|
||||||
|
|
||||||
// Use this value as imaginary zero because x-coordinates may be zero.
|
// Use this value as imaginary zero because x-coordinates may be zero.
|
||||||
|
|
Loading…
Reference in New Issue