Home
last modified time | relevance | path

Searched refs:pageWidth (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java1291 final int pageWidth = getScaledMeasuredWidth(getPageAt(mCurrentPage)); in onTouchEvent() local
1292 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() local
1897 int trackWidth = pageWidth - mScrollIndicatorPaddingLeft - mScrollIndicatorPaddingRight; in updateScrollingIndicatorPosition()
DAppsCustomizePagedView.java1408 int pageWidth = v.getMeasuredWidth(); in screenScrolled() local
1418 v.setPivotX(xPivot * pageWidth); in screenScrolled()
1426 v.setPivotX((1 - xPivot) * pageWidth); in screenScrolled()
1434 v.setPivotX(pageWidth / 2.0f); in screenScrolled()
/packages/apps/DeskClock/src/com/android/deskclock/
DVerticalViewPager.java41 final int pageWidth = view.getWidth();
49 view.setTranslationX(pageWidth * -position);
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1902 final int pageWidth = getPageAt(mCurrentPage).getMeasuredWidth(); in onTouchEvent() local
1903 boolean isSignificantMove = Math.abs(deltaX) > pageWidth * in onTouchEvent()
1916 if (Math.abs(deltaX) > pageWidth * RETURN_TO_ORIGINAL_PAGE_THRESHOLD && in onTouchEvent()