Searched refs:mmIndex (Results 1 – 2 of 2) sorted by relevance
466 private int mmIndex = 0; field in SensorManagerFacade.RollingAverage476 mmSum -= mmData[mmIndex]; in add()477 mmData[mmIndex] = value; in add()478 mmSum += mmData[mmIndex]; in add()479 ++mmIndex; in add()480 mmIndex %= mmSampleSize; in add()481 mmFilled = (!mmFilled) ? mmIndex == 0 : mmFilled; in add()485 if (!mmFilled && mmIndex == 0) { in get()488 return (mmFilled) ? (mmSum / mmSampleSize) : (mmSum / mmIndex); in get()
520 private final int mmIndex; field in ScriptEditor.EditItem529 mmIndex = start; in EditItem()541 int start = edit.mmIndex; in undo()559 int start = edit.mmIndex; in redo()