File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,8 @@ public boolean onTouchEvent(MotionEvent event) {
259259 mInputEventConsistencyVerifier .onTouchEvent (event , 0 );
260260 }
261261
262+ mCurrTime = event .getEventTime ();
263+
262264 final int action = event .getActionMasked ();
263265
264266 final boolean streamComplete = action == MotionEvent .ACTION_UP ||
@@ -341,6 +343,7 @@ public boolean onTouchEvent(MotionEvent event) {
341343 mPrevSpanX = mCurrSpanX = spanX ;
342344 mPrevSpanY = mCurrSpanY = spanY ;
343345 mPrevSpan = mCurrSpan = span ;
346+ mPrevTime = mCurrTime ;
344347 mInProgress = mListener .onScaleBegin (this );
345348 }
346349
@@ -359,6 +362,7 @@ public boolean onTouchEvent(MotionEvent event) {
359362 mPrevSpanX = mCurrSpanX ;
360363 mPrevSpanY = mCurrSpanY ;
361364 mPrevSpan = mCurrSpan ;
365+ mPrevTime = mCurrTime ;
362366 }
363367 }
364368
You can’t perform that action at this time.
0 commit comments