Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DToolbarTest.java176 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_twoRow_withTitle_withTabs()
177 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_twoRow_withTitle_withTabs()
208 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_twoRow_withTabs()
209 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_twoRow_withTabs()
227 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_oneRow_withTitle_withTabs()
228 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_oneRow_withTitle_withTabs()
261 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_oneRow_withTabs()
262 toolbar.addTab(new TabLayout.Tab(mContext.getDrawable(R.drawable.test_ic_launcher), "Foo")); in testState_oneRow_withTabs()
/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/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/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbar.java252 public void addTab(TabLayout.Tab tab) { in addTab() method in Toolbar
253 mController.addTab(tab); in addTab()
DToolbarController.java69 void addTab(TabLayout.Tab tab); in addTab() method
DToolbarControllerImpl.java227 public void addTab(TabLayout.Tab tab) { in addTab() method in ToolbarControllerImpl
228 mTabLayout.addTab(tab); in addTab()
DTabLayout.java109 public void addTab(Tab tab) { in addTab() method in TabLayout
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
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.java241 mTabHost.addTab(buildTabSpec(String.valueOf(i), in onCreateView()
/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.java269 mTabHost.addTab(buildTabSpec(String.valueOf(slot), in onCreateView()
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/toolbar/
DToolbarActivity.java264 mButtons.add(Pair.create(getString(R.string.toolbar_add_tab), v -> toolbar.addTab( in onCreate()
273 toolbar.addTab( in onCreate()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarView.java174 addTab(new MediaItemTab(item)); in setItems()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java195 mToolbar.addTab(new TabLayout.Tab(icon, title)); in updateTabs()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java261 mCarUiToolbar.addTab(tab); in setupTabLayout()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java198 mTabLayout.addTab(tab); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java663 tabLayout.addTab(tab, false /* setSelected */); in populateCategoryTabs()