Lines Matching refs:Tab
74 // When swiping between different app sections, select the corresponding tab.
75 // We can also use ActionBar.Tab#select() to do this if we have a reference to the
76 // Tab.
81 // For each of the sections in the app, add a tab to the action bar.
83 // Create a tab with text corresponding to the page title defined by the adapter.
85 // listener for when this tab is selected.
94 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
98 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {
99 // When the given tab is selected, switch to the corresponding page in the ViewPager.
100 mViewPager.setCurrentItem(tab.getPosition());
104 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) {