Home
last modified time | relevance | path

Searched refs:viewportHeight (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
247 if (newRect.height() < viewportHeight) { in adjustToFitInBounds()
248 dy = viewportHeight / 2 - (newRect.top + newRect.bottom) / 2; in adjustToFitInBounds()
252 } else if (newRect.bottom < viewportHeight) { in adjustToFitInBounds()
253 dy = viewportHeight - newRect.bottom; in adjustToFitInBounds()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DBenefitsAnimation.java156 int viewportHeight = mActivity.findViewById(R.id.suc_layout_content).getHeight(); in adjustToScreenSize() local
157 if (contentHeight > viewportHeight) { in adjustToScreenSize()
158 int targetHeight = layoutParams.height - (contentHeight - viewportHeight); in adjustToScreenSize()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java544 int viewportHeight) { in postScale() argument
554 viewportHeight); in postScale()
558 int viewportWidth, int viewportHeight) { in updateTransform() argument
564 viewportWidth, viewportHeight); in updateTransform()