Home
last modified time | relevance | path

Searched refs:getTotalLength (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerDAO.java120 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()
DTimer.java125 public long getTotalLength() { return mTotalLength; } in getTotalLength() method in Timer
184 return getTotalLength() - getRemainingTime(); in getElapsedTime()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DEndPointRatioClassifier.java36 if (stroke.getTotalLength() == 0.0f) { in getFalseTouchEvaluation()
39 ratio = stroke.getEndPointLength() / stroke.getTotalLength(); in getFalseTouchEvaluation()
DLengthCountClassifier.java37 stroke.getTotalLength() / Math.max(1.0f, stroke.getCount() - 2)); in getFalseTouchEvaluation()
DSpeedClassifier.java38 return SpeedEvaluator.evaluate(stroke.getTotalLength() / duration); in getFalseTouchEvaluation()
DStroke.java53 public float getTotalLength() { in getTotalLength() method in Stroke
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerCircleView.java129 … redPercent = Math.min(1, (float) mTimer.getElapsedTime() / (float) mTimer.getTotalLength()); in onDraw()