Home
last modified time | relevance | path

Searched refs:tabLayout (Results 1 – 3 of 3) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java313 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in initializeDesktop() local
314 tabLayout.addOnTabSelectedListener(new OnTabSelectedListener() { in initializeDesktop()
319 mLastSelectedCategoryTabIndex = tabLayout.getSelectedTabPosition(); in initializeDesktop()
618 TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in onSaveInstanceState() local
623 if (tabLayout != null) { in onSaveInstanceState()
624 … savedInstanceState.putInt(KEY_SELECTED_CATEGORY_TAB, tabLayout.getSelectedTabPosition()); in onSaveInstanceState()
650 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in populateCategoryTabs() local
651 tabLayout.removeAllTabs(); in populateCategoryTabs()
660 Tab tab = tabLayout.newTab(); in populateCategoryTabs()
663 tabLayout.addTab(tab, false /* setSelected */); in populateCategoryTabs()
[all …]
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java139 TabLayout tabLayout = mTabLayout; in maybeHideTabs() local
141 tabLayout.setVisibility(View.GONE); in maybeHideTabs()
143 tabLayout.setVisibility(View.VISIBLE); in maybeHideTabs()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DTabLayout.java188 private TabAdapter(Context context, @LayoutRes int res, TabLayout tabLayout) { in TabAdapter() argument
192 mTabLayout = tabLayout; in TabAdapter()