Home
last modified time | relevance | path

Searched refs:TabLayout (Results 1 – 22 of 22) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DTabContainerFragment.java47 import com.google.android.material.tabs.TabLayout;
118 final TabLayout tabLayout = getActivity().findViewById(R.id.tab_layout); in onViewCreated()
157 private void setTabTextColors(TabLayout tabLayout) { in setTabTextColors()
204 private final TabLayout.OnTabSelectedListener mOnTabSelectedListener =
205 new TabLayout.OnTabSelectedListener() {
207 public void onTabSelected(TabLayout.Tab tab) {
217 public void onTabUnselected(TabLayout.Tab tab) {
222 public void onTabReselected(TabLayout.Tab tab) {
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DSeparatedTabLayout.java17 import com.google.android.material.tabs.TabLayout;
28 public final class SeparatedTabLayout extends TabLayout {
72 private final WeakReference<TabLayout> mTabLayoutRef;
76 private SeparatedTabLayoutOnPageChangeCallback(TabLayout tabLayout) { in SeparatedTabLayoutOnPageChangeCallback()
110 TabLayout tabLayout = mTabLayoutRef.get(); in updateTabPositionIfNeeded()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java30 import com.google.android.material.tabs.TabLayout;
31 import com.google.android.material.tabs.TabLayout.TabLayoutOnPageChangeListener;
32 import com.google.android.material.tabs.TabLayout.ViewPagerOnTabSelectedListener;
75 private TabLayout mTabLayout;
145 TabLayout tabLayout = mTabLayout; in maybeHideTabs()
184 public TabLayout getTabLayout() { in getTabLayout()
216 mTabLayout = (TabLayout) findViewById(R.id.sliding_tabs); in setupTabs()
227 new TabLayout.ViewPagerOnTabSelectedListener(viewPager)); in setupTabs()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java38 import com.google.android.material.tabs.TabLayout;
53 private final TabLayout mTabs;
65 private TabLayout.OnTabSelectedListener mOnTabSelectedListener;
100 mOnTabSelectedListener = new TabLayout.OnTabSelectedListener() { in ProfileTabs()
102 public void onTabSelected(TabLayout.Tab tab) { in ProfileTabs()
110 public void onTabUnselected(TabLayout.Tab tab) { in ProfileTabs()
114 public void onTabReselected(TabLayout.Tab tab) { in ProfileTabs()
266 private TabLayout.Tab createTab(String text, UserId userId) { in createTab()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.kt58 import com.google.android.material.tabs.TabLayout
122 private lateinit var mTabLayout: TabLayout
158 mTabLayout = findViewById(R.id.tabs) as TabLayout in onCreate()
166 val tab: TabLayout.Tab = mTabLayout.newTab() in onCreate()
268 mTabLayout.addOnTabSelectedListener(object : TabLayout.OnTabSelectedListener { in onCreate()
269 override fun onTabSelected(tab: TabLayout.Tab) { in onCreate()
273 override fun onTabUnselected(tab: TabLayout.Tab) { in onCreate()
276 override fun onTabReselected(tab: TabLayout.Tab) { in onCreate()
415 val tab: TabLayout.Tab? = mTabLayout.getTabAt(i) in updateCurrentTab()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/
DTabLayout.java57 public class TabLayout extends LinearLayout { class
64 public TabLayout(@NonNull Context context) { in TabLayout() method in TabLayout
68 public TabLayout(@NonNull Context context, @Nullable AttributeSet attrs) { in TabLayout() method in TabLayout
72 public TabLayout(@NonNull Context context, @Nullable AttributeSet attrs, int defStyle) { in TabLayout() method in TabLayout
DToolbarControllerImpl.java103 private TabLayout mTabLayout;
323 public int getTabPosition(com.android.car.ui.toolbar.TabLayout.Tab tab) { in getTabPosition()
333 public void addTab(com.android.car.ui.toolbar.TabLayout.Tab newTab) { in addTab()
360 public com.android.car.ui.toolbar.TabLayout.Tab getTab(int position) { in getTab()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothUuidFragment.java32 import com.google.android.material.tabs.TabLayout;
59 TabLayout tabLayout = v.findViewById(R.id.tab_layout); in onCreateView()
60 tabLayout.setTabMode(TabLayout.MODE_SCROLLABLE); in onCreateView()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayersTabControllers.java25 import com.google.android.material.tabs.TabLayout;
34 TabLayout playerTabLayout = view.findViewById(R.id.audio_player_tabs); in setUpAudioPlayersTab()
DAudioConfigurationInformationTabs.java28 import com.google.android.material.tabs.TabLayout;
41 TabLayout playerTabLayout = view.findViewById(R.id.zone_configs_tabs); in AudioConfigurationInformationTabs()
DCarAudioInputTestFragment.java38 import com.google.android.material.tabs.TabLayout;
57 private TabLayout mZonesTabLayout;
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/
DSettingsProfileSelectFragment.java36 import com.google.android.material.tabs.TabLayout;
48 private TabLayout mTabLayout;
179 private TabLayout getTabLayout(@NonNull View view) { in getTabLayout()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java54 import com.google.android.material.tabs.TabLayout;
90 private TabLayout mTabLayout;
176 mTabLayout.setTabMode(count <= 4 ? TabLayout.MODE_FIXED : TabLayout.MODE_SCROLLABLE); in selectPages()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DProfileTabsTest.java37 import com.google.android.material.tabs.TabLayout;
61 private TabLayout mTabLayout;
127 TabLayout.Tab tab1 = mTabLayout.getTabAt(0); in testUpdateView_twoUsers_shouldShow()
131 TabLayout.Tab tab2 = mTabLayout.getTabAt(1); in testUpdateView_twoUsers_shouldShow()
146 TabLayout.Tab tab = mTabLayout.getTabAt(i); in testUpdateView_multiUsers_shouldShow()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entriesandaccess/
DEntiresAndAccessFragment.kt32 import com.google.android.material.tabs.TabLayout in <lambda>()
67 val tabLayout: TabLayout = view.findViewById(R.id.tab_layout) in <lambda>()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java34 import com.google.android.material.tabs.TabLayout;
88 TabLayout tabLayout = tabContainer.findViewById(R.id.tabs); in onViewCreated()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DConfigurationDialogFragment.java36 import com.google.android.material.tabs.TabLayout;
64 private TabLayout mTabLayout;
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java56 import com.google.android.material.tabs.TabLayout;
139 final TabLayout tabs = tabContainer.findViewById(R.id.tabs); in onCreateView()
154 final TabLayout.Tab tab = tabs.getTabAt(selectedTab); in onCreateView()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java44 import com.google.android.material.tabs.TabLayout;
66 private TabLayout mZonesTabLayout;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
DRadioTestFragment.java48 import com.google.android.material.tabs.TabLayout;
94 private TabLayout mTunerTabLayout;
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java77 import com.google.android.material.tabs.TabLayout;
101 private TabLayout mTabLayout;
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java98 import com.google.android.material.tabs.TabLayout;
128 private TabLayout mTabLayout;