Home
last modified time | relevance | path

Searched refs:mThemeId (Results 1 – 2 of 2) sorted by relevance

/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentActivity.java12 private int mThemeId = 0; field in ContentActivity
22 mThemeId = extras.getInt("theme"); in onCreate()
25 mThemeId = savedInstanceState.getInt("theme"); in onCreate()
28 if (mThemeId != 0) { in onCreate()
29 setTheme(mThemeId); in onCreate()
46 outState.putInt("theme", mThemeId); in onSaveInstanceState()
DMainActivity.java60 private int mThemeId = -1; field in MainActivity
70 mThemeId = savedInstanceState.getInt("theme"); in onCreate()
71 this.setTheme(mThemeId); in onCreate()
118 intent.putExtra("theme", mThemeId); in onOptionsItemSelected()
127 if (mThemeId == R.style.AppTheme_Dark) { in onOptionsItemSelected()
128 mThemeId = R.style.AppTheme_Light; in onOptionsItemSelected()
130 mThemeId = R.style.AppTheme_Dark; in onOptionsItemSelected()
316 outState.putInt("theme", mThemeId); in onSaveInstanceState()
331 intent.putExtra("theme", mThemeId); in onItemSelected()