Home
last modified time | relevance | path

Searched refs:FilterCropRepresentation (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterCropRepresentation.java28 public class FilterCropRepresentation extends FilterRepresentation { class
33 private static final String TAG = FilterCropRepresentation.class.getSimpleName();
37 public FilterCropRepresentation(RectF crop) { in FilterCropRepresentation() method in FilterCropRepresentation
41 setFilterClass(FilterCropRepresentation.class); in FilterCropRepresentation()
49 public FilterCropRepresentation(FilterCropRepresentation m) { in FilterCropRepresentation() method in FilterCropRepresentation
54 public FilterCropRepresentation() { in FilterCropRepresentation() method in FilterCropRepresentation
58 public void set(FilterCropRepresentation r) { in set()
64 if (!(rep instanceof FilterCropRepresentation)) { in equals()
67 FilterCropRepresentation crop = (FilterCropRepresentation) rep; in equals()
121 return new FilterCropRepresentation(this); in copy()
[all …]
DBaseFiltersManager.java325 new FilterCropRepresentation(), in addTools()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java36 import com.android.gallery3d.filtershow.filters.FilterCropRepresentation;
62 FilterCropRepresentation mLocalRep = new FilterCropRepresentation();
88 public void setFilterCropRepresentation(FilterCropRepresentation crop) { in setFilterCropRepresentation()
89 mLocalRep = (crop == null) ? new FilterCropRepresentation() : crop; in setFilterCropRepresentation()
94 public FilterCropRepresentation getFinalRepresentation() { in getFinalRepresentation()
99 FilterCropRepresentation in internallyUpdateLocalRep()
242 FilterCropRepresentation.findScaledCrop(scaledCrop, width, height); in forceStateConsistency()
310 FilterCropRepresentation.findNormalizedCrop(mScreenCropBounds, (int) outer.width(), in onDraw()
312 FilterCropRepresentation.findScaledCrop(mScreenCropBounds, bitmap.getWidth(), in onDraw()
DGeometryMathUtils.java29 import com.android.gallery3d.filtershow.filters.FilterCropRepresentation;
51 public RectF crop = FilterCropRepresentation.getNil();
64 crop = FilterCropRepresentation.getNil(); in wipe()
71 crop.equals(FilterCropRepresentation.getNil()) && in isNil()
272 } else if (r.getSerializationName() == FilterCropRepresentation.SERIALIZATION_NAME) { in unpackGeometry()
273 ((FilterCropRepresentation) r).getCrop(out.crop); in unpackGeometry()
459 FilterCropRepresentation.findScaledCrop(r, bitmapWidth, bitmapHeight); in getTrueCropRect()
DImageStraighten.java34 import com.android.gallery3d.filtershow.filters.FilterCropRepresentation;
114 reps.add(new FilterCropRepresentation(mCrop)); in getFinalRepresentation()
237 FilterCropRepresentation.findNormalizedCrop(mCrop, imageWidth, imageHeight); in updateCurrentCrop()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorCrop.java32 import com.android.gallery3d.filtershow.filters.FilterCropRepresentation;
88 .getFilterWithSerializationName(FilterCropRepresentation.SERIALIZATION_NAME)); in reflectCurrentFilter()
91 if (rep == null || rep instanceof FilterCropRepresentation) { in reflectCurrentFilter()
92 mImageCrop.setFilterCropRepresentation((FilterCropRepresentation) rep); in reflectCurrentFilter()
95 + FilterCropRepresentation.class.getSimpleName()); in reflectCurrentFilter()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java30 import com.android.gallery3d.filtershow.filters.FilterCropRepresentation;
274 || a instanceof FilterCropRepresentation in equals()
721 } else if (FilterCropRepresentation.SERIALIZATION_NAME.equals(name)) { in creatFilterFromName()
722 return new FilterCropRepresentation(); in creatFilterFromName()