Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java248 final View tabView = mTabLayout.getChildAt(position); in animateToTab() local
254 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
280 final TabView tabView = new TabView(context, tab, forAdapter); in createTabView() local
282 tabView.setBackgroundDrawable(null); in createTabView()
283 tabView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, in createTabView()
286 tabView.setFocusable(true); in createTabView()
291 tabView.setOnClickListener(mTabClickListener); in createTabView()
293 return tabView; in createTabView()
297 TabView tabView = createTabView(mContext, tab, false); in addTab() local
298 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/support/v7/appcompat/src/android/support/v7/widget/
DScrollingTabContainerView.java258 final View tabView = mTabLayout.getChildAt(position); in animateToTab() local
265 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
291 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView() local
293 tabView.setBackgroundDrawable(null); in createTabView()
294 tabView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, in createTabView()
297 tabView.setFocusable(true); in createTabView()
302 tabView.setOnClickListener(mTabClickListener); in createTabView()
304 return tabView; in createTabView()
308 TabView tabView = createTabView(tab, false); in addTab() local
309 mTabLayout.addView(tabView, new LinearLayoutCompat.LayoutParams(0, in addTab()
[all …]
DActionBarContainer.java220 public void setTabContainer(ScrollingTabContainerView tabView) { in setTabContainer() argument
224 mTabContainer = tabView; in setTabContainer()
225 if (tabView != null) { in setTabContainer()
226 addView(tabView); in setTabContainer()
227 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer()
230 tabView.setAllowCollapse(false); in setTabContainer()
DToolbarWidgetWrapper.java420 public void setEmbeddedTabView(ScrollingTabContainerView tabView) { in setEmbeddedTabView() argument
424 mTabView = tabView; in setEmbeddedTabView()
425 if (tabView != null && mNavigationMode == ActionBar.NAVIGATION_MODE_TABS) { in setEmbeddedTabView()
431 tabView.setAllowCollapse(true); in setEmbeddedTabView()
DDecorToolbar.java75 void setEmbeddedTabView(ScrollingTabContainerView tabView); in setEmbeddedTabView() argument
/frameworks/base/core/java/android/app/
DTabActivity.java132 View tabView = mTabHost.getCurrentTabView(); in onChildTitleChanged() local
133 if (tabView != null && tabView instanceof TextView) { in onChildTitleChanged()
134 ((TextView) tabView).setText(title); in onChildTitleChanged()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java930 TabView tabView = mTabViewPool != null ? mTabViewPool.acquire() : null; in createTabView() local
931 if (tabView == null) { in createTabView()
932 tabView = new TabView(getContext()); in createTabView()
934 tabView.setTab(tab); in createTabView()
935 tabView.setFocusable(true); in createTabView()
936 tabView.setMinimumWidth(getTabMinWidth()); in createTabView()
937 return tabView; in createTabView()
951 final TabView tabView = tab.mView; in addTabView() local
952 mTabStrip.addView(tabView, tab.getPosition(), createLayoutParamsForTabs()); in addTabView()