Package com.kakao.vectormap.graphics.vk
Class VKSurfaceView
- java.lang.Object
-
- SurfaceView
-
- com.kakao.vectormap.graphics.vk.VKSurfaceView
-
- Direct Known Subclasses:
KVKSurfaceView
public class VKSurfaceView extends SurfaceView
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VKSurfaceView.Renderer
-
Constructor Summary
Constructors Constructor Description VKSurfaceView(Context context)
VKSurfaceView(Context context, AttributeSet attrs)
VKSurfaceView(Context context, AttributeSet attrs, int defStyleAttr)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getRenderMode()
void
initEngine(boolean vkThreadNull)
void
onPause()
void
onResume()
void
requestRender()
void
setRenderer(VKSurfaceView.Renderer renderer)
void
setRenderMode(int renderMode)
void
surfaceChanged(SurfaceHolder holder, int format, int width, int height)
void
surfaceCreated(SurfaceHolder holder)
void
surfaceDestroyed(SurfaceHolder holder)
void
surfaceRedrawNeeded(SurfaceHolder holder)
Deprecated.
-
-
-
Method Detail
-
setRenderer
public void setRenderer(VKSurfaceView.Renderer renderer)
-
setRenderMode
public void setRenderMode(int renderMode)
-
getRenderMode
public int getRenderMode()
-
requestRender
public void requestRender()
-
surfaceCreated
public void surfaceCreated(SurfaceHolder holder)
-
surfaceChanged
public void surfaceChanged(SurfaceHolder holder, int format, int width, int height)
-
surfaceRedrawNeeded
@Deprecated public void surfaceRedrawNeeded(SurfaceHolder holder)
Deprecated.
-
surfaceDestroyed
public void surfaceDestroyed(SurfaceHolder holder)
-
onPause
public void onPause()
-
onResume
public void onResume()
-
initEngine
public void initEngine(boolean vkThreadNull)
-
-