Home
last modified time | relevance | path

Searched refs:Tab (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/
DTabControl.java39 void onThumbnailUpdated(Tab t); in onThumbnailUpdated()
45 private ArrayList<Tab> mTabs;
47 private ArrayList<Tab> mTabQueue;
61 mTabs = new ArrayList<Tab>(mMaxTabs); in TabControl()
62 mTabQueue = new ArrayList<Tab>(mMaxTabs); in TabControl()
75 Tab t = getTab(mCurrentTab); in getCurrentWebView()
88 Tab t = getTab(mCurrentTab); in getCurrentTopWebView()
100 Tab t = getTab(mCurrentTab); in getCurrentSubWindow()
110 List<Tab> getTabs() { in getTabs()
119 Tab getTab(int position) { in getTab()
[all …]
DController.java322 Tab t = null; in onPreloginFinished()
343 List<Tab> tabs = mTabControl.getTabs(); in onPreloginFinished()
345 for (Tab t : tabs) { in onPreloginFinished()
408 public void onSetWebView(Tab tab, WebView view) { in onSetWebView()
413 public void createSubWindow(Tab tab) { in createSubWindow()
460 public List<Tab> getTabs() { in getTabs()
509 final Tab parent = mTabControl.getCurrentTab(); in startHandler()
545 Tab tab = (Tab) msg.obj; in startHandler()
557 public Tab getCurrentTab() { in getCurrentTab()
566 private void shareCurrentPage(Tab tab) { in shareCurrentPage()
[all …]
DWebViewController.java49 void onSetWebView(Tab tab, WebView view); in onSetWebView()
51 void createSubWindow(Tab tab); in createSubWindow()
53 void onPageStarted(Tab tab, WebView view, Bitmap favicon); in onPageStarted()
55 void onPageFinished(Tab tab); in onPageFinished()
57 void onProgressChanged(Tab tab); in onProgressChanged()
59 void onReceivedTitle(Tab tab, final String title); in onReceivedTitle()
61 void onFavicon(Tab tab, WebView view, Bitmap icon); in onFavicon()
63 boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url); in shouldOverrideUrlLoading()
69 void doUpdateVisitedHistory(Tab tab, boolean isReload); in doUpdateVisitedHistory()
73 void onReceivedHttpAuthRequest(Tab tab, WebView view, final HttpAuthHandler handler, in onReceivedHttpAuthRequest()
[all …]
DPreloadController.java71 public void onSetWebView(Tab tab, WebView view) { in onSetWebView()
76 public void createSubWindow(Tab tab) { in createSubWindow()
81 public void onPageStarted(Tab tab, WebView view, Bitmap favicon) { in onPageStarted()
92 public void onPageFinished(Tab tab) { in onPageFinished()
105 public void onProgressChanged(Tab tab) { in onProgressChanged()
110 public void onReceivedTitle(Tab tab, String title) { in onReceivedTitle()
115 public void onFavicon(Tab tab, WebView view, Bitmap icon) { in onFavicon()
120 public boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url) { in shouldOverrideUrlLoading()
138 public void doUpdateVisitedHistory(Tab tab, boolean isReload) { in doUpdateVisitedHistory()
148 public void onReceivedHttpAuthRequest(Tab tab, WebView view, in onReceivedHttpAuthRequest()
[all …]
DTab.java92 class Tab implements PictureListener { class
154 private Tab mParent;
157 private Vector<Tab> mChildren;
370 mWebViewController.hideAutoLogin(Tab.this);
374 mWebViewController.onPageStarted(Tab.this, view, favicon);
387 mWebViewController.onPageFinished(Tab.this);
394 return mWebViewController.shouldOverrideUrlLoading(Tab.this,
507 mWebViewController.doUpdateVisitedHistory(Tab.this, isReload);
558 mWebViewController.onUserCanceledSsl(Tab.this);
602 mWebViewController.onReceivedHttpAuthRequest(Tab.this, view, handler, host, realm);
[all …]
DBaseUi.java54 import com.android.browser.Tab.SecurityState;
83 protected Tab mActiveTab;
169 final Tab ct = mTabControl.getCurrentTab(); in onResume()
220 public void onTabDataChanged(Tab tab) { in onTabDataChanged()
231 public void onProgressChanged(Tab tab) { in onProgressChanged()
239 public void bookmarkedStatusHasChanged(Tab tab) { in bookmarkedStatusHasChanged()
247 public void onPageStopped(Tab tab) { in onPageStopped()
262 public void addTab(Tab tab) { in addTab()
266 public void setActiveTab(final Tab tab) { in setActiveTab()
312 Tab getActiveTab() { in getActiveTab()
[all …]
DUI.java57 public void addTab(Tab tab); in addTab()
59 public void removeTab(Tab tab); in removeTab()
61 public void setActiveTab(Tab tab); in setActiveTab()
63 public void updateTabs(List<Tab> tabs); in updateTabs()
65 public void detachTab(Tab tab); in detachTab()
67 public void attachTab(Tab tab); in attachTab()
69 public void onSetWebView(Tab tab, WebView view); in onSetWebView()
71 public void createSubWindow(Tab tab, WebView subWebView); in createSubWindow()
77 public void onTabDataChanged(Tab tab); in onTabDataChanged()
79 public void onPageStopped(Tab tab); in onPageStopped()
[all …]
DUiController.java41 Tab getCurrentTab(); in getCurrentTab()
45 List<Tab> getTabs(); in getTabs()
47 Tab openTabToHomePage(); in openTabToHomePage()
49 Tab openIncognitoTab(); in openIncognitoTab()
51 Tab openTab(String url, boolean incognito, boolean setActive, in openTab()
54 void setActiveTab(Tab tab); in setActiveTab()
56 boolean switchToTab(Tab tab); in switchToTab()
60 void closeTab(Tab tab); in closeTab()
80 void attachSubWindow(Tab tab); in attachSubWindow()
82 void removeSubWindow(Tab tab); in removeSubWindow()
[all …]
DTabBar.java67 private Map<Tab, TabView> mTabMap;
100 mTabMap = new HashMap<Tab, TabView>(); in TabBar()
146 void updateTabs(List<Tab> tabs) { in updateTabs()
149 for (Tab tab : tabs) { in updateTabs()
209 final Tab tab = ((TabView) view).mTab; in onClick()
223 private TabView buildTabView(Tab tab) { in buildTabView()
244 Tab mTab;
260 public TabView(Context context, Tab tab) { in TabView()
429 private void animateTabOut(final Tab tab, final TabView tv) { in animateTabOut()
461 private void animateTabIn(final Tab tab, final TabView tv) { in animateTabIn()
[all …]
DXLargeUi.java90 for (Tab t : mTabControl.getTabs()) { in setUseQuickControls()
134 public void addTab(Tab tab) { in addTab()
138 protected void onAddTabCompleted(Tab tab) { in onAddTabCompleted()
143 public void setActiveTab(final Tab tab) { in setActiveTab()
160 public void updateTabs(List<Tab> tabs) { in updateTabs()
166 public void removeTab(Tab tab) { in removeTab()
174 protected void onRemoveTabCompleted(Tab tab) { in onRemoveTabCompleted()
217 protected void updateNavigationState(Tab tab) { in updateNavigationState()
222 public void setUrlTitle(Tab tab) { in setUrlTitle()
229 public void setFavicon(Tab tab) { in setFavicon()
DNavScreen.java52 Tab mTab;
70 HashMap<Tab, View> mTabViews;
128 mTabViews = new HashMap<Tab, View>(tc.getTabCount()); in init()
137 Tab tab = mAdapter.getItem(pos); in init()
158 private void onCloseTab(Tab tab) { in onCloseTab()
171 final Tab tab = mUiController.openTab(BrowserSettings.getInstance().getHomePage(), in openNewTab()
190 private void switchToTab(Tab tab) { in switchToTab()
224 public Tab getItem(int position) { in getItem()
235 final Tab tab = getItem(position); in getView()
261 public void onThumbnailUpdated(Tab t) { in onThumbnailUpdated()
DDataController.java119 public void loadThumbnail(Tab tab) { in loadThumbnail()
123 public void deleteThumbnail(Tab tab) { in deleteThumbnail()
127 public void saveThumbnail(Tab tab) { in saveThumbnail()
180 doLoadThumbnail((Tab) msg.obj); in handleMessage()
191 doSaveThumbnail((Tab)msg.obj); in handleMessage()
196 private byte[] getCaptureBlob(Tab tab) { in getCaptureBlob()
211 private void doSaveThumbnail(Tab tab) { in doSaveThumbnail()
223 private void doLoadThumbnail(Tab tab) { in doLoadThumbnail()
DPieControl.java118 Tab tab = mUiController.getCurrentTab(); in onOpen()
204 Tab tab = mUiController.getTabControl().getCurrentTab(); in onClick()
248 final List<Tab> tabs = mUiController.getTabs(); in buildTabs()
286 private List<Tab> mTabs;
292 mTabs = new ArrayList<Tab>(); in TabAdapter()
296 public void setTabs(List<Tab> tabs) { in setTabs()
307 public Tab getItem(int position) { in getItem()
318 final Tab tab = mTabs.get(position); in getView()
DIntentHandler.java83 Tab current = mTabControl.getCurrentTab(); in onNewIntent()
128 Tab t = mController.openTab(urlData); in onNewIntent()
141 Tab appTab = mTabControl.getTabFromAppId(appId); in onNewIntent()
152 Tab appTab = mTabControl.getTabFromAppId(appId); in onNewIntent()
160 Tab appTab = mTabControl.findTabWithUrl(urlData.mUrl); in onNewIntent()
174 Tab tab = mController.openTab(urlData); in onNewIntent()
DUrlHandler.java61 boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url) { in shouldOverrideUrlLoading()
129 boolean startActivityForUrl(Tab tab, String url) { in startActivityForUrl()
240 boolean handleMenuClick(Tab tab, String url) { in handleMenuClick()
255 private Tab mTab;
259 public RLZTask(Tab tab, Uri uri, WebView webView) { in RLZTask()
DPageDialogsHandler.java43 private Tab mPageInfoView;
56 private Tab mSSLCertificateView;
89 …void showHttpAuthentication(final Tab tab, final HttpAuthHandler handler, String host, String real… in showHttpAuthentication()
136 void showPageInfo(final Tab tab, in showPageInfo()
240 private void showSSLCertificate(final Tab tab) { in showSSLCertificate()
DComboViewActivity.java186 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab()
220 public void onTabSelected(android.app.ActionBar.Tab tab, in onTabSelected()
231 public void onTabUnselected(android.app.ActionBar.Tab tab, in onTabUnselected()
236 public void onTabReselected(android.app.ActionBar.Tab tab, in onTabReselected()
DNavigationBarBase.java111 Tab currentTab = mUiController.getTabControl().getCurrentTab(); in onFocusChange()
162 Tab t = mBaseUi.getActiveTab(); in onAction()
189 final Tab currentTab = mBaseUi.getActiveTab(); in onDismiss()
257 public void onTabDataChanged(Tab tab) { in onTabDataChanged()
DTitleBar.java244 Tab tab = mBaseUi.getActiveTab(); in getVisibleTitleHeight()
296 public void updateAutoLogin(Tab tab, boolean animate) { in updateAutoLogin()
365 Tab t = mBaseUi.getActiveTab(); in getCurrentWebView()
404 public void onTabDataChanged(Tab tab) { in onTabDataChanged()
DPreloadedTabControl.java32 final Tab mTab;
36 public PreloadedTabControl(Tab t) { in PreloadedTabControl()
80 public Tab getTab() { in getTab()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java77 private enum Tab { enum in TrustedCredentialsSettings
101 private Tab(String tag, int label, int view, int progress, int list, int expandableList, in Tab() method in TrustedCredentialsSettings.Tab
172 private HashMap<Tab, AdapterData.AliasLoader>
173 mAliasLoaders = new HashMap<Tab, AdapterData.AliasLoader>(2);
188 addTab(Tab.SYSTEM); in onCreateView()
190 addTab(Tab.USER); in onCreateView()
193 mTabHost.setCurrentTabByTag(Tab.USER.mTag); in onCreateView()
218 private void addTab(Tab tab) { in addTab()
272 int getListViewId(Tab tab); in getListViewId()
283 private TrustedCertificateExpandableAdapter(Tab tab) { in TrustedCertificateExpandableAdapter()
[all …]
/packages/apps/Browser/tests/src/com/android/browser/
DIntentHandlerTests.java42 Tab tabGoogle = controller.getCurrentTab(); in testSwitchToTabWithUrl()
48 Tab tabMaps = controller.getCurrentTab(); in testSwitchToTabWithUrl()
62 Tab tabGoogle = controller.getCurrentTab(); in testShortcut()
74 Tab currentTab = controller.getCurrentTab(); in testShortcut()
89 Tab tabGoogle = controller.getCurrentTab(); in testApplication()
95 Tab tabMaps = controller.getCurrentTab(); in testApplication()
112 private void directlyLoadUrl(final Tab tab, final String url) throws Throwable { in directlyLoadUrl()
123 void waitForLoadStart(final Tab tab, final String url) throws InterruptedException { in waitForLoadStart()
154 Tab tab = getActivity().getController().getCurrentTab(); in sendIntent()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java34 import android.support.v7.app.ActionBar.Tab;
167 final Tab alarmTab = mActionBar.newTab(); in createTabs()
177 final Tab clockTab = mActionBar.newTab(); in createTabs()
182 final Tab timerTab = mActionBar.newTab(); in createTabs()
187 final Tab stopwatchTab = mActionBar.newTab(); in createTabs()
452 public void addTab(ActionBar.Tab tab, Class<?> clss, int position) { in addTab()
490 public void onTabReselected(Tab tab, FragmentTransaction arg1) { in onTabReselected()
495 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected()
527 public void onTabUnselected(Tab arg0, FragmentTransaction arg1) { in onTabUnselected()
/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java20 import android.app.ActionBar.Tab;
121 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) { in addTab()
163 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected()
173 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected()
177 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected()
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java28 import android.app.ActionBar.Tab;
144 private ActionBar.Tab mDayTab;
145 private ActionBar.Tab mWeekTab;
146 private ActionBar.Tab mMonthTab;
147 private ActionBar.Tab mAgendaTab;
1249 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected()
1268 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected()
1272 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected()

12