Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTabWidget.java73 private int mSelectedTab = -1; field in TabWidget
154 if (mSelectedTab == -1) { in getChildDrawingOrder()
160 return mSelectedTab; in getChildDrawingOrder()
161 } else if (i >= mSelectedTab) { in getChildDrawingOrder()
372 if (getTabCount() > 0 && child == getChildTabViewAt(mSelectedTab)) { in childDrawableStateChanged()
393 final View selectedChild = getChildTabViewAt(mSelectedTab); in dispatchDraw()
458 if (index < 0 || index >= getTabCount() || index == mSelectedTab) { in setCurrentTab()
462 if (mSelectedTab != -1) { in setCurrentTab()
463 getChildTabViewAt(mSelectedTab).setSelected(false); in setCurrentTab()
465 mSelectedTab = index; in setCurrentTab()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java93 private TabImpl mSelectedTab; field in WindowDecorActionBar
429 if (mSelectedTab != null) { in cleanupTabs()
595 int selectedTabPosition = mSelectedTab != null in removeTabAt()
596 ? mSelectedTab.getPosition() : mSavedTabPosition; in removeTabAt()
623 if (mSelectedTab == tab) { in selectTab()
624 if (mSelectedTab != null) { in selectTab()
625 mSelectedTab.getCallback().onTabReselected(mSelectedTab, trans); in selectTab()
630 if (mSelectedTab != null) { in selectTab()
631 mSelectedTab.getCallback().onTabUnselected(mSelectedTab, trans); in selectTab()
633 mSelectedTab = (TabImpl) tab; in selectTab()
[all …]