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 com.sonymobile.android.media.testmediaplayer.MainActivity.java

public class MainActivity extends Activity implements SurfaceHolder.Callback, DialogInterface.OnClickListener,
        MediaPlayer.OnInfoListener, MediaPlayer.OnPreparedListener, DrawerLayout.DrawerListener,
        OnSystemUiVisibilityChangeListener, OnCompletionListener, OnTouchListener, OnSeekCompleteListener,
        OnErrorListener, OnSubtitleDataListener, OnOutputControlEventListener {

    private boolean LOGS_ENABLED = PlayerConfiguration.DEBUG || false;

From source file com.gsma.rcs.ri.sharing.video.OutgoingVideoSharing.java

/**
 * Initiate video sharing.
 *
 * @author Jean-Marc AUFFRET
 * @author Philippe LEMORDANT
 */

From source file com.honglang.zxing.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.studyjams.mdvideo.PlayerModule.PlayerActivity.java

/**
 * An activity that plays media using {@link DemoPlayer}.
 */
public class PlayerActivity extends Activity implements SurfaceHolder.Callback, DemoPlayer.Listener,
        DemoPlayer.CaptionListener, DemoPlayer.Id3MetadataListener, AudioCapabilitiesReceiver.Listener {

From source file com.fishstix.dosboxfree.DBGLSurfaceView.java

class DBGLSurfaceView extends GLSurfaceView implements SurfaceHolder.Callback {
    private final static int DEFAULT_WIDTH = 512;//800;
    private final static int DEFAULT_HEIGHT = 512;//600;  
    public int mJoyCenterX = 0;
    public int mJoyCenterY = 0;

From source file com.xgf.inspection.qrcode.google.zxing.client.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 edu.sfsu.cs.orange.ocr.CaptureActivity.java

    /** ISO 639-3 language code indicating the default recognition language. */
    public static final String DEFAULT_SOURCE_LANGUAGE_CODE = "eng";

    /** ISO 639-1 language code indicating the default target language for translation. */
    public static final String DEFAULT_TARGET_LANGUAGE_CODE = "es";

From source file paulscode.android.mupen64plusae.game.GameActivity.java

/**
* (start)
*    |
* onCreate <-- (killed) <---------\
*    |                            |
* onStart  <-- onRestart <-----\  |

From source file com.example.javier.MaterialDesignApp.PlayerActivity.java

/**
 * An activity that plays media using {@link DemoPlayer}.
 */
public class PlayerActivity extends FragmentActivity
        implements SurfaceHolder.Callback, OnClickListener, DemoPlayer.Listener, DemoPlayer.TextListener,
        DemoPlayer.Id3MetadataListener, VideoControllerView.MediaPlayerControl {

From source file paulscode.android.mupen64plusae.game.GameFragment.java

/**
* (start)
*    |
* onCreate <-- (killed) <---------\
*    |                            |
* onStart  <-- onRestart <-----\  |