Code example for SurfaceTexture

Methods: getTransformMatrixupdateTexImage

0
                params.setAutoExposureLock(true);
                //mCamera.setParameters(params); 
                mStartCaptureTime = 0;
            } 
 
            mSurfaceTexture.updateTexImage();
            mSurfaceTexture.getTransformMatrix(mCameraTransform);
 
            // display it here 
        } 
    } 
 
    public synchronized boolean hasNewFrame() { 
        return mNewFrameAvailable;
    } 
 
    public synchronized void endCapture() { 
        mIsOpen = false;
        if (mCamera != null) {
            mCamera.release();
Stop searching for code, let great code find you!  Add Codota to your java IDE