/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ProfileTabs.java | 30 import com.google.android.material.tabs.TabLayout; 43 private final TabLayout mTabs; 51 private TabLayout.OnTabSelectedListener mOnTabSelectedListener; 64 mOnTabSelectedListener = new TabLayout.OnTabSelectedListener() { in ProfileTabs() 66 public void onTabSelected(TabLayout.Tab tab) { in ProfileTabs() 74 public void onTabUnselected(TabLayout.Tab tab) { in ProfileTabs() 78 public void onTabReselected(TabLayout.Tab tab) { in ProfileTabs() 148 private TabLayout.Tab createTab(int resId, UserId userId) { in createTab()
|
D | NavigationViewManager.java | 38 import com.google.android.material.tabs.TabLayout;
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewInfoActivity.java | 30 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; 69 private TabLayout mTabLayout; 139 TabLayout tabLayout = mTabLayout; in maybeHideTabs() 172 public TabLayout getTabLayout() { in getTabLayout() 204 mTabLayout = (TabLayout) findViewById(R.id.sliding_tabs); in setupTabs() 215 new TabLayout.ViewPagerOnTabSelectedListener(viewPager)); in setupTabs()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | TabLayout.java | 60 public class TabLayout extends LinearLayout { class 83 public TabLayout(@NonNull Context context) { in TabLayout() method in TabLayout 87 public TabLayout(@NonNull Context context, @Nullable AttributeSet attrs) { in TabLayout() method in TabLayout 91 public TabLayout(@NonNull Context context, @Nullable AttributeSet attrs, int defStyle) { in TabLayout() method in TabLayout 178 private final TabLayout mTabLayout; 183 private TabAdapter(Context context, @LayoutRes int res, TabLayout tabLayout) { in TabAdapter()
|
D | ToolbarController.java | 88 TabLayout getTabLayout(); in getTabLayout() 99 int getTabPosition(TabLayout.Tab tab); in getTabPosition() 105 void addTab(TabLayout.Tab tab); in addTab() 114 TabLayout.Tab getTab(int position); in getTab()
|
D | Toolbar.java | 78 void onTabSelected(TabLayout.Tab tab); in onTabSelected() 283 public TabLayout getTabLayout() { in getTabLayout() 300 public int getTabPosition(TabLayout.Tab tab) { in getTabPosition() 309 public void addTab(TabLayout.Tab tab) { in addTab() 324 public TabLayout.Tab getTab(int position) { in getTab()
|
D | ToolbarControllerImpl.java | 79 private TabLayout mTabLayout; 167 mTabLayout.addListener(new TabLayout.Listener() { in ToolbarControllerImpl() 169 public void onTabSelected(TabLayout.Tab tab) { in ToolbarControllerImpl() 265 public TabLayout getTabLayout() { in getTabLayout() 282 public int getTabPosition(TabLayout.Tab tab) { in getTabPosition() 291 public void addTab(TabLayout.Tab tab) { in addTab() 308 public TabLayout.Tab getTab(int position) { in getTab()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClock.java | 29 import com.google.android.material.tabs.TabLayout; 125 private TabLayout mTabLayout; 165 mTabLayout = (TabLayout) findViewById(R.id.tabs); in onCreate() 173 final TabLayout.Tab tab = mTabLayout.newTab() in onCreate() 290 mTabLayout.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() { in onCreate() 292 public void onTabSelected(TabLayout.Tab tab) { in onCreate() 297 public void onTabUnselected(TabLayout.Tab tab) { in onCreate() 301 public void onTabReselected(TabLayout.Tab tab) { in onCreate() 474 final TabLayout.Tab tab = mTabLayout.getTabAt(i); in updateCurrentTab()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/test/java/com/android/car/ui/toolbar/ |
D | ToolbarTest.java | 192 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_twoRow_withTitle_withTabs() 195 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_twoRow_withTitle_withTabs() 226 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_twoRow_withTabs() 229 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_twoRow_withTabs() 248 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_oneRow_withTitle_withTabs() 251 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_oneRow_withTitle_withTabs() 283 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_oneRow_withTabs() 286 new TabLayout.Tab(mContext.getDrawable(getTestDrawableInt("test_ic_launcher")), in testState_oneRow_withTabs()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | TopLevelPickerActivity.java | 86 import com.google.android.material.tabs.TabLayout; 87 import com.google.android.material.tabs.TabLayout.OnTabSelectedListener; 88 import com.google.android.material.tabs.TabLayout.Tab; 332 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in initializeDesktop() 638 TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in onSaveInstanceState() 670 final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in populateCategoryTabs() 817 TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); in reselectLastTab()
|
D | ImagePreviewFragment.java | 73 import com.google.android.material.tabs.TabLayout; 149 TabLayout tabs = inflater.inflate(R.layout.full_preview_tabs, in onCreateView() 152 tabs.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() { in onCreateView() 154 public void onTabSelected(TabLayout.Tab tab) { in onCreateView() 159 public void onTabUnselected(TabLayout.Tab tab) {} in onCreateView() 162 public void onTabReselected(TabLayout.Tab tab) {} in onCreateView()
|
D | LivePreviewFragment.java | 80 import com.google.android.material.tabs.TabLayout; 205 TabLayout tabs = inflater.inflate(R.layout.full_preview_tabs, in onCreateView() 208 tabs.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() { in onCreateView() 210 public void onTabSelected(TabLayout.Tab tab) { in onCreateView() 215 public void onTabUnselected(TabLayout.Tab tab) {} in onCreateView() 218 public void onTabReselected(TabLayout.Tab tab) {} in onCreateView()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | PumpActivity.java | 54 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/ |
D | ProfileTabsTest.java | 37 import com.google.android.material.tabs.TabLayout; 53 private TabLayout mTabLayout; 97 TabLayout.Tab tab1 = mTabLayout.getTabAt(0); in testUpdateView_twoUsers_shouldShow() 101 TabLayout.Tab tab2 = mTabLayout.getTabAt(1); in testUpdateView_twoUsers_shouldShow()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragment.java | 45 import com.google.android.material.tabs.TabLayout; 114 final TabLayout tabs = tabContainer.findViewById(R.id.tabs); in onCreateView() 117 final TabLayout.Tab tab = tabs.getTabAt(selectedTab); in onCreateView()
|
/packages/apps/Car/Media/src/com/android/car/media/widgets/ |
D | MediaItemTab.java | 29 import com.android.car.ui.toolbar.TabLayout; 34 public class MediaItemTab extends TabLayout.Tab {
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | CarAudioInputTestFragment.java | 37 import com.google.android.material.tabs.TabLayout; 52 private TabLayout mZonesTabLayout;
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | ConfigurationDialogFragment.java | 36 import com.google.android.material.tabs.TabLayout; 64 private TabLayout mTabLayout;
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | TelecomPageTab.java | 32 import com.android.car.ui.toolbar.TabLayout; 42 public class TelecomPageTab extends TabLayout.Tab {
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeTestFragment.java | 37 import com.google.android.material.tabs.TabLayout; 59 private TabLayout mZonesTabLayout;
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioActivity.java | 41 import com.android.car.ui.toolbar.TabLayout; 222 mToolbar.addTab(new TabLayout.Tab(icon, title)); in updateTabs()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 42 import com.android.car.ui.toolbar.TabLayout; 325 new TabLayout.Tab(getDrawable(R.drawable.ic_launcher), "Foo")))); in onCreate() 334 new TabLayout.Tab( in onCreate()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 76 import com.google.android.material.tabs.TabLayout; 100 private TabLayout mTabLayout;
|