Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DTabLayout.java113 mTabAdapter.selectTab(0); in addTab()
118 public void selectTab(Tab tab) { in selectTab() method in TabLayout
119 mTabAdapter.selectTab(tab); in selectTab()
123 public void selectTab(int position) { in selectTab() method in TabLayout
124 mTabAdapter.selectTab(position); in selectTab()
238 private void selectTab(Tab tab) { in selectTab() method in TabLayout.TabAdapter
239 selectTab(getPosition(tab)); in selectTab()
242 private void selectTab(int position) { in selectTab() method in TabLayout.TabAdapter
281 tabItemView.setOnClickListener(view -> selectTab(tab)); in presentTabItemView()
DToolbar.java273 public void selectTab(int position) { in selectTab() method in Toolbar
274 mController.selectTab(position); in selectTab()
DToolbarController.java84 void selectTab(int position); in selectTab() method
DToolbarControllerImpl.java250 public void selectTab(int position) { in selectTab() method in ToolbarControllerImpl
251 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/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java264 mCarUiToolbar.selectTab(i); in setupTabLayout()
273 mCarUiToolbar.selectTab(startTabIndex); in setupTabLayout()
315 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/DeskClock/tests/src/com/android/deskclock/timer/
DTimerItemFragmentTest.java56 timerFragment.selectTab(); in ensureTimerIsHeldSuccessfully_whenOneTimerIsRunning()
DTimerSetupViewTest.java80 fragment.selectTab(); in setUp()
DTimerFragmentTest.java111 fragment.selectTab(); in setUpFragment()
/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/Car/Media/src/com/android/car/media/widgets/
DAppBarView.java236 getTabLayout().selectTab(i); in setActiveItem()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java165 mToolbar.selectTab(position); in setupTabsWithViewPager()