Home
last modified time | relevance | path

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

/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabLayout.java80 private final SlidingTabStrip mTabStrip; field in SlidingTabLayout
100 mTabStrip = new SlidingTabStrip(context); in SlidingTabLayout()
101 addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
112 mTabStrip.setCustomTabColorizer(tabColorizer); in setCustomTabColorizer()
120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors()
128 mTabStrip.setDividerColors(colors); in setDividerColors()
158 mTabStrip.removeAllViews(); in setViewPager()
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
237 final int tabStripChildCount = mTabStrip.getChildCount(); in scrollToTab()
[all …]
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabLayout.java80 private final SlidingTabStrip mTabStrip; field in SlidingTabLayout
100 mTabStrip = new SlidingTabStrip(context); in SlidingTabLayout()
101 addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
112 mTabStrip.setCustomTabColorizer(tabColorizer); in setCustomTabColorizer()
120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors()
128 mTabStrip.setDividerColors(colors); in setDividerColors()
158 mTabStrip.removeAllViews(); in setViewPager()
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
237 final int tabStripChildCount = mTabStrip.getChildCount(); in scrollToTab()
[all …]
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java80 private final SlidingTabStrip mTabStrip; field in SlidingTabLayout
100 mTabStrip = new SlidingTabStrip(context); in SlidingTabLayout()
101 addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
112 mTabStrip.setCustomTabColorizer(tabColorizer); in setCustomTabColorizer()
120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors()
128 mTabStrip.setDividerColors(colors); in setDividerColors()
158 mTabStrip.removeAllViews(); in setViewPager()
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
237 final int tabStripChildCount = mTabStrip.getChildCount(); in scrollToTab()
[all …]
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabLayout.java80 private final SlidingTabStrip mTabStrip; field in SlidingTabLayout
100 mTabStrip = new SlidingTabStrip(context); in SlidingTabLayout()
101 addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
112 mTabStrip.setCustomTabColorizer(tabColorizer); in setCustomTabColorizer()
120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors()
128 mTabStrip.setDividerColors(colors); in setDividerColors()
158 mTabStrip.removeAllViews(); in setViewPager()
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
237 final int tabStripChildCount = mTabStrip.getChildCount(); in scrollToTab()
[all …]
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabLayout.java80 private final SlidingTabStrip mTabStrip; field in SlidingTabLayout
100 mTabStrip = new SlidingTabStrip(context); in SlidingTabLayout()
101 addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
112 mTabStrip.setCustomTabColorizer(tabColorizer); in setCustomTabColorizer()
120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors()
128 mTabStrip.setDividerColors(colors); in setDividerColors()
158 mTabStrip.removeAllViews(); in setViewPager()
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
237 final int tabStripChildCount = mTabStrip.getChildCount(); in scrollToTab()
[all …]
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java80 private final SlidingTabStrip mTabStrip; field in SlidingTabLayout
100 mTabStrip = new SlidingTabStrip(context); in SlidingTabLayout()
101 addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
112 mTabStrip.setCustomTabColorizer(tabColorizer); in setCustomTabColorizer()
120 mTabStrip.setSelectedIndicatorColors(colors); in setSelectedIndicatorColors()
128 mTabStrip.setDividerColors(colors); in setDividerColors()
158 mTabStrip.removeAllViews(); in setViewPager()
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
237 final int tabStripChildCount = mTabStrip.getChildCount(); in scrollToTab()
[all …]