Home
last modified time | relevance | path

Searched refs:addTab (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DToolbarTabDeprecatedTest.java70 toolbar.addTab(tabs.get(0)); in test_addTab_works()
71 toolbar.addTab(tabs.get(1)); in test_addTab_works()
96 toolbar.addTab(new TabLayout.Tab(null, "Tab 1")); in test_getTabCountAndClearTabs_works()
97 toolbar.addTab(new TabLayout.Tab(null, "Tab 2")); in test_getTabCountAndClearTabs_works()
DEmptyToolbarController.java92 public void addTab(TabLayout.Tab tab) { in addTab() method in EmptyToolbarController
/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java56 mTabsAdapter.addTab(ab.newTab().setText(R.string.tab_photos), in onCreate()
58 mTabsAdapter.addTab(ab.newTab().setText(R.string.tab_albums), in onCreate()
121 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() method in GalleryActivity.TabsAdapter
126 mActionBar.addTab(tab); in addTab()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java136 addTab(adapter.getPageTitle(i), i); in addTabs()
140 private void addTab(CharSequence tabTitle, final int position) { in addTab() method in ViewPagerTabs
229 addTab(mPager.getAdapter().getPageTitle(index), index); in updateTab()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java115 mTabs.addTab(createTab(R.string.personal_tab, in updateTabsIfNeeded()
117 mTabs.addTab(createTab(R.string.work_tab, in updateTabsIfNeeded()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java153 addTab(adapter.getPageTitle(i), i); in addTabs()
157 private void addTab(CharSequence tabTitle, final int position) { in addTab() method in ViewPagerTabs
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java148 private void addTab(final TabHost host, final int categoryId) { in addTab() method in EmojiPalettesView
160 host.addTab(tspec); in addTab()
169 addTab(mTabHost, properties.mCategoryId); in onFinishInflate()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java222 addTab(Tab.SYSTEM); in onCreateView()
224 addTab(Tab.USER); in onCreateView()
275 private void addTab(Tab tab) { in addTab() method in TrustedCredentialsSettings
279 mTabHost.addTab(systemSpec); in addTab()
DIccLockSettings.java311 mTabHost.addTab(buildTabSpec(tag, in onCreateView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java331 tabs.addTab(tabs.newTab().setText(R.string.home_screen_message)); in setUpTabs()
332 tabs.addTab(tabs.newTab().setText(R.string.lock_screen_message)); in setUpTabs()
DTopLevelPickerActivity.java687 tabLayout.addTab(tab, false /* setSelected */); in populateCategoryTabs()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DCarAudioInputTestFragment.java137 mZonesTabLayout.addTab(mZonesTabLayout.newTab().setText(title)); in addAudioZoneInputDevices()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DToolbarController.java128 void addTab(TabLayout.Tab tab); in addTab() method
DToolbarControllerAdapterV1.java206 public void addTab(TabLayout.Tab clientTab) { in addTab() method in ToolbarControllerAdapterV1
879 public Builder addTab(@NonNull TabAdapterV1 tab) { in addTab() method in ToolbarControllerAdapterV1.ToolbarAdapterState.Builder
DToolbarControllerImpl.java323 public void addTab(TabLayout.Tab newTab) { in addTab() method in ToolbarControllerImpl
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java153 mButtons.add(Pair.create(getString(R.string.toolbar_add_tab), v -> toolbar.addTab( in onCreate()
162 toolbar.addTab(new TabLayout.Tab( in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java184 mZonesTabLayout.addTab(mZonesTabLayout.newTab().setText("Audio Zone " + zoneId)); in initVolumeInfo()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarController.java146 mToolbarController.addTab(new MediaItemTab(item)); in setItems()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java222 mToolbar.addTab(new TabLayout.Tab(icon, title)); in updateTabs()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.kt189 mTabLayout.addTab(tab) in onCreate()