Home
last modified time | relevance | path

Searched refs:getSurface (Results 1 – 25 of 41) sorted by relevance

12

/packages/screensavers/Basic/src/com/android/dreams/basic/
DColors.java72 LOG("surfaceCreated(%s, %d, %d)", holder.getSurface(), in surfaceCreated()
85 mRenderer = new ColorsGLRenderer(holder.getSurface(), in surfaceCreated()
94 LOG("surfaceChanged(%s, %d, %d, %d)", holder.getSurface(), format, width, height); in surfaceChanged()
108 LOG("surfaceDestroyed(%s)", holder.getSurface()); in surfaceDestroyed()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/camera2/
DCameraPreviewManager.java270 captureRequestBuilder.addTarget(mSurfaceView.getHolder().getSurface()); in createPreviewSession()
274 outputs.add(new OutputConfiguration(mSurfaceView.getHolder().getSurface())); in createPreviewSession()
293 mCameraId, mRecorder.getSurface().isValid())); in createRecordingSession()
297 captureRequestBuilder.addTarget(mSurfaceView.getHolder().getSurface()); in createRecordingSession()
298 captureRequestBuilder.addTarget(mRecorder.getSurface()); in createRecordingSession()
302 outputs.add(new OutputConfiguration(mSurfaceView.getHolder().getSurface())); in createRecordingSession()
303 outputs.add(new OutputConfiguration(mRecorder.getSurface())); in createRecordingSession()
DCameraSystemActivity.java149 mCaptureRequestBuilder.addTarget(mSurfaceView.getHolder().getSurface()); in onOpened()
151 outputs.add(new OutputConfiguration(mSurfaceView.getHolder().getSurface())); in onOpened()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoCaptureVideoPermissionTest.java52 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC); in testCreatePublicVirtualDisplay()
75 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE); in testCreateSecureVirtualDisplay()
97 reader.getSurface(), 0); in testCreatePrivateVirtualDisplay()
/packages/apps/DevCamera/src/com/android/devcamera/
DApi2Camera.java411 outputSurfaces.add(mYuv1ImageReader.getSurface()); in startCaptureSession()
416 outputSurfaces.add(mDepthCloudImageReader.getSurface()); in startCaptureSession()
421 outputSurfaces.add(mYuv2ImageReader.getSurface()); in startCaptureSession()
432 outputSurfaces.add(mRawImageReader.getSurface()); in startCaptureSession()
438 outputSurfaces.add(mJpegImageReader.getSurface()); in startCaptureSession()
549 b1.addTarget(mYuv1ImageReader.getSurface()); in issuePreviewCaptureRequest()
554 b1.addTarget(mRawImageReader.getSurface()); in issuePreviewCaptureRequest()
560 b1.addTarget(mDepthCloudImageReader.getSurface()); in issuePreviewCaptureRequest()
568 b1.addTarget(mYuv2ImageReader.getSurface()); in issuePreviewCaptureRequest()
598 b1.addTarget(mJpegImageReader.getSurface()); in runReprocessing()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DForwardingImageReader.java54 public Surface getSurface() { in getSurface() method in ForwardingImageReader
55 return mDelegate.getSurface(); in getSurface()
DAndroidImageReaderProxy.java107 public Surface getSurface() { in getSurface() method in AndroidImageReaderProxy
109 return mDelegate.getSurface(); in getSurface()
DImageReaderProxy.java68 public Surface getSurface(); in getSurface() method
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DNavigationFragment.java154 mVirtualDisplay = createVirtualDisplay(holder.getSurface(), width, height); in onCreateView()
156 mVirtualDisplay.setSurface(holder.getSurface()); in onCreateView()
163 + " display, surface: " + holder.getSurface()); in onCreateView()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DZslSharedImageReaderFactory.java87 imageDistributor, imageReader.getSurface()); in ZslSharedImageReaderFactory()
93 imageReader.getSurface(), imageDistributor); in ZslSharedImageReaderFactory()
DSharedImageReaderFactory.java65 new Lifetime(lifetime), ticketPool, imageReader.getSurface(), imageDistributor); in SharedImageReaderFactory()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
DClusterOsDoubleActivity.java175 sVirtualDisplay = createVirtualDisplay(holder.getSurface(), width, height);
184 sVirtualDisplay.setSurface(holder.getSurface());
189 sVirtualDisplay = createVirtualDisplay(holder.getSurface(), width, height);
197 + " display, surface: " + holder.getSurface());
/packages/modules/Virtualization/libs/android_display_backend/
Dcrosvm_android_display_client.cpp64 Surface* getSurface(bool forCursor) { in getSurface() function in __anon1991e2cc0111::DisplayService
162 ANativeWindow* surface = ctx->disp_service->getSurface(for_cursor)->get(); // this can block in create_android_surface()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java687 outputSurfaces.add(mCaptureImageReader.getSurface()); in setup()
767 builder.addTarget(mCaptureImageReader.getSurface()); in sendRepeatingCaptureRequest()
808 builder.addTarget(mCaptureImageReader.getSurface()); in sendSingleRequest()
844 builder.addTarget(mCaptureImageReader.getSurface()); in sendRepeatingBurstCaptureRequest()
878 builder.addTarget(mCaptureImageReader.getSurface()); in sendAutoExposureTriggerRequest()
913 builder.addTarget(mCaptureImageReader.getSurface()); in sendAutoFocusTriggerRequest()
952 builder.addTarget(mCaptureImageReader.getSurface()); in sendAutoFocusHoldRequest()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperSurfaceCallback2.java106 if (mLastSurface != holder.getSurface()) { in surfaceCreated()
107 mLastSurface = holder.getSurface(); in surfaceCreated()
DWallpaperSurfaceCallback.java117 if (mLastSurface != holder.getSurface()) { in surfaceCreated()
118 mLastSurface = holder.getSurface(); in surfaceCreated()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DWorkspaceSurfaceHolderCallback.java118 if (mPreviewUtils.supportsPreview() && mLastSurface != holder.getSurface()) { in surfaceCreated()
119 mLastSurface = holder.getSurface(); in surfaceCreated()
/packages/services/Car/cpp/displayproxy/src/
DCarDisplayProxy.cpp149 auto targetSurface = surfaceControl->getSurface(); in getHGraphicBufferProducer()
175 ScopedAStatus CarDisplayProxy::getSurface(int64_t id, android::view::Surface* _aidl_return) { in getSurface() function in aidl::android::frameworks::automotive::display::implementation::CarDisplayProxy
196 ::android::sp<::android::Surface> targetSurface = surfaceControl->getSurface(); in getSurface()
/packages/apps/Camera2/src/com/android/camera/burst/
DSurfaceTextureContainer.java41 public Surface getSurface() { in getSurface() method in SurfaceTextureContainer
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DVirtualDisplayView.java79 mSurface = holder.getSurface();
85 + " display, surface: " + holder.getSurface());
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/
DMainActivity.java342 + holder.getSurface() in onCreate()
347 holder.getSurface(), in onCreate()
385 holder.getSurface(), true /* forCursor */)); in onCreate()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraController.java766 mImageWriter = ImageWriter.newInstance(mImgReader.getSurface(), MAX_BUFFERS); in startShowingCameraUnavailableLogoNoOffload()
999 Surface surface = mImgReader.getSurface(); in setupWebcamOnlyStreamAndOpenCameraLocked()
1023 Surface surface = mImgReader.getSurface(); in setupWebcamStreamAndReconfigureSessionLocked()
1165 mPreviewRequestBuilder.removeTarget(mImgReader.getSurface()); in stopWebcamStreamOnlyLocked()
1515 mImgReader.getSurface())) { in tapToFocus()
1516 builder.addTarget(mImgReader.getSurface()); in tapToFocus()
/packages/services/Car/cpp/displayproxy/include/
DCarDisplayProxy.h46 ::ndk::ScopedAStatus getSurface(int64_t id,
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DVideoSessionTest.java68 RESOLUTION_WIDTH, RESOLUTION_HEIGHT, ImageFormat.JPEG, 1).getSurface();
70 RESOLUTION_WIDTH, RESOLUTION_HEIGHT, ImageFormat.JPEG, 1).getSurface();
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DDisplayUtils.java100 mReader.getSurface(), flags); in createDisplayWithDefaultDisplayMetricsAndWait()

12