Searched refs:mDistanceFromLastSample (Results 1 – 1 of 1) sorted by relevance
40 private double mDistanceFromLastSample; field in GestureStrokeDrawingPoints65 mDistanceFromLastSample += Math.hypot(x - mLastX, y - mLastY); in needsSampling()69 if (mDistanceFromLastSample >= mDrawingParams.mMinSamplingDistance || isDownEvent) { in needsSampling()70 mDistanceFromLastSample = 0.0d; in needsSampling()