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

1 2 3 4 5 6 7 8 9

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
EmptyTabObserver.java 15 public void onDestroyed(Tab tab) { }
18 public void onContentChanged(Tab tab) { }
21 public void onLoadUrl(Tab tab, String url, int loadType) { }
24 public void onFaviconUpdated(Tab tab) { }
27 public void onTitleUpdated(Tab tab) { }
    [all...]
TabObserver.java 12 * An observer that is notified of changes to a {@link Tab} object.
17 * Called when a {@link Tab} is being destroyed.
18 * @param tab The notifying {@link Tab}.
20 void onDestroyed(Tab tab);
23 * Called when the tab content changes (to/from native pages or swapping native WebContents).
24 * @param tab The notifying {@link Tab}.
26 void onContentChanged(Tab tab)
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
EmptyTabModelObserver.java 7 import org.chromium.chrome.browser.Tab;
17 public void didSelectTab(Tab tab, TabSelectionType type, int lastId) {
21 public void willCloseTab(Tab tab, boolean animate) {
25 public void didCloseTab(Tab tab) {
29 public void willAddTab(Tab tab, TabLaunchType type) {
33 public void didAddTab(Tab tab, TabLaunchType type)
    [all...]
TabModelObserver.java 7 import org.chromium.chrome.browser.Tab;
17 * Called when a tab is selected.
19 * @param tab The newly selected tab.
21 * @param lastId The ID of the last selected tab, or {@link Tab#INVALID_TAB_ID} if no tab was
24 void didSelectTab(Tab tab, TabSelectionType type, int lastId);
27 * Called when a tab starts closing
    [all...]
TabList.java 7 import org.chromium.chrome.browser.Tab;
10 * A read only list of {@link Tab}s. This list understands the concept of an incognito list as
11 * well as a currently selected tab (see {@link #index}).
17 * @return Whether this tab model contains only incognito tabs or only normal tabs.
22 * @return The index of the current tab, or {@link #INVALID_TAB_INDEX} if there are no tabs.
32 * Get the tab at the specified position
34 * @param index The index of the {@link Tab} to return.
35 * @return The {@code Tab} at position {@code index}, or {@code null} if {@code index} < 0
38 Tab getTabAt(int index);
41 * @return index of the given tab in the order of the tab stack
    [all...]
TabModelSelector.java 7 import org.chromium.chrome.browser.Tab;
29 * Called when a new tab is created.
31 void onNewTabCreated(Tab tab);
36 * currently visible if the tab switcher is open.
41 * Get a specific tab model
57 * Get the current tab model.
63 * Convenience function to get the current tab on the current model
64 * @return Current tab or null if none exists or if the model is not initialized.
66 Tab getCurrentTab()
    [all...]
TabModelDelegate.java 7 import org.chromium.chrome.browser.Tab;
17 * Called when a new tab is created.
19 void didCreateNewTab(Tab tab);
28 * @param tab The tab that is requested to be shown.
29 * @param type The reason why this tab was requested to be shown.
31 void requestToShowTab(Tab tab, TabSelectionType type);
TabModel.java 7 import org.chromium.chrome.browser.Tab;
22 FROM_MENU_OR_OVERVIEW, // Opened from the options menu or the tab stack overview.
25 // relationship like FROM_LINK. FOREGROUND and BACKGROUND indicates whether the current tab
26 // should be automatically switched to the new tab or not.
29 FROM_INSTANT, // Tab was created by instant.
37 FROM_CLOSE, // Selection of adjacent tab when the active tab is closed in foreground.
38 FROM_EXIT, // Selection of adjacent tab when the active tab is closed upon app exit.
39 FROM_NEW, // Selection of newly created tab (e.g. for a url intent or NTP)
    [all...]
EmptyTabModel.java 9 import org.chromium.chrome.browser.Tab;
13 * Singleton class intended to stub out Tab model before it has been created.
48 public boolean closeTab(Tab tab) {
53 public Tab getNextTabIfClosed(int id) {
68 public Tab getTabAt(int position) {
73 public int indexOf(Tab tab) {
97 public boolean closeTab(Tab tab, boolean animate, boolean uponExit, boolean canUndo)
    [all...]
TabModelBase.java 10 import org.chromium.chrome.browser.Tab;
29 private final List<Tab> mTabs = new ArrayList<Tab>();
42 * A {@link TabList} that represents the complete list of {@link Tab}s. This is so that
44 * {@link Tab}s that includes rewindable entries, as the typical {@link TabModel} does not
50 * This specifies the current {@link Tab} in {@link #mTabs}.
54 /** Native Tab pointer which will be set by nativeInit(). */
78 for (Tab tab : mTabs) {
79 if (tab.isInitialized()) tab.destroy()
167 Tab tab = mTabs.remove(curIndex); local
193 Tab tab = TabModelUtils.getTabById(mModelDelegate.getModel(mIsIncognito), tabId); local
246 Tab tab = mRewoundList.getPendingRewindTab(tabId); local
287 Tab tab = mRewoundList.getPendingRewindTab(tabId); local
384 Tab tab = TabModelUtils.getCurrentTab(this); local
553 Tab tab = i < TabModelBase.this.getCount() ? TabModelBase.this.getTabAt(i) : null; local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/tabs/
tab_controller.h 10 class Tab;
32 // Selects the tab.
33 virtual void SelectTab(Tab* tab) = 0;
35 // Extends the selection from the anchor to |tab|.
36 virtual void ExtendSelectionTo(Tab* tab) = 0;
38 // Toggles whether |tab| is selected.
39 virtual void ToggleSelected(Tab* tab) = 0
    [all...]
  /packages/apps/Browser/src/com/android/browser/
WebViewController.java 49 void onSetWebView(Tab tab, WebView view);
51 void createSubWindow(Tab tab);
53 void onPageStarted(Tab tab, WebView view, Bitmap favicon);
55 void onPageFinished(Tab tab);
57 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)
433 final Tab tab = tabMap.get(id); local
    [all...]
PreloadController.java 71 public void onSetWebView(Tab tab, WebView view) {
76 public void createSubWindow(Tab tab) {
81 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) {
85 // user visits a preloaded tab, the only item in the history
92 public void onPageFinished(Tab tab) {
94 if (tab != null)
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/printing/
TabPrinter.java 9 import org.chromium.chrome.browser.Tab;
15 * Wraps printing related functionality of a {@link Tab} object.
17 * This class doesn't have any lifetime expectations with regards to Tab, since we keep a weak
23 private final WeakReference<Tab> mTab;
25 public TabPrinter(Tab tab) {
26 mTab = new WeakReference<Tab>(tab);
35 Tab tab = mTab.get() local
41 Tab tab = mTab.get(); local
    [all...]
  /external/chromium_org/chrome/browser/sessions/
tab_restore_service.cc 20 type(TAB),
30 // Tab ------------------------------------------------------------------------
32 TabRestoreService::Tab::Tab()
33 : Entry(TAB),
40 TabRestoreService::Tab::~Tab() {
  /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_org/chrome/test/android/unit_tests_apk/src/org/chromium/chrome/unit_tests_apk/
ChromeNativeTestApplication.java 9 import org.chromium.chrome.browser.Tab;
29 protected void openClearBrowsingData(Tab tab) {
  /developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
LNotificationActivity.java 41 ActionBar.Tab tabHeadsUpNotification = actionBar.newTab().setText("Heads Up");
42 ActionBar.Tab tabVisibilityMetadata = actionBar.newTab().setText("Visibility");
43 ActionBar.Tab tabOtherMetadata = actionBar.newTab().setText("Others");
56 * TabListener that replaces a Fragment when a tab is clicked.
66 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) {
71 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {
76 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft)
    [all...]
  /developers/samples/android/ui/notifications/LNotifications/Application/src/main/java/com/example/android/lnotifications/
LNotificationActivity.java 41 ActionBar.Tab tabHeadsUpNotification = actionBar.newTab().setText("Heads Up");
42 ActionBar.Tab tabVisibilityMetadata = actionBar.newTab().setText("Visibility");
43 ActionBar.Tab tabOtherMetadata = actionBar.newTab().setText("Others");
56 * TabListener that replaces a Fragment when a tab is clicked.
66 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) {
71 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {
76 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft)
    [all...]
  /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
LNotificationActivity.java 41 ActionBar.Tab tabHeadsUpNotification = actionBar.newTab().setText("Heads Up");
42 ActionBar.Tab tabVisibilityMetadata = actionBar.newTab().setText("Visibility");
43 ActionBar.Tab tabOtherMetadata = actionBar.newTab().setText("Others");
56 * TabListener that replaces a Fragment when a tab is clicked.
66 public void onTabReselected(ActionBar.Tab tab, FragmentTransaction ft) {
71 public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) {
76 public void onTabUnselected(ActionBar.Tab tab, FragmentTransaction ft)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
ActionBar.java 130 * Tab navigation mode. Instead of static title text this mode
603 * Create and return a new {@link Tab}.
604 * This tab will not be included in the action bar until it is added.
612 * @return A new Tab
614 * @see #addTab(Tab)
621 public abstract Tab newTab();
624 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
625 * 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;
48 Tab t1 = createTab("Tab 1");
54 Tab t2 = createTab("Tab 2");
60 Tab t3 = createTab("Tab 3");
66 Tab t4 = createTab("Tab 2.5");
72 Tab t5 = createTab("Tab 0.5")
    [all...]

Completed in 367 milliseconds

1 2 3 4 5 6 7 8 9