Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTabWidget.java375 final View selectedChild = getChildTabViewAt(mSelectedTab); in dispatchDraw() local
381 leftStrip.setState(selectedChild.getDrawableState()); in dispatchDraw()
384 rightStrip.setState(selectedChild.getDrawableState()); in dispatchDraw()
389 bounds.left = selectedChild.getLeft(); in dispatchDraw()
390 bounds.right = selectedChild.getRight(); in dispatchDraw()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java1183 final View selectedChild = mTabStrip.getChildAt(position); in calculateScrollXForTab() local
1187 final int selectedWidth = selectedChild != null ? selectedChild.getWidth() : 0; in calculateScrollXForTab()
1191 int scrollBase = selectedChild.getLeft() + (selectedWidth / 2) - (getWidth() / 2); in calculateScrollXForTab()