am 6456aabb
: am c869a224
: Merge "Don\'t show gesture preview trail while detecting gesture input" into jb-mr1-dev
* commit '6456aabb09a66cef407e777b66ac19548e2c635d': Don't show gesture preview trail while detecting gesture input
This commit is contained in:
commit
49f0387103
1 changed files with 7 additions and 6 deletions
|
@ -545,13 +545,14 @@ public class PointerTracker implements PointerTrackerQueue.Element {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void startBatchInput() {
|
private void startBatchInput() {
|
||||||
if (!sInGesture && mGestureStrokeWithPreviewTrail.isStartOfAGesture()) {
|
if (sInGesture || !mGestureStrokeWithPreviewTrail.isStartOfAGesture()) {
|
||||||
if (DEBUG_LISTENER) {
|
return;
|
||||||
Log.d(TAG, "onStartBatchInput");
|
|
||||||
}
|
|
||||||
sInGesture = true;
|
|
||||||
mListener.onStartBatchInput();
|
|
||||||
}
|
}
|
||||||
|
if (DEBUG_LISTENER) {
|
||||||
|
Log.d(TAG, "onStartBatchInput");
|
||||||
|
}
|
||||||
|
sInGesture = true;
|
||||||
|
mListener.onStartBatchInput();
|
||||||
final boolean isOldestTracker = sPointerTrackerQueue.getOldestElement() == this;
|
final boolean isOldestTracker = sPointerTrackerQueue.getOldestElement() == this;
|
||||||
mDrawingProxy.showGesturePreviewTrail(this, isOldestTracker);
|
mDrawingProxy.showGesturePreviewTrail(this, isOldestTracker);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue