Code example for Surface

Methods: unlockCanvasAndPost

0
         
        return null; 
    } 
 
    public void unlockCanvasAndPost(Canvas canvas) {
        mSurface.unlockCanvasAndPost(canvas);
        mSurfaceLock.unlock();
    } 
 
    public Surface getSurface() {
        return mSurface;
    } 
 
    public Rect getSurfaceFrame() {
        return mSurfaceFrame;
    } 
 
    public void setSurfaceFrameSize(int width, int height) {
        mSurfaceFrame.top = 0;
        mSurfaceFrame.left = 0;
Connect your IDE to all the code out there  Get Codota for Java