Home
last modified time | relevance | path

Searched refs:mSteps (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DBatchStepSensorFragment.java93 private int mSteps = 0; field in BatchStepSensorFragment
303 mSteps = 0; in resetCounter()
327 mSteps += event.values.length;
331 .setTitle(getString(R.string.counting_title, mSteps))
336 "New step detected by STEP_DETECTOR sensor. Total step count: " + mSteps);
351 mSteps = (int) event.values[0] - mCounterSteps;
355 mSteps = mSteps + mPreviousCounterSteps;
359 .setTitle(getString(R.string.counting_title, mSteps))
362 Log.i(TAG, "New step detected by STEP_COUNTER sensor. Total step count: " + mSteps);
426 outState.putInt(BUNDLE_STEPS, mSteps); in onSaveInstanceState()
[all …]
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DStepAdapter.java38 private List<ShowcaseFragment.Step> mSteps; field in StepAdapter
48 mSteps = steps; in StepAdapter()
93 return mSteps.get(i); in getStep()
98 return mSteps.size(); in getCount()
DShowcaseFragment.java44 private List<Step> mSteps = new LinkedList<>(); field in ShowcaseFragment
59 mAdapter = new StepAdapter(context, mSteps); in onAttach()
126 mSteps.add(step); in addStep()