X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fhomescreencontrolinterface.cpp;h=faf4b9905a61486fb9024b358298a7d55d2c5816;hb=337319e30026b0bae453dc7363f27469fa2ab526;hp=057e7429cd2e76ef9e9f07258c9452720b98a963;hpb=d19555c038f6f1f89f08f12c88908d84b32b1bbf;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/homescreencontrolinterface.cpp b/HomeScreen/src/homescreencontrolinterface.cpp index 057e742..faf4b99 100644 --- a/HomeScreen/src/homescreencontrolinterface.cpp +++ b/HomeScreen/src/homescreencontrolinterface.cpp @@ -24,6 +24,18 @@ HomeScreenControlInterface::~HomeScreenControlInterface() delete mp_homeScreenAdaptor; } +QList HomeScreenControlInterface::getAllSurfacesOfProcess(int pid) +{ + qDebug("getAllSurfacesOfProcess %d", pid); + return newRequestGetAllSurfacesOfProcess(pid); +} + +int HomeScreenControlInterface::getSurfaceStatus(int surfaceId) +{ + qDebug("getSurfaceStatus %d", surfaceId); + return newRequestGetSurfaceStatus(surfaceId); +} + void HomeScreenControlInterface::hardKeyPressed(int key) { int pid = -1; @@ -42,8 +54,20 @@ void HomeScreenControlInterface::hardKeyPressed(int key) } } -void HomeScreenControlInterface::toggleFullScreen() +void HomeScreenControlInterface::renderSurfaceToArea(int surfaceId, int layoutArea) +{ + qDebug("renderSurfaceToArea %d %d", surfaceId, layoutArea); + newRequestRenderSurfaceToArea(surfaceId, layoutArea); +} + +bool HomeScreenControlInterface::renderSurfaceToAreaAllowed(int surfaceId, int layoutArea) +{ + qDebug("renderSurfaceToAreaAllowed %d %d", surfaceId, layoutArea); + return renderSurfaceToAreaAllowed(surfaceId, layoutArea); +} + +void HomeScreenControlInterface::requestSurfaceIdToFullScreen(int surfaceId) { - qDebug("toggleFullScreen"); - newRequestsToggleFullscreen(); + qDebug("requestSurfaceIdToFullScreen %d", surfaceId); + newRequestSurfaceIdToFullScreen(surfaceId); }