Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/app/
DFragmentTabHost.java322 TabInfo newTab = null; in doTabChanged() local
326 newTab = tab; in doTabChanged()
329 if (newTab == null) { in doTabChanged()
332 if (mLastTab != newTab) { in doTabChanged()
341 if (newTab != null) { in doTabChanged()
342 if (newTab.fragment == null) { in doTabChanged()
343 newTab.fragment = Fragment.instantiate(mContext, in doTabChanged()
344 newTab.clss.getName(), newTab.args); in doTabChanged()
345 ft.add(mContainerId, newTab.fragment, newTab.tag); in doTabChanged()
347 ft.attach(newTab.fragment); in doTabChanged()
[all …]
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java314 TabInfo newTab = null; in doTabChanged() local
318 newTab = tab; in doTabChanged()
321 if (newTab == null) { in doTabChanged()
324 if (mLastTab != newTab) { in doTabChanged()
333 if (newTab != null) { in doTabChanged()
334 if (newTab.fragment == null) { in doTabChanged()
335 newTab.fragment = Fragment.instantiate(mContext, in doTabChanged()
336 newTab.clss.getName(), newTab.args); in doTabChanged()
337 ft.add(mContainerId, newTab.fragment, newTab.tag); in doTabChanged()
339 ft.attach(newTab.fragment); in doTabChanged()
[all …]
/frameworks/base/docs/html/training/backward-compatible-ui/
Dusing-component.jd50 // Usage is mTabHelper.newTab("tag")
51 public CompatTab newTab(String tag) {
122 .newTab("photos")
127 .newTab("videos")
Dnew-implementation.jd69 // Proxy to new ActionBar.newTab API
70 mTab = activity.getActionBar().newTab();
110 // The other important method, newTab() is part of
Dabstracting.jd95 …e and add tabs to an activity, like {@link android.app.ActionBar#newTab ActionBar.newTab()} and {@…
101 public CompatTab newTab(String tag) {
Dolder-implementation.jd121 // The other important method, newTab() is part of
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBar.java614 public abstract Tab newTab(); in newTab() method in ActionBar
/frameworks/base/docs/html-intl/intl/zh-cn/training/multiscreen/
Dadaptui.jd111 actionBar.addTab(actionBar.newTab().setText(
/frameworks/base/docs/html-intl/intl/ru/training/multiscreen/
Dadaptui.jd111 actionBar.addTab(actionBar.newTab().setText(
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/
Dadaptui.jd111 actionBar.addTab(actionBar.newTab().setText(
/frameworks/base/docs/html-intl/intl/ja/training/multiscreen/
Dadaptui.jd111 actionBar.addTab(actionBar.newTab().setText(
/frameworks/base/core/java/android/app/
DActionBar.java622 public abstract Tab newTab(); in newTab() method in ActionBar
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java343 Tab tab = mActionBar.newTab().setText("Tab" + i).setTabListener(new TabListener() { in setupTabs()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java320 public Tab newTab() { in newTab() method in ToolbarActionBar
DWindowDecorActionBar.java573 public Tab newTab() { in newTab() method in WindowDecorActionBar
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DToolbarActionBar.java325 public Tab newTab() { in newTab() method in ToolbarActionBar
DWindowDecorActionBar.java559 public Tab newTab() { in newTab() method in WindowDecorActionBar
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java409 public Tab newTab() { in newTab() method in TabLayout
624 addTab(newTab().setText(adapter.getPageTitle(i))); in setTabsFromPagerAdapter()
/frameworks/base/docs/html/training/multiscreen/
Dadaptui.jd134 actionBar.addTab(actionBar.newTab().setText(
/frameworks/base/docs/html-intl/intl/es/training/multiscreen/
Dadaptui.jd111 actionBar.addTab(actionBar.newTab().setText(
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd207 actionBar.newTab()
/frameworks/base/docs/html/about/versions/
Dandroid-3.2.jd388 {@link android.app.ActionBar#newTab() ActionBar.newTab()} and related APIs
/frameworks/support/design/api/
D22.2.0.txt263 method public android.support.design.widget.TabLayout.Tab newTab();
D22.2.1.txt272 method public android.support.design.widget.TabLayout.Tab newTab();
D23.txt298 method public android.support.design.widget.TabLayout.Tab newTab();

12