public class Divider extends AbstractConfig implements AbstractConfig.FontConfigInterface<AbstractConfig.BindData>, AbstractConfig.ToolConfigInterface, AbstractConfig.AspectConfigInterface, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterfaceAbstractConfig.StickerConfigInterface.STICKER_TYPENO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Constructor and Description |
|---|
Divider() |
| Modifier and Type | Method and Description |
|---|---|
DataSourceListAdapter.DataSourceViewHolder |
createViewHolder(android.view.View view,
boolean useVerticalLayout)
Create a ViewHolder to Display in List
|
void |
detachPanel(boolean revertChanges) |
void |
draw(Texture texture,
float[] mvpMatrix,
float[] stMatrix,
float aspectRatio)
Draw texture in OpenGl Context
|
float |
getAspect() |
int |
getCropHeight() |
int |
getCropWidth() |
EditorPreview |
getEditorPreview() |
int |
getLayout()
Get the layout res id of the list item view.
|
AbstractOperation |
getOperation() |
Operator |
getOperator() |
int |
getStickerId()
Get sticker drawable resource id.
|
AbstractConfig.StickerConfigInterface.STICKER_TYPE |
getType()
Return the type of the sticker
|
android.graphics.Typeface |
getTypeface() |
int |
getVerticalLayout()
Get the vertical layout res id of the list item view.
|
boolean |
hasIntensityConfig()
Check if the Filter has Intensity Control
|
boolean |
hasSpecificSize() |
boolean |
isClickable() |
boolean |
isRevertible() |
boolean |
isSelectable() |
void |
refreshPanel() |
void |
release()
Release the shader program and texture
|
android.graphics.Bitmap |
renderImage(android.graphics.Bitmap bitmap)
Apply the renderscript filter without intensity changes.
|
android.graphics.Bitmap |
renderImage(android.graphics.Bitmap bitmap,
float intensity)
Apply the renderscript filter with a specific intensity.
|
void |
revertChanges() |
generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getTitle, hasStaticThumbnailclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTitlegenerateBindData, generateBindDataAsync, getNamepublic int getLayout()
DataSourceInterfacegetLayout in interface DataSourceInterface<AbstractConfig.BindData>public float getAspect()
getAspect in interface AbstractConfig.AspectConfigInterfacepublic boolean hasSpecificSize()
hasSpecificSize in interface AbstractConfig.AspectConfigInterfacepublic int getCropWidth()
getCropWidth in interface AbstractConfig.AspectConfigInterfacepublic int getCropHeight()
getCropHeight in interface AbstractConfig.AspectConfigInterfacepublic android.graphics.Typeface getTypeface()
getTypeface in interface AbstractConfig.FontConfigInterface<AbstractConfig.BindData>public int getVerticalLayout()
DataSourceInterfacegetVerticalLayout in interface DataSourceInterface<AbstractConfig.BindData>getVerticalLayout in class AbstractConfigpublic android.graphics.Bitmap renderImage(android.graphics.Bitmap bitmap)
AbstractConfig.ImageFilterInterfacerenderImage in interface AbstractConfig.ImageFilterInterfacebitmap - the source image.public android.graphics.Bitmap renderImage(android.graphics.Bitmap bitmap,
float intensity)
AbstractConfig.ImageFilterInterfacerenderImage in interface AbstractConfig.ImageFilterInterfacebitmap - the source image.intensity - the filter intensitypublic void release()
AbstractConfig.ImageFilterInterfacerelease in interface AbstractConfig.ImageFilterInterfacepublic boolean isSelectable()
isSelectable in interface DataSourceInterface<AbstractConfig.BindData>public void draw(Texture texture, float[] mvpMatrix, float[] stMatrix, float aspectRatio)
AbstractConfig.ImageFilterInterfacedraw in interface AbstractConfig.ImageFilterInterfacetexture - the camera preview texturemvpMatrix - the camera source matrixstMatrix - the stage destination matrixaspectRatio - the camera image aspectpublic boolean isClickable()
isClickable in class AbstractConfigpublic boolean hasIntensityConfig()
AbstractConfig.ImageFilterInterfacehasIntensityConfig in interface AbstractConfig.ImageFilterInterfacepublic AbstractConfig.StickerConfigInterface.STICKER_TYPE getType()
AbstractConfig.StickerConfigInterfacegetType in interface AbstractConfig.StickerConfigInterfaceAbstractConfig.StickerConfigInterface.STICKER_TYPEpublic int getStickerId()
AbstractConfig.StickerConfigInterfacegetStickerId in interface AbstractConfig.StickerConfigInterfacepublic AbstractOperation getOperation()
getOperation in interface AbstractConfig.ToolConfigInterfacepublic boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfacepublic Operator getOperator()
getOperator in interface AbstractConfig.ToolConfigInterfacepublic void revertChanges()
revertChanges in interface AbstractConfig.ToolConfigInterfacepublic EditorPreview getEditorPreview()
getEditorPreview in interface AbstractConfig.ToolConfigInterfacepublic void detachPanel(boolean revertChanges)
detachPanel in interface AbstractConfig.ToolConfigInterfacepublic void refreshPanel()
refreshPanel in interface AbstractConfig.ToolConfigInterfacepublic DataSourceListAdapter.DataSourceViewHolder createViewHolder(android.view.View view, boolean useVerticalLayout)
DataSourceInterfacecreateViewHolder in interface DataSourceInterface<AbstractConfig.BindData>createViewHolder in class AbstractConfigview - view inflated with #getLayout