Home
last modified time | relevance | path

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

/packages/services/Telephony/src/com/android/phone/
DMobileNetworkSettings.java129 private TabHost mTabHost; field in MobileNetworkSettings
293 currentTab = mTabHost != null ? mTabHost.getCurrentTab() : 0; in initializeSubscriptions()
297 mTabHost = (TabHost) findViewById(android.R.id.tabhost); in initializeSubscriptions()
298 mTabHost.setup(); in initializeSubscriptions()
320 mTabHost.addTab(buildTabSpec(String.valueOf(simSlotIndex), tabName)); in initializeSubscriptions()
323 mTabHost.setOnTabChangedListener(mTabListener); in initializeSubscriptions()
324 mTabHost.setCurrentTab(currentTab); in initializeSubscriptions()
330 if (mTabHost != null) { in initializeSubscriptions()
331 mTabHost.clearAllTabs(); in initializeSubscriptions()
332 mTabHost = null; in initializeSubscriptions()
[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/apps/Settings/src/com/android/settings/deviceinfo/
DSimStatus.java109 private TabHost mTabHost; field in SimStatus
160 mTabHost = (TabHost) findViewById(android.R.id.tabhost); in onCreate()
164 mTabHost.setup(); in onCreate()
165 mTabHost.setOnTabChangedListener(mTabListener); in onCreate()
166 mTabHost.clearAllTabs(); in onCreate()
169 mTabHost.addTab(buildTabSpec(String.valueOf(i), in onCreate()
415 return new View(mTabHost.getContext());
420 return mTabHost.newTabSpec(tag).setIndicator(title).setContent( in buildTabSpec()
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java102 private TabHost mTabHost; field in IccLockSettings
209 mTabHost = (TabHost) findViewById(android.R.id.tabhost); in onCreate()
213 mTabHost.setup(); in onCreate()
214 mTabHost.setOnTabChangedListener(mTabListener); in onCreate()
215 mTabHost.clearAllTabs(); in onCreate()
219 mTabHost.addTab(buildTabSpec(String.valueOf(i), in onCreate()
489 return new View(mTabHost.getContext());
494 return mTabHost.newTabSpec(tag).setIndicator(title).setContent( in buildTabSpec()
DTrustedCredentialsSettings.java165 private TabHost mTabHost; field in TrustedCredentialsSettings
181 mTabHost = (TabHost) inflater.inflate(R.layout.trusted_credentials, parent, false); in onCreateView()
182 mTabHost.setup(); in onCreateView()
188 mTabHost.setCurrentTabByTag(Tab.USER.mTag); in onCreateView()
190 return mTabHost; in onCreateView()
214 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
217 mTabHost.addTab(systemSpec); in addTab()
220 ExpandableListView lv = (ExpandableListView) mTabHost.findViewById(tab.mExpandableList); in addTab()
233 ListView lv = (ListView) mTabHost.findViewById(tab.mList); in addTab()
427 View content = mTabHost.getTabContentView(); in onPreExecute()
DDataUsageSummary.java211 private TabHost mTabHost; field in DataUsageSummary
347 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost); in onCreateView()
361 mTabHost.setup(); in onCreateView()
362 mTabHost.setOnTabChangedListener(mTabListener); in onCreateView()
671 mTabHost.clearAllTabs(); in updateTabs()
683 mTabHost.addTab(buildTabSpec(TAB_WIFI, R.string.data_usage_tab_wifi)); in updateTabs()
687 mTabHost.addTab(buildTabSpec(TAB_ETHERNET, R.string.data_usage_tab_ethernet)); in updateTabs()
694 if (Objects.equal(mIntentTab, mTabHost.getCurrentTabTag())) { in updateTabs()
698 mTabHost.setCurrentTabByTag(mIntentTab); in updateTabs()
715 return new View(mTabHost.getContext());
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java88 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()
433 if (force || mTabHost.getCurrentTab() != newTabId) { in setCurrentCategoryId()
434 mTabHost.setCurrentTab(newTabId); in setCurrentCategoryId()