Skip navigation links
A B C D E F G H I M N O P R S T U W Z 

A

ALL - Static variable in class com.yalantis.ucrop.UCropActivity
 
AspectRatio - Class in com.yalantis.ucrop.model
Created by Oleksii Shliama [https://github.com/shliama] on 6/24/16.
AspectRatio(String, float, float) - Constructor for class com.yalantis.ucrop.model.AspectRatio
 
AspectRatio(Parcel) - Constructor for class com.yalantis.ucrop.model.AspectRatio
 
AspectRatioTextView - Class in com.yalantis.ucrop.view.widget
Created by Oleksii Shliama (https://github.com/shliama).
AspectRatioTextView(Context) - Constructor for class com.yalantis.ucrop.view.widget.AspectRatioTextView
 
AspectRatioTextView(Context, AttributeSet) - Constructor for class com.yalantis.ucrop.view.widget.AspectRatioTextView
 
AspectRatioTextView(Context, AttributeSet, int) - Constructor for class com.yalantis.ucrop.view.widget.AspectRatioTextView
 
AspectRatioTextView(Context, AttributeSet, int, int) - Constructor for class com.yalantis.ucrop.view.widget.AspectRatioTextView
 

B

BitmapCropCallback - Interface in com.yalantis.ucrop.callback
 
BitmapCropTask - Class in com.yalantis.ucrop.task
Crops part of image that fills the crop bounds.
BitmapCropTask(Bitmap, ImageState, CropParameters, BitmapCropCallback) - Constructor for class com.yalantis.ucrop.task.BitmapCropTask
 
BitmapLoadCallback - Interface in com.yalantis.ucrop.callback
 
BitmapLoadTask - Class in com.yalantis.ucrop.task
Creates and returns a Bitmap for a given Uri(String url).
BitmapLoadTask(Context, Uri, Uri, int, int, BitmapLoadCallback) - Constructor for class com.yalantis.ucrop.task.BitmapLoadTask
 
BitmapLoadTask.BitmapWorkerResult - Class in com.yalantis.ucrop.task
 
BitmapLoadUtils - Class in com.yalantis.ucrop.util
Created by Oleksii Shliama (https://github.com/shliama).
BitmapLoadUtils() - Constructor for class com.yalantis.ucrop.util.BitmapLoadUtils
 
BitmapWorkerResult(Bitmap, ExifInfo) - Constructor for class com.yalantis.ucrop.task.BitmapLoadTask.BitmapWorkerResult
 
BitmapWorkerResult(Exception) - Constructor for class com.yalantis.ucrop.task.BitmapLoadTask.BitmapWorkerResult
 

C

calculateInSampleSize(BitmapFactory.Options, int, int) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
 
calculateMaxBitmapSize(Context) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
This method calculates maximum size of both width and height of bitmap.
cancelAllAnimations() - Method in class com.yalantis.ucrop.view.CropImageView
This method cancels all current Runnable objects that represent animations.
close(Closeable) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
 
com.yalantis.ucrop - package com.yalantis.ucrop
 
com.yalantis.ucrop.callback - package com.yalantis.ucrop.callback
 
com.yalantis.ucrop.model - package com.yalantis.ucrop.model
 
com.yalantis.ucrop.task - package com.yalantis.ucrop.task
 
com.yalantis.ucrop.util - package com.yalantis.ucrop.util
 
com.yalantis.ucrop.view - package com.yalantis.ucrop.view
 
com.yalantis.ucrop.view.widget - package com.yalantis.ucrop.view.widget
 
copyExif(ExifInterface, int, int, String) - Static method in class com.yalantis.ucrop.util.ImageHeaderParser
 
copyFile(String, String) - Static method in class com.yalantis.ucrop.util.FileUtils
Copies one file into the other with the given paths.
CREATOR - Static variable in class com.yalantis.ucrop.model.AspectRatio
 
cropAndSaveImage() - Method in class com.yalantis.ucrop.UCropActivity
 
cropAndSaveImage(Bitmap.CompressFormat, int, BitmapCropCallback) - Method in class com.yalantis.ucrop.view.CropImageView
Cancels all current animations and sets image to fill crop area (without animation).
CropBoundsChangeListener - Interface in com.yalantis.ucrop.callback
Interface for crop bound change notifying.
cropCImg(String, String, int, int, int, int, float, float, int, int, int, int) - Static method in class com.yalantis.ucrop.task.BitmapCropTask
 
CropImageView - Class in com.yalantis.ucrop.view
Created by Oleksii Shliama (https://github.com/shliama).
CropImageView(Context) - Constructor for class com.yalantis.ucrop.view.CropImageView
 
CropImageView(Context, AttributeSet) - Constructor for class com.yalantis.ucrop.view.CropImageView
 
CropImageView(Context, AttributeSet, int) - Constructor for class com.yalantis.ucrop.view.CropImageView
 
CropParameters - Class in com.yalantis.ucrop.model
Created by Oleksii Shliama [https://github.com/shliama] on 6/21/16.
CropParameters(int, int, Bitmap.CompressFormat, int, String, String, ExifInfo) - Constructor for class com.yalantis.ucrop.model.CropParameters
 
CubicEasing - Class in com.yalantis.ucrop.util
 
CubicEasing() - Constructor for class com.yalantis.ucrop.util.CubicEasing
 

D

decodeBitmapInBackground(Context, Uri, Uri, int, int, BitmapLoadCallback) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
 
DEFAULT_ASPECT_RATIO - Static variable in class com.yalantis.ucrop.view.CropImageView
 
DEFAULT_CIRCLE_DIMMED_LAYER - Static variable in class com.yalantis.ucrop.view.OverlayView
 
DEFAULT_COMPRESS_FORMAT - Static variable in class com.yalantis.ucrop.UCropActivity
 
DEFAULT_COMPRESS_QUALITY - Static variable in class com.yalantis.ucrop.UCropActivity
 
DEFAULT_CROP_GRID_COLUMN_COUNT - Static variable in class com.yalantis.ucrop.view.OverlayView
 
DEFAULT_CROP_GRID_ROW_COUNT - Static variable in class com.yalantis.ucrop.view.OverlayView
 
DEFAULT_FREESTYLE_CROP_MODE - Static variable in class com.yalantis.ucrop.view.OverlayView
 
DEFAULT_IMAGE_TO_CROP_BOUNDS_ANIM_DURATION - Static variable in class com.yalantis.ucrop.view.CropImageView
 
DEFAULT_MAX_BITMAP_SIZE - Static variable in class com.yalantis.ucrop.view.CropImageView
 
DEFAULT_MAX_SCALE_MULTIPLIER - Static variable in class com.yalantis.ucrop.view.CropImageView
 
DEFAULT_SHOW_CROP_FRAME - Static variable in class com.yalantis.ucrop.view.OverlayView
 
DEFAULT_SHOW_CROP_GRID - Static variable in class com.yalantis.ucrop.view.OverlayView
 
describeContents() - Method in class com.yalantis.ucrop.model.AspectRatio
 
doInBackground(Void...) - Method in class com.yalantis.ucrop.task.BitmapCropTask
 
doInBackground(Void...) - Method in class com.yalantis.ucrop.task.BitmapLoadTask
 
draw(Canvas) - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
drawCropGrid(Canvas) - Method in class com.yalantis.ucrop.view.OverlayView
This method draws crop bounds (empty rectangle) and crop guidelines (vertical and horizontal lines inside the crop bounds) if needed.
drawDimmedLayer(Canvas) - Method in class com.yalantis.ucrop.view.OverlayView
This method draws dimmed area around the crop bounds.

E

easeIn(float, float, float, float) - Static method in class com.yalantis.ucrop.util.CubicEasing
 
easeInOut(float, float, float, float) - Static method in class com.yalantis.ucrop.util.CubicEasing
 
easeOut(float, float, float, float) - Static method in class com.yalantis.ucrop.util.CubicEasing
 
EglUtils - Class in com.yalantis.ucrop.util
Created by Oleksii Shliama [https://github.com/shliama] on 9/8/16.
equals(Object) - Method in class com.yalantis.ucrop.model.ExifInfo
 
ExifInfo - Class in com.yalantis.ucrop.model
Created by Oleksii Shliama [https://github.com/shliama] on 6/21/16.
ExifInfo(int, int, int) - Constructor for class com.yalantis.ucrop.model.ExifInfo
 
exifToDegrees(int) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
 
exifToTranslation(int) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
 
EXTRA_ALLOWED_GESTURES - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_ASPECT_RATIO_OPTIONS - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_ASPECT_RATIO_SELECTED_BY_DEFAULT - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_ASPECT_RATIO_X - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_ASPECT_RATIO_Y - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_CIRCLE_DIMMED_LAYER - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_COMPRESSION_FORMAT_NAME - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_COMPRESSION_QUALITY - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_CROP_FRAME_COLOR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_CROP_FRAME_STROKE_WIDTH - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_CROP_GRID_COLOR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_CROP_GRID_COLUMN_COUNT - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_CROP_GRID_ROW_COUNT - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_CROP_GRID_STROKE_WIDTH - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_DIMMED_LAYER_COLOR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_ERROR - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_FREE_STYLE_CROP - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_HIDE_BOTTOM_CONTROLS - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_IMAGE_TO_CROP_BOUNDS_ANIM_DURATION - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_INPUT_URI - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_MAX_BITMAP_SIZE - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_MAX_SCALE_MULTIPLIER - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_MAX_SIZE_X - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_MAX_SIZE_Y - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_OUTPUT_CROP_ASPECT_RATIO - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_OUTPUT_IMAGE_HEIGHT - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_OUTPUT_IMAGE_WIDTH - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_OUTPUT_OFFSET_X - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_OUTPUT_OFFSET_Y - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_OUTPUT_URI - Static variable in class com.yalantis.ucrop.UCrop
 
EXTRA_SHOW_CROP_FRAME - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_SHOW_CROP_GRID - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_STATUS_BAR_COLOR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_TOOL_BAR_COLOR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_UCROP_COLOR_WIDGET_ACTIVE - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_UCROP_LOGO_COLOR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_UCROP_ROOT_VIEW_BACKGROUND_COLOR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_UCROP_TITLE_TEXT_TOOLBAR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_UCROP_WIDGET_CANCEL_DRAWABLE - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_UCROP_WIDGET_COLOR_TOOLBAR - Static variable in class com.yalantis.ucrop.UCrop.Options
 
EXTRA_UCROP_WIDGET_CROP_DRAWABLE - Static variable in class com.yalantis.ucrop.UCrop.Options
 

F

FastBitmapDrawable - Class in com.yalantis.ucrop.util
 
FastBitmapDrawable(Bitmap) - Constructor for class com.yalantis.ucrop.util.FastBitmapDrawable
 
FileUtils - Class in com.yalantis.ucrop.util
 
FREESTYLE_CROP_MODE_DISABLE - Static variable in class com.yalantis.ucrop.view.OverlayView
 
FREESTYLE_CROP_MODE_ENABLE - Static variable in class com.yalantis.ucrop.view.OverlayView
 
FREESTYLE_CROP_MODE_ENABLE_WITH_PASS_THROUGH - Static variable in class com.yalantis.ucrop.view.OverlayView
 

G

GestureCropImageView - Class in com.yalantis.ucrop.view
Created by Oleksii Shliama (https://github.com/shliama).
GestureCropImageView(Context) - Constructor for class com.yalantis.ucrop.view.GestureCropImageView
 
GestureCropImageView(Context, AttributeSet) - Constructor for class com.yalantis.ucrop.view.GestureCropImageView
 
GestureCropImageView(Context, AttributeSet, int) - Constructor for class com.yalantis.ucrop.view.GestureCropImageView
 
getAlpha() - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
getAngle() - Method in class com.yalantis.ucrop.util.RotationGestureDetector
 
getAspectRatio(boolean) - Method in class com.yalantis.ucrop.view.widget.AspectRatioTextView
 
getAspectRatioTitle() - Method in class com.yalantis.ucrop.model.AspectRatio
 
getAspectRatioX() - Method in class com.yalantis.ucrop.model.AspectRatio
 
getAspectRatioY() - Method in class com.yalantis.ucrop.model.AspectRatio
 
getBitmap() - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
getCenterFromRect(RectF) - Static method in class com.yalantis.ucrop.util.RectUtils
 
getCompressFormat() - Method in class com.yalantis.ucrop.model.CropParameters
 
getCompressQuality() - Method in class com.yalantis.ucrop.model.CropParameters
 
getCornersFromRect(RectF) - Static method in class com.yalantis.ucrop.util.RectUtils
Gets a float array of the 2D coordinates representing a rectangles corners.
getCropBoundsChangeListener() - Method in class com.yalantis.ucrop.view.CropImageView
 
getCropImageView() - Method in class com.yalantis.ucrop.view.UCropView
 
getCropRect() - Method in class com.yalantis.ucrop.model.ImageState
 
getCropViewRect() - Method in class com.yalantis.ucrop.view.OverlayView
 
getCurrentAngle() - Method in class com.yalantis.ucrop.model.ImageState
 
getCurrentAngle() - Method in class com.yalantis.ucrop.view.TransformImageView
 
getCurrentImageRect() - Method in class com.yalantis.ucrop.model.ImageState
 
getCurrentScale() - Method in class com.yalantis.ucrop.model.ImageState
 
getCurrentScale() - Method in class com.yalantis.ucrop.view.TransformImageView
 
getDataColumn(Context, Uri, String, String[]) - Static method in class com.yalantis.ucrop.util.FileUtils
Get the value of the data column for this Uri.
getDoubleTapScaleSteps() - Method in class com.yalantis.ucrop.view.GestureCropImageView
 
getDoubleTapTargetScale() - Method in class com.yalantis.ucrop.view.GestureCropImageView
This method calculates target scale value for double tap gesture.
getError(Intent) - Static method in class com.yalantis.ucrop.UCrop
Method retrieves error from the result intent.
getExifDegrees() - Method in class com.yalantis.ucrop.model.ExifInfo
 
getExifInfo() - Method in class com.yalantis.ucrop.model.CropParameters
 
getExifInfo() - Method in class com.yalantis.ucrop.view.TransformImageView
 
getExifOrientation() - Method in class com.yalantis.ucrop.model.ExifInfo
 
getExifOrientation(Context, Uri) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
 
getExifTranslation() - Method in class com.yalantis.ucrop.model.ExifInfo
 
getFreestyleCropMode() - Method in class com.yalantis.ucrop.view.OverlayView
 
getImageInputPath() - Method in class com.yalantis.ucrop.model.CropParameters
 
getImageInputPath() - Method in class com.yalantis.ucrop.view.TransformImageView
 
getImageOutputPath() - Method in class com.yalantis.ucrop.model.CropParameters
 
getImageOutputPath() - Method in class com.yalantis.ucrop.view.TransformImageView
 
getIntent(Context) - Method in class com.yalantis.ucrop.UCrop
Get Intent to start UCropActivity
getIntrinsicHeight() - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
getIntrinsicWidth() - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
getMatrixAngle(Matrix) - Method in class com.yalantis.ucrop.view.TransformImageView
This method calculates rotation angle for given Matrix object.
getMatrixScale(Matrix) - Method in class com.yalantis.ucrop.view.TransformImageView
This method calculates scale value for given Matrix object.
getMatrixValue(Matrix, int) - Method in class com.yalantis.ucrop.view.TransformImageView
This method returns Matrix value for given index.
getMaxBitmapSize() - Method in class com.yalantis.ucrop.view.TransformImageView
 
getMaxResultImageSizeX() - Method in class com.yalantis.ucrop.model.CropParameters
 
getMaxResultImageSizeY() - Method in class com.yalantis.ucrop.model.CropParameters
 
getMaxScale() - Method in class com.yalantis.ucrop.view.CropImageView
 
getMaxTextureSize() - Static method in class com.yalantis.ucrop.util.EglUtils
 
getMinimumHeight() - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
getMinimumWidth() - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
getMinScale() - Method in class com.yalantis.ucrop.view.CropImageView
 
getOpacity() - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
getOptionBundle() - Method in class com.yalantis.ucrop.UCrop.Options
 
getOrientation() - Method in class com.yalantis.ucrop.util.ImageHeaderParser
Parse the orientation from the image header.
getOutput(Intent) - Static method in class com.yalantis.ucrop.UCrop
Retrieve cropped image Uri from the result Intent
getOutputCropAspectRatio(Intent) - Static method in class com.yalantis.ucrop.UCrop
Retrieve cropped image aspect ratio from the result Intent
getOutputImageHeight(Intent) - Static method in class com.yalantis.ucrop.UCrop
Retrieve the height of the cropped image
getOutputImageWidth(Intent) - Static method in class com.yalantis.ucrop.UCrop
Retrieve the width of the cropped image
getOverlayView() - Method in class com.yalantis.ucrop.view.UCropView
 
getOverlayViewChangeListener() - Method in class com.yalantis.ucrop.view.OverlayView
 
getPath(Context, Uri) - Static method in class com.yalantis.ucrop.util.FileUtils
Get a file path from a Uri.
getRectSidesFromCorners(float[]) - Static method in class com.yalantis.ucrop.util.RectUtils
Gets a float array of two lengths representing a rectangles width and height The order of the corners in the input float array is: 0------->1 ^ | | | | v 3<-------2
getTargetAspectRatio() - Method in class com.yalantis.ucrop.view.CropImageView
 
getViewBitmap() - Method in class com.yalantis.ucrop.view.TransformImageView
 

H

hashCode() - Method in class com.yalantis.ucrop.model.ExifInfo
 
HorizontalProgressWheelView - Class in com.yalantis.ucrop.view.widget
Created by Oleksii Shliama (https://github.com/shliama).
HorizontalProgressWheelView(Context) - Constructor for class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
HorizontalProgressWheelView(Context, AttributeSet) - Constructor for class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
HorizontalProgressWheelView(Context, AttributeSet, int) - Constructor for class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
HorizontalProgressWheelView(Context, AttributeSet, int, int) - Constructor for class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
HorizontalProgressWheelView.ScrollingListener - Interface in com.yalantis.ucrop.view.widget
 

I

ImageHeaderParser - Class in com.yalantis.ucrop.util
A class for parsing the exif orientation from an image header.
ImageHeaderParser(InputStream) - Constructor for class com.yalantis.ucrop.util.ImageHeaderParser
 
ImageState - Class in com.yalantis.ucrop.model
Created by Oleksii Shliama [https://github.com/shliama] on 6/21/16.
ImageState(RectF, RectF, float, float) - Constructor for class com.yalantis.ucrop.model.ImageState
 
init() - Method in class com.yalantis.ucrop.view.GestureCropImageView
 
init() - Method in class com.yalantis.ucrop.view.OverlayView
 
init() - Method in class com.yalantis.ucrop.view.TransformImageView
 
isDownloadsDocument(Uri) - Static method in class com.yalantis.ucrop.util.FileUtils
 
isExternalStorageDocument(Uri) - Static method in class com.yalantis.ucrop.util.FileUtils
 
isFreestyleCropEnabled() - Method in class com.yalantis.ucrop.view.OverlayView
Deprecated.
isGooglePhotosUri(Uri) - Static method in class com.yalantis.ucrop.util.FileUtils
 
isImageWrapCropBounds() - Method in class com.yalantis.ucrop.view.CropImageView
This method checks whether current image fills the crop bounds.
isImageWrapCropBounds(float[]) - Method in class com.yalantis.ucrop.view.CropImageView
This methods checks whether a rectangle that is represented as 4 corner points (8 floats) fills the crop bounds rectangle.
isMediaDocument(Uri) - Static method in class com.yalantis.ucrop.util.FileUtils
 
isRotateEnabled() - Method in class com.yalantis.ucrop.view.GestureCropImageView
 
isScaleEnabled() - Method in class com.yalantis.ucrop.view.GestureCropImageView
 
isStateful() - Method in class com.yalantis.ucrop.util.SelectedStateListDrawable
 

M

mBitmapDecoded - Variable in class com.yalantis.ucrop.view.TransformImageView
 
mBitmapLaidOut - Variable in class com.yalantis.ucrop.view.TransformImageView
 
mCropGridCenter - Variable in class com.yalantis.ucrop.view.OverlayView
 
mCropGridCorners - Variable in class com.yalantis.ucrop.view.OverlayView
 
mCurrentImageCenter - Variable in class com.yalantis.ucrop.view.TransformImageView
 
mCurrentImageCorners - Variable in class com.yalantis.ucrop.view.TransformImageView
 
mCurrentImageMatrix - Variable in class com.yalantis.ucrop.view.TransformImageView
 
mThisHeight - Variable in class com.yalantis.ucrop.view.OverlayView
 
mThisHeight - Variable in class com.yalantis.ucrop.view.TransformImageView
 
mThisWidth - Variable in class com.yalantis.ucrop.view.OverlayView
 
mThisWidth - Variable in class com.yalantis.ucrop.view.TransformImageView
 
mTransformImageListener - Variable in class com.yalantis.ucrop.view.TransformImageView
 

N

NONE - Static variable in class com.yalantis.ucrop.UCropActivity
 

O

of(Uri, Uri) - Static method in class com.yalantis.ucrop.UCrop
This method creates new Intent builder and sets both source and destination image URIs.
onBitmapCropped(Uri, int, int, int, int) - Method in interface com.yalantis.ucrop.callback.BitmapCropCallback
 
onBitmapLoaded(Bitmap, ExifInfo, String, String) - Method in interface com.yalantis.ucrop.callback.BitmapLoadCallback
 
onCreate(Bundle) - Method in class com.yalantis.ucrop.UCropActivity
 
onCreateOptionsMenu(Menu) - Method in class com.yalantis.ucrop.UCropActivity
 
onCropAspectRatioChanged(float) - Method in interface com.yalantis.ucrop.callback.CropBoundsChangeListener
 
onCropFailure(Throwable) - Method in interface com.yalantis.ucrop.callback.BitmapCropCallback
 
onCropRectUpdated(RectF) - Method in interface com.yalantis.ucrop.callback.OverlayViewChangeListener
 
onDraw(Canvas) - Method in class com.yalantis.ucrop.view.OverlayView
Along with image there are dimmed layer, crop bounds and crop guidelines that must be drawn.
onDraw(Canvas) - Method in class com.yalantis.ucrop.view.widget.AspectRatioTextView
 
onDraw(Canvas) - Method in class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
onFailure(Exception) - Method in interface com.yalantis.ucrop.callback.BitmapLoadCallback
 
onImageLaidOut() - Method in class com.yalantis.ucrop.view.CropImageView
When image is laid out it must be centered properly to fit current crop bounds.
onImageLaidOut() - Method in class com.yalantis.ucrop.view.TransformImageView
onLayout(boolean, int, int, int, int) - Method in class com.yalantis.ucrop.view.OverlayView
 
onLayout(boolean, int, int, int, int) - Method in class com.yalantis.ucrop.view.TransformImageView
 
onLoadComplete() - Method in interface com.yalantis.ucrop.view.TransformImageView.TransformImageListener
 
onLoadFailure(Exception) - Method in interface com.yalantis.ucrop.view.TransformImageView.TransformImageListener
 
onOptionsItemSelected(MenuItem) - Method in class com.yalantis.ucrop.UCropActivity
 
onPostExecute(Throwable) - Method in class com.yalantis.ucrop.task.BitmapCropTask
 
onPostExecute(BitmapLoadTask.BitmapWorkerResult) - Method in class com.yalantis.ucrop.task.BitmapLoadTask
 
onPrepareOptionsMenu(Menu) - Method in class com.yalantis.ucrop.UCropActivity
 
onRotate(float) - Method in interface com.yalantis.ucrop.view.TransformImageView.TransformImageListener
 
onRotation(RotationGestureDetector) - Method in interface com.yalantis.ucrop.util.RotationGestureDetector.OnRotationGestureListener
 
onRotation(RotationGestureDetector) - Method in class com.yalantis.ucrop.util.RotationGestureDetector.SimpleOnRotationGestureListener
 
onScale(float) - Method in interface com.yalantis.ucrop.view.TransformImageView.TransformImageListener
 
onScroll(float, float) - Method in interface com.yalantis.ucrop.view.widget.HorizontalProgressWheelView.ScrollingListener
 
onScrollEnd() - Method in interface com.yalantis.ucrop.view.widget.HorizontalProgressWheelView.ScrollingListener
 
onScrollStart() - Method in interface com.yalantis.ucrop.view.widget.HorizontalProgressWheelView.ScrollingListener
 
onStateChange(int[]) - Method in class com.yalantis.ucrop.util.SelectedStateListDrawable
 
onStop() - Method in class com.yalantis.ucrop.UCropActivity
 
onTouchEvent(MotionEvent) - Method in class com.yalantis.ucrop.util.RotationGestureDetector
 
onTouchEvent(MotionEvent) - Method in class com.yalantis.ucrop.view.GestureCropImageView
If it's ACTION_DOWN event - user touches the screen and all current animation must be canceled.
onTouchEvent(MotionEvent) - Method in class com.yalantis.ucrop.view.OverlayView
 
onTouchEvent(MotionEvent) - Method in class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
Options() - Constructor for class com.yalantis.ucrop.UCrop.Options
 
OverlayView - Class in com.yalantis.ucrop.view
Created by Oleksii Shliama (https://github.com/shliama).
OverlayView(Context) - Constructor for class com.yalantis.ucrop.view.OverlayView
 
OverlayView(Context, AttributeSet) - Constructor for class com.yalantis.ucrop.view.OverlayView
 
OverlayView(Context, AttributeSet, int) - Constructor for class com.yalantis.ucrop.view.OverlayView
 
OverlayView.FreestyleMode - Annotation Type in com.yalantis.ucrop.view
 
OverlayViewChangeListener - Interface in com.yalantis.ucrop.callback
Created by Oleksii Shliama.

P

postRotate(float) - Method in class com.yalantis.ucrop.view.CropImageView
This method rotates image for given angle related to the image center.
postRotate(float, float, float) - Method in class com.yalantis.ucrop.view.TransformImageView
This method rotates current image.
postScale(float, float, float) - Method in class com.yalantis.ucrop.view.CropImageView
This method changes image scale for given value related to point (px, py) but only if resulting scale is in min/max bounds.
postScale(float, float, float) - Method in class com.yalantis.ucrop.view.TransformImageView
This method scales current image.
postTranslate(float, float) - Method in class com.yalantis.ucrop.view.TransformImageView
This method translates current image.
printMatrix(String, Matrix) - Method in class com.yalantis.ucrop.view.TransformImageView
This method logs given matrix X, Y, scale, and angle values.
processStyledAttributes(TypedArray) - Method in class com.yalantis.ucrop.view.CropImageView
This method extracts all needed values from the styled attributes.
processStyledAttributes(TypedArray) - Method in class com.yalantis.ucrop.view.OverlayView
This method extracts all needed values from the styled attributes.

R

RectUtils - Class in com.yalantis.ucrop.util
 
RectUtils() - Constructor for class com.yalantis.ucrop.util.RectUtils
 
REQUEST_CROP - Static variable in class com.yalantis.ucrop.UCrop
 
resetCropImageView() - Method in class com.yalantis.ucrop.view.UCropView
Method for reset state for UCropImageView such as rotation, scale, translation.
RESULT_ERROR - Static variable in class com.yalantis.ucrop.UCrop
 
ROTATE - Static variable in class com.yalantis.ucrop.UCropActivity
 
RotationGestureDetector - Class in com.yalantis.ucrop.util
 
RotationGestureDetector(RotationGestureDetector.OnRotationGestureListener) - Constructor for class com.yalantis.ucrop.util.RotationGestureDetector
 
RotationGestureDetector.OnRotationGestureListener - Interface in com.yalantis.ucrop.util
 
RotationGestureDetector.SimpleOnRotationGestureListener - Class in com.yalantis.ucrop.util
 

S

SCALE - Static variable in class com.yalantis.ucrop.UCropActivity
 
SelectedStateListDrawable - Class in com.yalantis.ucrop.util
Hack class to properly support state drawable back to Android 1.6
SelectedStateListDrawable(Drawable, int) - Constructor for class com.yalantis.ucrop.util.SelectedStateListDrawable
 
setActiveColor(int) - Method in class com.yalantis.ucrop.view.widget.AspectRatioTextView
 
setActiveWidgetColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setAllowedGestures(int, int, int) - Method in class com.yalantis.ucrop.UCrop.Options
Choose what set of gestures will be enabled on each tab - if any.
setAlpha(int) - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
setAspectRatio(AspectRatio) - Method in class com.yalantis.ucrop.view.widget.AspectRatioTextView
 
setAspectRatioOptions(int, AspectRatio...) - Method in class com.yalantis.ucrop.UCrop.Options
Pass an ordered list of desired aspect ratios that should be available for a user.
setBitmap(Bitmap) - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
setCircleDimmedLayer(boolean) - Method in class com.yalantis.ucrop.UCrop.Options
 
setCircleDimmedLayer(boolean) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for OverlayView.mCircleDimmedLayer variable.
setColorFilter(ColorFilter) - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
setCompressionFormat(Bitmap.CompressFormat) - Method in class com.yalantis.ucrop.UCrop.Options
Set one of Bitmap.CompressFormat that will be used to save resulting Bitmap.
setCompressionQuality(int) - Method in class com.yalantis.ucrop.UCrop.Options
Set compression quality [0-100] that will be used to save resulting Bitmap.
setCropBoundsChangeListener(CropBoundsChangeListener) - Method in class com.yalantis.ucrop.view.CropImageView
 
setCropFrameColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setCropFrameColor(int) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for crop frame color
setCropFrameStrokeWidth(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setCropFrameStrokeWidth(int) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for crop frame stroke width
setCropGridColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setCropGridColor(int) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for crop grid color
setCropGridColumnCount(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setCropGridColumnCount(int) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for crop grid columns count.
setCropGridRowCount(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setCropGridRowCount(int) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for crop grid rows count.
setCropGridStrokeWidth(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setCropGridStrokeWidth(int) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for crop grid stroke width
setCropRect(RectF) - Method in class com.yalantis.ucrop.view.CropImageView
Updates current crop rectangle with given.
setDimmedColor(int) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for OverlayView.mDimmedColor variable.
setDimmedLayerColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setDoubleTapScaleSteps(int) - Method in class com.yalantis.ucrop.view.GestureCropImageView
 
setExifDegrees(int) - Method in class com.yalantis.ucrop.model.ExifInfo
 
setExifOrientation(int) - Method in class com.yalantis.ucrop.model.ExifInfo
 
setExifTranslation(int) - Method in class com.yalantis.ucrop.model.ExifInfo
 
setFilterBitmap(boolean) - Method in class com.yalantis.ucrop.util.FastBitmapDrawable
 
setFreeStyleCropEnabled(boolean) - Method in class com.yalantis.ucrop.UCrop.Options
 
setFreestyleCropEnabled(boolean) - Method in class com.yalantis.ucrop.view.OverlayView
Deprecated.
setFreestyleCropMode(int) - Method in class com.yalantis.ucrop.view.OverlayView
 
setHideBottomControls(boolean) - Method in class com.yalantis.ucrop.UCrop.Options
 
setImageBitmap(Bitmap) - Method in class com.yalantis.ucrop.view.TransformImageView
 
setImageMatrix(Matrix) - Method in class com.yalantis.ucrop.view.TransformImageView
 
setImageToCropBoundsAnimDuration(int) - Method in class com.yalantis.ucrop.UCrop.Options
This method sets animation duration for image to wrap the crop bounds
setImageToWrapCropBounds() - Method in class com.yalantis.ucrop.view.CropImageView
 
setImageToWrapCropBounds(boolean) - Method in class com.yalantis.ucrop.view.CropImageView
If image doesn't fill the crop bounds it must be translated and scaled properly to fill those.
setImageToWrapCropBoundsAnimDuration(long) - Method in class com.yalantis.ucrop.view.CropImageView
This method sets animation duration for image to wrap the crop bounds
setImageUri(Uri, Uri) - Method in class com.yalantis.ucrop.view.TransformImageView
This method takes an Uri as a parameter, then calls method to decode it into Bitmap with specified size.
setLogoColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setMaxBitmapSize(int) - Method in class com.yalantis.ucrop.UCrop.Options
Setter for max size for both width and height of bitmap that will be decoded from an input Uri and used in the view.
setMaxBitmapSize(int) - Method in class com.yalantis.ucrop.view.TransformImageView
setMaxResultImageSizeX(int) - Method in class com.yalantis.ucrop.view.CropImageView
This method sets maximum width for resulting cropped image
setMaxResultImageSizeY(int) - Method in class com.yalantis.ucrop.view.CropImageView
This method sets maximum width for resulting cropped image
setMaxScaleMultiplier(float) - Method in class com.yalantis.ucrop.UCrop.Options
This method sets multiplier that is used to calculate max image scale from min image scale.
setMaxScaleMultiplier(float) - Method in class com.yalantis.ucrop.view.CropImageView
This method sets multiplier that is used to calculate max image scale from min image scale.
setMiddleLineColor(int) - Method in class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
setOverlayViewChangeListener(OverlayViewChangeListener) - Method in class com.yalantis.ucrop.view.OverlayView
 
setResultError(Throwable) - Method in class com.yalantis.ucrop.UCropActivity
 
setResultUri(Uri, float, int, int, int, int) - Method in class com.yalantis.ucrop.UCropActivity
 
setRootViewBackgroundColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setRotateEnabled(boolean) - Method in class com.yalantis.ucrop.view.GestureCropImageView
 
setScaleEnabled(boolean) - Method in class com.yalantis.ucrop.view.GestureCropImageView
 
setScaleType(ImageView.ScaleType) - Method in class com.yalantis.ucrop.view.TransformImageView
 
setScrollingListener(HorizontalProgressWheelView.ScrollingListener) - Method in class com.yalantis.ucrop.view.widget.HorizontalProgressWheelView
 
setShowCropFrame(boolean) - Method in class com.yalantis.ucrop.UCrop.Options
 
setShowCropFrame(boolean) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for OverlayView.mShowCropFrame variable.
setShowCropGrid(boolean) - Method in class com.yalantis.ucrop.UCrop.Options
 
setShowCropGrid(boolean) - Method in class com.yalantis.ucrop.view.OverlayView
Setter for OverlayView.mShowCropGrid variable.
setStatusBarColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setTargetAspectRatio(float) - Method in class com.yalantis.ucrop.view.CropImageView
This method sets aspect ratio for crop bounds.
setTargetAspectRatio(float) - Method in class com.yalantis.ucrop.view.OverlayView
This method sets aspect ratio for crop bounds.
setToolbarCancelDrawable(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setToolbarColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setToolbarCropDrawable(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setToolbarTitle(String) - Method in class com.yalantis.ucrop.UCrop.Options
 
setToolbarWidgetColor(int) - Method in class com.yalantis.ucrop.UCrop.Options
 
setTransformImageListener(TransformImageView.TransformImageListener) - Method in class com.yalantis.ucrop.view.TransformImageView
 
setupCropBounds() - Method in class com.yalantis.ucrop.view.OverlayView
This method setups crop bounds rectangles for given aspect ratio and view size.
shouldDelayChildPressedState() - Method in class com.yalantis.ucrop.view.UCropView
 
SimpleOnRotationGestureListener() - Constructor for class com.yalantis.ucrop.util.RotationGestureDetector.SimpleOnRotationGestureListener
 
SOURCE_IMAGE_ASPECT_RATIO - Static variable in class com.yalantis.ucrop.view.CropImageView
 
start(Activity) - Method in class com.yalantis.ucrop.UCrop
Send the crop Intent from an Activity
start(Activity, int) - Method in class com.yalantis.ucrop.UCrop
Send the crop Intent from an Activity with a custom request code
start(Context, Fragment) - Method in class com.yalantis.ucrop.UCrop
Send the crop Intent from a Fragment
start(Context, android.support.v4.app.Fragment) - Method in class com.yalantis.ucrop.UCrop
Send the crop Intent from a support library Fragment
start(Context, Fragment, int) - Method in class com.yalantis.ucrop.UCrop
Send the crop Intent with a custom request code
start(Context, android.support.v4.app.Fragment, int) - Method in class com.yalantis.ucrop.UCrop
Send the crop Intent with a custom request code

T

transformBitmap(Bitmap, Matrix) - Static method in class com.yalantis.ucrop.util.BitmapLoadUtils
 
TransformImageView - Class in com.yalantis.ucrop.view
Created by Oleksii Shliama (https://github.com/shliama).
TransformImageView(Context) - Constructor for class com.yalantis.ucrop.view.TransformImageView
 
TransformImageView(Context, AttributeSet) - Constructor for class com.yalantis.ucrop.view.TransformImageView
 
TransformImageView(Context, AttributeSet, int) - Constructor for class com.yalantis.ucrop.view.TransformImageView
 
TransformImageView.TransformImageListener - Interface in com.yalantis.ucrop.view
Interface for rotation and scale change notifying.
trapToRect(float[]) - Static method in class com.yalantis.ucrop.util.RectUtils
Takes an array of 2D coordinates representing corners and returns the smallest rectangle containing those coordinates.

U

UCrop - Class in com.yalantis.ucrop
Created by Oleksii Shliama (https://github.com/shliama).
UCrop.Options - Class in com.yalantis.ucrop
Class that helps to setup advanced configs that are not commonly used.
UCropActivity - Class in com.yalantis.ucrop
Created by Oleksii Shliama (https://github.com/shliama).
UCropActivity() - Constructor for class com.yalantis.ucrop.UCropActivity
 
UCropActivity.GestureTypes - Annotation Type in com.yalantis.ucrop
 
UCropView - Class in com.yalantis.ucrop.view
 
UCropView(Context, AttributeSet) - Constructor for class com.yalantis.ucrop.view.UCropView
 
UCropView(Context, AttributeSet, int) - Constructor for class com.yalantis.ucrop.view.UCropView
 
UNKNOWN_ORIENTATION - Static variable in class com.yalantis.ucrop.util.ImageHeaderParser
A constant indicating we were unable to parse the orientation from the image either because no exif segment containing orientation data existed, or because of an I/O error attempting to read the exif segment.
useSourceImageAspectRatio() - Method in class com.yalantis.ucrop.UCrop.Options
Set an aspect ratio for crop bounds that is evaluated from source image width and height.
useSourceImageAspectRatio() - Method in class com.yalantis.ucrop.UCrop
Set an aspect ratio for crop bounds that is evaluated from source image width and height.

W

withAspectRatio(float, float) - Method in class com.yalantis.ucrop.UCrop.Options
Set an aspect ratio for crop bounds.
withAspectRatio(float, float) - Method in class com.yalantis.ucrop.UCrop
Set an aspect ratio for crop bounds.
withMaxResultSize(int, int) - Method in class com.yalantis.ucrop.UCrop.Options
Set maximum size for result cropped image.
withMaxResultSize(int, int) - Method in class com.yalantis.ucrop.UCrop
Set maximum size for result cropped image.
withOptions(UCrop.Options) - Method in class com.yalantis.ucrop.UCrop
 
writeToParcel(Parcel, int) - Method in class com.yalantis.ucrop.model.AspectRatio
 

Z

zoomImageToPosition(float, float, float, long) - Method in class com.yalantis.ucrop.view.CropImageView
This method changes image scale (animating zoom for given duration), related to given center (x,y).
zoomInImage(float) - Method in class com.yalantis.ucrop.view.CropImageView
This method scales image up for given value related to image center.
zoomInImage(float, float, float) - Method in class com.yalantis.ucrop.view.CropImageView
This method scales image up for given value related to given coords (x, y).
zoomOutImage(float) - Method in class com.yalantis.ucrop.view.CropImageView
This method scales image down for given value related to image center.
zoomOutImage(float, float, float) - Method in class com.yalantis.ucrop.view.CropImageView
This method scales image down for given value related given coords (x, y).
A B C D E F G H I M N O P R S T U W Z 
Skip navigation links