Lines Matching refs:tab

75  * The dialer activity that has one tab with the virtual 12key
76 * dialer, a tab with recent calls in it, a tab with the contacts and
77 * a tab with the favorite. This is the container and the tabs are
79 * The dialer tab's title is 'phone', a more common name (see strings.xml).
114 /** Last manually selected tab index */
159 * During user's drag or tab click, we shouldn't show fake buttons but just show real
164 * True when the app detects user's tab click (at the top of the screen). This variable should
167 * During user's drag or tab click, we shouldn't show fake buttons but just show real
224 // settle down the exact same tab after the dragging.
226 Log.d(TAG, "Next position is not specified correctly. Use current tab ("
236 // Interpret IDLE as the end of migration (both swipe and tab click)
305 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
306 if (DEBUG) Log.d(TAG, "onTabUnselected(). tab: " + tab);
310 public void onTabSelected(Tab tab, FragmentTransaction ft) {
312 Log.d(TAG, "onTabSelected(). tab: " + tab + ", mDuringSwipe: " + mDuringSwipe);
316 // when the user clicks a tab at the ActionBar at the top, this will be called before
321 + ", to: " + tab.getPosition());
324 updateFakeMenuButtonsVisibility(tab.getPosition() == TAB_INDEX_DIALER);
329 if (mViewPager.getCurrentItem() != tab.getPosition()) {
330 mViewPager.setCurrentItem(tab.getPosition(), true);
333 // During the call, we don't remember the tab position.
335 // Remember this tab index. This function is also called, if the tab is set
338 mLastManuallySelectedFragment = tab.getPosition();
343 public void onTabReselected(Tab tab, FragmentTransaction ft) {
350 * to tab but is shown by a search action.
376 * The index of the Fragment (or, the tab) that has last been manually selected.
410 // Specify call-origin so that users will see the previous tab instead of
523 // Setup the ActionBar tabs (the order matches the tab-index contants TAB_INDEX_*)
531 // Load the last manually loaded tab
730 final Tab tab = getActionBar().newTab();
731 tab.setContentDescription(R.string.dialerIconLabel);
732 tab.setTabListener(mTabListener);
733 tab.setIcon(R.drawable.ic_tab_dialer);
734 getActionBar().addTab(tab);
738 final Tab tab = getActionBar().newTab();
739 tab.setContentDescription(R.string.recentCallsIconLabel);
740 tab.setIcon(R.drawable.ic_tab_recent);
741 tab.setTabListener(mTabListener);
742 getActionBar().addTab(tab);
746 final Tab tab = getActionBar().newTab();
747 tab.setContentDescription(R.string.dialerAllContactsLabel);
748 tab.setIcon(R.drawable.ic_tab_all);
749 tab.setTabListener(mTabListener);
750 getActionBar().addTab(tab);
781 * Sets the current tab based on the intent's request type
783 * @param intent Intent that contains information about which tab should be selected
794 // Remember the old manually selected tab index so that it can be restored if it is
795 // overwritten by one of the programmatic tab selections
838 Log.e(TAG, "DialpadFragment isn't ready yet when the tab is already selected.");
844 Log.e(TAG, "CallLogFragment isn't ready yet when the tab is already selected.");
868 * for remembering the tab in which the user made a phone call, so the external app's DIAL
962 // get reference to the currently selected tab
963 final Tab tab = getActionBar().getSelectedTab();
964 if (tab != null) {
965 switch(tab.getPosition()) {
1000 + ", user tab click: " + mUserTabClick);
1084 * Hides every tab and shows search UI for phone lookup.
1102 final Tab tab = actionBar.getSelectedTab();
1105 if (tab != null && !DialpadFragment.phoneIsInUse()) {
1106 mLastManuallySelectedFragment = tab.getPosition();