Searched refs:mSurfaceControl (Results 1 – 5 of 5) sorted by relevance
93 sp<SurfaceControl> mSurfaceControl; member in android::camera2::tests::CameraMultiStreamTest99 mSurfaceControl = mComposerClient->createSurface( in CreateOnScreenSurface()104 ASSERT_NE((void*)NULL, mSurfaceControl.get()); in CreateOnScreenSurface()105 ASSERT_TRUE(mSurfaceControl->isValid()); in CreateOnScreenSurface()108 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); in CreateOnScreenSurface()109 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in CreateOnScreenSurface()112 surface = mSurfaceControl->getSurface(); in CreateOnScreenSurface()
330 mSurfaceControl = mComposerClient->createSurface( in initialize()334 ASSERT(mSurfaceControl != NULL); in initialize()335 ASSERT(mSurfaceControl->isValid()); in initialize()338 ASSERT(NO_ERROR == mSurfaceControl->setLayer(0x7FFFFFFF)); in initialize()339 ASSERT(NO_ERROR == mSurfaceControl->show()); in initialize()342 sp<ANativeWindow> window = mSurfaceControl->getSurface(); in initialize()
86 sp<SurfaceControl> mSurfaceControl; variable
1547 mSurfaceControl = mClient->createSurface(String8("QCamera_Test"), in createPreviewSurface()1552 if ( NULL == mSurfaceControl.get() ) { in createPreviewSurface()1557 mPreviewSurface = mSurfaceControl->getSurface(); in createPreviewSurface()1560 ret |= mSurfaceControl->setLayer(0x7fffffff); in createPreviewSurface()1562 ret |= mSurfaceControl->setPosition(0, 0); in createPreviewSurface()1564 ret |= mSurfaceControl->setPosition((float)(dinfo.w - previewWidth), in createPreviewSurface()1567 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()1568 ret |= mSurfaceControl->show(); in createPreviewSurface()1598 if ( NULL != mSurfaceControl.get() ) { in destroyPreviewSurface()1599 mSurfaceControl->clear(); in destroyPreviewSurface()[all …]
172 sp<SurfaceControl> mSurfaceControl; variable