Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java110 private TabHost mTabHost; field in IccLockSettings
230 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost); in onCreateView()
234 mTabHost.setup(); in onCreateView()
235 mTabHost.setOnTabChangedListener(mTabListener); in onCreateView()
236 mTabHost.clearAllTabs(); in onCreateView()
241 mTabHost.addTab(buildTabSpec(String.valueOf(i), in onCreateView()
252 mTabHost.setCurrentTabByTag(savedInstanceState.getString(CURRENT_TAB)); in onCreateView()
346 if (mTabHost != null) { in onSaveInstanceState()
347 out.putString(CURRENT_TAB, mTabHost.getCurrentTabTag()); in onSaveInstanceState()
604 return new View(mTabHost.getContext());
[all …]
DTrustedCredentialsSettings.java151 private TabHost mTabHost; field in TrustedCredentialsSettings
220 mTabHost = (TabHost) inflater.inflate(R.layout.trusted_credentials, parent, false); in onCreateView()
221 mTabHost.setup(); in onCreateView()
227 mTabHost.setCurrentTabByTag(Tab.USER.mTag); in onCreateView()
229 return mTabHost; in onCreateView()
276 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
279 mTabHost.addTab(systemSpec); in addTab()
286 final ViewGroup contentView = (ViewGroup) mTabHost.findViewById(tab.mContentView); in addTab()
686 View content = mTabHost.getTabContentView(); in onPreExecute()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java112 private TabHost mTabHost; field in IccLockSettings
259 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost); in onCreateView()
263 mTabHost.setup(); in onCreateView()
264 mTabHost.setOnTabChangedListener(mTabListener); in onCreateView()
265 mTabHost.clearAllTabs(); in onCreateView()
269 mTabHost.addTab(buildTabSpec(String.valueOf(slot), in onCreateView()
278 mTabHost.setCurrentTabByTag(savedInstanceState.getString(CURRENT_TAB)); in onCreateView()
379 if (mTabHost != null) { in onSaveInstanceState()
380 out.putString(CURRENT_TAB, mTabHost.getCurrentTabTag()); in onSaveInstanceState()
694 return new View(mTabHost.getContext());
[all …]
DTrustedCredentialsSettings.java151 private TabHost mTabHost; field in TrustedCredentialsSettings
220 mTabHost = (TabHost) inflater.inflate(R.layout.trusted_credentials, parent, false); in onCreateView()
221 mTabHost.setup(); in onCreateView()
227 mTabHost.setCurrentTabByTag(Tab.USER.mTag); in onCreateView()
229 return mTabHost; in onCreateView()
276 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
279 mTabHost.addTab(systemSpec); in addTab()
286 final ViewGroup contentView = (ViewGroup) mTabHost.findViewById(tab.mContentView); in addTab()
686 View content = mTabHost.getTabContentView(); in onPreExecute()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java85 private TabHost mTabHost; field in EmojiPalettesView
165 mTabHost = (TabHost)findViewById(R.id.emoji_category_tabhost); in onFinishInflate()
166 mTabHost.setup(); in onFinishInflate()
169 addTab(mTabHost, properties.mCategoryId); in onFinishInflate()
171 mTabHost.setOnTabChangedListener(this); in onFinishInflate()
172 final TabWidget tabWidget = mTabHost.getTabWidget(); in onFinishInflate()
434 if (force || mTabHost.getCurrentTab() != newTabId) { in setCurrentCategoryId()
435 mTabHost.setCurrentTab(newTabId); in setCurrentCategoryId()