Example usage for android.view TextureView.SurfaceTextureListener interface-usage

List of usage examples for android.view TextureView.SurfaceTextureListener interface-usage

Introduction

In this page you can find the example usage for android.view TextureView.SurfaceTextureListener interface-usage.

Usage

From source file MainActivity.java

public class MainActivity extends AppCompatActivity implements TextureView.SurfaceTextureListener {

    private Camera mCamera;
    private TextureView mTextureView;

    Camera.PictureCallback pictureCallback = new Camera.PictureCallback() {

From source file com.lamcreations.scaffold.common.activities.VideoSplashScreenActivity.java

public abstract class VideoSplashScreenActivity extends BaseActivity implements TextureView.SurfaceTextureListener,
        MediaPlayer.OnBufferingUpdateListener, MediaPlayer.OnCompletionListener, MediaPlayer.OnPreparedListener,
        MediaPlayer.OnVideoSizeChangedListener, MediaPlayer.OnSeekCompleteListener {

    private static final String TAG = "VideoSplashScreen";

From source file com.google.android.apps.gutenberg.ScannerFragment.java

public class ScannerFragment extends Fragment
        implements TextureView.SurfaceTextureListener, ScannerManager.ScanListener {

    private static final String TAG = "ScannerFragment";

    private ScannerManager mScannerManager;

From source file ca.frozen.curlingtv.activities.VideoFragment.java

public class VideoFragment extends Fragment implements TextureView.SurfaceTextureListener {
    // public interfaces
    public interface OnFadeListener {
        void onStartFadeIn();

        void onStartFadeOut();

From source file ca.frozen.rpicameraviewer.activities.VideoFragment.java

public class VideoFragment extends Fragment implements TextureView.SurfaceTextureListener {
    // public interfaces
    public interface OnFadeListener {
        void onStartFadeIn();

        void onStartFadeOut();

From source file com.example.gemswin.screancasttest.MainActivity_Reciever.java

public class MainActivity_Reciever extends Activity implements ReceiverAsyncTask.ReceiverListener,
        TextureView.SurfaceTextureListener, OnVideoSizeChangedListener {

    private static final String LOG_TAG = MainActivity_Reciever.class.getSimpleName();
    private ReceiverAsyncTask mTask;
    private final MediaCodecFactory mMediaCodecFactory = new MediaCodecFactory(0, 0);

From source file com.example.gemswin.screencastrecevertest.MainActivity_Reciever.java

public class MainActivity_Reciever extends Activity implements ReceiverAsyncTask.ReceiverListener, TextureView.SurfaceTextureListener, OnVideoSizeChangedListener {

   private static final String LOG_TAG = MainActivity_Reciever.class.getSimpleName();
   private ReceiverAsyncTask mTask;
   private final MediaCodecFactory mMediaCodecFactory = new MediaCodecFactory(0,0);
   private DecoderAsyncTask mDecoderAsyncTask;

From source file net.nanocosmos.bintu.demo.encoder.activities.StreamActivity.java

/**
 * Created by nanocosmos GmbH (c) 2015 - 2016
 */
public class StreamActivity extends Activity implements NanostreamEventListener, FocusCallback,
        NanostreamAudioSource.AudioLevelCallback, TextureView.SurfaceTextureListener {
    private static final String TAG = "StreamActivity";

From source file com.aengbee.android.leanback.ui.PlaybackOverlayFragment_WebView.java

public class PlaybackOverlayFragment_WebView extends android.support.v17.leanback.app.PlaybackOverlayFragment
        implements LoaderManager.LoaderCallbacks<Cursor>, TextureView.SurfaceTextureListener, VideoPlayer.Listener {
    private static final String TAG = "PlaybackOverlayFragment";
    private static final int BACKGROUND_TYPE = PlaybackOverlayFragment_WebView.BG_LIGHT;
    private static final String AUTO_PLAY = "auto_play";
    private static final Bundle mAutoPlayExtras = new Bundle();

From source file com.example.android.tvleanback.ui.PlaybackOverlayFragment.java

public class PlaybackOverlayFragment extends android.support.v17.leanback.app.PlaybackOverlayFragment
        implements LoaderManager.LoaderCallbacks<Cursor>, TextureView.SurfaceTextureListener, VideoPlayer.Listener {
    private static final String TAG = "PlaybackOverlayFragment";
    private static final int BACKGROUND_TYPE = PlaybackOverlayFragment.BG_LIGHT;
    private static final String AUTO_PLAY = "auto_play";
    private static final Bundle mAutoPlayExtras = new Bundle();