Home
last modified time | relevance | path

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

/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/PackageInstaller/src/com/android/packageinstaller/
DTabsAdapter.java141 View tab = widget.getChildTabViewAt(position); in onPageSelected() local
142 mTempRect.set(tab.getLeft(), tab.getTop(), tab.getRight(), tab.getBottom()); in onPageSelected()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java99 int tab = newIntent.getIntExtra(SELECT_TAB_INTENT_EXTRA, -1); in onNewIntent() local
100 if (tab != -1 && mTabLayout != null) { in onNewIntent()
101 mTabLayout.getTabAt(tab).select(); in onNewIntent()
102 mViewPager.setCurrentItem(tab); in onNewIntent()
153 int tab = intent.getIntExtra(SELECT_TAB_INTENT_EXTRA, -1); in onCreate() local
154 if (tab != -1) { in onCreate()
155 mSelectedTab = tab; in onCreate()
363 public void addTab(TabLayout.Tab tab, Class<?> clss, int position) { in addTab() argument
366 mTabLayout.addTab(tab); in addTab()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java276 private void addTab(Tab tab) { in addTab() argument
277 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) in addTab()
278 .setIndicator(getActivity().getString(tab.mLabel)) in addTab()
279 .setContent(tab.mView); in addTab()
283 final GroupAdapter groupAdapter = new GroupAdapter(tab); in addTab()
288 adapter.setContainerViewId(tab.mPersonalList); in addTab()
295 personalAdapter.setContainerViewId(tab.mPersonalList); in addTab()
300 workAdapter.setContainerViewId(tab.mWorkList); in addTab()
306 (ExpandableListView) mTabHost.findViewById(tab.mExpandableList)); in addTab()
333 private GroupAdapter(Tab tab) { in GroupAdapter() argument
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DFocusOnlyTabWidget.java59 View tab = null; in setCurrentTabToFocusedTab() local
65 tab = v; in setCurrentTabToFocusedTab()
72 super.onFocusChange(tab, true); in setCurrentTabToFocusedTab()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java258 public void setCurrentTab(int tab) { in setCurrentTab() argument
259 setCurrentTab(tab, true); in setCurrentTab()
265 public void setCurrentTab(int tab, boolean notifyListener) { in setCurrentTab() argument
266 if (tab == mCurrentTab) { in setCurrentTab()
269 mCurrentTab = tab; in setCurrentTab()
573 private void saveLastTabPreference(int tab) { in saveLastTabPreference() argument
574 mPrefs.edit().putInt(PERSISTENT_LAST_TAB, tab).apply(); in saveLastTabPreference()
DPeopleActivity.java614 int tab = mActionBarAdapter.getCurrentTab(); in updateFragmentsVisibility() local
623 if (mTabPager.getCurrentItem() != tab) { in updateFragmentsVisibility()
624 mTabPager.setCurrentItem(tab, !wereTabsHidden); in updateFragmentsVisibility()
631 showEmptyStateForTab(tab); in updateFragmentsVisibility()
634 private void showEmptyStateForTab(int tab) { in showEmptyStateForTab() argument
636 switch (getTabPositionForTextDirection(tab)) { in showEmptyStateForTab()
648 mViewPagerTabs.onPageScrolled(tab, 0, 0); in showEmptyStateForTab()
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java1249 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
1251 if (tab == mDayTab && mCurrentView != ViewType.DAY) { in onTabSelected()
1253 } else if (tab == mWeekTab && mCurrentView != ViewType.WEEK) { in onTabSelected()
1255 } else if (tab == mMonthTab && mCurrentView != ViewType.MONTH) { in onTabSelected()
1257 } else if (tab == mAgendaTab && mCurrentView != ViewType.AGENDA) { in onTabSelected()
1261 + (tab == null ? "null" : tab.getText())); in onTabSelected()
1262 Log.w(TAG, "CurrentView:" + mCurrentView + " Tab:" + tab.toString() + " Day:" + mDayTab in onTabSelected()
1268 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
1272 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java1530 private void updateTabStatus(TextView tab, boolean enabled, boolean selected) { in updateTabStatus() argument
1531 tab.setVisibility(View.VISIBLE); in updateTabStatus()
1532 tab.setEnabled(enabled); in updateTabStatus()
1547 tab.setBackgroundResource(backgroundId); in updateTabStatus()
1548 tab.setTextColor(mWnn.getResources().getColor(colorId)); in updateTabStatus()
/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_stab/doc/
Ddbreg_API_doxyfile180 # The TAB_SIZE tag can be used to set the number of spaces in a tab.
/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/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/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.gz
Den_US_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...