Searched refs:pageWidth (Results 1 – 4 of 4) sorted by relevance
41 final int pageWidth = view.getWidth();49 view.setTranslationX(pageWidth * -position);
1291 final int pageWidth = getScaledMeasuredWidth(getPageAt(mCurrentPage)); in onTouchEvent() local1292 boolean isSignificantMove = Math.abs(deltaX) > pageWidth * in onTouchEvent()1304 if (Math.abs(deltaX) > pageWidth * RETURN_TO_ORIGINAL_PAGE_THRESHOLD && in onTouchEvent()1896 int pageWidth = getMeasuredWidth(); in updateScrollingIndicatorPosition() local1897 int trackWidth = pageWidth - mScrollIndicatorPaddingLeft - mScrollIndicatorPaddingRight; in updateScrollingIndicatorPosition()
1408 int pageWidth = v.getMeasuredWidth(); in screenScrolled() local1418 v.setPivotX(xPivot * pageWidth); in screenScrolled()1426 v.setPivotX((1 - xPivot) * pageWidth); in screenScrolled()1434 v.setPivotX(pageWidth / 2.0f); in screenScrolled()
1763 final int pageWidth = getPageAt(mCurrentPage).getMeasuredWidth(); in onTouchEvent() local1764 boolean isSignificantMove = Math.abs(deltaX) > pageWidth * in onTouchEvent()1777 if (Math.abs(deltaX) > pageWidth * RETURN_TO_ORIGINAL_PAGE_THRESHOLD && in onTouchEvent()