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 |
needRenderFullResult()
Check if this operation need to render full region
|
boolean |
needRenderSharpResult()
Check if this operation need to render sharp preview.
|
void |
setBlurResult(android.graphics.Bitmap blurPreview)
Set the bitmap blur result for the focus preview.
|
void |
setFullResult(android.graphics.Bitmap fullPreview)
Set the bitmap result.
|
void |
setSharpRegionResult(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 setSharpRegionResult(android.graphics.Bitmap sharpRegion,
android.graphics.Rect sharpRect)
sharpRegion - sharp region bitmapsharpRect - sharp region, should be the source region or a bigger region.void setFullResult(android.graphics.Bitmap fullPreview)
fullPreview - the full previewvoid setBlurResult(android.graphics.Bitmap blurPreview)
blurPreview - the full previewboolean needRenderSharpResult()
boolean needRenderFullResult()