/external/openfst/ |
missing | 82 bison create \`y.tab.[ch]', if possible, from existing .[ch] 87 yacc create \`y.tab.[ch]', if possible, from existing .[ch] 217 rm -f y.tab.c y.tab.h 224 cp "$SRCFILE" y.tab.c 228 cp "$SRCFILE" y.tab.h 233 if test ! -f y.tab.h; then 234 echo >y.tab.h 236 if test ! -f y.tab.c; then 237 echo 'main() { return 0; }' >y.tab. [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/ |
MainActivity.java | 56 * Implementation of {@link CompatTabListener} to handle tab change events. This implementation 57 * instantiates the specified fragment class with no arguments when its tab is selected. 65 * Constructor used each time a new tab is created. 77 public void onTabSelected(CompatTab tab, FragmentTransaction ft) { 79 Fragment fragment = tab.getFragment(); 83 tab.setFragment(fragment); 84 ft.add(android.R.id.tabcontent, fragment, tab.getTag()); 92 public void onTabUnselected(CompatTab tab, FragmentTransaction ft) { 93 Fragment fragment = tab.getFragment(); 101 public void onTabReselected(CompatTab tab, FragmentTransaction ft) [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
browser_tab_strip_controller.h | 35 BaseTab* tab) const; 37 BaseTab* tab) const; 39 BaseTab* tab); 40 bool IsTabPinned(BaseTab* tab) const; 55 virtual void ShowContextMenuForTab(BaseTab* tab, 110 BaseTab* tab); 113 BaseTab* tab); 124 // If non-NULL it means we're showing a menu for the tab.
|
side_tab_strip.cc | 35 // The new tab button is rendered using a SideTab. 54 // Never show a close button for the new tab button. 167 SideTab* tab = new SideTab(NULL); local 168 // Make sure the dragged tab shares our theme provider. We need to explicitly 170 tab->set_theme_provider(GetThemeProvider()); 171 return tab; 203 // Paint the new tab and separator first so that any tabs animating appear on 209 BaseTab* tab = base_tab_at_tab_index(i); local 210 if (tab->dragging()) 211 dragging_tabs.push_back(tab); 301 BaseTab* tab = base_tab_at_tab_index(i); local 346 BaseTab* tab = base_tab_at_tab_index(tab_data_index); local 361 BaseTab* tab = base_tab_at_tab_index(i); local 391 BaseTab* tab = tabs[i]; local 405 BaseTab* tab = tabs[i]; local [all...] |
tab_strip.cc | 15 #include "chrome/browser/ui/views/tabs/tab.h" 70 // A subclass of button that hit-tests to the shape of the new tab button. 82 // When the button is sized to the top of the tab strip we want the user to 92 // These values are defined by the shape of the new tab bitmap. Should that 121 current_unselected_width_(Tab::GetStandardSize().width()), 122 current_selected_width_(Tab::GetStandardSize().width()), 137 // crash in the case where the user closes the window after closing a tab 177 // Check to see if the point is within the non-button parts of the new tab 187 // All other regions, including the new Tab button, should be considered part 210 // The user is about to close a tab other than the last tab. Se 246 Tab* tab = GetTabAtModelIndex(model_index); local 261 Tab* tab = new Tab(NULL); local 282 Tab* tab = GetTabAtTabDataIndex(i); local 413 Tab* tab = GetTabAtTabDataIndex(i); local 427 Tab* tab = new Tab(this); local 442 BaseTab* tab = base_tab_at_tab_index(tab_data_index); local 458 Tab* tab = GetTabAtTabDataIndex(i); local 487 BaseTab* tab = tabs[i]; local 509 BaseTab* tab = tabs[i]; local 522 BaseTab* tab = tabs[i]; local 736 Tab* tab = GetTabAtTabDataIndex(drop_index); local 778 Tab* tab = GetTabAtTabDataIndex(i); local 881 BaseTab* tab = base_tab_at_tab_index(i); local 902 Tab* tab = GetTabAtTabDataIndex(i); local 970 BaseTab* tab = base_tab_at_tab_index(i); local [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider_json.cc | 79 TabContents** tab, 90 *tab = automation_util::GetTabContentsAt(browser_index, tab_index); 91 if (!*tab) { 92 *error = "Cannot locate tab from given indices"; 101 TabContents** tab, 104 GetTabFromJSONArgs(args, tab, error);
|
automation_provider_json.h | 55 // Gets the tab specified by the given dictionary |args|. |args| should 57 // and a key 'tab_index' which refers to the index of the tab in that browser. 58 // Returns true on success and sets |tab|. Otherwise, |error| will be set. 60 TabContents** tab, 63 // Gets the browser and tab specified by the given dictionary |args|. |args| 65 // a key 'tab_index' which refers to the index of the tab in that browser. 66 // Returns true on success and sets |browser| and |tab|. Otherwise, |error| 70 TabContents** tab,
|
/frameworks/rs/driver/linkloader/android/ |
test-librsloader.c | 38 static struct func_entry_t const tab[] = { local 51 static size_t const tab_size = sizeof(tab) / sizeof(struct func_entry_t); 59 if (name_len == tab[i].name_len && strcmp(name, tab[i].name) == 0) { 60 return tab[i].addr;
|
/external/chromium/chrome/browser/sessions/ |
session_restore.cc | 51 // tabs. New tabs are loaded after the current tab finishes loading, or a delay 53 // a tab finishes loading a new tab is loaded and the time of the delay 63 // Schedules a tab for loading. 66 // Notifies the loader that a tab has been scheduled for loading through 70 // Invokes |LoadNextTab| to load a tab. 80 // Loads the next tab. If there are no more tabs to load this deletes itself, 84 // NotificationObserver method. Removes the specified tab and loads the next 85 // tab. 90 // Removes the listeners from the specified tab and removes the tab fro 197 NavigationController* tab = tabs_to_load_.front(); local 261 NavigationController* tab = Source<NavigationController>(source).ptr(); local 278 NavigationController* tab = Source<NavigationController>(source).ptr(); local 635 const SessionTab& tab = *(*i); local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
tab_contents_container_gtk.cc | 45 gtk_widget_set_name(floating_.get(), "chrome-tab-contents-container"); 64 void TabContentsContainerGtk::SetTab(TabContentsWrapper* tab) { 71 tab_ = tab; 74 // If the preview contents is becoming the new permanent tab contents, we 79 PackTab(tab); 128 void TabContentsContainerGtk::PackTab(TabContentsWrapper* tab) { 129 if (!tab) 132 gfx::NativeView widget = tab->tab_contents()->GetNativeView(); 141 if (tab->tab_contents()->GetContentNativeView()) { 143 tab->tab_contents()->GetContentNativeView()->window [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UrlHandler.java | 61 boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url) { 76 // before leaving BrowserActivity, close the empty child tab. 77 // If a new tab is created through JavaScript open to load this 113 new RLZTask(tab, siteUri, view).execute(); 118 if (startActivityForUrl(tab, url)) { 122 if (handleMenuClick(tab, url)) { 129 boolean startActivityForUrl(Tab tab, String url) { 148 // before leaving BrowserActivity, close the empty child tab [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
tab_strip_gtk.cc | 59 // The horizontal offset from one tab to the next, which results in overlapping 94 bool GdkRectMatchesTabFaviconBounds(const GdkRectangle& gdk_rect, TabGtk* tab) { 95 gfx::Rect favicon_bounds = tab->favicon_bounds(); 96 return gdk_rect.x == favicon_bounds.x() + tab->x() && 97 gdk_rect.y == favicon_bounds.y() + tab->y() && 155 // Retrieves the width for the Tab at the specified index if an animation is 160 TabGtk* tab = tabstrip->GetTabAt(index); local 162 if (tab->mini()) { 167 tab_width = tab->IsSelected() ? selected : unselected; 193 // Returns the gap before the tab at the specified index. Subclass if durin 352 TabGtk* tab = tabstrip_->GetTabAt(index); local 485 TabGtk* tab = tabstrip_->GetTabAt(index); local 546 TabGtk* tab = tabstrip_->GetTabAt(index); local 652 TabGtk* tab = tabstrip_->GetTabAt(index); local 786 TabGtk* tab = GetTabAt(i); local 804 TabGtk* tab = GetTabAt(i); local 951 TabGtk* tab = NULL; local 1037 TabGtk* tab = GetTabAt(from_index); local 1051 TabGtk* tab = GetTabAtAdjustForAnimation(index); local 1341 TabGtk* tab = GetTabAt(i); local 1538 TabGtk* tab = GetTabAt(drop_index); local 1576 TabGtk* tab = GetTabAt(i); local 1794 TabGtk* tab = GetTabAt(i); local 1904 TabGtk* tab = GetTabAt(i); local 2035 TabGtk* tab = GetTabAt(t); local [all...] |
tab_strip_gtk.h | 57 // Returns true if a tab is being dragged into this tabstrip. 75 // Return true if this tab strip is compatible with the provided tab strip. 76 // Compatible tab strips can transfer tabs during drag and drop. 86 // Removes the drag source tab from this tabstrip, and deletes it. 87 void DestroyDraggedSourceTab(TabGtk* tab); 89 // Retrieve the ideal bounds for the Tab at the specified index. 92 // Sets the vertical offset that each tab will use to offset against the 127 virtual bool IsTabSelected(const TabGtk* tab) const; 128 virtual bool IsTabPinned(const TabGtk* tab) const 171 TabGtk* tab; member in struct:TabStripGtk::TabData [all...] |
/external/chromium/chrome/browser/ |
tab_restore_uitest.cc | 37 // Uses the undo-close-tab accelerator to undo a close-tab or close-window 38 // operation. The newly restored tab is expected to appear in the 41 // current windows, the restored tab is expected to be created in a new 63 // Restore the tab. 78 // Get a handle to the restored tab. 84 // Wait for the restored tab to finish loading. 88 // Ensure that the tab and window are active. 138 // Close the end tab in the current window, then restore it. The tab should b [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_override_apitest.cc | 49 TabContents* tab = browser()->GetSelectedTabContents(); local 50 ASSERT_TRUE(tab->controller().GetActiveEntry()); 51 EXPECT_TRUE(tab->controller().GetActiveEntry()->url(). 61 // Navigate to the new tab page. The overridden new tab page 64 TabContents* tab = browser()->GetSelectedTabContents(); local 65 ASSERT_TRUE(tab->controller().GetActiveEntry()); 66 EXPECT_TRUE(tab->controller().GetActiveEntry()->url(). 85 // Navigate an incognito tab to the new tab page. We should get the actua 92 TabContents* tab = otr_browser->GetSelectedTabContents(); local [all...] |
/external/chromium/chrome/browser/tabs/ |
tab_finder.cc | 25 TabContentsObserverImpl(TabContents* tab, TabFinder* finder); 34 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE; 43 TabContents* tab, 45 : TabContentsObserver(tab), 59 TabContents* tab) { 81 // If the current tab matches the url, ignore it and let the user reload the 82 // existing tab. 87 // See if the current browser has a tab matching the specified url. 114 // The tab was added to a browser. Query for its state now. 172 void TabFinder::TrackTab(TabContents* tab) { [all...] |
pinned_tab_codec.cc | 20 typedef BrowserInit::LaunchWithProfile::Tab Tab; 38 // Adds a DictionaryValue to |values| representing the pinned tab at the 67 // Invokes EncodePinnedTab for each pinned tab in browser. 74 // Decodes the previously written values in |value| to |tab|, returning true 76 static bool DecodeTab(const DictionaryValue& value, Tab* tab) { 77 tab->is_app = false; 82 tab->url = GURL(url_string); 84 if (value.GetString(kAppID, &(tab->app_id)) 129 Tab tab; local [all...] |
/external/chromium/chrome/browser/translate/ |
translate_manager.h | 80 // Convenience method to know if a tab is showing a translate infobar. 81 static bool IsShowingTranslateInfobar(TabContents* tab); 114 // Starts the translation process on |tab| containing the page in the 116 void InitiateTranslation(TabContents* tab, const std::string& page_lang); 118 // If the tab identified by |process_id| and |render_id| has been closed, this 131 void PageTranslated(TabContents* tab, PageTranslatedDetails* details); 135 bool IsAcceptLanguage(TabContents* tab, const std::string& language); 145 // Shows the specified translate |infobar| in the given |tab|. If a current 147 void ShowInfoBar(TabContents* tab, TranslateInfoBarDelegate* infobar); 154 // Returns the translate info bar showing in |tab| or NULL if none is showing [all...] |
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
ActionBarTabsPager.java | 23 import android.app.ActionBar.Tab; 62 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); 69 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); 75 * trick. Normally a tab host has a simple API for supplying a View or 76 * Intent that each tab will show. This is not sufficient for switching 77 * between pages. So instead we make the content part of the tab host 79 * view to show as the tab content. It listens to changes in tabs, and takes 81 * tab changes. 109 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) [all...] |
FragmentNestingPagerSupport.java | 23 import android.app.ActionBar.Tab; 60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); 67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); 73 * trick. Normally a tab host has a simple API for supplying a View or 74 * Intent that each tab will show. This is not sufficient for switching 75 * between pages. So instead we make the content part of the tab host 77 * view to show as the tab content. It listens to changes in tabs, and takes 79 * tab changes. 107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) [all...] |
FragmentNestingStatePagerSupport.java | 23 import android.app.ActionBar.Tab; 60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); 67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); 73 * trick. Normally a tab host has a simple API for supplying a View or 74 * Intent that each tab will show. This is not sufficient for switching 75 * between pages. So instead we make the content part of the tab host 77 * view to show as the tab content. It listens to changes in tabs, and takes 79 * tab changes. 107 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperEclair.java | 35 * It implements a generic mechanism for associating fragments with the tabs in a tab host. It 36 * relies on a trick: Normally a tab host has a simple API for supplying a View or Intent that each 37 * tab will show. This is not sufficient for switching between fragments. So instead we make the 38 * content part of the tab host 0dp high (it is not shown) and this supplies its own dummy view to 39 * show as the tab content. It listens to changes in tabs, then passes the event back to the tab's 64 public void addTab(CompatTab tab) { 65 String tag = tab.getTag(); 68 if (tab.getIcon() != null) { 69 spec = mTabHost.newTabSpec(tag).setIndicator(tab.getText(), tab.getIcon()) [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
GalleryActivity.java | 20 import android.app.ActionBar.Tab; 63 ab.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); 70 outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); 120 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { 122 tab.setTag(info); 123 tab.setTabListener(this); 125 mActionBar.addTab(tab); 162 public void onTabSelected(Tab tab, FragmentTransaction ft) [all...] |
/external/chromium/chrome/browser/download/ |
download_request_infobar_delegate.h | 22 TabContents* tab,
|
/external/chromium/chrome/browser/tab_contents/ |
view_source_uitest.cc | 51 scoped_refptr<TabProxy> tab(GetActiveTab()); 52 ASSERT_TRUE(tab.get()); 53 ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, tab->NavigateToURL(url)); 58 ASSERT_TRUE(tab->GetCookieByName(url, cookie, &cookie_found));
|