Package com.leia.sdk.views
Interface InterlacedView
-
- All Known Implementing Classes:
InterlacedSurfaceView,TextureView3D
public interface InterlacedView
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classInterlacedView.Common
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InterlacedSurfaceViewConfigAccessorgetConfig()Get config accessor that holds a lock to the config.ContextgetContext()intgetHeight()intgetMeasuredHeight()intgetMeasuredWidth()ViewParentgetParent()float[]getRectMatrix()Get the rect matrixMatrixgetScaleTypeMatrix()Get the scale type matrixintgetWidth()ZonePlateStategetZonePlateInitialState(int viewportWidth, int viewportHeight)booleanisAGSL()Is the view drawn by an AGSL RuntimeShader?voidsetAutoAlign(boolean x, boolean y)voidsetIsGuiVisible(boolean isGuiVisible)voidsetSingleViewModeListener(InterlacerSingleViewModeListener listener)voidsetViewAsset(InputViewsAsset viewAsset)
-
-
-
Method Detail
-
getContext
Context getContext()
-
getMeasuredWidth
int getMeasuredWidth()
-
getMeasuredHeight
int getMeasuredHeight()
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
getParent
ViewParent getParent()
-
getConfig
InterlacedSurfaceViewConfigAccessor getConfig()
Get config accessor that holds a lock to the config. It must be closed after use viaInterlacedSurfaceViewConfigAccessor.close().
-
getRectMatrix
float[] getRectMatrix()
Get the rect matrix- Returns:
- the rect matrix if available or an identity matrix
-
getScaleTypeMatrix
Matrix getScaleTypeMatrix()
Get the scale type matrix- Returns:
- the scale type matrix if available or an identity matrix
-
isAGSL
boolean isAGSL()
Is the view drawn by an AGSL RuntimeShader?- Returns:
- true if view is drawn with AGSL
-
setViewAsset
void setViewAsset(InputViewsAsset viewAsset)
-
setSingleViewModeListener
void setSingleViewModeListener(InterlacerSingleViewModeListener listener)
-
setAutoAlign
void setAutoAlign(boolean x, boolean y)
-
getZonePlateInitialState
ZonePlateState getZonePlateInitialState(int viewportWidth, int viewportHeight)
-
setIsGuiVisible
void setIsGuiVisible(boolean isGuiVisible)
-
-