Home | History | Annotate | Download | only in browser

Lines Matching refs:tab

67     private Map<Tab, TabView> mTabMap;
100 mTabMap = new HashMap<Tab, TabView>();
110 // tab dimensions
132 // force update of tab bar
146 void updateTabs(List<Tab> tabs) {
149 for (Tab tab : tabs) {
150 TabView tv = buildTabView(tab);
160 // adjust for new tab overlap
209 final Tab tab = ((TabView) view).mTab;
213 mUiController.switchToTab(tab);
223 private TabView buildTabView(Tab tab) {
224 TabView tabview = new TabView(mActivity, tab);
225 mTabMap.put(tab, tabview);
240 * View used in the tab bar
244 Tab mTab;
260 public TabView(Context context, Tab tab) {
266 mTab = tab;
427 private void animateTabOut(final Tab tab, final TabView tv) {
443 mTabMap.remove(tab);
444 mUi.onRemoveTabCompleted(tab);
459 private void animateTabIn(final Tab tab, final TabView tv) {
470 tab);
488 public void onSetActiveTab(Tab tab) {
489 mTabs.setSelectedTab(mTabControl.getTabPosition(tab));
492 public void onFavicon(Tab tab, Bitmap favicon) {
493 TabView tv = mTabMap.get(tab);
499 public void onNewTab(Tab tab) {
500 TabView tv = buildTabView(tab);
501 animateTabIn(tab, tv);
504 public void onRemoveTab(Tab tab) {
505 TabView tv = mTabMap.get(tab);
507 animateTabOut(tab, tv);
509 mTabMap.remove(tab);
513 public void onUrlAndTitle(Tab tab, String url, String title) {
514 TabView tv = mTabMap.get(tab);
526 Tab tab = mTabControl.getCurrentTab();
527 if (tab != null) {
528 return tab.inPageLoad();