Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/
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/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/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()
/packages/services/Telephony/src/com/android/phone/
DMobileNetworkSettings.java426 private TabHost mTabHost; field in MobileNetworkSettings.MobileNetworkFragment
626 currentTab = mTabHost != null ? mTabHost.getCurrentTab() : 0; in initializeSubscriptions()
628 mTabHost = (TabHost) getActivity().findViewById(android.R.id.tabhost); in initializeSubscriptions()
629 mTabHost.setup(); in initializeSubscriptions()
652 mTabHost.addTab(buildTabSpec(String.valueOf(simSlotIndex), tabName)); in initializeSubscriptions()
655 mTabHost.setOnTabChangedListener(mTabListener); in initializeSubscriptions()
656 mTabHost.setCurrentTab(currentTab); in initializeSubscriptions()
662 if (mTabHost != null) { in initializeSubscriptions()
663 mTabHost.clearAllTabs(); in initializeSubscriptions()
664 mTabHost = null; in initializeSubscriptions()
[all …]