Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DTabWidget.java226 public int getTabCount() { in getTabCount() method in TabWidget
351 if (getTabCount() > 0 && child == getChildTabViewAt(mSelectedTab)) { in childDrawableStateChanged()
363 if (getTabCount() == 0) return; in dispatchDraw()
424 if (index < 0 || index >= getTabCount() || index == mSelectedTab) { in setCurrentTab()
445 event.setItemCount(getTabCount()); in onInitializeAccessibilityEventInternal()
479 final int count = getTabCount(); in setEnabled()
507 child.setOnClickListener(new TabClickListener(getTabCount() - 1)); in addView()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutWithViewPagerTest.java301 int itemCount = mTabLayout.getTabCount();
333 assertEquals("Matching item count", itemCount, mTabLayout.getTabCount());
377 assertEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
405 assertNotEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
416 mTabLayout.getTabCount());
424 assertNotEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
430 assertEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
460 assertEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
491 mTabLayout.getTabCount());
DTabLayoutTest.java71 assertEquals(3, tabLayout.getTabCount()); in testInflateTabLayoutWithTabItems()
210 final int tabCount = tabLayout.getTabCount(); in testPointerIcon()
220 for (int i = 0, count = tabLayout.getTabCount(); i < count; i++) { in assertTabCustomViewSelected()
256 final int middleTab = tabs.getTabCount() / 2; in testSetScrollPosition()
DTabLayoutPoolingTest.java43 assertTrue(tabLayout1.getTabCount() > 0); in testUsingTabsFromOtherInstance()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DTabLayoutUsage.java77 if (mTabLayout.getTabCount() > 0) { in selectFirstTab()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBar.java777 public abstract int getTabCount(); in getTabCount() method in ActionBar
DToolbarActionBar.java393 public int getTabCount() { in getTabCount() method in ToolbarActionBar
DWindowDecorActionBar.java1324 public int getTabCount() { in getTabCount() method in WindowDecorActionBar
/frameworks/base/core/java/android/app/
DActionBar.java787 public abstract int getTabCount(); in getTabCount() method in ActionBar
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java578 public int getTabCount() { in getTabCount() method in TabLayout
587 return (index < 0 || index >= getTabCount()) ? null : mTabs.get(index); in getTabAt()
916 if (curItem != getSelectedTabPosition() && curItem < getTabCount()) { in populateFromPagerAdapter()
2142 && position < tabLayout.getTabCount()) { in onPageSelected()
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java388 public int getTabCount() { in getTabCount() method in ToolbarActionBar
DWindowDecorActionBar.java1310 public int getTabCount() { in getTabCount() method in WindowDecorActionBar
/frameworks/support/api/
D23.0.0.txt373 method public int getTabCount();
5931 method public abstract deprecated int getTabCount();
8061 method public abstract int getTabCount();
D23.2.1.txt485 method public int getTabCount();
6629 method public abstract deprecated int getTabCount();
8847 method public abstract int getTabCount();
D23.2.0.txt485 method public int getTabCount();
6629 method public abstract deprecated int getTabCount();
8846 method public abstract int getTabCount();
D23.1.1.txt415 method public int getTabCount();
6205 method public abstract deprecated int getTabCount();
8387 method public abstract int getTabCount();
D23.4.0.txt487 method public int getTabCount();
6641 method public abstract deprecated int getTabCount();
8861 method public abstract int getTabCount();
D23.1.0.txt412 method public int getTabCount();
6235 method public abstract deprecated int getTabCount();
8418 method public abstract int getTabCount();
D22.2.0.txt259 method public int getTabCount();
5134 method public abstract deprecated int getTabCount();
D22.2.1.txt268 method public int getTabCount();
5163 method public abstract deprecated int getTabCount();
D24.0.0.txt509 method public int getTabCount();
7249 method public abstract deprecated int getTabCount();
9582 method public abstract deprecated int getTabCount();
D24.1.0.txt509 method public int getTabCount();
7251 method public abstract deprecated int getTabCount();
9592 method public abstract deprecated int getTabCount();
D25.1.0.txt706 method public int getTabCount();
7990 method public abstract deprecated int getTabCount();
D25.0.0.txt680 method public int getTabCount();
7579 method public abstract deprecated int getTabCount();
D25.2.0.txt706 method public int getTabCount();
7990 method public abstract deprecated int getTabCount();

12