Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DSeparatedTabLayout.java76 private SeparatedTabLayoutOnPageChangeCallback(TabLayout tabLayout) { in SeparatedTabLayoutOnPageChangeCallback() argument
77 mTabLayoutRef = new WeakReference<>(tabLayout); in SeparatedTabLayoutOnPageChangeCallback()
110 TabLayout tabLayout = mTabLayoutRef.get(); in updateTabPositionIfNeeded() local
111 if (tabLayout != null in updateTabPositionIfNeeded()
112 && tabLayout.getSelectedTabPosition() != position in updateTabPositionIfNeeded()
113 && position < tabLayout.getTabCount()) { in updateTabPositionIfNeeded()
114 tabLayout.selectTab(tabLayout.getTabAt(position), /* updateIndicator= */ true); in updateTabPositionIfNeeded()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java333 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in initializeDesktop() local
334 tabLayout.addOnTabSelectedListener(new OnTabSelectedListener() { in initializeDesktop()
339 mLastSelectedCategoryTabIndex = tabLayout.getSelectedTabPosition(); in initializeDesktop()
641 TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in onSaveInstanceState() local
646 if (tabLayout != null) { in onSaveInstanceState()
647 … savedInstanceState.putInt(KEY_SELECTED_CATEGORY_TAB, tabLayout.getSelectedTabPosition()); in onSaveInstanceState()
674 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in populateCategoryTabs() local
675 tabLayout.removeAllTabs(); in populateCategoryTabs()
684 Tab tab = tabLayout.newTab(); in populateCategoryTabs()
687 tabLayout.addTab(tab, false /* setSelected */); in populateCategoryTabs()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java141 private void setupTabTextColor(TabLayout tabLayout) { in setupTabTextColor() argument
142 final ColorStateList defaultColorStateList = tabLayout.getTabTextColors(); in setupTabTextColor()
155 tabLayout.setTabTextColors(resultColorStateList); in setupTabTextColor()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java145 TabLayout tabLayout = mTabLayout; in maybeHideTabs() local
147 tabLayout.setVisibility(View.GONE); in maybeHideTabs()
149 tabLayout.setVisibility(View.VISIBLE); in maybeHideTabs()