Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/widget/
DTabWidget.java229 public int getTabCount() { in getTabCount() method in TabWidget
354 if (getTabCount() > 0 && child == getChildTabViewAt(mSelectedTab)) { in childDrawableStateChanged()
366 if (getTabCount() == 0) return; in dispatchDraw()
440 if (index < 0 || index >= getTabCount() || index == mSelectedTab) { in setCurrentTab()
461 event.setItemCount(getTabCount()); in onInitializeAccessibilityEventInternal()
495 final int count = getTabCount(); in setEnabled()
523 child.setOnClickListener(new TabClickListener(getTabCount() - 1)); in addView()
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutWithViewPagerTest.java300 int itemCount = mTabLayout.getTabCount();
332 assertEquals("Matching item count", itemCount, mTabLayout.getTabCount());
376 assertEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
404 assertNotEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
415 mTabLayout.getTabCount());
423 assertNotEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
429 assertEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
459 assertEquals("Matching item count", newItemCount, mTabLayout.getTabCount());
490 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/base/core/java/android/app/
DActionBar.java787 public abstract int getTabCount(); in getTabCount() method in ActionBar
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBar.java777 public abstract int getTabCount(); in getTabCount() method in ActionBar
DToolbarActionBar.java392 public int getTabCount() { in getTabCount() method in ToolbarActionBar
DWindowDecorActionBar.java1324 public int getTabCount() { in getTabCount() method in WindowDecorActionBar
/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/design/api/
Dcurrent.txt492 method public int getTabCount();
D26.0.0.txt492 method public int getTabCount();
/frameworks/support/v7/appcompat/api/
Dcurrent.txt21 method public abstract deprecated int getTabCount();
D26.0.0.txt21 method public abstract deprecated int getTabCount();
/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.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();
D23.1.1.txt415 method public int getTabCount();
6205 method public abstract deprecated int getTabCount();
8387 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();
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.1.0.txt509 method public int getTabCount();
7251 method public abstract deprecated int getTabCount();
9592 method public abstract deprecated int getTabCount();

12