public class LocalImage extends LocalMediaItem
| Modifier and Type | Class and Description |
|---|---|
class |
LocalImage.LocalImageRequest |
| Modifier and Type | Field and Description |
|---|---|
int |
rotation |
bucketId, caption, dateAddedInSec, dateModifiedInSec, dateTakenInMs, filePath, fileSize, height, id, latitude, longitude, mimeType, widthCACHED_IMAGE_QUALITY, IMAGE_ERROR, IMAGE_READY, IMAGE_WAIT, INVALID_LATLNG, MIME_TYPE_JPEG, TYPE_MICROTHUMBNAIL, TYPE_THUMBNAILCACHE_FLAG_FULL, CACHE_FLAG_NO, CACHE_FLAG_SCREENNAIL, CACHE_STATUS_CACHED_FULL, CACHE_STATUS_CACHED_SCREENNAIL, CACHE_STATUS_CACHING, CACHE_STATUS_NOT_CACHED, INVALID_DATA_VERSION, mDataVersion, MEDIA_TYPE_ALL, MEDIA_TYPE_ALL_STRING, MEDIA_TYPE_IMAGE, MEDIA_TYPE_IMAGE_STRING, MEDIA_TYPE_UNKNOWN, MEDIA_TYPE_VIDEO, MEDIA_TYPE_VIDEO_STRING, mPath, SUPPORT_ALL, SUPPORT_CACHE, SUPPORT_CROP, SUPPORT_DELETE, SUPPORT_EDIT, SUPPORT_FULL_IMAGE, SUPPORT_IMPORT, SUPPORT_INFO, SUPPORT_PLAY, SUPPORT_ROTATE, SUPPORT_SETAS, SUPPORT_SHARE, SUPPORT_SHOW_ON_MAP| Constructor and Description |
|---|
LocalImage(Path path,
MediaDataContext application,
android.database.Cursor cursor) |
LocalImage(Path path,
MediaDataContext application,
int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
android.net.Uri |
getContentUri() |
MediaDetails |
getDetails() |
Face[] |
getFaces() |
int |
getHeight() |
int |
getMediaType() |
int |
getRotation() |
int |
getSupportedOperations() |
int |
getWidth() |
ThreadPool.Job<android.graphics.Bitmap> |
requestImage(int type) |
ThreadPool.Job<android.graphics.BitmapRegionDecoder> |
requestLargeImage() |
void |
rotate(int degrees) |
protected boolean |
updateFromCursor(android.database.Cursor cursor) |
getBucketId, getDateInMs, getLatLong, getMimeType, getName, getSize, updateContentgetBytesBufferPool, getFilePath, getFullImageRotation, getTags, getTargetSize, setThumbnailSizescache, getCacheFlag, getCacheSize, getCacheStatus, getDataVersion, getPath, getPlayUri, getTypeFromString, getTypeString, Import, nextVersionNumberpublic LocalImage(Path path, MediaDataContext application, android.database.Cursor cursor)
public LocalImage(Path path, MediaDataContext application, int id)
protected boolean updateFromCursor(android.database.Cursor cursor)
updateFromCursor in class LocalMediaItempublic ThreadPool.Job<android.graphics.BitmapRegionDecoder> requestLargeImage()
requestLargeImage in class MediaItempublic ThreadPool.Job<android.graphics.Bitmap> requestImage(int type)
requestImage in class MediaItempublic int getSupportedOperations()
getSupportedOperations in class MediaObjectpublic void delete()
delete in class MediaObjectpublic void rotate(int degrees)
throws java.lang.Exception
rotate in class MediaObjectjava.lang.Exceptionpublic android.net.Uri getContentUri()
getContentUri in class MediaObjectpublic int getMediaType()
getMediaType in class MediaObjectpublic MediaDetails getDetails()
getDetails in class LocalMediaItempublic int getRotation()
getRotation in class MediaItem