Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java157 private TabHost mTabHost; field in TrustedCredentialsSettings
168 mTabHost = (TabHost) inflater.inflate(R.layout.trusted_credentials, parent, false); in onCreateView()
169 mTabHost.setup(); in onCreateView()
175 mTabHost.setCurrentTabByTag(Tab.USER.mTag); in onCreateView()
177 return mTabHost; in onCreateView()
181 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
184 mTabHost.addTab(systemSpec); in addTab()
186 ListView lv = (ListView) mTabHost.findViewById(tab.mList); in addTab()
244 View content = mTabHost.getTabContentView(); in onPreExecute()
279 View content = mTabHost.getTabContentView(); in onPostExecute()
DDataUsageSummary.java200 private TabHost mTabHost; field in DataUsageSummary
316 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost); in onCreateView()
330 mTabHost.setup(); in onCreateView()
331 mTabHost.setOnTabChangedListener(mTabListener); in onCreateView()
620 mTabHost.clearAllTabs(); in updateTabs()
624 mTabHost.addTab(buildTabSpec(TAB_3G, R.string.data_usage_tab_3g)); in updateTabs()
625 mTabHost.addTab(buildTabSpec(TAB_4G, R.string.data_usage_tab_4g)); in updateTabs()
627 mTabHost.addTab(buildTabSpec(TAB_MOBILE, R.string.data_usage_tab_mobile)); in updateTabs()
630 mTabHost.addTab(buildTabSpec(TAB_WIFI, R.string.data_usage_tab_wifi)); in updateTabs()
633 mTabHost.addTab(buildTabSpec(TAB_ETHERNET, R.string.data_usage_tab_ethernet)); in updateTabs()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DTabsAdapter.java45 private final TabHost mTabHost; field in TabsAdapter
79 mTabHost = tabHost; in TabsAdapter()
81 mTabHost.setOnTabChangedListener(this); in TabsAdapter()
92 mTabHost.addTab(tabSpec); in addTab()
124 int position = mTabHost.getCurrentTab(); in onTabChanged()
142 TabWidget widget = mTabHost.getTabWidget(); in onPageSelected()
145 mTabHost.setCurrentTab(position); in onPageSelected()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DEmojiPalettesView.java85 private TabHost mTabHost; field in EmojiPalettesView
453 mTabHost = (TabHost)findViewById(R.id.emoji_category_tabhost); in onFinishInflate()
454 mTabHost.setup(); in onFinishInflate()
456 addTab(mTabHost, properties.mCategoryId); in onFinishInflate()
458 mTabHost.setOnTabChangedListener(this); in onFinishInflate()
459 mTabHost.getTabWidget().setStripEnabled(true); in onFinishInflate()
625 if (force || mTabHost.getCurrentTab() != newTabId) { in setCurrentCategoryId()
626 mTabHost.setCurrentTab(newTabId); in setCurrentCategoryId()