Searched defs:tabSpec (Results 1 - 3 of 3) sorted by relevance

/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentTabHost.java218 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { argument
219 tabSpec.setContent(new DummyTabFactory(mContext));
220 String tag = tabSpec.getTag();
237 addTab(tabSpec);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentTabHost.java226 public void addTab(TabHost.TabSpec tabSpec, Class<?> clss, Bundle args) { argument
227 tabSpec.setContent(new DummyTabFactory(mContext));
228 String tag = tabSpec.getTag();
245 addTab(tabSpec);
/frameworks/base/core/java/android/widget/
H A DTabHost.java198 * @param tabSpec Specifies how to create the indicator and content.
200 public void addTab(TabSpec tabSpec) { argument
202 if (tabSpec.mIndicatorStrategy == null) {
206 if (tabSpec.mContentStrategy == null) {
209 View tabIndicator = tabSpec.mIndicatorStrategy.createIndicatorView();
214 if (tabSpec.mIndicatorStrategy instanceof ViewIndicatorStrategy) {
219 mTabSpecs.add(tabSpec);

Completed in 172 milliseconds