Home
last modified time | relevance | path

Searched refs:CropExtras (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DWallpaper.java32 import com.android.gallery3d.filtershow.crop.CropExtras;
126 .putExtra(CropExtras.KEY_OUTPUT_X, width) in onResume()
127 .putExtra(CropExtras.KEY_OUTPUT_Y, height) in onResume()
128 .putExtra(CropExtras.KEY_ASPECT_X, width) in onResume()
129 .putExtra(CropExtras.KEY_ASPECT_Y, height) in onResume()
130 .putExtra(CropExtras.KEY_SPOTLIGHT_X, spotlightX) in onResume()
131 .putExtra(CropExtras.KEY_SPOTLIGHT_Y, spotlightY) in onResume()
132 .putExtra(CropExtras.KEY_SCALE, true) in onResume()
133 .putExtra(CropExtras.KEY_SCALE_UP_IF_NEEDED, true) in onResume()
134 .putExtra(CropExtras.KEY_SET_AS_WALLPAPER, true); in onResume()
DAlbumPage.java43 import com.android.gallery3d.filtershow.crop.CropExtras;
325 intent.putExtra(CropExtras.KEY_RETURN_DATA, true); in onGetContent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java63 private CropExtras mCropExtras = null;
434 mResultIntent.putExtra(CropExtras.KEY_CROPPED_RECT, rounded); in doInBackground()
458 mResultIntent.putExtra(CropExtras.KEY_DATA, ret); in doInBackground()
654 protected static CropExtras getExtrasFromIntent(Intent intent) { in getExtrasFromIntent()
657 return new CropExtras(extras.getInt(CropExtras.KEY_OUTPUT_X, 0), in getExtrasFromIntent()
658 extras.getInt(CropExtras.KEY_OUTPUT_Y, 0), in getExtrasFromIntent()
659 extras.getBoolean(CropExtras.KEY_SCALE, true) && in getExtrasFromIntent()
660 extras.getBoolean(CropExtras.KEY_SCALE_UP_IF_NEEDED, false), in getExtrasFromIntent()
661 extras.getInt(CropExtras.KEY_ASPECT_X, 0), in getExtrasFromIntent()
662 extras.getInt(CropExtras.KEY_ASPECT_Y, 0), in getExtrasFromIntent()
[all …]
DCropExtras.java21 public class CropExtras { class
51 public CropExtras(int outputX, int outputY, boolean scaleUp, int aspectX, int aspectY, in CropExtras() method in CropExtras
68 public CropExtras(CropExtras c) { in CropExtras() method in CropExtras
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetConfigure.java39 import com.android.gallery3d.filtershow.crop.CropExtras;
153 .putExtra(CropExtras.KEY_OUTPUT_X, widgetWidth) in setChoosenPhoto()
154 .putExtra(CropExtras.KEY_OUTPUT_Y, widgetHeight) in setChoosenPhoto()
155 .putExtra(CropExtras.KEY_ASPECT_X, widgetWidth) in setChoosenPhoto()
156 .putExtra(CropExtras.KEY_ASPECT_Y, widgetHeight) in setChoosenPhoto()
157 .putExtra(CropExtras.KEY_SCALE_UP_IF_NEEDED, true) in setChoosenPhoto()
158 .putExtra(CropExtras.KEY_SCALE, true) in setChoosenPhoto()
159 .putExtra(CropExtras.KEY_RETURN_DATA, true); in setChoosenPhoto()