Searched refs:getViewportWidth (Results 1 – 4 of 4) sorted by relevance
360 int getViewportWidth() { in getViewportWidth() method in PagedView370 return (getMeasuredWidth() - getViewportWidth()) / 2; in getViewportOffsetX()813 childWidth = getViewportWidth() - horizontalPadding in onMeasure()822 childWidth = getViewportWidth() - mInsets.left - mInsets.right; in onMeasure()1066 int viewportWidth = getViewportWidth(); in getVisiblePages()1114 int halfScreenSize = getViewportWidth() / 2; in dispatchDraw()1301 return (x > (getViewportOffsetX() + getViewportWidth() - in hitsPreviousPage()1314 return (x > (getViewportOffsetX() + getViewportWidth() - in hitsNextPage()1471 final int halfScreenSize = getViewportWidth() / 2; in getScrollProgress()1523 int screenSize = getViewportWidth(); in dampedOverScroll()[all …]
1273 int screenSize = getViewportWidth(); in overScroll()
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()