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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DTabsAdapter.java45 private final TabHost mTabHost; field in class:TabsAdapter
79 mTabHost = tabHost;
81 mTabHost.setOnTabChangedListener(this);
92 mTabHost.addTab(tabSpec);
124 int position = mTabHost.getCurrentTab();
142 TabWidget widget = mTabHost.getTabWidget();
145 mTabHost.setCurrentTab(position);
/packages/apps/Settings/src/com/android/settings/
H A DIccLockSettings.java102 private TabHost mTabHost; field in class:IccLockSettings
209 mTabHost = (TabHost) findViewById(android.R.id.tabhost);
213 mTabHost.setup();
214 mTabHost.setOnTabChangedListener(mTabListener);
215 mTabHost.clearAllTabs();
219 mTabHost.addTab(buildTabSpec(String.valueOf(i),
489 return new View(mTabHost.getContext());
494 return mTabHost.newTabSpec(tag).setIndicator(title).setContent(
H A DTrustedCredentialsSettings.java165 private TabHost mTabHost; field in class:TrustedCredentialsSettings
181 mTabHost = (TabHost) inflater.inflate(R.layout.trusted_credentials, parent, false);
182 mTabHost.setup();
188 mTabHost.setCurrentTabByTag(Tab.USER.mTag);
190 return mTabHost;
214 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag)
217 mTabHost.addTab(systemSpec);
220 ExpandableListView lv = (ExpandableListView) mTabHost.findViewById(tab.mExpandableList);
233 ListView lv = (ListView) mTabHost.findViewById(tab.mList);
427 View content = mTabHost
[all...]
H A DDataUsageSummary.java211 private TabHost mTabHost; field in class:DataUsageSummary
347 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost);
361 mTabHost.setup();
362 mTabHost.setOnTabChangedListener(mTabListener);
671 mTabHost.clearAllTabs();
683 mTabHost.addTab(buildTabSpec(TAB_WIFI, R.string.data_usage_tab_wifi));
687 mTabHost.addTab(buildTabSpec(TAB_ETHERNET, R.string.data_usage_tab_ethernet));
694 if (Objects.equal(mIntentTab, mTabHost.getCurrentTabTag())) {
698 mTabHost.setCurrentTabByTag(mIntentTab);
715 return new View(mTabHost
[all...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DSimStatus.java109 private TabHost mTabHost; field in class:SimStatus
160 mTabHost = (TabHost) findViewById(android.R.id.tabhost);
164 mTabHost.setup();
165 mTabHost.setOnTabChangedListener(mTabListener);
166 mTabHost.clearAllTabs();
169 mTabHost.addTab(buildTabSpec(String.valueOf(i),
415 return new View(mTabHost.getContext());
420 return mTabHost.newTabSpec(tag).setIndicator(title).setContent(
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiPalettesView.java88 private TabHost mTabHost; field in class:EmojiPalettesView
165 mTabHost = (TabHost)findViewById(R.id.emoji_category_tabhost);
166 mTabHost.setup();
169 addTab(mTabHost, properties.mCategoryId);
171 mTabHost.setOnTabChangedListener(this);
172 final TabWidget tabWidget = mTabHost.getTabWidget();
433 if (force || mTabHost.getCurrentTab() != newTabId) {
434 mTabHost.setCurrentTab(newTabId);
/packages/services/Telephony/src/com/android/phone/
H A DMobileNetworkSettings.java128 // We assume the the value returned by mTabHost.getCurrentTab() == slotId
129 private TabHost mTabHost; field in class:MobileNetworkSettings
293 currentTab = mTabHost != null ? mTabHost.getCurrentTab() : 0;
297 mTabHost = (TabHost) findViewById(android.R.id.tabhost);
298 mTabHost.setup();
320 mTabHost.addTab(buildTabSpec(String.valueOf(simSlotIndex), tabName));
323 mTabHost.setOnTabChangedListener(mTabListener);
324 mTabHost.setCurrentTab(currentTab);
330 if (mTabHost !
[all...]

Completed in 416 milliseconds