Searched refs:viewportHeight (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ZoomView.java | 200 public static RectF adjustToFitInBounds(RectF rect, int viewportWidth, int viewportHeight) { argument 213 if (newRect.height() < viewportHeight) { 214 dy = viewportHeight / 2 - (newRect.top + newRect.bottom) / 2; 218 } else if (newRect.bottom < viewportHeight) { 219 dy = viewportHeight - newRect.bottom;
|
H A D | FilmStripView.java | 610 int viewportHeight) { 620 viewportHeight); 624 int viewportWidth, int viewportHeight) { 630 viewportWidth, viewportHeight); 609 postScale(float focusX, float focusY, float postScale, int viewportWidth, int viewportHeight) argument 623 updateTransform(float transX, float transY, float scaleX, float scaleY, int viewportWidth, int viewportHeight) argument
|
Completed in 155 milliseconds