List of usage examples for android.view SurfaceHolder.Callback interface-usage
From source file com.nekomeshi312.whiteboardcorrection.CameraViewFragment.java
public class CameraViewFragment extends SherlockFragment implements SurfaceHolder.Callback, Camera.PreviewCallback, CameraSurfaceView.CameraPreview { public interface LineDetectCallback { public void onLineDetected(ArrayList<Point> points);
From source file app.axe.imooc.zxing.app.CaptureActivity.java
/**
* The barcode reader activity itself. This is loosely based on the
* CameraPreview example included in the Android SDK.
*
* @author dswitkin@google.com (Daniel Switkin)
* @author Sean Owen
From source file com.google.zxing.client.android.CaptureActivity.java
private ViewfinderView viewfinderView; private boolean hasSurface; private IntentSource source; private Collection<BarcodeFormat> decodeFormats; private String characterSet; private InactivityTimer inactivityTimer;
From source file com.coact.kochzap.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.horaapps.leafpic.PlayerActivity.java
public class PlayerActivity extends ThemedActivity implements SurfaceHolder.Callback, DemoPlayer.Listener, DemoPlayer.Id3MetadataListener, AudioCapabilitiesReceiver.Listener { // For use within demo app code. private static final String CONTENT_TYPE_EXTRA = "content_type";
From source file org.horaapps.leafpic.activities.PlayerActivity.java
public class PlayerActivity extends ThemedActivity implements SurfaceHolder.Callback, DemoPlayer.Listener, DemoPlayer.Id3MetadataListener, AudioCapabilitiesReceiver.Listener { // For use within demo app code. private static final String CONTENT_TYPE_EXTRA = "content_type";
From source file com.scooter1556.sms.androidtv.fragment.VideoPlayerFragment.java
public class VideoPlayerFragment extends android.support.v17.leanback.app.PlaybackOverlayFragment implements SurfaceHolder.Callback, SMSVideoPlayer.Listener { static final String SUPPORTED_CODECS = "h264,vp8,aac,mp3,vorbis"; static final String MCH_CODECS = "ac3"; static final String FORMAT = "matroska";
From source file org.fossasia.phimpme.leafpic.activities.PlayerActivity.java
public class PlayerActivity extends ThemedActivity implements SurfaceHolder.Callback, DemoPlayer.Listener, DemoPlayer.Id3MetadataListener, AudioCapabilitiesReceiver.Listener { // For use within demo app code. private static final String CONTENT_TYPE_EXTRA = "content_type";
From source file com.appunite.appunitevideoplayer.PlayerActivity.java
public class PlayerActivity extends Activity implements SurfaceHolder.Callback, DemoPlayer.Listener, DemoPlayer.CaptionListener, DemoPlayer.Id3MetadataListener, AudioCapabilitiesReceiver.Listener { public static final String CONTENT_TYPE_EXTRA = "content_type"; public static final String VIDEO_URL_EXTRA = "video_url_extra"; public static final String TITLE_TEXT_EXTRA = "title_text_extra";
From source file net.oschina.app.v2.activity.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.
*
* @author dswitkin@google.com (Daniel Switkin)