Lines Matching defs:steps
619 public LevelStepTracker(int numSteps, long[] steps) {
622 System.arraycopy(steps, 0, mStepDurations, 0, numSteps);
780 final long[] steps = mStepDurations;
783 // For now we'll do a simple average across all steps.
789 total += steps[i] & STEP_LEVEL_TIME_MASK;
801 totalTime += steps[i+j] & STEP_LEVEL_TIME_MASK;
822 final long[] steps = mStepDurations;
830 long initMode = (steps[i] & STEP_LEVEL_INITIAL_MODE_MASK)
832 long modMode = (steps[i] & STEP_LEVEL_MODIFIED_MODE_MASK)
840 total += steps[i] & STEP_LEVEL_TIME_MASK;
861 final long[] steps = mStepDurations;
864 System.arraycopy(steps, 0, steps, 1, steps.length-1);
870 steps[0] = thisDuration | modeBits;
873 if (stepCount > steps.length) {
874 stepCount = steps.length;
4630 LevelStepTracker steps, boolean checkin) {
4631 if (steps == null) {
4634 int count = steps.mNumStepDurations;
4643 long duration = steps.getDurationAt(i);
4644 int level = steps.getLevelAt(i);
4645 long initMode = steps.getInitModeAt(i);
4646 long modMode = steps.getModModeAt(i);
4802 LevelStepTracker steps, StringBuilder tmpSb, int[] tmpOutInt) {
4803 if (steps == null) {
4806 long timeRemaining = steps.computeTimeEstimate(0, 0, tmpOutInt);
4813 pw.println(" steps)");
4816 long estimatedTime = steps.computeTimeEstimate(STEP_LEVEL_MODES_OF_INTEREST[i],
4826 pw.println(" steps)");
4944 final LevelStepTracker steps = getDischargeLevelStepTracker();
4947 steps.computeTimeEstimate(STEP_LEVEL_MODES_OF_INTEREST[i],
4993 pw.println(" Current daily steps:");