public abstract class GlGround extends ImgLyUISurfaceView implements LayerI
Modifier and Type | Field and Description |
---|---|
protected LayerView |
callback |
protected Rect |
stage |
protected Transformation |
transformation |
isAttached, showState, uiDensity, willDrawUi
Constructor and Description |
---|
GlGround(Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
doRespondOnClick(TransformedMotionEvent event) |
Operator |
generateOperator(StateHandler stateHandler) |
View |
getView(Context context) |
abstract void |
glSetup() |
void |
invalidate()
Deprecated.
|
void |
onDrawFrame(GL10 gl) |
abstract void |
onDrawLayer() |
void |
onMotionEvent(TransformedMotionEvent event) |
void |
onOperatorResult(SourceRequestAnswerI answer) |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
void |
onSurfaceChanged(GL10 gl,
int width,
int height) |
void |
onSurfaceCreated(GL10 gl,
EGLConfig config) |
boolean |
onTouchEvent(MotionEvent event)
Deprecated.
|
void |
postInvalidate()
Deprecated.
|
boolean |
releaseOperatorDirtyFlag() |
void |
render() |
void |
setLayerContainerCallback(LayerView layerView)
Deprecated.
|
void |
setTransformation(Transformation matrix) |
getStateHandler, onAttachedToUI, onAttachedToWindow, onDetachedFromUI, onDetachedFromWindow, onDrawUI, onPause, onResume, postInvalidateUi, requestRender, runWithGlContext, setWillDrawUi, surfaceChanged, surfaceCreated, surfaceDestroyed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setImageRect
protected LayerView callback
protected Rect stage
protected Transformation transformation
public boolean doRespondOnClick(@NonNull TransformedMotionEvent event)
doRespondOnClick
in interface LayerI
public Operator generateOperator(@NonNull StateHandler stateHandler)
generateOperator
in interface LayerI
@NonNull public final View getView(Context context)
@WorkerThread public abstract void glSetup()
@Deprecated public final void invalidate()
@WorkerThread public void onDrawFrame(GL10 gl)
@WorkerThread public abstract void onDrawLayer()
@MainThread public void onMotionEvent(@NonNull TransformedMotionEvent event)
onMotionEvent
in interface LayerI
public void onOperatorResult(SourceRequestAnswerI answer)
onOperatorResult
in interface LayerI
protected void onSizeChanged(int w, int h, int oldw, int oldh)
@WorkerThread public void onSurfaceChanged(GL10 gl, int width, int height)
@WorkerThread public void onSurfaceCreated(GL10 gl, EGLConfig config)
@Deprecated public final boolean onTouchEvent(MotionEvent event)
@Deprecated public final void postInvalidate()
public boolean releaseOperatorDirtyFlag()
releaseOperatorDirtyFlag
in interface LayerI
@AnyThread public void render()
@Deprecated public void setLayerContainerCallback(LayerView layerView)
setLayerContainerCallback
in interface LayerI
@MainThread public void setTransformation(@NonNull Transformation matrix)
setTransformation
in interface LayerI