Example usage for android.view SurfaceHolder.Callback interface-usage

List of usage examples for android.view SurfaceHolder.Callback interface-usage

Introduction

In this page you can find the example usage for android.view SurfaceHolder.Callback interface-usage.

Usage

From source file org.artoolkit.ar.samples.ARNativeES1.CameraSurface.java

public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback {

    private static final String TAG = "CameraSurface";
    private Camera camera;

    private boolean mustAskPermissionFirst = false;

From source file org.artoolkit.ar.samples.ARNativeOSG.CameraSurface.java

public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback {

    private static final String TAG = "CameraSurface";
    private Camera camera;

    private boolean mustAskPermissionFirst = false;

From source file com.example.gangzhang.myapplication.VideoPlayerActivity.java

public class VideoPlayerActivity extends Activity
        implements OnBufferingUpdateListener, OnCompletionListener, OnPreparedListener, OnVideoSizeChangedListener,
        SurfaceHolder.Callback, View.OnClickListener, MediaPlayer.OnErrorListener {

    private static final String TAG = "videoapp";
    private int mVideoWidth;

From source file com.mobiuso.argo.ARModule.CameraSurface.java

public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback {

    private static final String TAG = "CameraSurface";
    private Camera camera;

    @SuppressWarnings("deprecation")

From source file org.artoolkit.ar.samples.ARNative.CameraSurface.java

public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback {

    private static final String TAG = "CameraSurface";
    private Camera camera;

    private boolean mustAskPermissionFirst = false;

From source file org.artoolkit.ar.samples.nftSimple.CameraSurface.java

public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback {

    private static final String TAG = "CameraSurface";
    private Camera camera;

    private boolean mustAskPermissionFirst = false;

From source file zxing.util.CaptureActivity.java

/**
 * This activity opens the camera and does the actual scanning on a background
 * thread. It draws a viewfinder to help the user place the barcode correctly,
 * shows feedback as the image processing is happening, and then overlays the
 * results when a scan is successful.
 * 

From source file com.lt.adamlee.aagame.GameView.java

/**
 * Created by Administrator on 2015/7/29.
 */
public class GameView extends SurfaceView implements SurfaceHolder.Callback {

    static int NoOfInitialLines;

From source file com.examples.gg.twitchplayers.MediaBuffer.java

public class MediaBuffer extends Activity implements OnInfoListener, OnBufferingUpdateListener,
        OnCompletionListener, OnPreparedListener, OnVideoSizeChangedListener, SurfaceHolder.Callback {

    /**
     * TODO: Set the path variable to a streaming video URL or a local media
     * file path.

From source file com.cleverzone.zhizhi.capture.CaptureActivity.java

/**
 * This activity opens the camera and does the actual scanning on a background thread. It draws a
 * viewfinder to help the user place the barcode correctly, shows feedback as the image processing
 * is happening, and then overlays the results when a scan is successful.
 *
 * @author dswitkin@google.com (Daniel Switkin)