Home
last modified time | relevance | path

Searched refs:mSurfaceControl (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware/tests/camera2/
DCameraMultiStreamTests.cpp93 sp<SurfaceControl> mSurfaceControl; member in android::camera2::tests::CameraMultiStreamTest
99 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()
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_surfacetexture.cpp330 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()
Dcamera_test_surfacetexture.h86 sp<SurfaceControl> mSurfaceControl; variable
/hardware/qcom/camera/QCamera2/HAL/test/
Dqcamera_test.cpp1547 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 …]
Dqcamera_test.h172 sp<SurfaceControl> mSurfaceControl; variable