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 co.jlabs.cersei_retailer.zxingfragmentlib.BarCodeScannerFragment.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)

From source file com.xys.libzxing.zxing.activity.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.chiemy.zxing.activity.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 at.wada811.app.fragment.VideoFragment.java

public class VideoFragment extends Fragment implements SurfaceHolder.Callback, OnVideoSizeChangedListener,
        OnBufferingUpdateListener, OnPreparedListener, OnCompletionListener {

    public static final String TAG = VideoFragment.class.getSimpleName();

    private VideoCallback mCallback;

From source file com.c77.androidstreamingclient.lib.rtp.RtpMediaDecoder.java

/**
 * Implementation of the decoder that uses RTP as transport protocol to decode H264 encoded frames.
 * This object wraps up an Android API decoder and uses it to decode video frames.
 *
 * @author Ayelen Chavez
 */

From source file com.jiubai.jiubaijz.zxing.activity.CaptureActivity.java

public final class CaptureActivity extends Activity implements SurfaceHolder.Callback {
    @Bind(R.id.capture_preview)
    SurfaceView mScanSurfaceView;

    @Bind(R.id.capture_container)
    RelativeLayout mScanContainerRelativeLayout;

From source file com.c77.androidstreamingclient.lib.RtpMediaDecoder.java

/**
 * Created by ashi on 1/3/15.
 */
public class RtpMediaDecoder implements Decoder, SurfaceHolder.Callback {
    public static final String DEBUGGING_PROPERTY = "DEBUGGING";
    public static final String CONFIG_USE_NIO = "USE_NIO";

From source file com.google.zxing.demo.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)

From source file com.agiro.scanner.android.CaptureActivity.java

/**
 * The main activity. Draws the views and shows the results in them.
 */
public final class CaptureActivity extends ListActivity implements SurfaceHolder.Callback {

    private static final String TAG = "aGiro.CaptureActivity";

From source file eu.veldsoft.adsbobball.ActivityStateEnum.java

public class BobBallActivity extends Activity implements SurfaceHolder.Callback, OnClickListener, OnTouchListener {
    static final int NUMBER_OF_FRAMES_PER_SECOND = 60;
    static final double TOUCH_DETECT_SQUARES = 2.5;
    static final int VIBRATE_LIVE_LOST_MS = 40;

    static final String STATE_GAME_MANAGER = "state_game_manager";