Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java1064 int tabIndex = in displayFragment() local
1071 listsFragment.showTab(tabIndex); in displayFragment()
1072 PerformanceReport.setStartingTabIndex(tabIndex); in displayFragment()
1436 int tabIndex = listsFragment.getCurrentTabIndex(); in onPageScrolled() local
1442 if (!isRtl && tabIndex == DialtactsPagerAdapter.TAB_INDEX_SPEED_DIAL && !isLandscape) { in onPageScrolled()
1444 } else if (isRtl && tabIndex == DialtactsPagerAdapter.TAB_INDEX_HISTORY && !isLandscape) { in onPageScrolled()
1446 } else if (tabIndex != DialtactsPagerAdapter.TAB_INDEX_SPEED_DIAL) { in onPageScrolled()
1454 int tabIndex = listsFragment.getCurrentTabIndex(); in onPageSelected() local
1455 if (tabIndex != previouslySelectedTabIndex) { in onPageSelected()
1458 LogUtil.i("DialtactsActivity.onPageSelected", "tabIndex: %d", tabIndex); in onPageSelected()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java224 int tabIndex = mTabFactory.getTabIndex(tabPage); in showTabPage() local
225 if (tabIndex == -1) { in showTabPage()
234 mCarUiToolbar.selectTab(tabIndex); in showTabPage()
235 return tabIndex; in showTabPage()
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavBar.java183 private void updateListeners(@TabIndex int tabIndex) { in updateListeners() argument
185 switch (tabIndex) { in updateListeners()
199 throw Assert.createIllegalStateFailException("Invalid tab: " + tabIndex); in updateListeners()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DOldMainActivityPeer.java212 public static Intent getShowTabIntent(Context context, @TabIndex int tabIndex) { in getShowTabIntent() argument
215 intent.putExtra(EXTRA_SHOW_TAB, tabIndex); in getShowTabIntent()
1059 private void setCurrentTab(@TabIndex int tabIndex) { in setCurrentTab() argument
1060 if (currentTab == TabIndex.CALL_LOG && tabIndex != TabIndex.CALL_LOG) { in setCurrentTab()
1063 currentTab = tabIndex; in setCurrentTab()
1651 @TabIndex int tabIndex = TabIndex.SPEED_DIAL; in getLastTab() local
1653 tabIndex = in getLastTab()
1659 if (tabIndex == TabIndex.VOICEMAIL && !canShowVoicemailTab) { in getLastTab()
1660 tabIndex = TabIndex.SPEED_DIAL; in getLastTab()
1663 return tabIndex; in getLastTab()
DMainActivity.java55 public static Intent getShowTabIntent(Context context, @TabIndex int tabIndex) { in getShowTabIntent() argument
60 return OldMainActivityPeer.getShowTabIntent(context, tabIndex); in getShowTabIntent()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DListsFragment.java78 private int tabIndex = DialtactsPagerAdapter.TAB_INDEX_SPEED_DIAL; field in ListsFragment
273 tabIndex = adapter.getRtlPosition(position); in onPageScrolled()
296 tabIndex = adapter.getRtlPosition(position); in onPageSelected()
413 return tabIndex; in getCurrentTabIndex()