Home
last modified time | relevance | path

Searched refs:tabIndex (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
238 if (tabStripChildCount == 0 || tabIndex < 0 || tabIndex >= tabStripChildCount) { in scrollToTab()
242 View selectedChild = mTabStrip.getChildAt(tabIndex); in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
238 if (tabStripChildCount == 0 || tabIndex < 0 || tabIndex >= tabStripChildCount) { in scrollToTab()
242 View selectedChild = mTabStrip.getChildAt(tabIndex); in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
238 if (tabStripChildCount == 0 || tabIndex < 0 || tabIndex >= tabStripChildCount) { in scrollToTab()
242 View selectedChild = mTabStrip.getChildAt(tabIndex); in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
238 if (tabStripChildCount == 0 || tabIndex < 0 || tabIndex >= tabStripChildCount) { in scrollToTab()
242 View selectedChild = mTabStrip.getChildAt(tabIndex); in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
238 if (tabStripChildCount == 0 || tabIndex < 0 || tabIndex >= tabStripChildCount) { in scrollToTab()
242 View selectedChild = mTabStrip.getChildAt(tabIndex); in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabLayout.java236 private void scrollToTab(int tabIndex, int positionOffset) { in scrollToTab() argument
238 if (tabStripChildCount == 0 || tabIndex < 0 || tabIndex >= tabStripChildCount) { in scrollToTab()
242 View selectedChild = mTabStrip.getChildAt(tabIndex); in scrollToTab()
246 if (tabIndex > 0 || positionOffset > 0) { in scrollToTab()