Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DTabActivity.java55 private TabHost mTabHost; field in TabActivity
88 mTabHost.setCurrentTabByTag(cur); in onRestoreInstanceState()
90 if (mTabHost.getCurrentTab() < 0) { in onRestoreInstanceState()
92 mTabHost.setCurrentTabByTag(mDefaultTab); in onRestoreInstanceState()
94 mTabHost.setCurrentTab(mDefaultTabIndex); in onRestoreInstanceState()
105 if (mTabHost.getCurrentTab() == -1) { in onPostCreate()
106 mTabHost.setCurrentTab(0); in onPostCreate()
113 String currentTabTag = mTabHost.getCurrentTabTag(); in onSaveInstanceState()
128 mTabHost = (TabHost) findViewById(com.android.internal.R.id.tabhost); in onContentChanged()
130 if (mTabHost == null) { in onContentChanged()
[all …]
/frameworks/base/docs/html/training/backward-compatible-ui/
Dolder-implementation.jd99 private TabHost mTabHost;
103 if (mTabHost == null) {
106 mTabHost = (TabHost) mActivity.findViewById(
108 mTabHost.setup();
114 TabSpec spec = mTabHost
118 mTabHost.addTab(spec);