public class LayerView extends ImgLyUIFrameContainer implements SyncedOperators.Callback
uiDensity
Constructor and Description |
---|
LayerView(Context context) |
LayerView(Context context,
AttributeSet attrs) |
LayerView(Context context,
AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
addLayer(LayerI layer) |
protected void |
addLayer(LayerListSettings.LayerSettings layerSettings) |
void |
addView(View child)
Deprecated.
|
void |
addView(View child,
int index)
Deprecated.
|
void |
addView(View child,
int width,
int height)
Deprecated.
|
void |
addView(View child,
int index,
ViewGroup.LayoutParams params)
Deprecated.
|
void |
addView(View child,
ViewGroup.LayoutParams params)
Deprecated.
|
void |
bringChildToFront(View child)
Deprecated.
|
protected int |
getChildDrawingOrder(int childCount,
int i) |
java.util.ArrayList<LayerI> |
getLayers() |
protected void |
onAttachedToUI(StateHandler stateHandler) |
protected void |
onDetachedFromUI(StateHandler stateHandler) |
protected void |
onDetachedFromWindow() |
void |
onOperatorSyncedResult(java.util.ArrayList<SyncedOperators.SyncResult> results) |
boolean |
onTouchEvent(MotionEvent event) |
void |
onTransformationChanged() |
protected void |
refreshList() |
protected void |
removeLayer(LayerI layer) |
void |
removeView(View view) |
protected void |
setImageRect(EditorShowState editorShowState) |
void |
triggerOperators() |
void |
triggerOperatorsIfNeeded() |
getStateHandler, onAttachedToWindow
public LayerView(Context context)
public LayerView(Context context, AttributeSet attrs)
public LayerView(Context context, AttributeSet attrs, int defStyleAttr)
protected void addLayer(LayerI layer)
@MainThread protected void addLayer(LayerListSettings.LayerSettings layerSettings)
@Deprecated public final void addView(View child)
@Deprecated public final void addView(View child, int index)
@Deprecated public final void addView(View child, int width, int height)
@Deprecated public final void addView(View child, int index, ViewGroup.LayoutParams params)
@Deprecated public final void addView(View child, ViewGroup.LayoutParams params)
@Deprecated public final void bringChildToFront(View child)
@MainThread protected int getChildDrawingOrder(int childCount, int i)
public java.util.ArrayList<LayerI> getLayers()
protected void onAttachedToUI(StateHandler stateHandler)
onAttachedToUI
in class ImgLyUIFrameContainer
protected void onDetachedFromUI(StateHandler stateHandler)
onDetachedFromUI
in class ImgLyUIFrameContainer
protected void onDetachedFromWindow()
onDetachedFromWindow
in class ImgLyUIFrameContainer
public void onOperatorSyncedResult(java.util.ArrayList<SyncedOperators.SyncResult> results)
onOperatorSyncedResult
in interface SyncedOperators.Callback
@UiThread public boolean onTouchEvent(MotionEvent event)
@MainThread public void onTransformationChanged()
@MainThread protected void refreshList()
protected void removeLayer(LayerI layer)
public void removeView(@NonNull View view)
@MainThread protected void setImageRect(EditorShowState editorShowState)
@MainThread public void triggerOperators()
@AnyThread public void triggerOperatorsIfNeeded()