Searched refs:mMagnitudes (Results 1 – 1 of 1) sorted by relevance
210 private ArrayList<Float> mMagnitudes = new ArrayList<>(); field in StepSensorPermissionTestActivity.AccelRecorder218 mMagnitudes.clear(); in start()228 if (mMagnitudes.size() <= 1) { in variance()233 for (float val : mMagnitudes) { in variance()236 mean /= mMagnitudes.size(); in variance()239 for (float val : mMagnitudes) { in variance()242 return var / (mMagnitudes.size() - 1); in variance()251 mMagnitudes.add((float)Math.sqrt(magnitude)); in onSensorChanged()