/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/ |
D | MovieView.kt | 118 mSurfaceView = findViewById<SurfaceView>(R.id.surface) in <lambda>() 136 R.id.surface -> toggleControls() in <lambda>() 165 openVideo(holder.surface) in <lambda>() 254 val surface = mSurfaceView.holder.surface in <lambda>() constant 255 if (surface != null && surface.isValid) { in <lambda>() 257 openVideo(surface) in <lambda>() 344 internal fun openVideo(surface: Surface) { in <lambda>() 350 player.setSurface(surface) in <lambda>()
|
/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/ |
D | MovieView.kt | 118 mSurfaceView = findViewById<SurfaceView>(R.id.surface) in <lambda>() 136 R.id.surface -> toggleControls() in <lambda>() 165 openVideo(holder.surface) in <lambda>() 254 val surface = mSurfaceView.holder.surface in <lambda>() constant 255 if (surface != null && surface.isValid) { in <lambda>() 257 openVideo(surface) in <lambda>() 344 internal fun openVideo(surface: Surface) { in <lambda>() 350 player.setSurface(surface) in <lambda>()
|
/developers/build/prebuilts/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/ |
D | MovieView.java | 116 mSurfaceView = findViewById(R.id.surface); in MovieView() 141 case R.id.surface: in MovieView() 305 Surface surface = mSurfaceView.getHolder().getSurface(); in setVideoResourceId() local 306 if (surface != null && surface.isValid()) { in setVideoResourceId() 308 openVideo(surface); in setVideoResourceId() 403 void openVideo(Surface surface) { in openVideo() argument 408 mMediaPlayer.setSurface(surface); in openVideo()
|
/developers/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/ |
D | MovieView.java | 116 mSurfaceView = findViewById(R.id.surface); in MovieView() 141 case R.id.surface: in MovieView() 305 Surface surface = mSurfaceView.getHolder().getSurface(); in setVideoResourceId() local 306 if (surface != null && surface.isValid()) { in setVideoResourceId() 308 openVideo(surface); in setVideoResourceId() 403 void openVideo(Surface surface) { in openVideo() argument 408 mMediaPlayer.setSurface(surface); in openVideo()
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/ |
D | SimpleTvInputService.java | 71 public boolean onSetSurface(Surface surface) { in onSetSurface() argument 73 mPlayer.setSurface(surface); in onSetSurface() 75 mSurface = surface; in onSetSurface()
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
D | LocalPlayer.java | 294 protected void setSurface(Surface surface) { in setSurface() argument 295 mSurface = surface; in setSurface() 366 public static final void setSurface(MediaPlayer player, Surface surface) { in setSurface() argument 367 player.setSurface(surface); in setSurface() 616 public void onWindowCreated(Surface surface) { in onWindowCreated() argument 617 setSurface(surface); in onWindowCreated()
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
D | LocalPlayer.java | 294 protected void setSurface(Surface surface) { in setSurface() argument 295 mSurface = surface; in setSurface() 366 public static final void setSurface(MediaPlayer player, Surface surface) { in setSurface() argument 367 player.setSurface(surface); in setSurface() 616 public void onWindowCreated(Surface surface) { in onWindowCreated() argument 617 setSurface(surface); in onWindowCreated()
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/player/ |
D | TvInputPlayer.java | 124 public void onDrawnToSurface(Surface surface) { 126 callback.onDrawnToSurface(surface); 405 public void setSurface(Surface surface) { in setSurface() argument 406 mSurface = surface; in setSurface() 409 surface); in setSurface() 465 void onDrawnToSurface(Surface surface); in onDrawnToSurface() argument
|
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/ |
D | CameraPreview.kt | 80 if (holder.surface == null) { in surfaceChanged()
|
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/ |
D | CameraPreview.kt | 80 if (holder.surface == null) { in surfaceChanged()
|
/developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/ |
D | CameraPreview.kt | 83 if (surfaceHolder?.surface == null) { in surfaceChanged()
|
/developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/ |
D | CameraPreview.kt | 83 if (surfaceHolder?.surface == null) { in surfaceChanged()
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
D | MediaCodecWrapper.java | 137 Surface surface) throws IOException { in fromVideoFormat() argument 148 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
|
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
D | MediaCodecWrapper.java | 137 Surface surface) throws IOException { in fromVideoFormat() argument 148 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
D | MediaCodecWrapper.java | 137 Surface surface) throws IOException { in fromVideoFormat() argument 148 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
|
/developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/ |
D | Camera2BasicFragment.kt | 500 val surface = Surface(texture) in createCameraPreviewSession() constant 506 previewRequestBuilder.addTarget(surface) in createCameraPreviewSession() 509 cameraDevice?.createCaptureSession(Arrays.asList(surface, imageReader?.surface), in createCameraPreviewSession() 627 addTarget(imageReader?.surface) in captureStillPicture()
|
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/ |
D | Camera2BasicFragment.kt | 500 val surface = Surface(texture) in createCameraPreviewSession() constant 506 previewRequestBuilder.addTarget(surface) in createCameraPreviewSession() 509 cameraDevice?.createCaptureSession(Arrays.asList(surface, imageReader?.surface), in createCameraPreviewSession() 627 addTarget(imageReader?.surface) in captureStillPicture()
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
D | RichTvInputService.java | 175 public void onDrawnToSurface(Surface surface) { 242 public boolean onSetSurface(Surface surface) { in onSetSurface() argument 244 mPlayer.setSurface(surface); in onSetSurface() 246 mSurface = surface; in onSetSurface()
|
/developers/samples/android/media/Camera2Video/ |
D | README.md | 30 where `surfaces` is a list consisting of the surface view of your TextureView and the surface of
|
/developers/build/prebuilts/gradle/Camera2Video/ |
D | README.md | 30 where `surfaces` is a list consisting of the surface view of your TextureView and the surface of
|
/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/ |
D | README.md | 30 where `surfaces` is a list consisting of the surface view of your TextureView and the surface of
|
/developers/build/prebuilts/gradle/ScreenCapture/Application/src/main/java/com/example/android/screencapture/ |
D | ScreenCaptureFragment.java | 81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface); in onViewCreated()
|
/developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/ |
D | ScreenCaptureFragment.java | 81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface); in onViewCreated()
|
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
D | Camera2BasicFragment.java | 684 Surface surface = new Surface(texture); in createCameraPreviewSession() local 689 mPreviewRequestBuilder.addTarget(surface); in createCameraPreviewSession() 692 mCameraDevice.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()), in createCameraPreviewSession()
|
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
D | Camera2BasicFragment.java | 684 Surface surface = new Surface(texture); in createCameraPreviewSession() local 689 mPreviewRequestBuilder.addTarget(surface); in createCameraPreviewSession() 692 mCameraDevice.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()), in createCameraPreviewSession()
|