Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java240 final View tabView = mTabLayout.getChildAt(position); in animateToTab() local
246 final int scrollPos = tabView.getLeft() - (getWidth() - tabView.getWidth()) / 2; in animateToTab()
272 final TabView tabView = new TabView(getContext(), tab, forAdapter); in createTabView() local
274 tabView.setBackgroundDrawable(null); in createTabView()
275 tabView.setLayoutParams(new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, in createTabView()
278 tabView.setFocusable(true); in createTabView()
283 tabView.setOnClickListener(mTabClickListener); in createTabView()
285 return tabView; in createTabView()
289 TabView tabView = createTabView(tab, false); in addTab() local
290 mTabLayout.addView(tabView, new LinearLayout.LayoutParams(0, in addTab()
[all …]
DActionBarContainer.java129 public void setTabContainer(ScrollingTabContainerView tabView) { in setTabContainer() argument
133 mTabContainer = tabView; in setTabContainer()
134 if (tabView != null) { in setTabContainer()
135 addView(tabView); in setTabContainer()
136 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer()
139 tabView.setAllowCollapse(false); in setTabContainer()
/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/base/core/java/android/widget/
DTabWidget.java408 View tabView = getChildTabViewAt(mSelectedTab); in dispatchPopulateAccessibilityEvent() local
409 if (tabView != null && tabView.getVisibility() == VISIBLE) { in dispatchPopulateAccessibilityEvent()
410 return tabView.dispatchPopulateAccessibilityEvent(event); in dispatchPopulateAccessibilityEvent()