Searched refs:mSelectedPosition (Results 1 - 8 of 8) sorted by relevance

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

Completed in 414 milliseconds