Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java298 int getViewportWidth() { in getViewportWidth() method in PagedView
308 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()
DWorkspace.java1457 mLastOverlayScroll = Math.abs(amount / getViewportWidth()); in overScroll()
1697 int screenCenter = getScrollX() + getViewportWidth() / 2; in updatePageAlphaValues()
1871 float visibleRight = visibleLeft + getViewportWidth(); in enableHwLayersOnVisiblePages()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationWebView.java215 public int getViewportWidth() { in getViewportWidth() method in ConversationWebView
241 scale = (float) getWidth() / getViewportWidth(); in getInitialScale()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationViewFragment.java748 mTemplates.startConversation(mWebView.getViewportWidth(), in renderMessageBodies()
843 mWebView.getViewportWidth(), mWebView.getWidthInDp(mSideMarginPx), in renderMessageBodies()