/frameworks/base/docs/html/training/implementing-navigation/ |
lateral.jd | 1 page.title=Creating Swipe Views with Tabs 2 page.tags="viewpager","horizontal","paging","swipe view","tabs" 14 <li><a href="#tabs">Add Tabs to the Action Bar</a></li> 15 <li><a href="#swipe-tabs">Change Tabs with Swipe Views</a></li> 16 <li><a href="#PagerTitleStrip">Use a Title Strip Instead of Tabs</a></li> 23 <li><a href="{@docRoot}design/building-blocks/tabs.html">Android Design: Tabs</a></li> 39 <p>Swipe views provide lateral navigation between sibling screens such as tabs wit [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
tab_strip.h | 11 #include "chrome/browser/ui/views/tabs/base_tab_strip.h" 36 // container for Tabs, and is also responsible for creating them. 38 // DraggedTab, focusing on tasks that require reshuffling other tabs 39 // in response to dragged tabs. 93 virtual void LayoutDraggedTabsAt(const std::vector<BaseTab*>& tabs, 98 const std::vector<BaseTab*>& tabs, 100 virtual int GetSizeNeededForTabs(const std::vector<BaseTab*>& tabs) OVERRIDE; 111 // Horizontal gap between mini and non-mini-tabs. 126 // which indicates the drop should create a new tab at the end of the tabs. 161 // Returns the number of mini-tabs [all...] |
tab_strip.cc | 5 #include "chrome/browser/ui/views/tabs/tab_strip.h" 15 #include "chrome/browser/ui/views/tabs/tab.h" 16 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" 130 // The animations may reference the tabs. Shut down the animation before we 131 // delete the tabs. 141 // The children (tabs) may callback to us from their destructor. Delete them 213 // user closes tabs with the mouse a tab continues to fall under the mouse. 230 // We have "tiny tabs" if the tabs are so tiny that the unselected ones are 272 // Tabs are painted in reverse order, so they stack to the left [all...] |
base_tab_strip.cc | 5 #include "chrome/browser/ui/views/tabs/base_tab_strip.h" 9 #include "chrome/browser/ui/views/tabs/dragged_tab_controller.h" 10 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h" 259 // tabs and have the close click close the next tab. 307 // mouse is down... during an animation tabs are being resized automatically, 320 std::vector<BaseTab*> tabs; local 324 // Build the set of selected tabs to drag and calculate the offset from the 329 tabs.push_back(other_tab); 331 size_to_selected = GetSizeNeededForTabs(tabs); 339 DCHECK(!tabs.empty()) [all...] |
base_tab_strip.h | 12 #include "chrome/browser/ui/views/tabs/abstract_tab_strip_view.h" 13 #include "chrome/browser/ui/views/tabs/base_tab.h" 14 #include "chrome/browser/ui/views/tabs/tab_controller.h" 88 // Gets the number of Tabs in the tab strip. 89 // WARNING: this is the number of tabs displayed by the tabstrip, which if 90 // an animation is ongoing is not necessarily the same as the number of tabs 141 // The Tabs we contain, and their last generated "good" bounds. 181 // Resets the bounds of all non-closing tabs. 184 // Invoked during drag to layout the tabs being dragged in |tabs| a [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
pinned_tab_codec_unittest.cc | 5 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" 12 #include "chrome/browser/ui/tabs/pinned_tab_test_utils.h" 13 #include "chrome/browser/ui/tabs/tab_strip_model.h" 20 // Make sure nothing is restored when the browser has no pinned tabs. 50 // Update pinned tabs and restore back the old value directly.
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/screenshot/ |
background.js | 8 // because the event page will stay open as long as any screenshot tabs are 13 chrome.tabs.captureVisibleTab(null, function(img) { 17 chrome.tabs.create({url: viewTabUrl}, function(tab) { 30 chrome.tabs.onUpdated.removeListener(addSnapshotImageToTab); 45 chrome.tabs.onUpdated.addListener(addSnapshotImageToTab);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
features_bundle_test.py | 40 'tabs': { 52 'dependencies': ['api:tabs'], 99 'tabs': { 128 'tabs': { 129 'partial': 'permissions/tabs.html' 204 'tabs': { 205 'name': 'tabs', 208 'partial': 'permissions/tabs.html' 239 'tabs': { 240 'name': 'tabs', [all...] |
/external/chromium_org/chrome/browser/ui/ |
uma_browsing_activity_observer.cc | 15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 101 // Record how many tabs each window has open. 103 UMA_HISTOGRAM_CUSTOM_COUNTS("Tabs.TabCountPerWindow", 109 // Record how many tabs the active window has open. 110 UMA_HISTOGRAM_CUSTOM_COUNTS("Tabs.TabCountActiveWindow", 122 // Record how many tabs total are open (across all windows). 123 UMA_HISTOGRAM_CUSTOM_COUNTS("Tabs.TabCountPerLoad", tab_count, 1, 200, 50);
|
/external/chromium_org/chrome/browser/web_resource/ |
notification_promo_mobile_ntp.h | 59 // The short text of the promotion (e.g. for Most Visited and Open Tabs). 61 // The long text of the promotion (e.g. for Open Tabs when no tabs are open). 65 // The title of the virtual computer (e.g. when shown on Open Tabs). 67 // The detailed info for the virtual computer (e.g. when shown on Open Tabs). 75 // True if the promo should be shown on Open Tabs pane. 77 // True if the promo should show the virtual computer (e.g. on Open Tabs).
|
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
sessions_api.cc | 17 #include "chrome/browser/extensions/api/tabs/windows_util.h" 35 #include "chrome/browser/ui/tabs/tab_strip_model.h" 47 namespace tabs = api::tabs; 64 // Comparator function for use with std::sort that will sort tabs in a window 70 scoped_ptr<tabs::Tab> CreateTabModelHelper( 78 scoped_ptr<tabs::Tab> tab_struct(new tabs::Tab); 104 scoped_ptr<std::vector<linked_ptr<tabs::Tab> > > tabs, [all...] |
/external/chromium/chrome/browser/ui/ |
browser_init.h | 31 // tabs shown at first run. 73 // Assists launching the application and appending the initial tabs for a 115 // Tabs. 120 // Creates a tab for each of the Tabs in |tabs|. If browser is non-null 121 // and a tabbed browser, the tabs are added to it. Otherwise a new tabbed 122 // browser is created and the tabs are added to it. The browser the tabs 127 const std::vector<Tab>& tabs); 159 // . Attempts to restore any pinned tabs from last run of chrome and [all...] |
/packages/apps/Browser/src/com/android/browser/ |
TabControl.java | 42 // Maximum number of tabs. 44 // Private array of WebViews that are used as tabs. 46 // Queue of most recently viewed tabs. 108 * return the list of tabs 159 * Returns true if there are any incognito tabs open. 160 * @return True when any incognito tabs are open, false otherwise. 188 * number of open tabs. 196 // Return false if we have maxed out on tabs 220 * Remove the parent child relationships from all tabs. 241 // Remove t from our list of tabs [all...] |
/external/chromium/chrome/common/extensions/docs/ |
samples.html | 129 <span class="greytext">e.g. "page action" or "tabs"</span> 146 <ul id="home" class="gc-topnav-tabs"> 192 <li><a href="tabs.html">Tabs</a></li> 316 <script>var search_data = {"0262260daf0c8f7b28feff2ef23b05e7abf9d1e0":"A BROWSER ACTION WHICH CHANGES ITS ICON WHEN CLICKED. BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETICON","ea2894c41cb8e80a4433a3e6c5772dadce9be90d":"A BROWSER ACTION WITH A POPUP THAT CHANGES THE PAGE COLOR. BROWSER_ACTION POPUP TABS CHROME.TABS.EXECUTESCRIPT","ede3c47b7757245be42ec33fd5ca63df4b490066":"A BROWSER ACTION WITH NO ICON THAT MAKES THE PAGE RED BACKGROUND_PAGE BROWSER_ACTION TABS CHROME.BROWSERACTION.ONCLICKED CHROME.BROWSERACTION.SETBADGEBACKGROUNDCOLOR CHROME.BROWSERACTION.SETBADGETEXT CHROME.TABS.EXECUTESCRIPT","fbf0aa1a09a15ff8cc4fc7de4fd176d6c663d07a":"ACCEPTLANGUAGE RETURNS ACCEPT LANGUAGES OF THE BROWSER BROWSER_ACTION POPUP CHROME.I18N.GETACCEPTLANGUAGES CHROME.I18N.GETMESSAGE","9a6e4ec46997fb92b324974afa08a3d007e2537f":"ANIMATED PAGE ACTION THIS EXTENSION ADDS AN ANIMATED BROWSER ACTION TO THE TOOLBAR. BACKGROUND_PAGE PAGE_ACTION TABS CHROME.PAGEACTION.HIDE CHROME.PAGEACTION.ONCLICKED CHROME.PAGEACTION.SETICON CHROME.PAGEACTION.SET (…) [all...] |
/external/chromium/chrome/browser/sessions/ |
tab_restore_service_browsertest.cc | 18 // for closed tabs and windows. 181 // Recreate the service and have it load the tabs. 220 // Recreate the service and have it load the tabs. 250 // Recreate the service and have it load the tabs. 277 // Recreate the service and have it load the tabs. 300 ASSERT_EQ(1U, window->tabs.size()); 303 ASSERT_EQ(1U, window->tabs[0].navigations.size()); 304 EXPECT_EQ(0, window->tabs[0].current_navigation_index); 305 EXPECT_EQ(0, window->tabs[0].timestamp.ToInternalValue()); 306 EXPECT_TRUE(url1_ == window->tabs[0].navigations[0].virtual_url()) [all...] |
session_service_unittest.cc | 116 EXPECT_EQ(1U, windows[0]->tabs.size()); 120 SessionTab* tab = windows[0]->tabs[0]; 163 ASSERT_EQ(1U, windows[0]->tabs.size()); 166 SessionTab* tab = windows[0]->tabs[0]; 216 ASSERT_EQ(1U, windows[0]->tabs.size()); 218 SessionTab* tab = windows[0]->tabs[0]; 246 ASSERT_EQ(1U, windows[0]->tabs.size()); 248 SessionTab* tab = windows[0]->tabs[0]; 285 ASSERT_EQ(1U, windows[0]->tabs.size()); 286 ASSERT_EQ(1U, windows[1]->tabs.size()) [all...] |
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
tabs.js | 47 TABS: Tabs, 69 element = this.querySelector('tabs'); 125 * Creates a new tabs element. 130 var Tabs = cr.ui.define('tabs'); 131 Tabs.prototype = { 136 // Make the Tabs element focusable. 236 Tabs: Tabs, [all...] |
/external/chromium_org/chrome/browser/ui/toolbar/ |
recent_tabs_builder_test_helper.cc | 70 std::vector<TabInfo> tabs; member in struct:RecentTabsBuilderTestHelper::WindowInfo 145 sessions_[session_index].windows[window_index].tabs.push_back(tab_info); 150 return sessions_[session_index].windows[window_index].tabs.size(); 156 return sessions_[session_index].windows[window_index].tabs[tab_index].id; 163 .tabs[tab_index].timestamp; 170 sessions_[session_index].windows[window_index].tabs[tab_index].title; 207 ASSERT_EQ(GetTabCount(s, w), static_cast<int>(windows[w]->tabs.size())); 213 std::vector<TitleTimestampPair> tabs; local 220 tabs.push_back(pair); 224 sort(tabs.begin(), tabs.end(), SortTabTimesByRecency) [all...] |
/external/chromium_org/chrome/browser/sessions/ |
session_service_unittest.cc | 125 EXPECT_EQ(1U, windows[0]->tabs.size()); 129 SessionTab* tab = windows[0]->tabs[0]; 196 ASSERT_EQ(1U, windows[0]->tabs.size()); 199 SessionTab* tab = windows[0]->tabs[0]; 249 ASSERT_EQ(1U, windows[0]->tabs.size()); 251 SessionTab* tab = windows[0]->tabs[0]; 280 ASSERT_EQ(1U, windows[0]->tabs.size()); 282 SessionTab* tab = windows[0]->tabs[0]; 309 ASSERT_EQ(1U, windows[0]->tabs.size()); 310 ASSERT_EQ(1U, windows[1]->tabs.size()) [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab_drag_controller.h | 14 #include "chrome/browser/ui/tabs/dock_info.h" 15 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 16 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" 47 // tabs (this is referred to as attached). When the user drags far enough such 48 // that the tabs should be moved out of the tab strip two possible things 69 // Only the set of visible tabs should change. This is only applicable when 73 // Typical behavior where tabs are dragged around. 90 // Initializes TabDragController to drag the tabs in |tabs| originating from 92 // contained in |tabs|. |mouse_offset| is the distance of the mouse pointe [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
tab_strip_gtk.h | 15 #include "chrome/browser/tabs/tab_strip_model.h" 17 #include "chrome/browser/ui/gtk/tabs/tab_gtk.h" 42 // TODO(tc): Pass in theme provider so we can properly theme the tabs. 60 // Sets the bounds of the tabs. 76 // Compatible tab strips can transfer tabs during drag and drop. 79 // Returns true if Tabs in this TabStrip are currently changing size or 156 // Horizontal gap between mini-tabs and normal tabs. 209 // which indicates the drop should create a new tab at the end of the tabs. 267 // Paints the tab favicon areas for tabs in |tabs_to_paint| [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
uma_policy.h | 14 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 22 // * If multiple tabs are open for the same URL at the same time, UmaPolicy 24 // * UmaPolicy does not record statistics for incognito tabs. (For privacy.) 25 // * If the number of tabs open exceeds 50, UmaPolicy stops recording stats 26 // for tabs 51+. (For memory.) 68 // The max number of tabs we track at a time.
|
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/ |
canned_data.py | 210 'tabs.json': json.dumps([{'namespace': 'tabs', 'description': ''}]), 312 'tabs.json': json.dumps([{'namespace': 'tabs'}]), 380 'tabs.json': json.dumps([{'namespace': 'tabs'}]), 431 'tabs.json': json.dumps([{'namespace': 'tabs'}]), 462 'tabs.json': json.dumps([{'namespace': 'tabs'}]), [all...] |
/external/chromium_org/extensions/browser/ |
file_highlighter_unittest.cc | 27 " \"tabs\"\n" 50 " \"tabs\"\n" 56 const char kTabsFeature[] = "\"tabs\""; 57 ManifestHighlighter tabs(kManifest, "permissions", "tabs"); 58 EXPECT_EQ(kTabsFeature, tabs.GetFeature());
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
_index.html | 16 <dt><a href="ActionBarTabs.html">Action Bar Tabs</a></dt> 17 <dd>Demonstrates the use of Action Bar tabs and how they interact with other action bar 18 features. Also see the <a href="FragmentTabs.html">Fragment Tabs</a> for a more
|