Home
last modified time | relevance | path

Searched refs:selectedTab (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavBar.java58 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/
DTabModel.kt95 val selectedTab: UiDataModel.Tab constant in com.android.deskclock.uidata.TabModel
107 val oldSelectedTab = selectedTab in setSelectedTab()
154 if (tab == selectedTab) { in setTabScrolledToTop()
DUiDataModel.kt241 var selectedTab: Tab variable
247 return mTabModel.selectedTab
290 return mTabModel.isTabScrolledToTop(selectedTab)
DTabScrollListener.kt34 fun selectedTabScrollToTopChanged(selectedTab: UiDataModel.Tab, scrolledToTop: Boolean)
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.kt270 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)")
DDeskClockFragment.kt89 get() = UiDataModel.uiDataModel.selectedTab == mTab
95 UiDataModel.uiDataModel.selectedTab = mTab in selectTab()
DHandleShortcuts.kt39 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.STOPWATCH in onCreate()
48 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.STOPWATCH in onCreate()
DHandleApiCalls.kt88 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()
DDropShadowController.kt154 selectedTab: UiDataModel.Tab, in selectedTabScrollToTopChanged()
DAlarmClockFragment.kt177 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/
DSettingsViewModel.java70 public void setSelectedTab(int selectedTab) { in setSelectedTab() argument
71 mSelectedTab = selectedTab; in setSelectedTab()
DSettingsProfileSelectFragment.java79 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/
DToolbarControllerImpl.java293 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()
DTabLayout.java80 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/
DOldMainActivityPeer.java1313 @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/
DStopwatchService.kt48 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.STOPWATCH in onBind()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockSettingsViewModel.kt273 val selectedTab: StateFlow<Tab> = _selectedTabPosition.asStateFlow() in <lambda>() constant
275 selectedTab.map { in <lambda>()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java153 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/
DWallpaperPreviewViewModel.kt424 combine(isSmallPreviewClickable, smallPreviewSelectedTab) { isClickable, selectedTab -> in <lambda>() method
426 if (selectedTab == screen) { in <lambda>()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerService.kt81 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.TIMERS in onStartCommand()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/
DClockSettingsBinder.kt129 viewModel.selectedTab.collect { tab -> in <lambda>()