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

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTabActivity.java 4 import android.widget.TabHost;
15 TabHost tabhost; field in class:ShadowTabActivity
17 public TabHost getTabHost() {
18 if (tabhost==null) {
19 tabhost = new TabHost(realTabActivity);
21 return tabhost;
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentTabs.java 27 * TabHost through fragments, using FragmentTabHost.
37 mTabHost = (FragmentTabHost)findViewById(android.R.id.tabhost);
FragmentTabsPager.java 28 import android.widget.TabHost;
34 * Demonstrates combining a TabHost with a ViewPager to implement a tab UI
39 TabHost mTabHost;
48 mTabHost = (TabHost)findViewById(android.R.id.tabhost);
77 * details of connecting a ViewPager with associated TabHost. It relies on a
87 implements TabHost.OnTabChangeListener, ViewPager.OnPageChangeListener {
89 private final TabHost mTabHost;
105 static class DummyTabFactory implements TabHost.TabContentFactory {
121 public TabsAdapter(FragmentActivity activity, TabHost tabHost, ViewPager pager)
    [all...]
  /frameworks/base/core/java/android/app/
TabActivity.java 21 import android.widget.TabHost;
32 * TabHost. You will need to define a layout that correctly uses a TabHost
55 private TabHost mTabHost;
128 mTabHost = (TabHost) findViewById(com.android.internal.R.id.tabhost);
132 "Your content must have a TabHost whose id attribute is " +
133 "'android.R.id.tabhost'");
157 * Returns the {@link TabHost} the activity is using to host its tabs.
159 * @return the {@link TabHost} the activity is using to host its tabs
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
TabHelperEclair.java 25 import android.widget.TabHost;
26 import android.widget.TabHost.TabSpec;
42 public class TabHelperEclair extends TabHelper implements TabHost.OnTabChangeListener {
45 private TabHost mTabHost;
57 mTabHost = (TabHost) mActivity.findViewById(android.R.id.tabhost);
140 static class DummyTabFactory implements TabHost.TabContentFactory {
  /cts/tests/tests/holo/src/android/holo/cts/
LayoutAdapter.java 209 addLayout(R.string.tabhost, "tabhost",
210 R.layout.tabhost, new TabHostModifier(), SHORT_TIMEOUT_MS);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentTabsFragment.java 30 import android.widget.TabHost;
49 TabHost host = mTabManager.handleCreateView(v);
88 public static class TabManager implements TabHost.OnTabChangeListener {
93 private TabHost mTabHost;
111 static class DummyTabFactory implements TabHost.TabContentFactory {
133 public TabHost handleCreateView(View root) {
135 throw new IllegalStateException("TabHost already set");
137 mTabHost = (TabHost)root.findViewById(android.R.id.tabhost);
143 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args)
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
GrantActivity.java 33 import android.widget.TabHost;
86 TabHost tabHost = (TabHost)findViewById(android.R.id.tabhost);
87 tabHost.setup();
89 TabsAdapter adapter = new TabsAdapter(this, tabHost, viewPager);
94 adapter.addTab(tabHost.newTabSpec("new").setIndicator(
96 adapter.addTab(tabHost.newTabSpec("all").setIndicator(
PackageInstallerActivity.java 49 import android.widget.TabHost;
107 TabHost tabHost = (TabHost)findViewById(android.R.id.tabhost);
108 tabHost.setup();
110 TabsAdapter adapter = new TabsAdapter(this, tabHost, viewPager);
111 adapter.setOnTabChangedListener(new TabHost.OnTabChangeListener() {
150 adapter.addTab(tabHost.newTabSpec(TAB_ID_NEW).setIndicator(
176 adapter.addTab(tabHost.newTabSpec(TAB_ID_ALL).setIndicator
    [all...]
  /frameworks/support/v13/java/android/support/v13/app/
FragmentTabHost.java 34 import android.widget.TabHost;
42 public class FragmentTabHost extends TabHost
43 implements TabHost.OnTabChangeListener {
49 private TabHost.OnTabChangeListener mOnTabChangeListener;
66 static class DummyTabFactory implements TabHost.TabContentFactory {
169 * @deprecated Don't call the original TabHost setup, you must instead
199 setId(android.R.id.tabhost);
218 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) {
  /frameworks/support/v4/java/android/support/v4/app/
FragmentTabHost.java 31 import android.widget.TabHost;
35 * Special TabHost that allows the use of {@link Fragment} objects for
50 public class FragmentTabHost extends TabHost
51 implements TabHost.OnTabChangeListener {
57 private TabHost.OnTabChangeListener mOnTabChangeListener;
74 static class DummyTabFactory implements TabHost.TabContentFactory {
177 * @deprecated Don't call the original TabHost setup, you must instead
207 setId(android.R.id.tabhost);
226 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) {
  /cts/tests/tests/widget/src/android/widget/cts/
TabHostTest.java 29 import android.widget.TabHost;
31 import android.widget.TabHost.OnTabChangeListener;
32 import android.widget.TabHost.TabSpec;
35 * Test {@link TabHost}.
40 private static final int TAB_HOST_ID = android.R.id.tabhost;
55 new TabHost(mActivity);
57 new TabHost(mActivity, null);
61 TabHost tabHost = new TabHost(mActivity)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java 123 import android.widget.TabHost;
124 import android.widget.TabHost.OnTabChangeListener;
125 import android.widget.TabHost.TabContentFactory;
126 import android.widget.TabHost.TabSpec;
200 private TabHost mTabHost;
316 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost);
656 * Factory that provide empty {@link View} to make {@link TabHost} happy.
    [all...]
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 3362 milliseconds