Lines Matching refs:tab
210 "No tab content FrameLayout found for id " + mContainerId);
228 // sure this tab's fragment is inactive if it exists. This shouldn't
252 TabInfo tab = mTabs.get(i);
253 tab.fragment = mFragmentManager.findFragmentByTag(tab.tag);
254 if (tab.fragment != null && !tab.fragment.isDetached()) {
255 if (tab.tag.equals(currentTab)) {
256 // The fragment for this tab is already there and
258 // as the current tab. Nothing to do.
259 mLastTab = tab;
262 // but is not the current tab. Deactivate it.
266 ft.detach(tab.fragment);
272 // correct tab.
322 TabInfo tab = mTabs.get(i);
323 if (tab.tag.equals(tabId)) {
324 newTab = tab;
328 throw new IllegalStateException("No tab known for tag " + tabId);