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 class
InterlacedView.Common
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InterlacedSurfaceViewConfigAccessor
getConfig()
Get config accessor that holds a lock to the config.Context
getContext()
int
getHeight()
int
getMeasuredHeight()
int
getMeasuredWidth()
ViewParent
getParent()
float[]
getRectMatrix()
Get the rect matrixMatrix
getScaleTypeMatrix()
Get the scale type matrixint
getWidth()
ZonePlateState
getZonePlateInitialState(int viewportWidth, int viewportHeight)
boolean
isAGSL()
Is the view drawn by an AGSL RuntimeShader?void
setAutoAlign(boolean x, boolean y)
void
setIsGuiVisible(boolean isGuiVisible)
void
setSingleViewModeListener(InterlacerSingleViewModeListener listener)
void
setViewAsset(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)
-
-