Home
last modified time | relevance | path

Searched refs:mSelectedPosition (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabStrip.java51 private int mSelectedPosition; field in SlidingTabStrip
111 mSelectedPosition = position; in onViewPagerPageChanged()
127 View selectedTitle = getChildAt(mSelectedPosition); in onDraw()
130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw()
132 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in onDraw()
133 int nextColor = tabColorizer.getIndicatorColor(mSelectedPosition + 1); in onDraw()
139 View nextTitle = getChildAt(mSelectedPosition + 1); in onDraw()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabStrip.java51 private int mSelectedPosition; field in SlidingTabStrip
111 mSelectedPosition = position; in onViewPagerPageChanged()
127 View selectedTitle = getChildAt(mSelectedPosition); in onDraw()
130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw()
132 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in onDraw()
133 int nextColor = tabColorizer.getIndicatorColor(mSelectedPosition + 1); in onDraw()
139 View nextTitle = getChildAt(mSelectedPosition + 1); in onDraw()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java51 private int mSelectedPosition; field in SlidingTabStrip
111 mSelectedPosition = position; in onViewPagerPageChanged()
127 View selectedTitle = getChildAt(mSelectedPosition); in onDraw()
130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw()
132 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in onDraw()
133 int nextColor = tabColorizer.getIndicatorColor(mSelectedPosition + 1); in onDraw()
139 View nextTitle = getChildAt(mSelectedPosition + 1); in onDraw()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabStrip.java51 private int mSelectedPosition; field in SlidingTabStrip
111 mSelectedPosition = position; in onViewPagerPageChanged()
127 View selectedTitle = getChildAt(mSelectedPosition); in onDraw()
130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw()
132 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in onDraw()
133 int nextColor = tabColorizer.getIndicatorColor(mSelectedPosition + 1); in onDraw()
139 View nextTitle = getChildAt(mSelectedPosition + 1); in onDraw()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabStrip.java51 private int mSelectedPosition; field in SlidingTabStrip
111 mSelectedPosition = position; in onViewPagerPageChanged()
127 View selectedTitle = getChildAt(mSelectedPosition); in onDraw()
130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw()
132 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in onDraw()
133 int nextColor = tabColorizer.getIndicatorColor(mSelectedPosition + 1); in onDraw()
139 View nextTitle = getChildAt(mSelectedPosition + 1); in onDraw()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java51 private int mSelectedPosition; field in SlidingTabStrip
111 mSelectedPosition = position; in onViewPagerPageChanged()
127 View selectedTitle = getChildAt(mSelectedPosition); in onDraw()
130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw()
132 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in onDraw()
133 int nextColor = tabColorizer.getIndicatorColor(mSelectedPosition + 1); in onDraw()
139 View nextTitle = getChildAt(mSelectedPosition + 1); in onDraw()