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

1 2

  /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 {
  /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 51 import android.widget.TabHost;
112 TabHost tabHost = (TabHost)findViewById(android.R.id.tabhost);
113 tabHost.setup();
115 TabsAdapter adapter = new TabsAdapter(this, tabHost, viewPager);
116 adapter.setOnTabChangedListener(new TabHost.OnTabChangeListener() {
155 adapter.addTab(tabHost.newTabSpec(TAB_ID_NEW).setIndicator(
181 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 30 import android.widget.TabHost;
32 import android.widget.TabHost.OnTabChangeListener;
33 import android.widget.TabHost.TabSpec;
36 * Test {@link TabHost}.
41 private static final int TAB_HOST_ID = android.R.id.tabhost;
56 new TabHost(mActivity);
58 new TabHost(mActivity, null);
62 TabHost tabHost = new TabHost(mActivity)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java 119 import android.widget.TabHost;
120 import android.widget.TabHost.OnTabChangeListener;
121 import android.widget.TabHost.TabContentFactory;
122 import android.widget.TabHost.TabSpec;
201 private TabHost mTabHost;
323 mTabHost = (TabHost) view.findViewById(android.R.id.tabhost);
681 * Factory that provide empty {@link View} to make {@link TabHost} happy.
    [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/20/
android.jar 
  /prebuilts/sdk/21/
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 
  /prebuilts/tools/common/api-versions/android-1/
android.jar 

Completed in 1146 milliseconds

1 2