Home
last modified time | relevance | path

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

/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java202 View tabView = null; in populateTabStrip() local
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
209 tabTitleView = (TextView) tabView.findViewById(mTabViewTextViewId); in populateTabStrip()
212 if (tabView == null) { in populateTabStrip()
213 tabView = createDefaultTabView(getContext()); in populateTabStrip()
216 if (tabTitleView == null && TextView.class.isInstance(tabView)) { in populateTabStrip()
217 tabTitleView = (TextView) tabView; in populateTabStrip()
221 tabView.setOnClickListener(tabClickListener); in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabLayout.java202 View tabView = null; in populateTabStrip() local
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
209 tabTitleView = (TextView) tabView.findViewById(mTabViewTextViewId); in populateTabStrip()
212 if (tabView == null) { in populateTabStrip()
213 tabView = createDefaultTabView(getContext()); in populateTabStrip()
216 if (tabTitleView == null && TextView.class.isInstance(tabView)) { in populateTabStrip()
217 tabTitleView = (TextView) tabView; in populateTabStrip()
221 tabView.setOnClickListener(tabClickListener); in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabLayout.java202 View tabView = null; in populateTabStrip() local
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
209 tabTitleView = (TextView) tabView.findViewById(mTabViewTextViewId); in populateTabStrip()
212 if (tabView == null) { in populateTabStrip()
213 tabView = createDefaultTabView(getContext()); in populateTabStrip()
216 if (tabTitleView == null && TextView.class.isInstance(tabView)) { in populateTabStrip()
217 tabTitleView = (TextView) tabView; in populateTabStrip()
221 tabView.setOnClickListener(tabClickListener); in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabLayout.java202 View tabView = null; in populateTabStrip() local
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
209 tabTitleView = (TextView) tabView.findViewById(mTabViewTextViewId); in populateTabStrip()
212 if (tabView == null) { in populateTabStrip()
213 tabView = createDefaultTabView(getContext()); in populateTabStrip()
216 if (tabTitleView == null && TextView.class.isInstance(tabView)) { in populateTabStrip()
217 tabTitleView = (TextView) tabView; in populateTabStrip()
221 tabView.setOnClickListener(tabClickListener); in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java202 View tabView = null; in populateTabStrip() local
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
209 tabTitleView = (TextView) tabView.findViewById(mTabViewTextViewId); in populateTabStrip()
212 if (tabView == null) { in populateTabStrip()
213 tabView = createDefaultTabView(getContext()); in populateTabStrip()
216 if (tabTitleView == null && TextView.class.isInstance(tabView)) { in populateTabStrip()
217 tabTitleView = (TextView) tabView; in populateTabStrip()
221 tabView.setOnClickListener(tabClickListener); in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabLayout.java202 View tabView = null; in populateTabStrip() local
207 tabView = LayoutInflater.from(getContext()).inflate(mTabViewLayoutId, mTabStrip, in populateTabStrip()
209 tabTitleView = (TextView) tabView.findViewById(mTabViewTextViewId); in populateTabStrip()
212 if (tabView == null) { in populateTabStrip()
213 tabView = createDefaultTabView(getContext()); in populateTabStrip()
216 if (tabTitleView == null && TextView.class.isInstance(tabView)) { in populateTabStrip()
217 tabTitleView = (TextView) tabView; in populateTabStrip()
221 tabView.setOnClickListener(tabClickListener); in populateTabStrip()
223 mTabStrip.addView(tabView); in populateTabStrip()