Lines Matching defs:steps
616 public LevelStepTracker(int numSteps, long[] steps) {
619 System.arraycopy(steps, 0, mStepDurations, 0, numSteps);
777 final long[] steps = mStepDurations;
780 // For now we'll do a simple average across all steps.
786 total += steps[i] & STEP_LEVEL_TIME_MASK;
798 totalTime += steps[i+j] & STEP_LEVEL_TIME_MASK;
819 final long[] steps = mStepDurations;
827 long initMode = (steps[i] & STEP_LEVEL_INITIAL_MODE_MASK)
829 long modMode = (steps[i] & STEP_LEVEL_MODIFIED_MODE_MASK)
837 total += steps[i] & STEP_LEVEL_TIME_MASK;
858 final long[] steps = mStepDurations;
861 System.arraycopy(steps, 0, steps, 1, steps.length-1);
867 steps[0] = thisDuration | modeBits;
870 if (stepCount > steps.length) {
871 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:");