Home
last modified time | relevance | path

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

123

/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBar.java623 public abstract Tab newTab(); in newTab()
637 public abstract void addTab(Tab tab); in addTab()
651 public abstract void addTab(Tab tab, boolean setSelected); in addTab()
667 public abstract void addTab(Tab tab, int position); in addTab()
683 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab()
697 public abstract void removeTab(Tab tab); in removeTab()
737 public abstract void selectTab(Tab tab); in selectTab()
752 public abstract Tab getSelectedTab(); in getSelectedTab()
766 public abstract Tab getTabAt(int index); in getTabAt()
1152 public static abstract class Tab { class in ActionBar
[all …]
DWindowDecorActionBar.java520 private void configureTab(Tab tab, int position) { in configureTab()
538 public void addTab(Tab tab) { in addTab()
543 public void addTab(Tab tab, int position) { in addTab()
548 public void addTab(Tab tab, boolean setSelected) { in addTab()
558 public void addTab(Tab tab, int position, boolean setSelected) { in addTab()
568 public Tab newTab() { in newTab()
573 public void removeTab(Tab tab) { in removeTab()
603 public void selectTab(Tab tab) { in selectTab()
624 mTabScrollView.setTabSelected(tab != null ? tab.getPosition() : Tab.INVALID_POSITION); in selectTab()
640 public Tab getSelectedTab() { in getSelectedTab()
[all …]
DToolbarActionBar.java331 public Tab newTab() { in newTab()
337 public void addTab(Tab tab) { in addTab()
343 public void addTab(Tab tab, boolean setSelected) { in addTab()
349 public void addTab(Tab tab, int position) { in addTab()
355 public void addTab(Tab tab, int position, boolean setSelected) { in addTab()
361 public void removeTab(Tab tab) { in removeTab()
379 public void selectTab(Tab tab) { in selectTab()
385 public Tab getSelectedTab() { in getSelectedTab()
391 public Tab getTabAt(int index) { in getTabAt()
/frameworks/base/core/java/android/app/
DActionBar.java624 public abstract Tab newTab(); in newTab()
637 public abstract void addTab(Tab tab); in addTab()
650 public abstract void addTab(Tab tab, boolean setSelected); in addTab()
665 public abstract void addTab(Tab tab, int position); in addTab()
680 public abstract void addTab(Tab tab, int position, boolean setSelected); in addTab()
693 public abstract void removeTab(Tab tab); in removeTab()
730 public abstract void selectTab(Tab tab); in selectTab()
743 public abstract Tab getSelectedTab(); in getSelectedTab()
756 public abstract Tab getTabAt(int index); in getTabAt()
1180 public static abstract class Tab { class in ActionBar
[all …]
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java156 private static final Pools.Pool<Tab> sTabPool = new Pools.SynchronizedPool<>(16);
219 public void onTabSelected(Tab tab); in onTabSelected()
226 public void onTabUnselected(Tab tab); in onTabUnselected()
234 public void onTabReselected(Tab tab); in onTabReselected()
237 private final ArrayList<Tab> mTabs = new ArrayList<>();
238 private Tab mSelectedTab;
436 public void addTab(@NonNull Tab tab) { in addTab()
447 public void addTab(@NonNull Tab tab, int position) { in addTab()
457 public void addTab(@NonNull Tab tab, boolean setSelected) { in addTab()
476 public void addTab(@NonNull Tab tab, int position, boolean setSelected) { in addTab()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java280 private TabView createTabView(Context context, ActionBar.Tab tab, boolean forAdapter) { in createTabView()
297 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab()
312 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab()
364 private ActionBar.Tab mTab;
369 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView()
380 public void bindTab(ActionBar.Tab tab) { in bindTab()
397 return ActionBar.Tab.class.getName(); in getAccessibilityClassName()
412 final ActionBar.Tab tab = mTab; in update()
504 public ActionBar.Tab getTab() { in getTab()
538 convertView = createTabView(mContext, (ActionBar.Tab) getItem(position), true); in getView()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java529 private void configureTab(Tab tab, int position) { in configureTab()
547 public void addTab(Tab tab) { in addTab()
552 public void addTab(Tab tab, int position) { in addTab()
557 public void addTab(Tab tab, boolean setSelected) { in addTab()
567 public void addTab(Tab tab, int position, boolean setSelected) { in addTab()
577 public Tab newTab() { in newTab()
582 public void removeTab(Tab tab) { in removeTab()
612 public void selectTab(Tab tab) { in selectTab()
627 mTabScrollView.setTabSelected(tab != null ? tab.getPosition() : Tab.INVALID_POSITION); in selectTab()
643 public Tab getSelectedTab() { in getSelectedTab()
[all …]
DToolbarActionBar.java325 public Tab newTab() { in newTab()
331 public void addTab(Tab tab) { in addTab()
337 public void addTab(Tab tab, boolean setSelected) { in addTab()
343 public void addTab(Tab tab, int position) { in addTab()
349 public void addTab(Tab tab, int position, boolean setSelected) { in addTab()
355 public void removeTab(Tab tab) { in removeTab()
373 public void selectTab(Tab tab) { in selectTab()
379 public Tab getSelectedTab() { in getSelectedTab()
385 public Tab getTabAt(int index) { in getTabAt()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dabstracting.jd17 <li><a href="#create-abstract-tab">Create an Abstract Tab Interface</a></li>
18 <li><a href="#abstract-actionbar-tab">Abstract ActionBar.Tab</a></li>
19 <li><a href="#abstract-actionbar-methods">Abstract ActionBar Tab Methods</a></li>
51 <h2 id="create-abstract-tab">Create an Abstract Tab Interface</h2>
56 <li>Tab indicators should show text and an icon.</li>
63 …e in {@link android.app.ActionBar} and {@link android.app.ActionBar.Tab ActionBar.Tab}. These are …
70 <h2 id="abstract-actionbar-tab">Abstract ActionBar.Tab</h2>
72 …s representing a tab, that mirrors the {@link android.app.ActionBar.Tab ActionBar.Tab} interface:<…
93 <h2 id="abstract-actionbar-methods">Abstract ActionBar Tab Methods</h2>
Dnew-implementation.jd57 …ode> simply proxies all method calls to its contained {@link android.app.ActionBar.Tab} object.</p>
59 …e>CompatTabHoneycomb</code> using the new {@link android.app.ActionBar.Tab ActionBar.Tab} APIs:</p>
64 ActionBar.Tab mTab;
74 // Proxy to new ActionBar.Tab.setText API
105 // Tab is a CompatTabHoneycomb instance, so its
106 // native tab object is an ActionBar.Tab.
107 mActionBar.addTab((ActionBar.Tab) tab.getTab());
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DScrollingTabContainerView.java288 private TabView createTabView(ActionBar.Tab tab, boolean forAdapter) { in createTabView()
305 public void addTab(ActionBar.Tab tab, boolean setSelected) { in addTab()
320 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { in addTab()
381 private ActionBar.Tab mTab;
386 public TabView(Context context, ActionBar.Tab tab, boolean forList) { in TabView()
404 public void bindTab(ActionBar.Tab tab) { in bindTab()
422 event.setClassName(ActionBar.Tab.class.getName()); in onInitializeAccessibilityEvent()
431 info.setClassName(ActionBar.Tab.class.getName()); in onInitializeAccessibilityNodeInfo()
447 final ActionBar.Tab tab = mTab; in update()
539 public ActionBar.Tab getTab() { in getTab()
[all …]
/frameworks/support/design/api/
D22.2.0.txt254 method public void addTab(android.support.design.widget.TabLayout.Tab);
255 method public void addTab(android.support.design.widget.TabLayout.Tab, int);
256 method public void addTab(android.support.design.widget.TabLayout.Tab, boolean);
257 method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean);
258 method public android.support.design.widget.TabLayout.Tab getTabAt(int);
263 method public android.support.design.widget.TabLayout.Tab newTab();
265 method public void removeTab(android.support.design.widget.TabLayout.Tab);
282 method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab);
283 method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab);
284 method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab);
[all …]
D22.2.1.txt262 method public void addTab(android.support.design.widget.TabLayout.Tab);
263 method public void addTab(android.support.design.widget.TabLayout.Tab, int);
264 method public void addTab(android.support.design.widget.TabLayout.Tab, boolean);
265 method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean);
267 method public android.support.design.widget.TabLayout.Tab getTabAt(int);
272 method public android.support.design.widget.TabLayout.Tab newTab();
274 method public void removeTab(android.support.design.widget.TabLayout.Tab);
291 method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab);
292 method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab);
293 method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab);
[all …]
D23.0.0.txt288 method public void addTab(android.support.design.widget.TabLayout.Tab);
289 method public void addTab(android.support.design.widget.TabLayout.Tab, int);
290 method public void addTab(android.support.design.widget.TabLayout.Tab, boolean);
291 method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean);
293 method public android.support.design.widget.TabLayout.Tab getTabAt(int);
298 method public android.support.design.widget.TabLayout.Tab newTab();
300 method public void removeTab(android.support.design.widget.TabLayout.Tab);
319 method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab);
320 method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab);
321 method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab);
[all …]
D23.1.1.txt321 method public void addTab(android.support.design.widget.TabLayout.Tab);
322 method public void addTab(android.support.design.widget.TabLayout.Tab, int);
323 method public void addTab(android.support.design.widget.TabLayout.Tab, boolean);
324 method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean);
326 method public android.support.design.widget.TabLayout.Tab getTabAt(int);
331 method public android.support.design.widget.TabLayout.Tab newTab();
333 method public void removeTab(android.support.design.widget.TabLayout.Tab);
352 method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab);
353 method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab);
354 method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab);
[all …]
D23.1.0.txt318 method public void addTab(android.support.design.widget.TabLayout.Tab);
319 method public void addTab(android.support.design.widget.TabLayout.Tab, int);
320 method public void addTab(android.support.design.widget.TabLayout.Tab, boolean);
321 method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean);
323 method public android.support.design.widget.TabLayout.Tab getTabAt(int);
328 method public android.support.design.widget.TabLayout.Tab newTab();
330 method public void removeTab(android.support.design.widget.TabLayout.Tab);
349 method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab);
350 method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab);
351 method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab);
[all …]
Dcurrent.txt397 method public void addTab(android.support.design.widget.TabLayout.Tab);
398 method public void addTab(android.support.design.widget.TabLayout.Tab, int);
399 method public void addTab(android.support.design.widget.TabLayout.Tab, boolean);
400 method public void addTab(android.support.design.widget.TabLayout.Tab, int, boolean);
402 method public android.support.design.widget.TabLayout.Tab getTabAt(int);
407 method public android.support.design.widget.TabLayout.Tab newTab();
410 method public void removeTab(android.support.design.widget.TabLayout.Tab);
430 method public abstract void onTabReselected(android.support.design.widget.TabLayout.Tab);
431 method public abstract void onTabSelected(android.support.design.widget.TabLayout.Tab);
432 method public abstract void onTabUnselected(android.support.design.widget.TabLayout.Tab);
[all …]
/frameworks/support/v7/appcompat/api/
D22.0.0.txt6 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab);
7 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean);
8 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int);
9 … method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean);
18 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab();
20 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int);
27 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab();
30 method public abstract deprecated void removeTab(android.support.v7.app.ActionBar.Tab);
32 method public abstract deprecated void selectTab(android.support.v7.app.ActionBar.Tab);
94 public static abstract deprecated class ActionBar.Tab {
[all …]
D22.1.0.txt6 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab);
7 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, boolean);
8 method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int);
9 … method public abstract deprecated void addTab(android.support.v7.app.ActionBar.Tab, int, boolean);
18 method public abstract deprecated android.support.v7.app.ActionBar.Tab getSelectedTab();
20 method public abstract deprecated android.support.v7.app.ActionBar.Tab getTabAt(int);
27 method public abstract deprecated android.support.v7.app.ActionBar.Tab newTab();
30 method public abstract deprecated void removeTab(android.support.v7.app.ActionBar.Tab);
32 method public abstract deprecated void selectTab(android.support.v7.app.ActionBar.Tab);
94 public static abstract deprecated class ActionBar.Tab {
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java35 import android.app.ActionBar.Tab;
349 Tab tab = mActionBar.newTab().setText("Tab" + i).setTabListener(new TabListener() { in setupTabs()
351 public void onTabUnselected(Tab t, FragmentTransaction ft) { in setupTabs()
355 public void onTabSelected(Tab t, FragmentTransaction ft) { in setupTabs()
359 public void onTabReselected(Tab t, FragmentTransaction ft) { in setupTabs()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java52 TabLayout.Tab tab = tabLayout.getTabAt(0); in testInflateTabLayoutWithTabItems()
106 final TabLayout.Tab tab = tabLayout.newTab(); in testTabWithCustomLayoutSelection1()
128 final TabLayout.Tab tab = tabLayout.newTab(); in testTabWithCustomLayoutSelection2()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_tab.jd1 page.title=Tab Icons
13 <li><a href="#tabstates">Providing Icons for Two Tab States</a>
44 <p>Tab icons are graphical elements used to represent individual tabs in a
83 <h2 id="tabstates">Providing Icons for Two Tab States</h2>
85 <p>Tab icons should have two states: unselected and selected. To provide icons
143 <p>Tab icons should use simple shapes and forms and those must be
169 <li>Tab icon dimensions for high-density (<code>hdpi</code>) screens:</li>
184 <li>Tab icon dimensions for medium-density (<code>mdpi</code>) screens:</li>
200 <li>Tab icon dimensions for low-density (<code>ldpi</code>) screens:</li>
218 Tab icon sizing and positioning inside the bounds of the
[all …]
/frameworks/base/docs/html/training/keyboard-input/
Dnavigation.jd13 <li><a href="#Tab">Handle Tab Navigation</a></li>
70 <li>To test your app, use only the Tab key to navigate through your UI, ensuring that
81 <p>If you encounter any instances where navigating with the Tab key or direction controls
87 <h2 id="Tab">Handle Tab Navigation</h2>
89 <p>When a user navigates your app using the keyboard Tab key,
/frameworks/support/v7/mediarouter/api/
D23.1.0.txt6 method public abstract void addTab(android.support.v7.app.ActionBar.Tab);
7 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, boolean);
8 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int);
9 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int, boolean);
20 method public abstract android.support.v7.app.ActionBar.Tab getSelectedTab();
22 method public abstract android.support.v7.app.ActionBar.Tab getTabAt(int);
31 method public abstract android.support.v7.app.ActionBar.Tab newTab();
38 method public abstract void removeTab(android.support.v7.app.ActionBar.Tab);
40 method public abstract void selectTab(android.support.v7.app.ActionBar.Tab);
106 public static abstract class ActionBar.Tab {
[all …]
D23.0.0.txt6 method public abstract void addTab(android.support.v7.app.ActionBar.Tab);
7 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, boolean);
8 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int);
9 method public abstract void addTab(android.support.v7.app.ActionBar.Tab, int, boolean);
20 method public abstract android.support.v7.app.ActionBar.Tab getSelectedTab();
22 method public abstract android.support.v7.app.ActionBar.Tab getTabAt(int);
31 method public abstract android.support.v7.app.ActionBar.Tab newTab();
38 method public abstract void removeTab(android.support.v7.app.ActionBar.Tab);
40 method public abstract void selectTab(android.support.v7.app.ActionBar.Tab);
106 public static abstract class ActionBar.Tab {
[all …]

123