Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DScrollingTabContainerView.java260 final View tabView = mTabLayout.getChildAt(position); in animateToTab() local
266 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
292 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView() local
294 tabView.setBackgroundDrawable(null); in createTabView()
295 tabView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, in createTabView()
298 tabView.setFocusable(true); in createTabView()
303 tabView.setOnClickListener(mTabClickListener); in createTabView()
305 return tabView; in createTabView()
309 TabView tabView = createTabView(tab, false); in addTab() local
310 mTabLayout.addView(tabView, new LinearLayoutCompat.LayoutParams(0, in addTab()
[all …]
DActionBarContainer.java210 public void setTabContainer(ScrollingTabContainerView tabView) { in setTabContainer() argument
214 mTabContainer = tabView; in setTabContainer()
215 if (tabView != null) { in setTabContainer()
216 addView(tabView); in setTabContainer()
217 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer()
220 tabView.setAllowCollapse(false); in setTabContainer()
DToolbarWidgetWrapper.java447 public void setEmbeddedTabView(ScrollingTabContainerView tabView) { in setEmbeddedTabView() argument
451 mTabView = tabView; in setEmbeddedTabView()
452 if (tabView != null && mNavigationMode == ActionBar.NAVIGATION_MODE_TABS) { in setEmbeddedTabView()
458 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.java235 public void setTabContainer(ScrollingTabContainerView tabView) { in setTabContainer() argument
239 mTabContainer = tabView; in setTabContainer()
240 if (tabView != null) { in setTabContainer()
241 addView(tabView); in setTabContainer()
242 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer()
245 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.java635 final TabView tabView = new TabView(getContext(), tab); in createTabView() local
636 tabView.setFocusable(true); in createTabView()
642 TabView tabView = (TabView) view; in createTabView()
643 tabView.getTab().select(); in createTabView()
647 tabView.setOnClickListener(mTabClickListener); in createTabView()
648 return tabView; in createTabView()
669 final TabView tabView = createTabView(tab); in addTabView() local
670 mTabStrip.addView(tabView, createLayoutParamsForTabs()); in addTabView()
672 tabView.setSelected(true); in addTabView()
677 final TabView tabView = createTabView(tab); in addTabView() local
[all …]
/frameworks/base/core/java/android/widget/
DTabWidget.java411 View tabView = getChildTabViewAt(mSelectedTab); in dispatchPopulateAccessibilityEventInternal() local
412 if (tabView != null && tabView.getVisibility() == VISIBLE) { in dispatchPopulateAccessibilityEventInternal()
413 return tabView.dispatchPopulateAccessibilityEvent(event); in dispatchPopulateAccessibilityEventInternal()