/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/ |
D | TabsBinder.kt | 31 tabs: PreviewTabs, in bind() 35 tabs.setOnTabSelected { wallpaperPreviewViewModel.setSmallPreviewSelectedTabIndex(it) } in bind() 40 Screen.LOCK_SCREEN -> tabs.context.resources.getString(R.string.lock_screen_tab) in bind() 41 Screen.HOME_SCREEN -> tabs.context.resources.getString(R.string.home_screen_tab) in bind() 45 tabs.setTabsText(texts[0], texts[1]) in bind() 50 tabs.setTab(wallpaperPreviewViewModel.getSmallPreviewTabIndex()) in bind() 52 tabs.transitionToTab(it) in bind()
|
D | PreviewSelectorBinder.kt | 32 tabs: PreviewTabs, in bind() 58 TabsBinder.bind(tabs, wallpaperPreviewViewModel, viewLifecycleOwner) in bind()
|
D | DualPreviewSelectorBinder.kt | 34 tabs: PreviewTabs, in bind() 57 TabsBinder.bind(tabs, wallpaperPreviewViewModel, viewLifecycleOwner) in bind()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/ |
D | CustomizationPickerTabsBinder.kt | 39 val tabs: DuoTabs = view.requireViewById(R.id.duo_tabs) in <lambda>() constant 40 tabs.setTabText( in <lambda>() 54 tabs.setOnTabSelectedListener(null) in <lambda>() 55 tabs.selectTab( in <lambda>() 61 tabs.setOnTabSelectedListener { tabId -> in <lambda>()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockSettingsViewModelTest.kt | 105 val tabs = collectLastValue(underTest.tabs) in <lambda>() constant 106 assertThat(tabs()?.get(0)?.name).isEqualTo("Color") in <lambda>() 107 assertThat(tabs()?.get(0)?.isSelected).isTrue() in <lambda>() 108 assertThat(tabs()?.get(1)?.name).isEqualTo("Size") in <lambda>() 109 assertThat(tabs()?.get(1)?.isSelected).isFalse() in <lambda>() 111 tabs()?.get(1)?.onClicked?.invoke() in <lambda>() 112 assertThat(tabs()?.get(0)?.isSelected).isFalse() in <lambda>() 113 assertThat(tabs()?.get(1)?.isSelected).isTrue() in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ |
D | ResolverMultiProfilePagerAdapter.java | 44 ImmutableList<TabConfig<ResolverListAdapter>> tabs, in ResolverMultiProfilePagerAdapter() argument 52 tabs, in ResolverMultiProfilePagerAdapter() 63 ImmutableList<TabConfig<ResolverListAdapter>> tabs, in ResolverMultiProfilePagerAdapter() argument 73 tabs, in ResolverMultiProfilePagerAdapter()
|
D | ChooserMultiProfilePagerAdapter.java | 52 ImmutableList<TabConfig<ChooserGridAdapter>> tabs, in ChooserMultiProfilePagerAdapter() argument 62 tabs, in ChooserMultiProfilePagerAdapter() 74 ImmutableList<TabConfig<ChooserGridAdapter>> tabs, in ChooserMultiProfilePagerAdapter() argument 84 tabs, in ChooserMultiProfilePagerAdapter()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ProfileTabs.java | 38 import com.google.android.material.tabs.TabLayout; 84 mTabs = tabLayoutContainer.findViewById(R.id.tabs); in ProfileTabs() 275 ViewGroup tabs = (ViewGroup) view; in setEnabled() local 276 for (int i = 0; i < tabs.getChildCount(); i++) { in setEnabled() 277 View tabView = tabs.getChildAt(i); in setEnabled()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragment.java | 56 import com.google.android.material.tabs.TabLayout; 57 import com.google.android.material.tabs.TabLayoutMediator; 139 final TabLayout tabs = tabContainer.findViewById(R.id.tabs); in onCreateView() local 140 new TabLayoutMediator(tabs, mViewPager, in onCreateView() 154 final TabLayout.Tab tab = tabs.getTabAt(selectedTab); in onCreateView()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsSettings.java | 34 import com.google.android.material.tabs.TabLayout; 35 import com.google.android.material.tabs.TabLayoutMediator; 88 TabLayout tabLayout = tabContainer.findViewById(R.id.tabs); in onViewCreated()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/ |
D | TabLayout.java | 80 public void setTabs(List<com.android.car.ui.toolbar.Tab> tabs, int selectedTab) { in setTabs() argument 81 if (tabs == null) { in setTabs() 84 mTabs = Collections.unmodifiableList(new ArrayList<>(tabs)); in setTabs()
|
D | ToolbarControllerImpl.java | 288 public void setTabs(@Nullable List<Tab> tabs) { in setTabs() argument 289 setTabs(tabs, 0); in setTabs() 293 public void setTabs(@Nullable List<Tab> tabs, int selectedTab) { in setTabs() argument 295 setTabsInternal(tabs, selectedTab); in setTabs() 303 private void setTabsInternal(@Nullable List<Tab> tabs, int selectedTab) { in setTabsInternal() argument 304 if (tabs == null || tabs.isEmpty()) { in setTabsInternal() 306 } else if (selectedTab < 0 || selectedTab >= tabs.size()) { in setTabsInternal() 309 mTabLayout.setTabs(tabs, selectedTab); in setTabsInternal()
|
/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; 142 mViewFlipper.setDisplayedChild(mViewFlipper.indexOfChild(findViewById(R.id.tabs))); in maybeHideTabs()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entriesandaccess/ |
D | EntiresAndAccessFragment.kt | 32 import com.google.android.material.tabs.TabLayout in <lambda>() 33 import com.google.android.material.tabs.TabLayoutMediator in <lambda>()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | BluetoothUuidFragment.java | 32 import com.google.android.material.tabs.TabLayout; 33 import com.google.android.material.tabs.TabLayoutMediator;
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/ |
D | ViewInfoActivityTest.java | 131 int tabsIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.tabs)); in testMedicalInfoSet() 152 int tabsIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.tabs)); in testEmergencyContactsSet() 180 int tabsIndex = viewFlipper.indexOfChild(activity.findViewById(R.id.tabs)); in testMedicalInfoAndEmergencyContactsSet()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/fragment/ |
D | SmallPreviewFragment.kt | 188 val tabs = view.requireViewById<PreviewTabs>(preview_tabs_container) in <lambda>() constant 194 tabs, in <lambda>() 218 tabs, in <lambda>()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/ |
D | SettingsProfileSelectFragment.java | 36 import com.google.android.material.tabs.TabLayout; 182 return tabContainer.findViewById(R.id.tabs); in getTabLayout()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ChooserActivity.java | 827 TabWidget tabs = mTabHost.getTabWidget(); in setTabsViewEnabled() local 828 if (tabs != null) { in setTabsViewEnabled() 829 tabs.setEnabled(isEnabled); in setTabsViewEnabled() 1423 List<TabConfig<ChooserGridAdapter>> tabs = new ArrayList<>(); in createMultiProfilePagerAdapter() local 1435 tabs.add(new TabConfig<>( in createMultiProfilePagerAdapter() 1453 ImmutableList.copyOf(tabs), in createMultiProfilePagerAdapter() 1557 View tabs = findViewById(com.android.internal.R.id.tabs); 1561 float padding = (tabs.getWidth() - mMaxTargetsPerRow * iconSize) 1565 tabs.setPadding((int) padding, 0, (int) padding, 0); 2323 offset += findViewById(com.android.internal.R.id.tabs).getHeight(); [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayersTabControllers.java | 25 import com.google.android.material.tabs.TabLayout;
|
D | AudioConfigurationInformationTabs.java | 28 import com.google.android.material.tabs.TabLayout;
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | TabContainerFragment.java | 47 import com.google.android.material.tabs.TabLayout; 48 import com.google.android.material.tabs.TabLayoutMediator;
|
/packages/apps/TvSettings/ |
D | .clang-format | 5 # 4-space indent, no tabs.
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/ |
D | ClockSettingsBinder.kt | 69 val tabView: RecyclerView = view.requireViewById(R.id.tabs) in <lambda>() 126 launch { viewModel.tabs.collect { tabAdapter.setItems(it) } } in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | SeparatedTabLayout.java | 17 import com.google.android.material.tabs.TabLayout;
|