/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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | ToolbarControllerAdapterV1.java | 170 public void setTabs(@Nullable List<Tab> tabs, int selectedTab) { in setTabs() argument 173 selectedTab = 0; in setTabs() 174 } else if (selectedTab < 0 || selectedTab >= tabs.size()) { in setTabs() 175 throw new IllegalArgumentException("Tab position is invalid: " + selectedTab); in setTabs() 179 .setSelectedTab(selectedTab) in setTabs() 248 int selectedTab = mAdapterState.getSelectedTab(); in getSelectedTab() local 249 if (mAdapterState.getTabs().isEmpty() && selectedTab != -1) { in getSelectedTab() 252 return selectedTab; in getSelectedTab() 888 public Builder setSelectedTab(int selectedTab) { in setSelectedTab() argument 889 if (mSelectedTab != selectedTab) { in setSelectedTab() [all …]
|
D | ToolbarControllerImpl.java | 283 public void setTabs(@Nullable List<Tab> tabs, int selectedTab) { in setTabs() argument 285 setTabsInternal(tabs, selectedTab); in setTabs() 293 private void setTabsInternal(@Nullable List<Tab> tabs, int selectedTab) { in setTabsInternal() argument 295 selectedTab = -1; in setTabsInternal() 296 } else if (selectedTab < 0 || selectedTab >= tabs.size()) { in setTabsInternal() 297 throw new IllegalArgumentException("Tab position is invalid: " + selectedTab); in setTabsInternal() 299 mTabLayout.setTabs(tabs, selectedTab); in setTabsInternal()
|
D | TabLayout.java | 85 public void setTabs(List<com.android.car.ui.toolbar.Tab> tabs, int selectedTab) { in setTabs() argument 91 mSelectedTab = selectedTab; in setTabs()
|
D | ToolbarController.java | 97 void setTabs(@Nullable List<Tab> tabs, int selectedTab); in setTabs() argument
|
/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 | 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 | 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 | AlarmClockFragment.kt | 177 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in onResume() 186 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.ALARMS in onResume()
|
D | DropShadowController.kt | 154 selectedTab: UiDataModel.Tab, in selectedTabScrollToTopChanged()
|
/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/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/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/ |
D | TabLayout.java | 64 public void setTabs(@NonNull List<? extends TabOEMV1> tabs, int selectedTab) { in setTabs() argument 71 mSelectedTab = tabs.get(selectedTab); in setTabs()
|
D | ToolbarControllerImpl.java | 127 public void setTabs(List<? extends TabOEMV1> tabs, int selectedTab) { in setTabs() argument 133 mTabContainer.setTabs(tabs, selectedTab); in setTabs()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragment.java | 110 final int selectedTab = convertPosition(getTabId(activity, getArguments())); in onCreateView() local 119 final TabLayout.Tab tab = tabs.getTabAt(selectedTab); in onCreateView()
|
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/toolbar/ |
D | ToolbarControllerOEMV1.java | 49 void setTabs(List<? extends TabOEMV1> tabs, int selectedTab); in setTabs() argument
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchService.kt | 48 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.STOPWATCH in onBind()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerService.kt | 81 UiDataModel.uiDataModel.selectedTab = UiDataModel.Tab.TIMERS in onStartCommand()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/ |
D | EmptyToolbarController.java | 72 int selectedTab) { in setTabs() argument
|