org.ros.android.view
Class CameraPreviewView

java.lang.Object
  extended by ViewGroup
      extended by org.ros.android.view.CameraPreviewView
Direct Known Subclasses:
RosCameraPreviewView

public class CameraPreviewView
extends ViewGroup


Constructor Summary
CameraPreviewView(Context context)
           
CameraPreviewView(Context context, AttributeSet attrs)
           
CameraPreviewView(Context context, AttributeSet attrs, int defStyle)
           
 
Method Summary
protected  void onLayout(boolean changed, int l, int t, int r, int b)
           
 void releaseCamera()
           
 void setCamera(Camera camera)
           
 void setPreviewCallback(PreviewCallback previewCallback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CameraPreviewView

public CameraPreviewView(Context context)

CameraPreviewView

public CameraPreviewView(Context context,
                         AttributeSet attrs)

CameraPreviewView

public CameraPreviewView(Context context,
                         AttributeSet attrs,
                         int defStyle)
Method Detail

releaseCamera

public void releaseCamera()

setPreviewCallback

public void setPreviewCallback(PreviewCallback previewCallback)

setCamera

public void setCamera(Camera camera)

onLayout

protected void onLayout(boolean changed,
                        int l,
                        int t,
                        int r,
                        int b)