public static interface AbstractOperation.ResultHolder extends AbstractOperation.Holder
| Modifier and Type | Method and Description |
|---|---|
void |
disableInvalidatable()
disable this state can be became invalid state.
|
void |
invalidateAll() |
void |
invalidateFullPreview() |
void |
invalidateSharpPreview() |
boolean |
needRenderFullPreview()
Check if this operation need to render full region
|
boolean |
needRenderSharpPreview()
Check if this operation need to render sharp preview.
|
void |
setBlurPreview(android.graphics.Bitmap blurPreview)
Set the bitmap blur result for the focus preview.
|
void |
setFullPreview(android.graphics.Bitmap fullPreview)
Set the bitmap result.
|
void |
setSharpRegion(android.graphics.Bitmap sharpRegion,
android.graphics.Rect sharpRect)
Set the sharp region bitmap result and his region.
|
getIdentifier, recyclevoid disableInvalidatable()
void invalidateAll()
void invalidateFullPreview()
void invalidateSharpPreview()
void setSharpRegion(android.graphics.Bitmap sharpRegion,
android.graphics.Rect sharpRect)
sharpRegion - sharp region bitmapsharpRect - sharp region, should be the source region or a bigger region.void setFullPreview(android.graphics.Bitmap fullPreview)
fullPreview - the full previewvoid setBlurPreview(android.graphics.Bitmap blurPreview)
blurPreview - the full previewboolean needRenderSharpPreview()
boolean needRenderFullPreview()