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.java355 int getViewportWidth() { in getViewportWidth() method in PagedView
365 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 …]
DWorkspace.java1318 mLastOverlaySroll = Math.abs(amount / getViewportWidth()); in overScroll()
/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()