OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTabHost
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/core/java/android/app/
TabActivity.java
55
private TabHost
mTabHost
;
88
mTabHost
.setCurrentTabByTag(cur);
90
if (
mTabHost
.getCurrentTab() < 0) {
92
mTabHost
.setCurrentTabByTag(mDefaultTab);
94
mTabHost
.setCurrentTab(mDefaultTabIndex);
105
if (
mTabHost
.getCurrentTab() == -1) {
106
mTabHost
.setCurrentTab(0);
113
String currentTabTag =
mTabHost
.getCurrentTabTag();
128
mTabHost
= (TabHost) findViewById(com.android.internal.R.id.tabhost);
130
if (
mTabHost
== null)
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
TabHost_TabSpecTest.java
46
private TabHost
mTabHost
;
57
mTabHost
= mActivity.getTabHost();
62
TabSpec tabSpec =
mTabHost
.newTabSpec(TAG_TAB2);
66
mTabHost
.addTab(tabSpec);
67
mTabHost
.setCurrentTab(1);
68
View currentTabView =
mTabHost
.getCurrentTabView();
74
tabSpec =
mTabHost
.newTabSpec("tab 3");
76
mTabHost
.addTab(tabSpec);
77
mTabHost
.setCurrentTab(2);
78
currentTabView =
mTabHost
.getCurrentTabView()
[
all
...]
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentTabsPager.java
39
TabHost
mTabHost
;
48
mTabHost
= (TabHost)findViewById(android.R.id.tabhost);
49
mTabHost
.setup();
53
mTabsAdapter = new TabsAdapter(this,
mTabHost
, mViewPager);
55
mTabsAdapter.addTab(
mTabHost
.newTabSpec("simple").setIndicator("Simple"),
57
mTabsAdapter.addTab(
mTabHost
.newTabSpec("contacts").setIndicator("Contacts"),
59
mTabsAdapter.addTab(
mTabHost
.newTabSpec("custom").setIndicator("Custom"),
61
mTabsAdapter.addTab(
mTabHost
.newTabSpec("throttle").setIndicator("Throttle"),
65
mTabHost
.setCurrentTabByTag(savedInstanceState.getString("tab"));
72
outState.putString("tab",
mTabHost
.getCurrentTabTag())
[
all
...]
FragmentTabs.java
37
TabHost
mTabHost
;
45
mTabHost
= (TabHost)findViewById(android.R.id.tabhost);
46
mTabHost
.setup();
48
mTabManager = new TabManager(this,
mTabHost
, R.id.realtabcontent);
50
mTabManager.addTab(
mTabHost
.newTabSpec("simple").setIndicator("Simple"),
52
mTabManager.addTab(
mTabHost
.newTabSpec("contacts").setIndicator("Contacts"),
54
mTabManager.addTab(
mTabHost
.newTabSpec("custom").setIndicator("Custom"),
56
mTabManager.addTab(
mTabHost
.newTabSpec("throttle").setIndicator("Throttle"),
60
mTabHost
.setCurrentTabByTag(savedInstanceState.getString("tab"));
67
outState.putString("tab",
mTabHost
.getCurrentTabTag())
[
all
...]
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
TabHelperEclair.java
45
private TabHost
mTabHost
;
56
if (
mTabHost
== null) {
57
mTabHost
= (TabHost) mActivity.findViewById(android.R.id.tabhost);
58
mTabHost
.setup();
59
mTabHost
.setOnTabChangedListener(this);
69
spec =
mTabHost
.newTabSpec(tag).setIndicator(tab.getText(), tab.getIcon());
71
spec =
mTabHost
.newTabSpec(tag).setIndicator(tab.getText());
90
mTabHost
.addTab(spec);
127
outState.putString("tab",
mTabHost
.getCurrentTabTag());
133
mTabHost
.setCurrentTabByTag(savedInstanceState.getString("tab"))
[
all
...]
/packages/apps/Settings/src/com/android/settings/
TrustedCredentialsSettings.java
142
private TabHost
mTabHost
;
146
mTabHost
= (TabHost) inflater.inflate(R.layout.trusted_credentials, parent, false);
147
mTabHost
.setup();
151
return
mTabHost
;
155
TabHost.TabSpec systemSpec =
mTabHost
.newTabSpec(tab.mTag)
158
mTabHost
.addTab(systemSpec);
160
ListView lv = (ListView)
mTabHost
.findViewById(tab.mList);
218
View content =
mTabHost
.getTabContentView();
253
View content =
mTabHost
.getTabContentView();
DataUsageSummary.java
200
private TabHost
mTabHost
;
306
mTabHost
= (TabHost) view.findViewById(android.R.id.tabhost);
325
mTabHost
.setup();
326
mTabHost
.setOnTabChangedListener(mTabListener);
611
mTabHost
.clearAllTabs();
615
mTabHost
.addTab(buildTabSpec(TAB_3G, R.string.data_usage_tab_3g));
616
mTabHost
.addTab(buildTabSpec(TAB_4G, R.string.data_usage_tab_4g));
618
mTabHost
.addTab(buildTabSpec(TAB_MOBILE, R.string.data_usage_tab_mobile));
621
mTabHost
.addTab(buildTabSpec(TAB_WIFI, R.string.data_usage_tab_wifi));
624
mTabHost
.addTab(buildTabSpec(TAB_ETHERNET, R.string.data_usage_tab_ethernet))
[
all
...]
Completed in 786 milliseconds