Home
last modified time | relevance | path

Searched refs:surfaceView (Results 1 – 19 of 19) sorted by relevance

/external/exoplayer/tree/demos/surface/src/main/java/com/google/android/exoplayer2/surfacedemo/
DMainActivity.java112 SurfaceView surfaceView = new SurfaceView(this); in onCreate() local
113 view = surfaceView; in onCreate()
114 attachSurfaceListener(surfaceView); in onCreate()
115 surfaceView.setOnClickListener( in onCreate()
117 setCurrentOutputView(surfaceView); in onCreate()
118 nonFullScreenView = surfaceView; in onCreate()
121 nonFullScreenView = surfaceView; in onCreate()
237 private void setCurrentOutputView(@Nullable SurfaceView surfaceView) { in setCurrentOutputView() argument
238 currentOutputView = surfaceView; in setCurrentOutputView()
239 if (surfaceView != null && surfaceView.getHolder().getSurface() != null) { in setCurrentOutputView()
[all …]
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerView.java299 @Nullable private final View surfaceView; field in PlayerView
344 surfaceView = null; in PlayerView()
428 surfaceView = new TextureView(context); in PlayerView()
434 surfaceView = sphericalGLSurfaceView; in PlayerView()
437 surfaceView = new VideoDecoderGLSurfaceView(context); in PlayerView()
440 surfaceView = new SurfaceView(context); in PlayerView()
443 surfaceView.setLayoutParams(params); in PlayerView()
444 contentFrame.addView(surfaceView, 0); in PlayerView()
446 surfaceView = null; in PlayerView()
568 if (surfaceView instanceof TextureView) { in setPlayer()
[all …]
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java212 SurfaceView surfaceView = new SurfaceView(mViewerActivity); in onItemSelected() local
213 surfaceView.setId(R.id.surfaceView); in onItemSelected()
214 surfaceView.getHolder().addCallback(mViewerActivity); in onItemSelected()
215 surfaceView.setOnTouchListener(mViewerActivity); in onItemSelected()
216 mainLayout.addView(surfaceView); in onItemSelected()
DViewerActivity.java76 SurfaceView surfaceView = (SurfaceView) findViewById(R.id.surfaceView); in onCreate() local
77 surfaceView.getHolder().addCallback(this); in onCreate()
78 surfaceView.setOnTouchListener(this); in onCreate()
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java212 SurfaceView surfaceView = new SurfaceView(mViewerActivity); in onItemSelected() local
213 surfaceView.setId(R.id.surfaceView); in onItemSelected()
214 surfaceView.getHolder().addCallback(mViewerActivity); in onItemSelected()
215 surfaceView.setOnTouchListener(mViewerActivity); in onItemSelected()
216 mainLayout.addView(surfaceView); in onItemSelected()
DViewerActivity.java76 SurfaceView surfaceView = (SurfaceView) findViewById(R.id.surfaceView); in onCreate() local
77 surfaceView.getHolder().addCallback(this); in onCreate()
78 surfaceView.setOnTouchListener(this); in onCreate()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoDecoderRenderer.java87 private final GLSurfaceView surfaceView; field in VideoDecoderRenderer
104 public VideoDecoderRenderer(GLSurfaceView surfaceView) { in VideoDecoderRenderer() argument
105 this.surfaceView = surfaceView; in VideoDecoderRenderer()
223 surfaceView.requestRender(); in setOutputBuffer()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DHostActivity.java90 private @MonotonicNonNull SurfaceView surfaceView; field in HostActivity
174 surfaceView = findViewById( in onCreate()
176 surfaceView.getHolder().addCallback(this); in onCreate()
244 @Nullable Surface surface = Util.castNonNull(surfaceView).getHolder().getSurface(); in maybeStartHostedTest()
/external/skia/src/gpu/
DGrWaitRenderTask.h16 GrWaitRenderTask(GrSurfaceProxyView surfaceView, in GrWaitRenderTask() argument
22 , fWaitedOn(std::move(surfaceView)) {} in GrWaitRenderTask()
DGrOpFlushState.h61 explicit OpArgs(GrOp* op, const GrSurfaceProxyView& surfaceView, bool usesMSAASurface, in OpArgs()
66 , fSurfaceView(surfaceView) in OpArgs()
67 , fRenderTargetProxy(surfaceView.asRenderTargetProxy()) in OpArgs()
73 SkASSERT(surfaceView.asRenderTargetProxy()); in OpArgs()
DGrDrawingManager.cpp680 sk_sp<GrOpsTask> GrDrawingManager::newOpsTask(GrSurfaceProxyView surfaceView, in newOpsTask() argument
689 std::move(surfaceView), in newOpsTask()
/external/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/
DMainActivity.java55 SurfaceView surfaceView = findViewById(R.id.surface); in onCreate() local
56 surfaceView.getHolder().addCallback(this); in onCreate()
DRuntimeShaderActivity.java123 SurfaceView sv = findViewById(R.id.surfaceView); in onCreate()
DAnimationActivity.java94 SurfaceView sv = findViewById(R.id.surfaceView); in onCreate()
DCubeActivity.java135 SurfaceView sv = findViewById(R.id.surfaceView); in onCreate()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DCaptureActivity.java106 SurfaceView surfaceView = (SurfaceView) findViewById(R.id.preview_view); in onResume() local
107 SurfaceHolder surfaceHolder = surfaceView.getHolder(); in onResume()
149 SurfaceView surfaceView = (SurfaceView) findViewById(R.id.preview_view); in onPause() local
150 SurfaceHolder surfaceHolder = surfaceView.getHolder(); in onPause()
/external/skia/tests/
DDrawOpAtlasTest.cpp225 GrSurfaceProxyView surfaceView = rtc->writeSurfaceView(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
227 surfaceView, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DPlayer.java285 void setVideoSurfaceView(@Nullable SurfaceView surfaceView); in setVideoSurfaceView() argument
293 void clearVideoSurfaceView(@Nullable SurfaceView surfaceView); in clearVideoSurfaceView() argument
DSimpleExoPlayer.java609 public void setVideoSurfaceView(@Nullable SurfaceView surfaceView) { in setVideoSurfaceView() argument
610 setVideoSurfaceHolder(surfaceView == null ? null : surfaceView.getHolder()); in setVideoSurfaceView()
614 public void clearVideoSurfaceView(@Nullable SurfaceView surfaceView) { in clearVideoSurfaceView() argument
615 clearVideoSurfaceHolder(surfaceView == null ? null : surfaceView.getHolder()); in clearVideoSurfaceView()