Searched refs:numSteps (Results 1 – 4 of 4) sorted by relevance
162 float numSteps = distance / (float) PATH_STEP_PIXELS; in fillPath() local163 float stepX = (float) deltaX / numSteps; in fillPath()164 float stepY = (float) deltaY / numSteps; in fillPath()167 for (int step = 1; step < numSteps; ++step) { in fillPath()
358 int numSteps = range / stepSize; in getSensitivityTestValues() local360 if (numSteps > DEFAULT_NUM_SENSITIVITY_STEPS) { in getSensitivityTestValues()361 numSteps = DEFAULT_NUM_SENSITIVITY_STEPS; in getSensitivityTestValues()362 stepSize = range / numSteps; in getSensitivityTestValues()364 int[] testValues = new int[numSteps + 1]; in getSensitivityTestValues()
836 public LevelStepTracker(int numSteps, long[] steps) { in LevelStepTracker() argument837 mNumStepDurations = numSteps; in LevelStepTracker()838 mStepDurations = new long[numSteps]; in LevelStepTracker()839 System.arraycopy(steps, 0, mStepDurations, 0, numSteps); in LevelStepTracker()998 final int numSteps = mNumStepDurations; in computeTimePerLevel() local1001 if (numSteps <= 0) { in computeTimePerLevel()1005 for (int i=0; i<numSteps; i++) { in computeTimePerLevel()1008 return total / numSteps; in computeTimePerLevel()
10776 private long computeTimePerLevel(long[] steps, int numSteps) { in computeTimePerLevel() argument10778 if (numSteps <= 0) { in computeTimePerLevel()10782 for (int i=0; i<numSteps; i++) { in computeTimePerLevel()10785 return total / numSteps; in computeTimePerLevel()