/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/ |
D | BottomNavBar.java | 58 private @TabIndex int selectedTab; field in BottomNavBar 79 if (selectedTab != TabIndex.SPEED_DIAL) { in onFinishInflate() 87 if (selectedTab != TabIndex.CALL_LOG) { in onFinishInflate() 95 if (selectedTab != TabIndex.CONTACTS) { in onFinishInflate() 103 if (selectedTab != TabIndex.VOICEMAIL) { in onFinishInflate() 125 selectedTab = TabIndex.SPEED_DIAL; in selectTab() 128 selectedTab = TabIndex.CALL_LOG; in selectTab() 131 selectedTab = TabIndex.CONTACTS; in selectTab() 134 selectedTab = TabIndex.VOICEMAIL; in selectTab() 140 updateListeners(selectedTab); in selectTab() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | TabModel.kt | 95 val selectedTab: UiDataModel.Tab constant in com.android.deskclock.uidata.TabModel 107 val oldSelectedTab = selectedTab in setSelectedTab() 154 if (tab == selectedTab) { in setTabScrolledToTop()
|
D | UiDataModel.kt | 241 var selectedTab: Tab variable 247 return mTabModel.selectedTab 290 return mTabModel.isTabScrolledToTop(selectedTab)
|
D | TabScrollListener.kt | 34 fun selectedTabScrollToTopChanged(selectedTab: UiDataModel.Tab, scrolledToTop: Boolean)
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | DeskClock.kt | 270 UiDataModel.uiDataModel.selectedTab = tab.getTag() as UiDataModel.Tab in onCreate() 411 val selectedTab: UiDataModel.Tab = UiDataModel.uiDataModel.selectedTab in updateCurrentTab() constant 416 if (tab?.getTag() == selectedTab && !tab.isSelected()) { in updateCurrentTab() 443 val selectedTab: UiDataModel.Tab = UiDataModel.uiDataModel.selectedTab constant in com.android.deskclock.DeskClock 444 throw IllegalStateException("Unable to locate selected fragment ($selectedTab)")
|
D | DeskClockFragment.kt | 89 get() = UiDataModel.uiDataModel.selectedTab == mTab 95 UiDataModel.uiDataModel.selectedTab = mTab in selectTab()
|
D | HandleShortcuts.kt | 39 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.STOPWATCH in onCreate() 48 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.STOPWATCH in onCreate()
|
D | HandleApiCalls.kt | 88 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in handleDismissAlarm() 236 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in handleSetAlarm() 339 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in handleShowAlarms() 355 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.TIMERS in handleShowTimers() 363 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.TIMERS in handleSetTimer() 415 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.TIMERS in handleSetTimer() 430 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in setupInstance()
|
D | DropShadowController.kt | 154 selectedTab: UiDataModel.Tab, in selectedTabScrollToTopChanged()
|
D | AlarmClockFragment.kt | 177 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in onResume() 186 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in onResume()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/ |
D | SettingsViewModel.java | 70 public void setSelectedTab(int selectedTab) { in setSelectedTab() argument 71 mSelectedTab = selectedTab; in setSelectedTab()
|
D | SettingsProfileSelectFragment.java | 79 final int selectedTab = mTabLayout.getSelectedTabPosition(); in onPause() local 80 mSettingsViewModel.setSelectedTab(selectedTab); in onPause()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/ |
D | ToolbarControllerImpl.java | 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 305 selectedTab = -1; in setTabsInternal() 306 } else if (selectedTab < 0 || selectedTab >= tabs.size()) { in setTabsInternal() 307 throw new IllegalArgumentException("Tab position is invalid: " + selectedTab); in setTabsInternal() 309 mTabLayout.setTabs(tabs, selectedTab); in setTabsInternal()
|
D | TabLayout.java | 80 public void setTabs(List<com.android.car.ui.toolbar.Tab> tabs, int selectedTab) { in setTabs() argument 86 mSelectedTab = selectedTab; in setTabs()
|
/packages/apps/Dialer/java/com/android/dialer/main/impl/ |
D | OldMainActivityPeer.java | 1313 @TabIndex private int selectedTab = -1; field in OldMainActivityPeer.MainBottomNavBarBottomNavTabListener 1331 if (selectedTab == TabIndex.SPEED_DIAL) { in onSpeedDialSelected() 1335 selectedTab = TabIndex.SPEED_DIAL; in onSpeedDialSelected() 1355 if (selectedTab == TabIndex.CALL_LOG) { in onCallLogSelected() 1359 selectedTab = TabIndex.CALL_LOG; in onCallLogSelected() 1412 if (selectedTab == TabIndex.CALL_LOG) { in disableNewCallLogFragment() 1429 if (selectedTab == TabIndex.VOICEMAIL) { in disableNewVoicemailFragment() 1480 if (selectedTab == TabIndex.CONTACTS) { in onContactsSelected() 1484 selectedTab = TabIndex.CONTACTS; in onContactsSelected() 1495 if (selectedTab == TabIndex.VOICEMAIL) { in onVoicemailSelected() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchService.kt | 48 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.STOPWATCH in onBind()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockSettingsViewModel.kt | 273 val selectedTab: StateFlow<Tab> = _selectedTabPosition.asStateFlow() in <lambda>() constant 275 selectedTab.map { in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragment.java | 153 final int selectedTab = getTabId(activity, getArguments()); in onCreateView() local 154 final TabLayout.Tab tab = tabs.getTabAt(selectedTab); in onCreateView()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | WallpaperPreviewViewModel.kt | 424 combine(isSmallPreviewClickable, smallPreviewSelectedTab) { isClickable, selectedTab -> in <lambda>() method 426 if (selectedTab == screen) { in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerService.kt | 81 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.TIMERS in onStartCommand()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/ |
D | ClockSettingsBinder.kt | 129 viewModel.selectedTab.collect { tab -> in <lambda>()
|