HomeSort by relevance Sort by last modified time
    Searched refs:displayBounds (Results 1 - 4 of 4) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
CropView.java 104 float width = displayBounds.width();
105 float height = displayBounds.height();
108 cropped.offset(displayBounds.left, displayBounds.top);
147 deltaX = (deltaX > 0) ? Math.min(displayBounds.right - cropped.right, deltaX)
148 : Math.max(displayBounds.left - cropped.left, deltaX);
149 deltaY = (deltaY > 0) ? Math.min(displayBounds.bottom - cropped.bottom, deltaY)
150 : Math.max(displayBounds.top - cropped.top, deltaY);
154 float minWidth = MIN_CROP_WIDTH_HEIGHT * displayBounds.width() / getPhotoWidth();
155 float minHeight = MIN_CROP_WIDTH_HEIGHT * displayBounds.height() / getPhotoHeight()
    [all...]
RotateView.java 123 delta = displayBounds.width() / 4.0f;
124 for (float x = displayBounds.left + delta; x < displayBounds.right; x += delta) {
125 grids.moveTo(x, displayBounds.top);
126 grids.lineTo(x, displayBounds.bottom);
128 delta = displayBounds.height() / 4.0f;
129 for (float y = displayBounds.top + delta; y < displayBounds.bottom; y += delta) {
130 grids.moveTo(displayBounds.left, y);
131 grids.lineTo(displayBounds.right, y)
    [all...]
FullscreenToolView.java 32 protected final RectF displayBounds = new RectF();
51 displayBounds.setEmpty();
60 matrix.mapRect(displayBounds, photoBounds);
DoodleView.java 80 displayMatrix.setRectToRect(r, displayBounds, Matrix.ScaleToFit.FILL);
163 canvas.clipRect(displayBounds);

Completed in 39 milliseconds