public class EditorShowState extends StateObservable<EditorShowState.Event>
| Modifier and Type | Class and Description |
|---|---|
static class |
EditorShowState.Event |
StateObservable.StateUnbindedExeptionSTATE_INVALID, STATE_INVALID_EVENT| Constructor and Description |
|---|
EditorShowState() |
| Modifier and Type | Method and Description |
|---|---|
void |
callReady() |
int |
describeContents() |
android.graphics.Rect |
getImageRect() |
int |
getPreviewHeight() |
int |
getPreviewWidth() |
android.graphics.Rect |
getStageRect() |
protected void |
invalidateImageRect(EditorLoadSettings editorLoadSettings) |
boolean |
isReady() |
EditorShowState |
setPreviewSize(int width,
int height)
Set preview window size, to save Memory an Speedup preview by load a low resolution preview.
|
addCallback, getStateModel, invalidate, isFrozen, isInvalidateble, notifyChange, notifyPropertyChanged, notifyPropertyChanged, onBind, onBind, removeCallback, writeToParcelpublic EditorShowState setPreviewSize(int width, int height)
width - width in Pixelsheight - height in Pixelpublic int getPreviewHeight()
public void callReady()
public boolean isReady()
public int getPreviewWidth()
protected void invalidateImageRect(EditorLoadSettings editorLoadSettings)
public android.graphics.Rect getImageRect()
public android.graphics.Rect getStageRect()
public int describeContents()
describeContents in class StateObservable<EditorShowState.Event>