Home
last modified time | relevance | path

Searched refs:viewportWidth (Results 1 – 3 of 3) 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.java543 void postScale(float focusX, float focusY, float postScale, int viewportWidth, in postScale() argument
553 updateTransform(transX, transY, scaleX, scaleY, viewportWidth, in postScale()
558 int viewportWidth, int viewportHeight) { in updateTransform() argument
564 viewportWidth, viewportHeight); in updateTransform()