Home
last modified time | relevance | path

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

/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
DGridFragment.java48 private int mSelectedPosition = -1; field in GridFragment
125 if (position != mSelectedPosition) { in gridOnItemSelected()
126 mSelectedPosition = position; in gridOnItemSelected()
132 if (mGridViewHolder.getGridView().findViewHolderForAdapterPosition(mSelectedPosition) in showOrHideTitle()
136 if (!mGridViewHolder.getGridView().hasPreviousViewInSameRow(mSelectedPosition)) { in showOrHideTitle()
201 mSelectedPosition = position; in setSelectedPosition()
210 if (mSelectedPosition != -1) { in updateAdapter()
211 mGridViewHolder.getGridView().setSelectedPosition(mSelectedPosition); in updateAdapter()
/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/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/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/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/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()