Home
last modified time | relevance | path

Searched refs:mStatusTracker (Results 1 – 4 of 4) sorted by relevance

/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/
DActivityA.java36 private StatusTracker mStatusTracker = StatusTracker.getInstance(); field in ActivityA
45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate()
52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart()
59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart()
66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume()
73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause()
80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop()
86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
87 mStatusTracker.clear(); in onDestroy()
DActivityB.java36 private StatusTracker mStatusTracker = StatusTracker.getInstance(); field in ActivityB
45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate()
52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart()
59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart()
66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume()
73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause()
80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop()
86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
DActivityC.java36 private StatusTracker mStatusTracker = StatusTracker.getInstance(); field in ActivityC
45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate()
52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart()
59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart()
66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume()
73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause()
80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop()
86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
DUtils.java26 private static StatusTracker mStatusTracker = StatusTracker.getInstance(); field in Utils
42 List<String> listMethods = mStatusTracker.getMethodList(); in printStatus()
52 for (String key : mStatusTracker.keySet()) { in printStatus()
53 sbStatus.insert(0,key + ": " + mStatusTracker.getStatus(key) + "\n"); in printStatus()