Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTabHost.java22 private List<TabHost.TabSpec> tabSpecs = new ArrayList<>(); field in ShadowTabHost
39 tabSpecs.add(tabSpec); in addTab()
57 for (int x = 0; x < tabSpecs.size(); x++) { in setCurrentTabByTag()
58 TabSpec tabSpec = tabSpecs.get(x); in setCurrentTabByTag()
70 if (currentTab == -1 && tabSpecs.size() > 0) currentTab = 0; in getCurrentTab()
75 return tabSpecs.get(getCurrentTab()); in getCurrentTabSpec()
81 if (i >= 0 && i < tabSpecs.size()) { in getCurrentTabTag()
82 return tabSpecs.get(i).getTag(); in getCurrentTabTag()
118 for (TabHost.TabSpec tabSpec : tabSpecs) { in getSpecByTag()