List of usage examples for android.view SurfaceHolder.Callback interface-usage
From source file com.actionbarsherlock.sample.hcgallery.CameraFragment.java
/**
* A simple wrapper around a Camera and a SurfaceView that renders a centered
* preview of the Camera to the surface. We need to center the SurfaceView
* because not all devices have cameras that support preview sizes at the same
* aspect ratio as the device's display.
*/
From source file com.edible.ocr.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 text correctly, shows feedback as the image processing
* is happening, and then overlays the results when a scan is successful.
*
* The code for this class was adapted from the ZXing project: http://code.google.com/p/zxing/
From source file com.almalence.opencam.ApplicationScreen.java
/***
* ApplicationScreen - main activity screen with camera functionality
*
* Passes all main events to PluginManager
***/
From source file com.scooter1556.sms.android.fragment.tv.TvVideoPlayerFragment.java
public class TvVideoPlayerFragment extends android.support.v17.leanback.app.PlaybackFragment implements SurfaceHolder.Callback, Playback, ExoPlayer.EventListener, TextRenderer.Output { private static final String TAG = "TvVideoPlaybackFragment"; private static final String CLIENT_ID = "android"; public static final String USER_AGENT = "SMSAndroidPlayer";
From source file com.bookkos.bircle.CaptureActivity.java
public final class CaptureActivity extends Activity implements SurfaceHolder.Callback, DialogListener, AsyncTaskListener, RemoveIsbnListener { private static final String TAG = CaptureActivity.class.getSimpleName(); private static final long DEFAULT_INTENT_RESULT_DURATION_MS = 1500L;
From source file com.TaxiDriver.jy.CameraPreview.java
/**
* A simple wrapper around a Camera and a SurfaceView that renders a centered
* preview of the Camera to the surface. We need to center the SurfaceView
* because not all devices have cameras that support preview sizes at the same
* aspect ratio as the device's display.
*/
From source file com.longle1.facedetection.MainActivity.java
class CameraPreview extends SurfaceView implements SurfaceHolder.Callback {
SurfaceHolder mHolder;
Camera mCamera;
Camera.PreviewCallback previewCallback;
CameraPreview(Context context, Camera.PreviewCallback previewCallback) {
From source file com.dragon4.owo.ar_trace.ARCore.MixView.java
/** * @author daniele */ // ? (? ?) ? class CameraSurface extends SurfaceView implements SurfaceHolder.Callback {