/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | TabLayout.java | 181 private final TabLayout mTabLayout; field in TabLayout.TabAdapter 192 mTabLayout = tabLayout; in TabAdapter() 206 mTabLayout.removeAllViews(); in clear() 254 mTabLayout.dispatchOnTabSelected(tab); in selectTab() 256 mTabLayout.dispatchOnTabUnselected(tab); in selectTab() 259 mTabLayout.dispatchOnTabReselected(tab); in selectTab() 266 View tabItemView = mTabLayout.getChildAt(position); in notifyItemChanged() 271 View insertedView = getView(position, null, mTabLayout); in notifyItemInserted() 272 mTabLayout.addTabView(insertedView, position); in notifyItemInserted()
|
D | ToolbarControllerImpl.java | 69 private TabLayout mTabLayout; field in ToolbarControllerImpl 145 mTabLayout = requireViewByRefId(view, R.id.car_ui_toolbar_tabs); in ToolbarControllerImpl() 156 mTabLayout.addListener(new TabLayout.Listener() { in ToolbarControllerImpl() 220 return mTabLayout; in getTabLayout() 228 mTabLayout.addTab(tab); in addTab() 234 mTabLayout.clearAllTabs(); in clearAllTabs() 243 return mTabLayout.get(position); in getTab() 251 mTabLayout.selectTab(position); in selectTab() 658 boolean hasTabs = mTabLayout.getTabCount() > 0 in setState() 666 mTabLayout.setVisibility(hasTabs ? VISIBLE : GONE); in setState()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewInfoActivity.java | 69 private TabLayout mTabLayout; field in ViewInfoActivity 139 TabLayout tabLayout = mTabLayout; in maybeHideTabs() 173 return mTabLayout; in getTabLayout() 204 mTabLayout = (TabLayout) findViewById(R.id.sliding_tabs); in setupTabs() 210 mTabLayout.setTabsFromPagerAdapter(mTabsAdapter); in setupTabs() 214 mTabLayout.setOnTabSelectedListener( in setupTabs() 219 viewPager.addOnPageChangeListener(new TabLayoutOnPageChangeListener(mTabLayout)); in setupTabs() 222 mTabLayout.setTabsFromPagerAdapter(mTabsAdapter); in setupTabs()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClock.java | 125 private TabLayout mTabLayout; field in DeskClock 165 mTabLayout = (TabLayout) findViewById(R.id.tabs); in onCreate() 173 final TabLayout.Tab tab = mTabLayout.newTab() in onCreate() 185 text.setTextColor(mTabLayout.getTabTextColors()); in onCreate() 198 mTabLayout.addTab(tab); in onCreate() 290 mTabLayout.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() { in onCreate() 473 for (int i = 0; i < mTabLayout.getTabCount(); i++) { in updateCurrentTab() 474 final TabLayout.Tab tab = mTabLayout.getTabAt(i); in updateCurrentTab()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | FloatingHeaderView.java | 79 protected ViewGroup mTabLayout; field in FloatingHeaderView 118 mTabLayout = findViewById(R.id.tabs); in onFinishInflate() 167 addView(headerRow.mView, indexOfChild(mTabLayout)); in onPluginConnected() 202 mTabLayout.setVisibility(tabsHidden ? View.GONE : View.VISIBLE); in setup() 285 mTabLayout.setTranslationY(mTranslationY); in applyVerticalMove() 373 setter.setFloat(mTabLayout, ALPHA, hasAllAppsContent ? 1 : 0, headerFade); in setContentVisibility()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | PumpActivity.java | 90 private TabLayout mTabLayout; field in PumpActivity 105 mTabLayout = findViewById(R.id.activity_pump_tab_layout); in onCreate() 111 mTabLayout.setupWithViewPager(mViewPager); in onCreate() 175 mTabLayout.setVisibility(count <= 1 ? View.GONE : View.VISIBLE); in selectPages() 176 mTabLayout.setTabMode(count <= 4 ? TabLayout.MODE_FIXED : TabLayout.MODE_SCROLLABLE); in selectPages()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettings.java | 59 private SlidingTabLayout mTabLayout; field in WifiCallingSettings 89 mTabLayout = view.findViewById(R.id.sliding_tabs); in onCreateView() 136 mTabLayout.setViewPager(mViewPager); in onStart() 138 mTabLayout.setVisibility(View.GONE); in onStart()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | WifiCallingSettings.java | 59 private SlidingTabLayout mTabLayout; field in WifiCallingSettings 89 mTabLayout = view.findViewById(R.id.sliding_tabs); in onCreateView() 136 mTabLayout.setViewPager(mViewPager); in onStart() 138 mTabLayout.setVisibility(View.GONE); in onStart()
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | ConfigurationDialogFragment.java | 64 private TabLayout mTabLayout; field in ConfigurationDialogFragment 82 mTabLayout = view.findViewById(R.id.tab_layout); in onViewCreated() 83 mTabLayout.setupWithViewPager(mViewPager); in onViewCreated()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 100 private TabLayout mTabLayout; field in LiveWallpaperPreview 303 mTabLayout = findViewById(R.id.tablayout); in populateBottomPane() 359 mTabLayout.setVisibility(View.VISIBLE); in populateBottomPane() 360 mTabLayout.setupWithViewPager(mViewPager); in populateBottomPane() 405 mTabLayout.setAlpha(slideOffset); in setupPreviewMenu()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | LivePreviewFragment.java | 99 private TabLayout mTabLayout; field in LivePreviewFragment 193 mTabLayout = bottomSheet.findViewById(R.id.tablayout); in setUpBottomSheetView() 245 mTabLayout.setVisibility(View.VISIBLE); in setUpBottomSheetView() 246 mTabLayout.setupWithViewPager(mViewPager); in setUpBottomSheetView()
|