HomeSort by relevance Sort by last modified time
    Searched refs:Tab (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /packages/apps/Browser/src/com/android/browser/
WebViewController.java 48 void onSetWebView(Tab tab, WebView view);
50 void createSubWindow(Tab tab);
52 void onPageStarted(Tab tab, WebView view, Bitmap favicon);
54 void onPageFinished(Tab tab);
56 void onProgressChanged(Tab tab);
    [all...]
UiController.java 41 Tab getCurrentTab();
45 List<Tab> getTabs();
47 Tab openTabToHomePage();
49 Tab openIncognitoTab();
51 Tab openTab(String url, boolean incognito, boolean setActive,
54 void setActiveTab(Tab tab);
56 boolean switchToTab(Tab tab);
60 void closeTab(Tab tab)
    [all...]
UI.java 57 public void addTab(Tab tab);
59 public void removeTab(Tab tab);
61 public void setActiveTab(Tab tab);
63 public void updateTabs(List<Tab> tabs);
65 public void detachTab(Tab tab);
67 public void attachTab(Tab tab)
    [all...]
TabControl.java 32 // next Tab ID, starting at 1
39 void onThumbnailUpdated(Tab t);
45 private ArrayList<Tab> mTabs;
47 private ArrayList<Tab> mTabQueue;
61 mTabs = new ArrayList<Tab>(mMaxTabs);
62 mTabQueue = new ArrayList<Tab>(mMaxTabs);
70 * Return the current tab's main WebView. This will always return the main
71 * WebView for a given tab and not a subwindow.
72 * @return The current tab's WebView.
75 Tab t = getTab(mCurrentTab)
439 final Tab tab = tabMap.get(id); local
    [all...]
PreloadController.java 70 public void onSetWebView(Tab tab, WebView view) {
75 public void createSubWindow(Tab tab) {
80 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) {
84 // user visits a preloaded tab, the only item in the history
91 public void onPageFinished(Tab tab) {
93 if (tab != null)
    [all...]
PreloadedTabControl.java 26 * Class to manage the controlling of preloaded tab.
32 final Tab mTab;
36 public PreloadedTabControl(Tab t) {
80 public Tab getTab() {
NavScreen.java 52 Tab mTab;
70 HashMap<Tab, View> mTabViews;
128 mTabViews = new HashMap<Tab, View>(tc.getTabCount());
132 // update state for active tab
137 Tab tab = mAdapter.getItem(pos);
138 onCloseTab(tab);
158 private void onCloseTab(Tab tab) {
159 if (tab != null)
170 final Tab tab = mUiController.openTab(BrowserSettings.getInstance().getHomePage(), local
233 final Tab tab = getItem(position); local
    [all...]
XLargeUi.java 91 for (Tab t : mTabControl.getTabs()) {
138 public void addTab(Tab tab) {
139 mTabBar.onNewTab(tab);
142 protected void onAddTabCompleted(Tab tab) {
147 public void setActiveTab(final Tab tab) {
150 super.setActiveTab(tab);
151 BrowserWebView view = (BrowserWebView) tab.getWebView()
    [all...]
  /external/chromium/chrome/browser/tabs/
pinned_tab_test_utils.cc 7 typedef BrowserInit::LaunchWithProfile::Tab Tab;
11 std::string TabToString(const Tab& tab) {
12 return tab.url.spec() + ":" + (tab.is_app ? "app" : "") + ":" +
13 (tab.is_pinned ? "pinned" : "") + ":" + tab.app_id;
20 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values) {
pinned_tab_test_utils.h 18 // of urls. If the tab is an app, ':app' is appended, and if the tab is
21 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values);
pinned_tab_codec.h 33 static std::vector<BrowserInit::LaunchWithProfile::Tab> ReadPinnedTabs(
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...]
  /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
CompatActionBarNavHandler.java 20 import android.app.ActionBar.Tab;
49 * Called by framework when a tab is selected.
54 public void onTabSelected(Tab tab, FragmentTransaction ft) {
56 mNavListener.onCategorySelected(tab.getPosition());
72 * Called by framework when a tab is re-selected. That is, it was already selected and is
76 public void onTabReselected(Tab tab, FragmentTransaction ft) {
81 * Called by framework when a tab is unselected. Not used in our app.
84 public void onTabUnselected(Tab tab, FragmentTransaction ft)
    [all...]
  /external/chromium/chrome/browser/ui/webui/
value_helper.h 16 static bool TabToValue(const TabRestoreService::Tab& tab,
  /frameworks/base/core/java/android/app/
ActionBar.java 76 * Tab navigation mode. Instead of static title text this mode
499 * Create and return a new {@link Tab}.
500 * This tab will not be included in the action bar until it is added.
508 * @return A new Tab
510 * @see #addTab(Tab)
512 public abstract Tab newTab();
515 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
516 * If this is the first tab to be added it will become the selected tab
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
ActionBarTest.java 19 import android.app.ActionBar.Tab;
45 Tab t1 = createTab("Tab 1");
51 Tab t2 = createTab("Tab 2");
57 Tab t3 = createTab("Tab 3");
63 Tab t4 = createTab("Tab 2.5");
69 Tab t5 = createTab("Tab 0.5")
    [all...]
  /development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
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/ui/views/tabs/
tab.cc 5 #include "chrome/browser/ui/views/tabs/tab.h"
43 // Vertical adjustment to the favicon when the tab has a large icon.
46 // When a non-mini-tab becomes a mini-tab the width of the tab animates. If
47 // the width of a mini-tab is >= kMiniTabRendererAsNormalTabWidth then the tab
48 // is rendered as a normal tab. This is done to avoid having the title
49 // immediately disappear when transitioning a tab from normal to mini-tab
    [all...]
tab.h 24 // A View that renders a Tab, either in a TabStrip or in a DraggedTabView.
27 class Tab : public BaseTab {
32 explicit Tab(TabController* controller);
33 virtual ~Tab();
35 // Start/stop the mini-tab title animation.
39 // Set the background offset used to match the image in the inactive tab
45 // Returns the minimum possible size of a single unselected Tab.
47 // Returns the minimum possible size of a selected Tab. Selected tabs must
51 // Returns the preferred size of a single Tab, assuming space is
76 // Paint various portions of the Tab
    [all...]
  /external/chromium/chrome/browser/sessions/
tab_restore_service.h 27 // tabs and windows. When a tab is closed
28 // TabRestoreService::CreateHistoricalTab is invoked and a Tab is created to
29 // represent the tab. Similarly, when a browser is closed, BrowserClosing is
32 // To restore a tab/window from the TabRestoreService invoke RestoreEntryById
48 TAB,
64 // The time when the window or tab was closed.
73 // Represents a previously open tab.
74 struct Tab : public Entry {
75 Tab();
76 virtual ~Tab();
    [all...]
  /packages/apps/Browser/tests/src/com/android/browser/
IntentHandlerTests.java 42 Tab tabGoogle = controller.getCurrentTab();
43 assertNotNull("Current tab (google.com", tabGoogle);
48 Tab tabMaps = controller.getCurrentTab();
50 assertNotNull("Current tab (maps.google.com)", tabMaps);
62 Tab tabGoogle = controller.getCurrentTab();
74 Tab currentTab = controller.getCurrentTab();
89 Tab tabGoogle = controller.getCurrentTab();
90 assertNotNull("Current tab (google.com", tabGoogle);
95 Tab tabMaps = controller.getCurrentTab();
109 * bypassing Tab, Controller, etc.
154 Tab tab = getActivity().getController().getCurrentTab(); local
    [all...]
  /external/chromium/chrome/browser/ui/
browser_init.h 79 struct Tab {
80 Tab();
81 ~Tab();
86 // If true, the tab corresponds to an app an |app_id| gives the id of the
90 // True if the is tab pinned.
120 // Creates a tab for each of the Tabs in |tabs|. If browser is non-null
127 const std::vector<Tab>& tabs);
139 // If the app is specified to start in a tab, or IsAppLaunch is false,
144 // should open in a tab, do so.
168 // Adds a Tab to |tabs| for each url in |urls| that doesn't already exis
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ActionBarTabs.java 21 import android.app.ActionBar.Tab;
47 final String text = "Tab " + tabCount;
80 * to it, it will be committed at the end of the full tab switch operation.
81 * This lets tab switches be atomic without the app needing to track
96 public void onTabSelected(Tab tab, FragmentTransaction ft) {
100 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
104 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
FragmentNestingTabs.java 20 import android.app.ActionBar.Tab;
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex());
87 // Check to see if we already have a fragment for this tab, probably
89 // initial state is that a tab isn't shown.
98 public void onTabSelected(Tab tab, FragmentTransaction ft) {
107 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
113 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]
FragmentTabs.java 22 import android.app.ActionBar.Tab;
60 bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0));
67 outState.putInt("tab", getActionBar().getSelectedNavigationIndex());
87 // Check to see if we already have a fragment for this tab, probably
89 // initial state is that a tab isn't shown.
98 public void onTabSelected(Tab tab, FragmentTransaction ft) {
107 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
113 public void onTabReselected(Tab tab, FragmentTransaction ft)
    [all...]

Completed in 558 milliseconds

1 2 3 4