Searched refs:numSteps (Results 1 – 4 of 4) sorted by relevance
135 float numSteps = distance / (float) PATH_STEP_PIXELS; in fillPath() local136 float stepX = (float) deltaX / numSteps; in fillPath()137 float stepY = (float) deltaY / numSteps; in fillPath()140 for (int step = 1; step < numSteps; ++step) { in fillPath()
359 int numSteps = range / stepSize; in getSensitivityTestValues() local361 if (numSteps > DEFAULT_NUM_SENSITIVITY_STEPS) { in getSensitivityTestValues()362 numSteps = DEFAULT_NUM_SENSITIVITY_STEPS; in getSensitivityTestValues()363 stepSize = range / numSteps; in getSensitivityTestValues()365 int[] testValues = new int[numSteps + 1]; in getSensitivityTestValues()
1234 public LevelStepTracker(int numSteps, long[] steps) { in LevelStepTracker() argument1235 mNumStepDurations = numSteps; in LevelStepTracker()1236 mStepDurations = new long[numSteps]; in LevelStepTracker()1237 System.arraycopy(steps, 0, mStepDurations, 0, numSteps); in LevelStepTracker()1396 final int numSteps = mNumStepDurations; in computeTimePerLevel() local1399 if (numSteps <= 0) { in computeTimePerLevel()1403 for (int i=0; i<numSteps; i++) { in computeTimePerLevel()1406 return total / numSteps; in computeTimePerLevel()
13974 private long computeTimePerLevel(long[] steps, int numSteps) { in computeTimePerLevel() argument13976 if (numSteps <= 0) { in computeTimePerLevel()13980 for (int i=0; i<numSteps; i++) { in computeTimePerLevel()13983 return total / numSteps; in computeTimePerLevel()