/developers/samples/android/ui/views/HorizontalPaging/HorizontalPaging/src/main/java/com/example/android/horizontalpaging/ |
MainActivity.java | 59 // state with the tab state. (See mViewPager.setOnPageChangeListener() and onTabSelected().) 75 // When swiping between different sections, select the corresponding tab. We can also use 76 // ActionBar.Tab#select() to do this if we have a reference to the Tab. 87 // For each of the sections in the app, add a tab to the action bar. 89 // Create a tab with text corresponding to the page title defined by the adapter. Also 91 // callback (listener) for when this tab is selected. 101 * Update {@link ViewPager} after a tab has been selected in the ActionBar. 103 * @param tab Tab that was selected [all...] |
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
MainActivity.java | 74 // When swiping between different app sections, select the corresponding tab. 75 // We can also use ActionBar.Tab#select() to do this if we have a reference to the 76 // Tab. 81 // For each of the sections in the app, add a tab to the action bar. 83 // Create a tab with text corresponding to the page title defined by the adapter. 85 // listener for when this tab is selected. 94 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) { 98 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransaction) [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelper.java | 31 * Call {@link TabHelper#newTab(String)} to create each tab. 35 * Call {@link TabHelper#addTab(CompatTab)} for each tab, and you're done. 60 * Create a new tab. 62 * @param tag A unique tag to associate with the tab and associated fragment 73 public abstract void addTab(CompatTab tab);
|
CompatTabHoneycomb.java | 20 import android.app.ActionBar.Tab; 32 * The native tab object that this {@link CompatTab} acts as a proxy for. 34 ActionBar.Tab mTab; 83 public void onTabReselected(Tab tab, android.app.FragmentTransaction f) { 91 public void onTabSelected(Tab tab, android.app.FragmentTransaction f) { 99 public void onTabUnselected(Tab arg0, android.app.FragmentTransaction f) {
|
/external/chromium/chrome/browser/extensions/ |
extension_incognito_apitest.cc | 35 TabContents* tab = otr_browser->GetSelectedTabContents(); local 40 tab->render_view_host(), L"", 73 TabContents* tab = otr_browser->GetSelectedTabContents(); local 78 tab->render_view_host(), L"",
|
/external/chromium/chrome/browser/ui/ |
browser_init.cc | 259 // called during shutdown and |tab| can be NULL. 260 TabContents* tab = browser->GetSelectedTabContents(); 261 if (!tab || tab->infobar_count() > 0) 263 tab->AddInfoBar(new DefaultBrowserInfoBarDelegate(tab)); 436 std::vector<BrowserInit::LaunchWithProfile::Tab>* tabs) { 438 BrowserInit::LaunchWithProfile::Tab tab; local 439 tab.is_pinned = false 952 BrowserInit::LaunchWithProfile::Tab tab; local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 48 * This widget implements the dynamic action bar tab behavior that can change 126 // Recenter the tab display if we're at a new (scrollable) size. 280 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { 281 final TabView tabView = new TabView(getContext(), tab, forAdapter); 297 public void addTab(ActionBar.Tab tab, boolean setSelected) { 298 TabView tabView = createTabView(tab, false); 312 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) 420 final ActionBar.Tab tab = mTab; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
Constants.java | 208 case CODE_TAB: return "tab";
|
/external/openssl/crypto/bn/asm/ |
armv4-gf2m.pl | 83 str $a0,[sp,#0] @ tab[0]=0 85 str $a1,[sp,#4] @ tab[1]=a1 87 str $a2,[sp,#8] @ tab[2]=a2 89 str $a12,[sp,#12] @ tab[3]=a1^a2 91 str $a4,[sp,#16] @ tab[4]=a4 93 str $a14,[sp,#20] @ tab[5]=a1^a4 95 str $a0,[sp,#24] @ tab[6]=a2^a4 97 str $a12,[sp,#28] @ tab[7]=a1^a2^a4 100 ldr $lo,[sp,$i0] @ tab[b & 0x7] 102 ldr $t1,[sp,$i1] @ tab[b >> 3 & 0x7 [all...] |
/packages/apps/Browser/src/com/android/browser/ |
NavigationBarTablet.java | 140 void updateNavigationState(Tab tab) { 141 if (tab != null) { 142 mBackButton.setImageResource(tab.canGoBack() 145 mForwardButton.setImageResource(tab.canGoForward() 153 public void onTabDataChanged(Tab tab) { 154 super.onTabDataChanged(tab); 155 showHideStar(tab); 311 private void showHideStar(Tab tab) [all...] |
/external/chromium/chrome/browser/ |
aeropeek_manager.h | 28 // We need to select a tab associated with this window. 30 // We need to close a tab associated with this window. 32 // We may need to dispatch this button event to a tab associated with this 36 // * The bitmap of a tab associated with this window. 40 // and for marking the tab-content area as opaque. 57 // Windows 7 can dispay a thumbnail image of each tab to its taskbar so that 58 // a user can preview the contents of a tab (AeroPeek), choose a tab, close 59 // a tab, etc. 62 // * A tab is added [all...] |
/external/chromium/chrome/browser/sessions/ |
session_types.h | 26 // the NavigationEntry during session restore and tab restore. 42 TabNavigation(const TabNavigation& tab); 44 TabNavigation& operator=(const TabNavigation& tab); 108 // Unique if of the tab. 111 // Visual index of the tab within its window. There may be gaps in these 131 // True if the tab is pinned. 134 // If non-empty, this tab is an app tab and this is the id of the extension. 137 // Timestamp for when this tab was last modified. 159 // Index of the selected tab in tabs; -1 if no tab is selected. After restor [all...] |
session_restore_browsertest.cc | 72 // up with an extra tab. 103 // The browser should only have one tab. 142 // there is no guarantee that the SessionID for the tab has remained the same. 143 std::vector<TabRestoreService::Tab>::const_iterator it = window->tabs.begin(); 145 const TabRestoreService::Tab& tab = *it; local 146 // If this tab held url2, then restore this single tab. 147 if (tab.navigations[0].virtual_url() == url2) { 148 service->RestoreEntryById(NULL, tab.id, false) 178 const TabRestoreService::Tab* tab = local [all...] |
/external/openssh/ |
ssh-agent.c | 187 Idtab *tab = idtab_lookup(version); local 188 TAILQ_FOREACH(id, &tab->idlist, next) { 215 Idtab *tab = idtab_lookup(version); local 222 buffer_put_int(&msg, tab->nentries); 223 TAILQ_FOREACH(id, &tab->idlist, next) { 394 Idtab *tab = idtab_lookup(version); local 395 if (tab->nentries < 1) 397 "internal error: tab->nentries %d", 398 tab->nentries); 399 TAILQ_REMOVE(&tab->idlist, id, next) 414 Idtab *tab = idtab_lookup(version); local 439 Idtab *tab; local 466 Idtab *tab = idtab_lookup(version); local 707 Idtab *tab; local 767 Idtab *tab; local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/ |
chrome_ex_oauth.js | 75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { 80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) { 81 tabs[tab.id] = tab.url; 272 chrome.tabs.getSelected(null, function (tab) { 273 chrome.tabs.remove(tab.id);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/ |
chrome_ex_oauth.js | 75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { 80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) { 81 tabs[tab.id] = tab.url; 272 chrome.tabs.getSelected(null, function (tab) { 273 chrome.tabs.remove(tab.id);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
chrome_ex_oauth.js | 75 chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { 80 chrome.tabs.create({ 'url' : changeInfo.url }, function(tab) { 81 tabs[tab.id] = tab.url; 272 chrome.tabs.getSelected(null, function (tab) { 273 chrome.tabs.remove(tab.id);
|
/external/webp/src/enc/ |
token.c | 135 const uint8_t* tab; local 141 tab = VP8Cat3; 147 tab = VP8Cat4; 153 tab = VP8Cat5; 159 tab = VP8Cat6; 162 AddConstantToken(tokens, !!(v & mask), *tab++);
|
/frameworks/base/core/java/com/android/internal/app/ |
ActionBarImpl.java | 214 // Switch tab layout configuration if needed 468 private void configureTab(Tab tab, int position) { 469 final TabImpl tabi = (TabImpl) tab; 473 throw new IllegalStateException("Action Bar Tab must have a Callback"); 486 public void addTab(Tab tab) { 487 addTab(tab, mTabs.isEmpty()); 491 public void addTab(Tab tab, int position) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarImplBase.java | 156 // Switch tab layout configuration if needed 385 public Tab newTab() { 390 public void addTab(Tab tab) { 391 addTab(tab, mTabs.isEmpty()); 395 public void addTab(Tab tab, boolean setSelected) { 397 mTabScrollView.addTab(tab, setSelected); 398 configureTab(tab, mTabs.size()); 400 selectTab(tab); [all...] |
/external/oprofile/module/ia64/ |
op_pmu.c | 584 ctl_table * tab; local 592 if (!(tab = kmalloc(sizeof(ctl_table)*7, GFP_KERNEL))) 595 next->child = tab; 597 memset(tab, 0, sizeof(ctl_table)*7); 598 tab[0] = ((ctl_table) { 1, "enabled", &sysctl_parms.ctr[i].enabled, sizeof(int), 0600, NULL, lproc_dointvec, NULL, }); 599 tab[1] = ((ctl_table) { 1, "event", &sysctl_parms.ctr[i].event, sizeof(int), 0600, NULL, lproc_dointvec, NULL, }); 600 tab[2] = ((ctl_table) { 1, "count", &sysctl_parms.ctr[i].count, sizeof(int), 0600, NULL, lproc_dointvec, NULL, }); 601 tab[3] = ((ctl_table) { 1, "unit_mask", &sysctl_parms.ctr[i].unit_mask, sizeof(int), 0600, NULL, lproc_dointvec, NULL, }); 602 tab[4] = ((ctl_table) { 1, "kernel", &sysctl_parms.ctr[i].kernel, sizeof(int), 0600, NULL, lproc_dointvec, NULL, }); 603 tab[5] = ((ctl_table) { 1, "user", &sysctl_parms.ctr[i].user, sizeof(int), 0600, NULL, lproc_dointvec, (…) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
TrustedCredentialsSettings.java | 54 private enum Tab { 74 private Tab(String tag, int label, int view, int progress, int list, boolean checkbox) { 148 addTab(Tab.SYSTEM); 149 // TODO add Install button on Tab.USER to go to CertInstaller like KeyChainActivity 150 addTab(Tab.USER); 154 private void addTab(Tab tab) { 155 TabHost.TabSpec systemSpec = mTabHost.newTabSpec(tab.mTag) 156 .setIndicator(getActivity().getString(tab.mLabel)) 157 .setContent(tab.mView) [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider.cc | 211 void AutomationProvider::AddLoginHandler(NavigationController* tab, 213 login_handler_map_[tab] = handler; 216 void AutomationProvider::RemoveLoginHandler(NavigationController* tab) { 217 DCHECK(login_handler_map_[tab]); 218 login_handler_map_.erase(tab); 590 int handle, NavigationController** tab) { 593 if (tab) 594 *tab = nav_controller; 600 // Gets the current used encoding name of the page in the specified tab. 612 // Activate the tab and then click the encoding menu 678 NavigationController* tab = tab_tracker_->GetResource(tab_handle); local 714 NavigationController* tab = tab_tracker_->GetResource(tab_handle); local 747 NavigationController* tab = tab_tracker_->GetResource(tab_handle); local 961 NavigationController* tab = NULL; local [all...] |
/external/opencv/cxcore/src/ |
cxconvert.cpp | 367 name( CvBigFuncTable* tab ) \ 369 tab->fn_2d[CV_8UC2] = (void*)icvCopy##_8u_##FROM##2##TO##2R; \ 370 tab->fn_2d[CV_8UC3] = (void*)icvCopy##_8u_##FROM##3##TO##3R; \ 371 tab->fn_2d[CV_8UC4] = (void*)icvCopy##_8u_##FROM##4##TO##4R; \ 373 tab->fn_2d[CV_8SC2] = (void*)icvCopy##_8u_##FROM##2##TO##2R; \ 374 tab->fn_2d[CV_8SC3] = (void*)icvCopy##_8u_##FROM##3##TO##3R; \ 375 tab->fn_2d[CV_8SC4] = (void*)icvCopy##_8u_##FROM##4##TO##4R; \ 377 tab->fn_2d[CV_16UC2] = (void*)icvCopy##_16s_##FROM##2##TO##2R; \ 378 tab->fn_2d[CV_16UC3] = (void*)icvCopy##_16s_##FROM##3##TO##3R; \ 379 tab->fn_2d[CV_16UC4] = (void*)icvCopy##_16s_##FROM##4##TO##4R; [all...] |
/external/bison/build-aux/ |
depcomp | 99 sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" 108 tab=' ' 547 s/\(.*\)/'"$tab"'\1 \\/p 551 s/.*/'"$tab"'/ 606 sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" 757 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" 758 echo "$tab" >> "$depfile"
|