Lines Matching refs:surfaceId
26 surfaceId: string;
34 console.info(`worker initCamera surfaceId:${messageInfo.surfaceId}`)
36 await CameraService.initCamera(messageInfo.context, messageInfo.surfaceId);
69 async initCamera(context: Context, surfaceId: string): Promise<void> {
70 console.info(`initCamera surfaceId: ${surfaceId}`);
98 this.previewOutput = this.cameraManager.createPreviewOutput(previewProfile, surfaceId);
166 private surfaceId: string = '';
173 if ('' !== this.surfaceId) {
178 surfaceId: this.surfaceId,
200 // 初始化XComponent获取预览流surfaceId
201 this.surfaceId = this.mXComponentController.getXComponentSurfaceId();
207 console.info(`onLoad surfaceId: ${this.surfaceId}`);
216 surfaceId: this.surfaceId, // 将surfaceId传给worker线程使用