HomeSort by relevance Sort by last modified time
    Searched refs:mTabHost (Results 1 - 18 of 18) sorted by null

  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentNestingTabsSupport.java 26 private FragmentTabHost mTabHost;
32 mTabHost = new FragmentTabHost(this);
33 setContentView(mTabHost);
34 mTabHost.setup(this, getSupportFragmentManager(), R.id.fragment1);
36 mTabHost.addTab(mTabHost.newTabSpec("menus").setIndicator("Menus"),
38 mTabHost.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"),
40 mTabHost.addTab(mTabHost.newTabSpec("stack").setIndicator("Stack")
    [all...]
FragmentTabsFragmentSupport.java 29 private FragmentTabHost mTabHost;
34 mTabHost = new FragmentTabHost(getActivity());
35 mTabHost.setup(getActivity(), getChildFragmentManager(), R.id.fragment1);
37 mTabHost.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"),
39 mTabHost.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"),
41 mTabHost.addTab(mTabHost.newTabSpec("custom").setIndicator("Custom"),
43 mTabHost.addTab(mTabHost.newTabSpec("throttle").setIndicator("Throttle")
    [all...]
FragmentTabs.java 30 private FragmentTabHost mTabHost;
37 mTabHost = (FragmentTabHost)findViewById(android.R.id.tabhost);
38 mTabHost.setup(this, getSupportFragmentManager(), R.id.realtabcontent);
40 mTabHost.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"),
42 mTabHost.addTab(mTabHost.newTabSpec("contacts").setIndicator("Contacts"),
44 mTabHost.addTab(mTabHost.newTabSpec("custom").setIndicator("Custom"),
46 mTabHost.addTab(mTabHost.newTabSpec("throttle").setIndicator("Throttle")
    [all...]
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...]
  /development/samples/Support13Demos/src/com/example/android/supportv13/app/
FragmentTabsFragment.java 28 private FragmentTabHost mTabHost;
33 mTabHost = new FragmentTabHost(getActivity());
34 mTabHost.setup(getActivity(), getChildFragmentManager(), R.id.pager);
36 mTabHost.addTab(mTabHost.newTabSpec("simple").setIndicator("Simple"),
38 mTabHost.addTab(mTabHost.newTabSpec("array").setIndicator("Array"),
40 mTabHost.addTab(mTabHost.newTabSpec("cursor").setIndicator("Cursor"),
43 return mTabHost;
    [all...]
  /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 45 private TabHost mTabHost;
56 mTabHost = mActivity.getTabHost();
61 TabSpec tabSpec = mTabHost.newTabSpec(TAG_TAB2);
65 mTabHost.addTab(tabSpec);
66 mTabHost.setCurrentTab(1);
67 View currentTabView = mTabHost.getCurrentTabView();
73 tabSpec = mTabHost.newTabSpec("tab 3");
75 mTabHost.addTab(tabSpec);
76 mTabHost.setCurrentTab(2);
77 currentTabView = mTabHost.getCurrentTabView()
    [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...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentTabsFragment.java 93 private TabHost mTabHost;
134 if (mTabHost != null) {
137 mTabHost = (TabHost)root.findViewById(android.R.id.tabhost);
138 mTabHost.setup();
139 mTabHost.setOnTabChangedListener(this);
140 return mTabHost;
148 mTabHost.addTab(tabSpec);
155 mTabHost.setCurrentTabByTag(mCurrentTabTag);
157 String currentTab = mTabHost.getCurrentTabTag();
193 mCurrentTabTag = mTabHost.getCurrentTabTag()
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
TabsAdapter.java 45 private final TabHost mTabHost;
78 mTabHost = tabHost;
80 mTabHost.setOnTabChangedListener(this);
91 mTabHost.addTab(tabSpec);
119 int position = mTabHost.getCurrentTab();
134 TabWidget widget = mTabHost.getTabWidget();
137 mTabHost.setCurrentTab(position);
  /packages/apps/Settings/src/com/android/settings/
IccLockSettings.java 99 private TabHost mTabHost;
216 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost);
220 mTabHost.setup();
221 mTabHost.setOnTabChangedListener(mTabListener);
222 mTabHost.clearAllTabs();
227 mTabHost.addTab(buildTabSpec(String.valueOf(i),
511 return new View(mTabHost.getContext());
516 return mTabHost.newTabSpec(tag).setIndicator(title).setContent(
TrustedCredentialsSettings.java 158 private TabHost mTabHost;
223 mTabHost = (TabHost) inflater.inflate(R.layout.trusted_credentials, parent, false);
224 mTabHost.setup();
230 mTabHost.setCurrentTabByTag(Tab.USER.mTag);
232 return mTabHost;
277 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag)
280 mTabHost.addTab(systemSpec);
306 (ExpandableListView) mTabHost.findViewById(tab.mExpandableList));
581 mContainerView = (LinearLayout) mTabHost.findViewById(viewId);
671 View content = mTabHost.getTabContentView()
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
SimStatus.java 115 private TabHost mTabHost;
172 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost);
176 mTabHost.setup();
177 mTabHost.setOnTabChangedListener(mTabListener);
178 mTabHost.clearAllTabs();
181 mTabHost.addTab(buildTabSpec(String.valueOf(i),
472 return new View(mTabHost.getContext());
477 return mTabHost.newTabSpec(tag).setIndicator(title).setContent(
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
EmojiPalettesView.java 85 private TabHost mTabHost;
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();
434 if (force || mTabHost.getCurrentTab() != newTabId) {
435 mTabHost.setCurrentTab(newTabId);
  /packages/services/Telephony/src/com/android/phone/
MobileNetworkSettings.java 126 // We assume the the value returned by mTabHost.getCurrentTab() == slotId
127 private TabHost mTabHost;
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 != null)
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 

Completed in 503 milliseconds