Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DZoomView.java234 public static RectF adjustToFitInBounds(RectF rect, int viewportWidth, int viewportHeight) { in adjustToFitInBounds() argument
237 if (newRect.width() < viewportWidth) { in adjustToFitInBounds()
238 dx = viewportWidth / 2 - (newRect.left + newRect.right) / 2; in adjustToFitInBounds()
242 } else if (newRect.right < viewportWidth) { in adjustToFitInBounds()
243 dx = viewportWidth - newRect.right; in adjustToFitInBounds()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHtmlConversationTemplates.java177 public void startConversation(int viewportWidth, int sideMargin, int conversationHeaderHeight) { in startConversation() argument
186 append(sConversationUpper, viewportWidth, border, sideMargin, conversationHeaderHeight); in startConversation()
191 int viewportWidth, int webviewWidth, boolean enableContentReadySignal, in endConversation() argument
205 showElided, docBaseUri, conversationBaseUri, viewportWidth, webviewWidth, in endConversation()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java549 void postScale(float focusX, float focusY, float postScale, int viewportWidth, in postScale() argument
559 updateTransform(transX, transY, scaleX, scaleY, viewportWidth, in postScale()
564 int viewportWidth, int viewportHeight) { in updateTransform() argument
570 viewportWidth, viewportHeight); in updateTransform()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1153 int viewportWidth = getViewportWidth(); in getVisiblePages() local
1162 if (mTmpIntPoint[0] > viewportWidth) { in getVisiblePages()