[go: nahoru, domu]

Searched refs:MODE_SCROLLABLE (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java166 public static final int MODE_SCROLLABLE = 0; field in class:TabLayout
181 @IntDef(value = {MODE_SCROLLABLE, MODE_FIXED})
657 * <li>{@link #MODE_SCROLLABLE}: Scrollable tabs display a subset of tabs at any given moment,
663 * @param mode one of {@link #MODE_FIXED} or {@link #MODE_SCROLLABLE}.
1044 case MODE_SCROLLABLE:
1174 if (mMode == MODE_SCROLLABLE) {
1192 if (mMode == MODE_SCROLLABLE) {
1202 case MODE_SCROLLABLE:
2077 return mMode == MODE_SCROLLABLE ? mScrollableTabMinWidth : 0;
/frameworks/support/design/tests/src/android/support/design/widget/
H A DTabLayoutWithViewPagerTest.java459 assertEquals("Scrollable tab mode", TabLayout.MODE_SCROLLABLE, mTabLayout.getTabMode());
483 assertEquals("Scrollable tab mode", TabLayout.MODE_SCROLLABLE, mTabLayout.getTabMode());

Completed in 38 milliseconds