Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.cpp1535 mSurfaceControl = mClient->createSurface(String8("QCamera_Test"), in createPreviewSurface()
1540 if ( NULL == mSurfaceControl.get() ) { in createPreviewSurface()
1545 mPreviewSurface = mSurfaceControl->getSurface(); in createPreviewSurface()
1548 ret |= mSurfaceControl->setLayer(0x7fffffff); in createPreviewSurface()
1550 ret |= mSurfaceControl->setPosition(0, 0); in createPreviewSurface()
1552 ret |= mSurfaceControl->setPosition((float)(dinfo.w - previewWidth), in createPreviewSurface()
1555 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
1556 ret |= mSurfaceControl->show(); in createPreviewSurface()
1586 if ( NULL != mSurfaceControl.get() ) { in destroyPreviewSurface()
1587 mSurfaceControl->clear(); in destroyPreviewSurface()
[all …]
Dqcamera_test.h172 sp<SurfaceControl> mSurfaceControl; variable