HomeSort by relevance Sort by last modified time
    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 50 private TabHost mTabHost;
61 mTabHost = mActivity.getTabHost();
71 TabSpec tabSpec = mTabHost.newTabSpec(TAG_TAB2);
75 mTabHost.addTab(tabSpec);
76 mTabHost.setCurrentTab(1);
77 View currentTabView = mTabHost.getCurrentTabView();
83 tabSpec = mTabHost.newTabSpec("tab 3");
85 mTabHost.addTab(tabSpec);
86 mTabHost.setCurrentTab(2);
87 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...]
  /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 189 private TabHost mTabHost;
283 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost);
302 mTabHost.setup();
303 mTabHost.setOnTabChangedListener(mTabListener);
570 mTabHost.clearAllTabs();
574 mTabHost.addTab(buildTabSpec(TAB_3G, R.string.data_usage_tab_3g));
575 mTabHost.addTab(buildTabSpec(TAB_4G, R.string.data_usage_tab_4g));
577 mTabHost.addTab(buildTabSpec(TAB_MOBILE, R.string.data_usage_tab_mobile));
580 mTabHost.addTab(buildTabSpec(TAB_WIFI, R.string.data_usage_tab_wifi));
583 mTabHost.addTab(buildTabSpec(TAB_ETHERNET, R.string.data_usage_tab_ethernet))
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
ManageApplications.java 197 private TabHost mTabHost;
626 mTabHost = (TabHost) mInflater.inflate(R.layout.manage_apps_tab_content, container, false);
627 mTabHost.setup();
628 final TabHost tabHost = mTabHost;
651 prepareCustomPreferencesList(container, mTabHost, mListView, false);
653 return mTabHost;
667 mTabHost.getTabWidget().setEnabled(true);
690 mTabHost.getTabWidget().setEnabled(false);
    [all...]

Completed in 1018 milliseconds