X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=doc%2Fparts%2FshowOnscreen.svg;fp=doc%2Fparts%2FshowOnscreen.svg;h=6f4d3ea9c965e54248f7e2867b517978c613e707;hb=49202045fee4f435a6f512e0d7b842e542737e87;hp=9a0447e123793ad4121a31362982a8497b8fabc1;hpb=830fdfcd6a8d030fc505e26b86d84c1595769b5c;p=apps%2Fonscreenapp.git diff --git a/doc/parts/showOnscreen.svg b/doc/parts/showOnscreen.svg index 9a0447e..6f4d3ea 100644 --- a/doc/parts/showOnscreen.svg +++ b/doc/parts/showOnscreen.svg @@ -1,4 +1,4 @@ -show/hide onscreen phaseuseruserhomescreen-servicehomescreen-serviceAppApponscreenapponscreenappwindowmanagerwindowmanagershow onscreenthe operation request onscreenshowWindow(){"application_id":"onscreenapp","parameter":{"area":"display area", "file":"qml file path liked appid/xxx.qml","data":{"the datas to onscreen qml"}}}push showWindow event{"application_id":"onscreenapp","parameter":{"area":"display area", "file":"qml file path liked appid/xxx.qml","data":{"the datas to onscreen qml"},"replyto":"caller application id"}}get and save parametersactivateWindow("onscreeapp", "display area")alt[can show]push syncDraw eventendDraw("onscreeapp")load and display qml fileqml path "/usr/lib/qt5/qml/AGL/OnScreen/appid/xxx.qml"[can't show]do nothinghide onscreentap onscreen's buttonreplyShowWindow(){"application_id":"the application id who called onscreenapp","parameter": {"buttonName": "VOLUME_UP", "buttonPressMode": "shortPress", "buttonPressState": "release"}}push replyShowWindow eventcall reply functionhideWindow("onscreenapp")push hideWindow event{"application_id":"request hideWindow application id"}deactivateWindow("onscreenapp");hide window