Searched refs:newTab (Results 1 – 7 of 7) sorted by relevance
637 boolean setCurrentTab(Tab newTab) { in setCurrentTab() argument638 return setCurrentTab(newTab, false); in setCurrentTab()644 private boolean setCurrentTab(Tab newTab, boolean force) { in setCurrentTab() argument646 if (current == newTab && !force) { in setCurrentTab()653 if (newTab == null) { in setCurrentTab()658 int index = mTabQueue.indexOf(newTab); in setCurrentTab()662 mTabQueue.add(newTab); in setCurrentTab()665 mCurrentTab = mTabs.indexOf(newTab); in setCurrentTab()666 WebView mainView = newTab.getWebView(); in setCurrentTab()671 newTab.setWebView(mainView); in setCurrentTab()[all …]
2371 Tab newTab = current.getParent(); in closeCurrentTab() local2372 if (newTab == null) { in closeCurrentTab()2373 newTab = mTabControl.getTab(pos + 1); in closeCurrentTab()2374 if (newTab == null) { in closeCurrentTab()2375 newTab = mTabControl.getTab(pos - 1); in closeCurrentTab()2379 mTabControl.setCurrentTab(newTab); in closeCurrentTab()2381 } else if (switchToTab(newTab)) { in closeCurrentTab()
72 mTabsAdapter.addTab(bar.newTab().setText(R.string.tab_bookmarks), in onCreate()
702 final Tab newTab = mWebViewController.openTab(null,704 transport.setWebView(newTab.getWebView());
206 mAlarmTab = mActionBar.newTab(); in createTabs()211 mClockTab = mActionBar.newTab(); in createTabs()216 mTimerTab = mActionBar.newTab(); in createTabs()221 mStopwatchTab = mActionBar.newTab(); in createTabs()
56 mTabsAdapter.addTab(ab.newTab().setText(R.string.tab_photos), in onCreate()58 mTabsAdapter.addTab(ab.newTab().setText(R.string.tab_albums), in onCreate()
91 View newTab = perms.getPermissionsView(AppSecurityPermissions.WHICH_NEW); in onCreate() local95 getText(R.string.newPerms)), newTab); in onCreate() local