/external/exoplayer/tree/demos/surface/src/main/java/com/google/android/exoplayer2/surfacedemo/ |
D | MainActivity.java | 112 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/ |
D | PlayerView.java | 299 @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/ |
D | StateAdapter.java | 212 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()
|
D | ViewerActivity.java | 76 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/ |
D | StateAdapter.java | 212 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()
|
D | ViewerActivity.java | 76 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/ |
D | VideoDecoderRenderer.java | 87 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/ |
D | HostActivity.java | 90 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/ |
D | GrWaitRenderTask.h | 16 GrWaitRenderTask(GrSurfaceProxyView surfaceView, in GrWaitRenderTask() argument 22 , fWaitedOn(std::move(surfaceView)) {} in GrWaitRenderTask()
|
D | GrOpFlushState.h | 61 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()
|
D | GrDrawingManager.cpp | 680 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/ |
D | MainActivity.java | 55 SurfaceView surfaceView = findViewById(R.id.surface); in onCreate() local 56 surfaceView.getHolder().addCallback(this); in onCreate()
|
D | RuntimeShaderActivity.java | 123 SurfaceView sv = findViewById(R.id.surfaceView); in onCreate()
|
D | AnimationActivity.java | 94 SurfaceView sv = findViewById(R.id.surfaceView); in onCreate()
|
D | CubeActivity.java | 135 SurfaceView sv = findViewById(R.id.surfaceView); in onCreate()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | CaptureActivity.java | 106 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/ |
D | DrawOpAtlasTest.cpp | 225 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/ |
D | Player.java | 285 void setVideoSurfaceView(@Nullable SurfaceView surfaceView); in setVideoSurfaceView() argument 293 void clearVideoSurfaceView(@Nullable SurfaceView surfaceView); in clearVideoSurfaceView() argument
|
D | SimpleExoPlayer.java | 609 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()
|