Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DScrollingTabContainerView.java260 final View tabView = mTabLayout.getChildAt(position); in animateToTab() local
267 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
293 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView() local
295 tabView.setBackgroundDrawable(null); in createTabView()
296 tabView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, in createTabView()
299 tabView.setFocusable(true); in createTabView()
304 tabView.setOnClickListener(mTabClickListener); in createTabView()
306 return tabView; in createTabView()
310 TabView tabView = createTabView(tab, false); in addTab() local
311 mTabLayout.addView(tabView, new LinearLayoutCompat.LayoutParams(0, in addTab()
[all …]
DActionBarContainer.java218 public void setTabContainer(ScrollingTabContainerView tabView) { in setTabContainer() argument
222 mTabContainer = tabView; in setTabContainer()
223 if (tabView != null) { in setTabContainer()
224 addView(tabView); in setTabContainer()
225 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer()
228 tabView.setAllowCollapse(false); in setTabContainer()
DToolbarWidgetWrapper.java421 public void setEmbeddedTabView(ScrollingTabContainerView tabView) { in setEmbeddedTabView() argument
425 mTabView = tabView; in setEmbeddedTabView()
426 if (tabView != null && mNavigationMode == ActionBar.NAVIGATION_MODE_TABS) { in setEmbeddedTabView()
432 tabView.setAllowCollapse(true); in setEmbeddedTabView()
DDecorToolbar.java76 void setEmbeddedTabView(ScrollingTabContainerView tabView); in setEmbeddedTabView() argument
/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/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()