HomeSort by relevance Sort by last modified time
    Searched defs:cropBounds (Results 1 - 3 of 3) sorted by null

  /gdk/samples/PhotoEditor/src/com/android/photoeditor/actions/
CropAction.java 63 RectF cropBounds = new RectF(photoBounds);
64 cropBounds.inset(photoBounds.width() * DEFAULT_CROP, photoBounds.height() * DEFAULT_CROP);
65 cropView.setCropBounds(cropBounds);
67 filter.setCropBounds(mapPhotoBounds(cropBounds, photoBounds));
CropView.java 77 private RectF cropBounds;
117 listener.onCropChanged(cropBounds, fromUser);
123 cropBounds = bounds;
125 cropBounds.left = photoBounds.left;
126 cropBounds.right = photoBounds.right;
129 cropBounds.top = photoBounds.top;
130 cropBounds.bottom = photoBounds.bottom;
144 return cropBounds.contains(photoBounds);
149 area.set(cropBounds);
156 area.set(cropBounds.left - TOUCH_AREA_SPAN, cropBounds.top + TOUCH_AREA_SPAN
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
CropView.java 40 void onCropChanged(RectF cropBounds, boolean fromUser);
56 private final RectF cropBounds = new RectF(0, 0, 1, 1);
83 listener.onCropChanged(new RectF(cropBounds), fromUser);
99 cropBounds.set(bounds);
106 RectF cropped = new RectF(cropBounds.left * width, cropBounds.top * height,
107 cropBounds.right * width, cropBounds.bottom * height);
170 mapPhotoRect(cropped, cropBounds);

Completed in 22 milliseconds