Home
last modified time | relevance | path

Searched refs:newTab (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
DTabControl.java637 boolean setCurrentTab(Tab newTab) { in setCurrentTab() argument
638 return setCurrentTab(newTab, false); in setCurrentTab()
644 private boolean setCurrentTab(Tab newTab, boolean force) { in setCurrentTab() argument
646 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 …]
DController.java2371 Tab newTab = current.getParent(); in closeCurrentTab() local
2372 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()
DComboViewActivity.java72 mTabsAdapter.addTab(bar.newTab().setText(R.string.tab_bookmarks), in onCreate()
DTab.java702 final Tab newTab = mWebViewController.openTab(null,
704 transport.setWebView(newTab.getWebView());
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java206 mAlarmTab = mActionBar.newTab(); in createTabs()
211 mClockTab = mActionBar.newTab(); in createTabs()
216 mTimerTab = mActionBar.newTab(); in createTabs()
221 mStopwatchTab = mActionBar.newTab(); in createTabs()
/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java56 mTabsAdapter.addTab(ab.newTab().setText(R.string.tab_photos), in onCreate()
58 mTabsAdapter.addTab(ab.newTab().setText(R.string.tab_albums), in onCreate()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DGrantActivity.java91 View newTab = perms.getPermissionsView(AppSecurityPermissions.WHICH_NEW); in onCreate() local
95 getText(R.string.newPerms)), newTab); in onCreate() local