Home
last modified time | relevance | path

Searched refs:tab (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DTabModel.java114 void setSelectedTab(Tab tab) { in setSelectedTab() argument
116 if (oldSelectedTab != tab) { in setSelectedTab()
117 mSelectedTab = tab; in setSelectedTab()
118 TabDAO.setSelectedTab(mPrefs, tab); in setSelectedTab()
122 tl.selectedTabChanged(oldSelectedTab, tab); in setSelectedTab()
126 final boolean tabScrolledToTop = isTabScrolledToTop(tab); in setSelectedTab()
129 tsl.selectedTabScrollToTopChanged(tab, tabScrolledToTop); in setSelectedTab()
159 void setTabScrolledToTop(Tab tab, boolean scrolledToTop) { in setTabScrolledToTop() argument
160 if (isTabScrolledToTop(tab) != scrolledToTop) { in setTabScrolledToTop()
161 mTabScrolledToTop[tab.ordinal()] = scrolledToTop; in setTabScrolledToTop()
[all …]
DUiDataModel.java270 public void setSelectedTab(Tab tab) { in setSelectedTab() argument
272 mTabModel.setSelectedTab(tab); in setSelectedTab()
297 public void setTabScrolledToTop(Tab tab, boolean scrolledToTop) { in setTabScrolledToTop() argument
299 mTabModel.setTabScrolledToTop(tab, scrolledToTop); in setTabScrolledToTop()
DTabDAO.java44 static void setSelectedTab(SharedPreferences prefs, Tab tab) { in setSelectedTab() argument
45 prefs.edit().putInt(KEY_SELECTED_TAB, tab.ordinal()).apply(); in setSelectedTab()
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavBar.java123 public void selectTab(@TabIndex int tab) { in selectTab() argument
124 if (tab == TabIndex.SPEED_DIAL) { in selectTab()
127 } else if (tab == TabIndex.CALL_LOG) { in selectTab()
130 } else if (tab == TabIndex.CONTACTS) { in selectTab()
133 } else if (tab == TabIndex.VOICEMAIL) { in selectTab()
137 throw new IllegalStateException("Invalid tab: " + tab); in selectTab()
165 public void setNotificationCount(@TabIndex int tab, int count) { in setNotificationCount() argument
166 if (tab == TabIndex.SPEED_DIAL) { in setNotificationCount()
168 } else if (tab == TabIndex.CALL_LOG) { in setNotificationCount()
170 } else if (tab == TabIndex.CONTACTS) { in setNotificationCount()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DFragmentTabPagerAdapter.java72 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position); in getDeskClockFragment() local
75 DeskClockFragment fragment = mFragmentCache.get(tab); in getDeskClockFragment()
83 fragment = (DeskClockFragment) mFragmentManager.findFragmentByTag(tab.name()); in getDeskClockFragment()
86 mFragmentCache.put(tab, fragment); in getDeskClockFragment()
91 final String fragmentClassName = tab.getFragmentClassName(); in getDeskClockFragment()
94 mFragmentCache.put(tab, fragment); in getDeskClockFragment()
112 final UiDataModel.Tab tab = UiDataModel.getUiDataModel().getTabAt(position); in instantiateItem() local
113 Fragment fragment = mFragmentManager.findFragmentByTag(tab.name()); in instantiateItem()
118 mCurrentTransaction.add(container.getId(), fragment, tab.name()); in instantiateItem()
DDeskClock.java173 final TabLayout.Tab tab = mTabLayout.newTab() in onCreate() local
179 tab.setText(labelResId); in onCreate()
180 tab.setCustomView(R.layout.tab_item); in onCreate()
183 final TextView text = (TextView) tab.getCustomView() in onCreate()
188 final Drawable icon = tab.getIcon(); in onCreate()
191 tab.setIcon(null); in onCreate()
198 mTabLayout.addTab(tab); in onCreate()
292 public void onTabSelected(TabLayout.Tab tab) { in onCreate()
293 UiDataModel.getUiDataModel().setSelectedTab((UiDataModel.Tab) tab.getTag()); in onCreate()
297 public void onTabUnselected(TabLayout.Tab tab) { in onCreate()
[all …]
DDeskClockFragment.java37 public DeskClockFragment(Tab tab) { in DeskClockFragment() argument
38 mTab = tab; in DeskClockFragment()
/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java121 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab() argument
123 tab.setTag(info); in addTab()
124 tab.setTabListener(this); in addTab()
126 mActionBar.addTab(tab); in addTab()
163 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
164 Object tag = tab.getTag(); in onTabSelected()
173 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
177 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java290 public void onTabSelected(Tab tab) { in initializeDesktop()
291 Category category = (Category) tab.getTag(); in initializeDesktop()
297 public void onTabUnselected(Tab tab) { in initializeDesktop()
301 public void onTabReselected(Tab tab) { in initializeDesktop()
302 Category category = (Category) tab.getTag(); in initializeDesktop()
306 onTabSelected(tab); in initializeDesktop()
634 Tab tab = tabLayout.newTab(); in populateCategoryTabs() local
635 tab.setText(category.getTitle()); in populateCategoryTabs()
636 tab.setTag(category); in populateCategoryTabs()
637 tabLayout.addTab(tab, false /* setSelected */); in populateCategoryTabs()
[all …]
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java275 private void addTab(Tab tab) { in addTab() argument
276 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
277 .setIndicator(getActivity().getString(tab.mLabel)) in addTab()
278 .setContent(tab.mView); in addTab()
281 final GroupAdapter groupAdapter = new GroupAdapter(tab); in addTab()
286 final ViewGroup contentView = (ViewGroup) mTabHost.findViewById(tab.mContentView); in addTab()
333 private GroupAdapter(Tab tab) { in GroupAdapter() argument
334 mData = new AdapterData(tab, this); in GroupAdapter()
661 private AdapterData(Tab tab, GroupAdapter adapter) { in AdapterData() argument
663 mTab = tab; in AdapterData()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsSettings.java275 private void addTab(Tab tab) { in addTab() argument
276 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
277 .setIndicator(getActivity().getString(tab.mLabel)) in addTab()
278 .setContent(tab.mView); in addTab()
281 final GroupAdapter groupAdapter = new GroupAdapter(tab); in addTab()
286 final ViewGroup contentView = (ViewGroup) mTabHost.findViewById(tab.mContentView); in addTab()
333 private GroupAdapter(Tab tab) { in GroupAdapter() argument
334 mData = new AdapterData(tab, this); in GroupAdapter()
661 private AdapterData(Tab tab, GroupAdapter adapter) { in AdapterData() argument
663 mTab = tab; in AdapterData()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java1009 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
1011 if (tab == mDayTab && mCurrentView != ViewType.DAY) { in onTabSelected()
1013 } else if (tab == mWeekTab && mCurrentView != ViewType.WEEK) { in onTabSelected()
1015 } else if (tab == mMonthTab && mCurrentView != ViewType.MONTH) { in onTabSelected()
1019 + (tab == null ? "null" : tab.getText())); in onTabSelected()
1020 Log.w(TAG, "CurrentView:" + mCurrentView + " Tab:" + tab.toString() + " Day:" + mDayTab in onTabSelected()
1026 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
1030 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
/packages/apps/Dialer/java/com/android/dialer/logging/
Dscreen_event.proto22 // The tab containing the list of voicemails only.
25 // The tab containing the list of all contacts.
Ddialer_impression.proto174 // Voicemail status has updated in the voicemail tab and the change PIN
178 // User has clicked the change PIN action in the voicemail tab
205 // User deleted an entry from the voicemail tab
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPersonalWorkSlidingTabStrip.java88 Button tab = (Button) getChildAt(i); in updateTabTextColor() local
89 tab.setSelected(i == pos); in updateTabTextColor()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DOldMainActivityPeer.java471 private void logImpressionForSelectedTab(@TabIndex int tab) { in logImpressionForSelectedTab() argument
472 if (tab == TabIndex.SPEED_DIAL) { in logImpressionForSelectedTab()
474 } else if (tab == TabIndex.CALL_LOG) { in logImpressionForSelectedTab()
476 } else if (tab == TabIndex.CONTACTS) { in logImpressionForSelectedTab()
478 } else if (tab == TabIndex.VOICEMAIL) { in logImpressionForSelectedTab()
481 throw new IllegalStateException("Invalid tab: " + tab); in logImpressionForSelectedTab()
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarView.java225 MediaItemTab tab = new MediaItemTab(mContext, item); in setItems() local
226 mTabsContainer.addCarTab(tab); in setItems()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java340 public static Intent getShowTabIntent(Context context, int tab) { in getShowTabIntent() argument
343 intent.putExtra(DialtactsActivity.EXTRA_SHOW_TAB, tab); in getShowTabIntent()
349 .appendQueryParameter(DialtactsActivity.EXTRA_SHOW_TAB, String.valueOf(tab)) in getShowTabIntent()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in225 # The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
1412 # the same information as the tab index, you could consider setting
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile180 # The TAB_SIZE tag can be used to set the number of spaces in a tab.
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile180 # The TAB_SIZE tag can be used to set the number of spaces in a tab.
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...

12