Searched refs:getViewportWidth (Results 1 – 4 of 4) sorted by relevance
355 int getViewportWidth() { in getViewportWidth() method in PagedView365 return (getMeasuredWidth() - getViewportWidth()) / 2; in getViewportOffsetX()812 childWidth = getViewportWidth() - horizontalPadding in onMeasure()821 childWidth = getViewportWidth(); in onMeasure()1064 final int visibleRight = visibleLeft + getViewportWidth(); in getVisiblePages()1112 int halfScreenSize = getViewportWidth() / 2; in dispatchDraw()1308 return (x > (getViewportOffsetX() + getViewportWidth() - in hitsPreviousPage()1321 return (x > (getViewportOffsetX() + getViewportWidth() - in hitsNextPage()1478 final int halfScreenSize = getViewportWidth() / 2; in getScrollProgress()1530 int screenSize = getViewportWidth(); in dampedOverScroll()[all …]
1318 mLastOverlaySroll = Math.abs(amount / 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()