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.msohm.blackberry.samples.bdvideoplayback.MainActivity.java

public class MainActivity extends AppCompatActivity implements GDStateListener, SurfaceHolder.Callback {

    private final int MY_PERMISSIONS_REQUEST_READ_EXTERNAL_STORAGE = 45;
    private final String FILENAME = "myVideo.mp4"; //Hard coded filename. Adjust extension as required.
    private Button copyButton;
    private Button playButton;

From source file com.kupay.decoder.DecoderActivity.java

/**
 * Example Decoder Activity.
 * 
 * @author Justin Wetherell (phishman3579@gmail.com)
 */
public class DecoderActivity extends Fragment implements IDecoderActivity, SurfaceHolder.Callback {

From source file com.jwetherell.quick_response_code.DecoderActivity.java

/**
 * Example Decoder Activity.
 *
 * @author Justin Wetherell (phishman3579@gmail.com)
 */
public class DecoderActivity extends Activity implements IDecoderActivity, SurfaceHolder.Callback {

From source file ch.jeda.platform.android.CanvasFragment.java

class CanvasFragment extends Fragment implements SurfaceHolder.Callback, View.OnKeyListener, View.OnTouchListener {

    private static final Map<Integer, EventSource> INPUT_DEVICE_MAP = new HashMap<Integer, EventSource>();
    private static final Map<Integer, Key> KEY_MAP = initKeyMap();
    private final EnumSet<ViewFeature> features;
    private EventQueue eventQueue;

From source file com.pimp.companionforband.fragments.extras.CameraActivity.java

public class CameraActivity extends AppCompatActivity implements SurfaceHolder.Callback {
    Camera camera;
    SurfaceView surfaceView;
    SurfaceHolder surfaceHolder;

    Camera.PictureCallback jpegCallback;

From source file org.digitalcampus.oppia.utils.mediaplayer.VideoPlayerActivity.java

public class VideoPlayerActivity extends AppActivity
        implements SurfaceHolder.Callback, MediaPlayer.OnPreparedListener, VideoControllerView.MediaPlayerControl {

    public static final String TAG = VideoPlayerActivity.class.getSimpleName();
    public static final String MEDIA_TAG = "mediaFileName";

From source file at.andreasrohner.spartantimelapserec.BackgroundService.java

public class BackgroundService extends Service implements SurfaceHolder.Callback, Handler.Callback {
    private static final String TAG = "BackgroundService";
    private static final int NOTIFICATION_ID = 95430432;
    private static boolean created;
    private SurfaceView surfaceView;
    private WakeLock wakeLock;

From source file com.welcu.android.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.abhi.barcode.fragment.library.BarCodeFragment.java

public class BarCodeFragment extends Fragment implements SurfaceHolder.Callback, IConstants, IDialogCreator {

    private static final String TAG = BarCodeFragment.class.getSimpleName();

    private CameraManager cameraManager;
    private BarCodeHandler handler;

From source file br.com.skylane.voicer.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
 */