Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DScrollingTabContainerView.java257 final View tabView = mTabLayout.getChildAt(position); in animateToTab() local
263 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
289 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView() local
291 tabView.setBackgroundDrawable(null); in createTabView()
292 tabView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, in createTabView()
295 tabView.setFocusable(true); in createTabView()
300 tabView.setOnClickListener(mTabClickListener); in createTabView()
302 return tabView; in createTabView()
306 TabView tabView = createTabView(tab, false); in addTab() local
307 mTabLayout.addView(tabView, new LinearLayoutCompat.LayoutParams(0, in addTab()
[all …]
DActionBarContainer.java209 public void setTabContainer(ScrollingTabContainerView tabView) { in setTabContainer() argument
213 mTabContainer = tabView; in setTabContainer()
214 if (tabView != null) { in setTabContainer()
215 addView(tabView); in setTabContainer()
216 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer()
219 tabView.setAllowCollapse(false); in setTabContainer()
DToolbarWidgetWrapper.java418 public void setEmbeddedTabView(ScrollingTabContainerView tabView) { in setEmbeddedTabView() argument
422 mTabView = tabView; in setEmbeddedTabView()
423 if (tabView != null && mNavigationMode == ActionBar.NAVIGATION_MODE_TABS) { in setEmbeddedTabView()
429 tabView.setAllowCollapse(true); in setEmbeddedTabView()
DDecorToolbar.java71 void setEmbeddedTabView(ScrollingTabContainerView tabView); in setEmbeddedTabView() argument
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java249 final View tabView = mTabLayout.getChildAt(position); in animateToTab() local
255 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
281 final TabView tabView = new TabView(context, tab, forAdapter); in createTabView() local
283 tabView.setBackgroundDrawable(null); in createTabView()
284 tabView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, in createTabView()
287 tabView.setFocusable(true); in createTabView()
292 tabView.setOnClickListener(mTabClickListener); in createTabView()
294 return tabView; in createTabView()
298 TabView tabView = createTabView(mContext, tab, false); in addTab() local
299 mTabLayout.addView(tabView, new LinearLayout.LayoutParams(0, in addTab()
[all …]
DActionBarContainer.java248 public void setTabContainer(ScrollingTabContainerView tabView) { in setTabContainer() argument
252 mTabContainer = tabView; in setTabContainer()
253 if (tabView != null) { in setTabContainer()
254 addView(tabView); in setTabContainer()
255 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer()
258 tabView.setAllowCollapse(false); in setTabContainer()
DToolbarWidgetWrapper.java442 public void setEmbeddedTabView(ScrollingTabContainerView tabView) { in setEmbeddedTabView() argument
446 mTabView = tabView; in setEmbeddedTabView()
447 if (tabView != null && mNavigationMode == ActionBar.NAVIGATION_MODE_TABS) { in setEmbeddedTabView()
453 tabView.setAllowCollapse(true); in setEmbeddedTabView()
DDecorToolbar.java77 void setEmbeddedTabView(ScrollingTabContainerView tabView); in setEmbeddedTabView() argument
/frameworks/base/core/java/android/app/
DTabActivity.java149 View tabView = mTabHost.getCurrentTabView(); in onChildTitleChanged() local
150 if (tabView != null && tabView instanceof TextView) { in onChildTitleChanged()
151 ((TextView) tabView).setText(title); in onChildTitleChanged()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java924 TabView tabView = mTabViewPool != null ? mTabViewPool.acquire() : null; in createTabView() local
925 if (tabView == null) { in createTabView()
926 tabView = new TabView(getContext()); in createTabView()
928 tabView.setTab(tab); in createTabView()
929 tabView.setFocusable(true); in createTabView()
930 tabView.setMinimumWidth(getTabMinWidth()); in createTabView()
931 return tabView; in createTabView()
945 final TabView tabView = tab.mView; in addTabView() local
946 mTabStrip.addView(tabView, createLayoutParamsForTabs()); in addTabView()
948 tabView.setSelected(true); in addTabView()
[all …]