Searched refs:getViewportWidth (Results 1 – 4 of 4) sorted by relevance
298 int getViewportWidth() { in getViewportWidth() method in PagedView308 return (getMeasuredWidth() - getViewportWidth()) / 2; in getViewportOffsetX()742 childWidth = getViewportWidth() - horizontalPadding in onMeasure()751 childWidth = getViewportWidth(); in onMeasure()1136 return (x > (getViewportOffsetX() + getViewportWidth() - in hitsPreviousPage()1149 return (x > (getViewportOffsetX() + getViewportWidth() - in hitsNextPage()1306 final int halfScreenSize = getViewportWidth() / 2; in getScrollProgress()1358 int screenSize = getViewportWidth(); in dampedOverScroll()1810 int screenCenter = getViewportOffsetX() + scaledScrollX + (getViewportWidth() / 2); in getPageNearestToCenterOfScreen()1854 int halfScreenSize = getViewportWidth() / 2; in snapToPageWithVelocity()
1457 mLastOverlayScroll = Math.abs(amount / getViewportWidth()); in overScroll()1697 int screenCenter = getScrollX() + getViewportWidth() / 2; in updatePageAlphaValues()1871 float visibleRight = visibleLeft + getViewportWidth(); in enableHwLayersOnVisiblePages()
215 public int getViewportWidth() { in getViewportWidth() method in ConversationWebView241 scale = (float) getWidth() / getViewportWidth(); in getInitialScale()
748 mTemplates.startConversation(mWebView.getViewportWidth(), in renderMessageBodies()843 mWebView.getViewportWidth(), mWebView.getWidthInDp(mSideMarginPx), in renderMessageBodies()