Home
last modified time | relevance | path

Searched refs:selectTab (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DTabLayout.java110 mTabAdapter.selectTab(0); in addTab()
115 public void selectTab(Tab tab) { in selectTab() method in TabLayout
116 mTabAdapter.selectTab(tab); in selectTab()
120 public void selectTab(int position) { in selectTab() method in TabLayout
121 mTabAdapter.selectTab(position); in selectTab()
229 private void selectTab(Tab tab) { in selectTab() method in TabLayout.TabAdapter
230 selectTab(getPosition(tab)); in selectTab()
233 private void selectTab(int position) { in selectTab() method in TabLayout.TabAdapter
272 tabItemView.setOnClickListener(view -> selectTab(tab)); in presentTabItemView()
DToolbar.java306 public void selectTab(int position) { in selectTab() method in Toolbar
307 mController.selectTab(position); in selectTab()
DToolbarController.java102 void selectTab(int position); in selectTab() method
DToolbarControllerImpl.java302 public void selectTab(int position) { in selectTab() method in ToolbarControllerImpl
303 mTabLayout.selectTab(position); in selectTab()
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavBar.java83 selectTab(TabIndex.SPEED_DIAL); in onFinishInflate()
91 selectTab(TabIndex.CALL_LOG); in onFinishInflate()
99 selectTab(TabIndex.CONTACTS); in onFinishInflate()
107 selectTab(TabIndex.VOICEMAIL); in onFinishInflate()
123 public void selectTab(@TabIndex int tab) { in selectTab() method in BottomNavBar
161 selectTab(TabIndex.SPEED_DIAL); in showVoicemail()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DProfileTabsTest.java166 mTabLayout.selectTab(mTabLayout.getTabAt(1)); in testUpdateView_getSelectedUser_afterUsersChanged()
197 mTabLayout.selectTab(mTabLayout.getTabAt(0)); in testgetSelectedUser_twoUsers()
200 mTabLayout.selectTab(mTabLayout.getTabAt(1)); in testgetSelectedUser_twoUsers()
212 mTabLayout.selectTab(mTabLayout.getTabAt(0)); in testReselectedUser_doesNotInvokeListener()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java177 mCarUiToolbar.selectTab(i); in setupTabLayout()
186 mCarUiToolbar.selectTab(startTabIndex); in setupTabLayout()
228 mCarUiToolbar.selectTab(tabIndex); in showTabPage()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockFragment.java107 public final void selectTab() { in selectTab() method in DeskClockFragment
DDeskClock.java574 mFragmentTabPagerAdapter.getDeskClockFragment(position).selectTab(); in onPageSelected()
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java773 mActionBar.selectTab(mDayTab); in setMainPane()
782 mActionBar.selectTab(mMonthTab); in setMainPane()
792 mActionBar.selectTab(mWeekTab); in setMainPane()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DNewMainActivityPeer.java53 bottomNav.selectTab(TabIndex.SPEED_DIAL); in onActivityCreate()
DOldMainActivityPeer.java351 bottomNav.selectTab(savedInstanceState.getInt(KEY_CURRENT_TAB)); in initLayout()
455 bottomNav.selectTab(tabToSelect); in onHandleIntent()
1217 bottomNavBar.selectTab(TabIndex.CONTACTS); in showAllContactsTab()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java95 mTabs.selectTab(mTabs.getTabAt(mUserIds.indexOf(currentRoot.userId))); in updateView()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarView.java215 getTabLayout().selectTab(i); in setActiveItem()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java183 mToolbar.selectTab(position); in setupTabsWithViewPager()