Searched refs:tabLayout (Results 1 – 6 of 6) sorted by relevance
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | SeparatedTabLayout.java | 76 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/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | TabContainerFragment.java | 118 final TabLayout tabLayout = getActivity().findViewById(R.id.tab_layout); in onViewCreated() local 121 tabLayout.setBackgroundColor( in onViewCreated() 132 tabLayout.setSelectedTabIndicatorColor( in onViewCreated() 134 setTabTextColors(tabLayout); in onViewCreated() 137 mTabLayoutMediator = new TabLayoutMediator(tabLayout, mViewPager, (tab, pos) -> { in onViewCreated() 153 tabLayout.setSelectedTabIndicator(R.drawable.picker_tab_indicator); in onViewCreated() 154 tabLayout.addOnTabSelectedListener(mOnTabSelectedListener); in onViewCreated() 157 private void setTabTextColors(TabLayout tabLayout) { in setTabTextColors() argument 163 tabLayout.setTabTextColors( in setTabTextColors()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | BluetoothUuidFragment.java | 59 TabLayout tabLayout = v.findViewById(R.id.tab_layout); in onCreateView() local 60 tabLayout.setTabMode(TabLayout.MODE_SCROLLABLE); in onCreateView() 61 new TabLayoutMediator(tabLayout, mViewPager, in onCreateView()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entriesandaccess/ |
D | EntiresAndAccessFragment.kt | 67 val tabLayout: TabLayout = view.findViewById(R.id.tab_layout) in <lambda>() constant 68 TabLayoutMediator(tabLayout, viewPager) { tab, position -> in <lambda>()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewInfoActivity.java | 145 TabLayout tabLayout = mTabLayout; in maybeHideTabs() local 147 tabLayout.setVisibility(View.GONE); in maybeHideTabs() 149 tabLayout.setVisibility(View.VISIBLE); in maybeHideTabs()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsSettings.java | 88 TabLayout tabLayout = tabContainer.findViewById(R.id.tabs); in onViewCreated() local 89 new TabLayoutMediator(tabLayout, viewPager, false, false, in onViewCreated()
|