Searched refs:mSelectionOffset (Results 1 – 4 of 4) sorted by relevance
34 private float mSelectionOffset; field in ViewPagerTabStrip62 mSelectionOffset = positionOffset; in onPageScrolled()85 if ((mSelectionOffset > 0.0f) && hasNextTab) { in onDraw()92 (int) (mSelectionOffset * nextLeft + (1.0f - mSelectionOffset) * selectedLeft); in onDraw()94 (int) (mSelectionOffset * nextRight + (1.0f - mSelectionOffset) * selectedRight); in onDraw()
35 private float mSelectionOffset; field in ViewPagerTabStrip65 mSelectionOffset = positionOffset; in onPageScrolled()81 if ((mSelectionOffset > 0.0f) && hasNextTab) { in onDraw()87 selectedLeft = (int) (mSelectionOffset * nextLeft + in onDraw()88 (1.0f - mSelectionOffset) * selectedLeft); in onDraw()89 selectedRight = (int) (mSelectionOffset * nextRight + in onDraw()90 (1.0f - mSelectionOffset) * selectedRight); in onDraw()
44 private float mSelectionOffset; field in SlidingTabLayout121 mSelectionOffset = positionOffset; in onViewPagerPageChanged()145 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in getIndicatorLeft()147 left = (int) (mSelectionOffset * nextTitle.getLeft() in getIndicatorLeft()148 + (1.0f - mSelectionOffset) * left); in getIndicatorLeft()