Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTabWidget.java62 private int mSelectedTab = -1; field in TabWidget
136 if (mSelectedTab == -1) { in getChildDrawingOrder()
142 return mSelectedTab; in getChildDrawingOrder()
143 } else if (i >= mSelectedTab) { in getChildDrawingOrder()
354 if (getTabCount() > 0 && child == getChildTabViewAt(mSelectedTab)) { in childDrawableStateChanged()
375 final View selectedChild = getChildTabViewAt(mSelectedTab); in dispatchDraw()
440 if (index < 0 || index >= getTabCount() || index == mSelectedTab) { in setCurrentTab()
444 if (mSelectedTab != -1) { in setCurrentTab()
445 getChildTabViewAt(mSelectedTab).setSelected(false); in setCurrentTab()
447 mSelectedTab = index; in setCurrentTab()
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DWindowDecorActionBar.java101 private TabImpl mSelectedTab; field in WindowDecorActionBar
429 if (mSelectedTab != null) { in cleanupTabs()
607 int selectedTabPosition = mSelectedTab != null in removeTabAt()
608 ? mSelectedTab.getPosition() : mSavedTabPosition; in removeTabAt()
641 if (mSelectedTab == tab) { in selectTab()
642 if (mSelectedTab != null) { in selectTab()
643 mSelectedTab.getCallback().onTabReselected(mSelectedTab, trans); in selectTab()
648 if (mSelectedTab != null) { in selectTab()
649 mSelectedTab.getCallback().onTabUnselected(mSelectedTab, trans); in selectTab()
651 mSelectedTab = (TabImpl) tab; in selectTab()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java89 private TabImpl mSelectedTab; field in WindowDecorActionBar
424 if (mSelectedTab != null) { in cleanupTabs()
590 int selectedTabPosition = mSelectedTab != null in removeTabAt()
591 ? mSelectedTab.getPosition() : mSavedTabPosition; in removeTabAt()
618 if (mSelectedTab == tab) { in selectTab()
619 if (mSelectedTab != null) { in selectTab()
620 mSelectedTab.getCallback().onTabReselected(mSelectedTab, trans); in selectTab()
625 if (mSelectedTab != null) { in selectTab()
626 mSelectedTab.getCallback().onTabUnselected(mSelectedTab, trans); in selectTab()
628 mSelectedTab = (TabImpl) tab; in selectTab()
[all …]
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7274 Landroid/widget/TabWidget;->mSelectedTab:I