Home
last modified time | relevance | path

Searched refs:tabSpec (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTabHost.java37 public void addTab(android.widget.TabHost.TabSpec tabSpec) { in addTab() argument
38 tabSpecs.add(tabSpec); in addTab()
39 View indicatorAsView = shadowOf(tabSpec).getIndicatorAsView(); in addTab()
56 TabSpec tabSpec = tabSpecs.get(x); in setCurrentTabByTag() local
57 if (tabSpec.getTag().equals(tag)) { in setCurrentTabByTag()
115 for (TabHost.TabSpec tabSpec : tabSpecs) { in getSpecByTag()
116 if (tag.equals(tabSpec.getTag())) { in getSpecByTag()
117 return tabSpec; in getSpecByTag()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTabHostTest.java28 TabHost.TabSpec tabSpec = tabHost.newTabSpec("Foo"); in newTabSpec_shouldMakeATabSpec() local
29 assertThat(tabSpec.getTag(), equalTo("Foo")); in newTabSpec_shouldMakeATabSpec()