/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTabSpec.java | 13 @Implements(TabHost.TabSpec.class) 17 TabHost.TabSpec realObject; 27 * Non-Android accessor, sets the tag on the TabSpec 41 * @return the view object set in a call to {@code TabSpec#setIndicator(View)} 63 public TabHost.TabSpec setIndicator(View view) { 69 public TabHost.TabSpec setIndicator(CharSequence label) { 75 public TabHost.TabSpec setIndicator(CharSequence label, Drawable icon) { 84 * @return the intent object set in a call to {@code TabSpec#setContent(Intent)} 91 public android.widget.TabHost.TabSpec setContent(Intent intent) { 97 public android.widget.TabHost.TabSpec setContent(TabContentFactory factory) [all...] |
ShadowTabHost.java | 7 import android.widget.TabHost.TabSpec; 22 private List<TabHost.TabSpec> tabSpecs = new ArrayList<TabHost.TabSpec>(); 30 public android.widget.TabHost.TabSpec newTabSpec(java.lang.String tag) { 31 TabSpec realTabSpec = Robolectric.newInstanceOf(TabHost.TabSpec.class); 37 public void addTab(android.widget.TabHost.TabSpec tabSpec) { 38 tabSpecs.add(tabSpec); 39 View indicatorAsView = shadowOf(tabSpec).getIndicatorAsView() [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TabHostTest.java | 28 TabHost.TabSpec tabSpec = tabHost.newTabSpec("Foo"); 29 assertThat(tabSpec.getTag(), equalTo("Foo")); 37 TabHost.TabSpec foo = tabHost.newTabSpec("Foo").setIndicator(fooView); 40 TabHost.TabSpec bar = tabHost.newTabSpec("Bar").setIndicator(barView); 52 TabHost.TabSpec foo = tabHost.newTabSpec("Foo"); 53 TabHost.TabSpec bar = tabHost.newTabSpec("Bar"); 54 TabHost.TabSpec baz = tabHost.newTabSpec("Baz"); 69 TabHost.TabSpec foo = tabHost.newTabSpec("Foo"); 70 TabHost.TabSpec bar = tabHost.newTabSpec("Bar") [all...] |
TabSpecTest.java | 33 TabHost.TabSpec spec = new TabHost(null).newTabSpec("foo"); 35 TabHost.TabSpec self = spec.setIndicator(view); 42 TabHost.TabSpec spec = new TabHost(null).newTabSpec("foo"); 44 TabHost.TabSpec self = spec.setContent(intent); 53 TabHost.TabSpec spec = new TabHost(null).newTabSpec("foo") 61 TabHost.TabSpec spec = new TabHost(null).newTabSpec("foo") 71 TabHost.TabSpec foo = new TabHost(null).newTabSpec("Foo").setContent( 89 TabHost.TabSpec foo = new TabHost(null).newTabSpec("Foo")
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
MediaDump.java | 42 TabHost.TabSpec videoDumpTab = tab.newTabSpec("VideoDump"); 51 TabHost.TabSpec rgbPlayerTab = tab.newTabSpec("RgbPlayer");
|
/cts/tests/src/android/app/cts/ |
LaunchpadTabActivity.java | 37 final TabHost.TabSpec ts = th.newTabSpec("1");
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LaunchpadTabActivity.java | 37 TabHost.TabSpec ts = th.newTabSpec("1");
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TabHost_TabSpecTest.java | 38 import android.widget.TabHost.TabSpec; 41 * Test {@link TabSpec}. 62 TabSpec tabSpec = mTabHost.newTabSpec(TAG_TAB2); 65 tabSpec.setIndicator(TAG_TAB2).setContent(new MockTabContentFactoryText()); 66 mTabHost.addTab(tabSpec); 74 tabSpec = mTabHost.newTabSpec("tab 3"); 75 tabSpec.setIndicator((CharSequence)null).setContent(new MockTabContentFactoryList()); 76 mTabHost.addTab(tabSpec); 85 TabSpec tabSpec = mTabHost.newTabSpec(TAG_TAB2) [all...] |
TabHostTest.java | 32 import android.widget.TabHost.TabSpec; 87 TabSpec tabSpec = tabHost.newTabSpec(TAG_TAB1); 88 tabSpec.setIndicator(TAG_TAB1); 89 tabSpec.setContent(new MyTabContentFactoryList()); 90 tabHost.addTab(tabSpec); 102 * 2. no exception occurs when uses TabSpec.setContent(android.content.Intent) after setup(). 120 TabSpec tabSpec = tabHost.newTabSpec(TAG_TAB1); 121 tabSpec.setIndicator(TAG_TAB1) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Tabs1.java | 22 import android.widget.TabHost.TabSpec; 28 * An example of tabs that uses labels ({@link TabSpec#setIndicator(CharSequence)}) 29 * for its indicators and views by id from a layout file ({@link TabSpec#setContent(int)}).
|
/frameworks/base/core/java/android/widget/ |
TabHost.java | 57 private List<TabSpec> mTabSpecs = new ArrayList<TabSpec>(2); 107 * Get a new {@link TabSpec} associated with this tab host. 110 public TabSpec newTabSpec(String tag) { 111 return new TabSpec(tag); 175 * If you are using {@link TabSpec#setContent(android.content.Intent)}, this 216 * @param tabSpec Specifies how to create the indicator and content. 218 public void addTab(TabSpec tabSpec) { 220 if (tabSpec.mIndicatorStrategy == null) [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperEclair.java | 26 import android.widget.TabHost.TabSpec; 66 TabSpec spec;
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentTabsPager.java | 131 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { 132 tabSpec.setContent(new DummyTabFactory(mContext)); 133 String tag = tabSpec.getTag(); 137 mTabHost.addTab(tabSpec);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
TabsAdapter.java | 85 public void addTab(TabHost.TabSpec tabSpec, View view) { 86 tabSpec.setContent(new DummyTabFactory(mContext)); 87 String tag = tabSpec.getTag(); 91 mTabHost.addTab(tabSpec);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentTabsFragment.java | 143 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { 144 tabSpec.setContent(new DummyTabFactory(mContext)); 145 String tag = tabSpec.getTag(); 148 mTabHost.addTab(tabSpec);
|
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentTabHost.java | 214 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { 215 tabSpec.setContent(new DummyTabFactory(mContext)); 216 String tag = tabSpec.getTag(); 233 addTab(tabSpec);
|
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentTabHost.java | 222 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { 223 tabSpec.setContent(new DummyTabFactory(mContext)); 224 String tag = tabSpec.getTag(); 241 addTab(tabSpec);
|
/packages/apps/Settings/src/com/android/settings/ |
TrustedCredentialsSettings.java | 155 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag)
|
DataUsageSummary.java | 126 import android.widget.TabHost.TabSpec; 661 * Build {@link TabSpec} with thin indicator, and empty content. 663 private TabSpec buildTabSpec(String tag, int titleRes) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | 90 import android.widget.TabHost.TabSpec; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
Robolectric.java | [all...] |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |