Searched refs:getTotalLength (Results 1 – 7 of 7) sorted by relevance
36 if (stroke.getTotalLength() == 0.0f) { in getFalseTouchEvaluation()39 ratio = stroke.getEndPointLength() / stroke.getTotalLength(); in getFalseTouchEvaluation()
37 stroke.getTotalLength() / Math.max(1.0f, stroke.getCount() - 2)); in getFalseTouchEvaluation()
38 return SpeedEvaluator.evaluate(stroke.getTotalLength() / duration); in getFalseTouchEvaluation()
53 public float getTotalLength() { in getTotalLength() method in Stroke
120 editor.putLong(TOTAL_LENGTH + id, timer.getTotalLength()); in addTimer()130 return new Timer(id, timer.getState(), timer.getLength(), timer.getTotalLength(), in addTimer()145 editor.putLong(TOTAL_LENGTH + id, timer.getTotalLength()); in updateTimer()
125 public long getTotalLength() { return mTotalLength; } in getTotalLength() method in Timer184 return getTotalLength() - getRemainingTime(); in getElapsedTime()
129 … redPercent = Math.min(1, (float) mTimer.getElapsedTime() / (float) mTimer.getTotalLength()); in onDraw()