Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 25 of 33) sorted by relevance

12

/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.kt118 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/samples/android/media/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.kt118 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/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.java116 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/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/widget/
DMovieView.java116 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/
DSimpleTvInputService.java71 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/
DLocalPlayer.java294 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/
DLocalPlayer.java294 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/
DTvInputPlayer.java124 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()
464 void onDrawnToSurface(Surface surface); in onDrawnToSurface() argument
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.kt80 if (holder.surface == null) { in surfaceChanged()
/developers/build/prebuilts/gradle/RuntimePermissionsBasic/kotlinApp/Application/src/main/java/com/example/android/basicpermissions/camera/
DCameraPreview.kt80 if (holder.surface == null) { in surfaceChanged()
/developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.kt83 if (surfaceHolder?.surface == null) { in surfaceChanged()
/developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/camera/
DCameraPreview.kt83 if (surfaceHolder?.surface == null) { in surfaceChanged()
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
DMediaCodecWrapper.java137 Surface surface) throws IOException { in fromVideoFormat() argument
148 videoCodec.configure(trackFormat, surface, null, 0); in fromVideoFormat()
/developers/samples/android/common/src/java/com/example/android/common/media/
DMediaCodecWrapper.java137 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/
DMediaCodecWrapper.java137 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/
DCamera2BasicFragment.kt500 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/
DCamera2BasicFragment.kt500 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/
DRichTvInputService.java175 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/
DREADME.md30 where `surfaces` is a list consisting of the surface view of your TextureView and the surface of
/developers/samples/android/media/Camera2Video/kotlinApp/
DREADME.md30 where `surfaces` is a list consisting of the surface view of your TextureView and the surface of
/developers/build/prebuilts/gradle/Camera2Video/
DREADME.md30 where `surfaces` is a list consisting of the surface view of your TextureView and the surface of
/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/
DREADME.md30 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/
DScreenCaptureFragment.java81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface); in onViewCreated()
/developers/samples/android/media/ScreenCapture/Application/src/main/java/com/example/android/screencapture/
DScreenCaptureFragment.java81 mSurfaceView = (SurfaceView) view.findViewById(R.id.surface); in onViewCreated()
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.java684 Surface surface = new Surface(texture); in createCameraPreviewSession() local
689 mPreviewRequestBuilder.addTarget(surface); in createCameraPreviewSession()
692 mCameraDevice.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()), in createCameraPreviewSession()

12