List of usage examples for android.view SurfaceHolder.Callback interface-usage
From source file se.droidgiro.scanner.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 = "DroidGiro.CaptureActivity";
From source file edu.winlab.minijarvis.activity.CameraActivity.java
/**
* This is the main activity. It opens camera and takes images every 10 seconds. Each image is sent to server.
* The server does object/face recognition and sends back annotation to glassware. If faces are recognized, the
* annotation is displayed on the glass for approx 5s.
* @author Saumya
*
From source file com.dtr.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.github.barcodeeye.scan.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.example.android.hdrviewfinder.HdrViewfinderActivity.java
/**
* A small demo of advanced camera functionality with the Android camera2 API.
*
* <p>This demo implements a real-time high-dynamic-range camera viewfinder,
* by alternating the sensor's exposure time between two exposure values on even and odd
* frames, and then compositing together the latest two frames whenever a new frame is
From source file com.scooter1556.sms.android.activity.VideoPlayerActivity.java
public class VideoPlayerActivity extends Activity implements SurfaceHolder.Callback, SMSVideoPlayer.Listener { private static final String TAG = "VideoPlayerActivity"; static final String SUPPORTED_CODECS = "h264,vp8,aac,mp3,vorbis"; static final String FORMAT = "matroska";
From source file com.lahiru.imageprocessingapp.example.android.hdrviewfinder.ImageProcessingActivity.java
/**
* A small demo of advanced camera functionality with the Android camera2 API.
*
* <p>This demo implements a real-time high-dynamic-range camera viewfinder,
* by alternating the sensor's exposure time between two exposure values on even and odd
* frames, and then compositing together the latest two frames whenever a new frame is
From source file com.simas.vc.editor.player.PlayerFragment.java
public class PlayerFragment extends Fragment implements View.OnTouchListener, MediaPlayer.OnErrorListener, MediaPlayer.OnPreparedListener, View.OnKeyListener, SurfaceHolder.Callback, Player.OnStateChangedListener, Controls.PlayClickOverrider { private static final int MAX_INITIALIZATION_RETRIES = 1; /* Instance state variables */
From source file org.artoolkit.ar.samples.nftBook.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.ARMovie.CameraSurface.java
public class CameraSurface extends SurfaceView implements SurfaceHolder.Callback, Camera.PreviewCallback { private static final String TAG = "CameraSurface"; private Camera camera; @SuppressWarnings("deprecation")