summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-20fix simple-egl compile erroricefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.3icefish/8.99.2icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.99.38.99.28.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.1halibutwang_zhiqiang1-3/+3
Because constant key values which defined in libhomescreen.hpp was deleted, so no longer use these key word in simple-egl. related: https://gerrit.automotivelinux.org/gerrit/#/c/20215/ Bug-AGL: SPEC-2188 Change-Id: I89d3ef0fb2e8ed02ec86a14b0368ca946cdf6d49 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-02-26Start app and get runnables list by homescreenwang_zhiqiang2-13/+37
1.add getRunnables interface. 2.add Event_AppListChanged event. 3.delete area defination in libhomescreen.hpp Bug-AGL: SPEC-2188 Change-Id: I8344067ecadc09e917610eb0a6e191924106f012 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-01-29Improve safety of link to event loophalibut_7.90.0halibut/7.90.07.90.0sandbox/knimitz/rev_19627José Bollo1-9/+18
Instead of using the default one that depends on the current thread and that might be shared with other items, use an explicit new one running in a dedicated thread. Bug-AGL: SPEC-2130 Change-Id: Ie609d19157a5dcaf6e5fa3896dc91d88ba5f214a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-21add new features in homescreen-service and homescreenguppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.16.99.46.99.36.99.26.99.1wang_zhiqiang4-72/+285
homescreen-service: add five verbs. 1.showWindow: instead of tap_shortcut and show onscreen. 2.hideWindow: used when want to hide onscreen. 3.replyShowWindow: used when post onscreen reply information to application. 4.showNotification: used by application who want to display notification on homescreen top area. 5.showInformation: used by application who want to display information on homescreen botton area. homescreen: 1.add fullscreen transfer button. 2.display notification and information. Bug-AGL: SPEC-1931 Change-Id: Ie0753fe0656282b1ff8c04dcef625f2a4154edde Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-06use appid instead of appname in "tap_shortcut"wang_zhiqiang4-25/+15
Now In homescreen-service used application_id to identify different application, so use appid instead of appname in "tap_shortcut" parameter. Bug-AGL: SPEC-1764 Change-Id: I46af214cf25108ca0c2983a54547ab1f64f9ab59 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-10-16emit event to one applicationwang_zhiqiang1-8/+10
changed agl-service-homescreen and libhomescreen to make agl-service-homescreen emit event to one application only. BUG-AGL: SPEC-1764 Change-Id: If595c6043b559d64dff62bd826482c651e9ae808 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-09-18Remove compile warningguppy_6.90.0guppy/6.90.06.90.0wang_zhiqiang1-1/+5
change from deprecated function 'json_object_object_get' to 'json_object_object_get_ex'. Change-Id: I3ae6f1e39d1f05033568662bff9a2a35e2da5879 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-30Update sample code using simple libwindowmanager APIflounder_5.99.6flounder_5.99.5flounder/5.99.6flounder/5.99.55.99.65.99.5Kazumasa Mitsunari1-52/+38
Use simple APIs of libwindowmanager. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/16109/ Change-Id: I58e23cb999d128e157379592040922f924ffd9f3 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-08-24Revert "Use appid between homescreen-service and apps"flounder_5.99.4flounder/5.99.45.99.4Tadao Tanikawa3-33/+22
This reverts commit 58d5aa69c638b5e6d59f858516385e01fe248031. Bug-AGL: SPEC-1685 Change-Id: I166edba9dcc41a7f2e5d9c7a9a6bd75216a27be8 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-16Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong3-22/+33
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. [Patch Sets 2] Make a copy of the string returned by getenv. BUG-AGL: SPEC-1645 Change-Id: I042015ee92c4c142418b1ac15d51a9408e219757 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-07-30Fix make widget bug for sample sourcesandbox/ruke47/flounder_RPi3zheng_wenlong1-0/+1
There is a install error for sample code, because of missing with mkdir root/bin. Change-Id: Ia168a6b59213c7a83f36486bbe0b3f3ffc928ec9 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-30Fix problem when pointer is nullptr.zheng_wenlong1-0/+3
When event_only pointer is nullptr, print out a warning log and return. Change-Id: I1115cc1d17a1cbfa4b9a2cdee57fe56069a3fe81 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-27Fix not to release json_object on Event(Reply)Kazumasa Mitsunari1-5/+5
libafbwsc releases json_object on behalf of application. Then calling json_object in this library may cause double free, so fix it. Bug-AGL: SPEC-1471 Change-Id: I1bb3109c80891718f7bfd69e67688c1c880e95de Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-12-08Merge sandbox source code to masterflounder_5.99.2flounder_5.99.1flounder/5.99.2flounder/5.99.15.99.25.99.1zheng_wenlong1-118/+31
Modify libwindowmanager's requestSurface api. Change failed log to HMI_ERROR. Delete global variable gWindow. Delete split window code. Change-Id: I83df68f2ae3d34d7589370df4010f5b297662f69 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-11-10Set default debug level to errorzheng_wenlong2-4/+8
Default enable HMI_ERROR output. Remove afb-binding.h and add necessary header files. [Patch Set 2] Change LOG_LEVEL_MAX value equal LOG_LEVEL_DEBUG. Change-Id: Ie8c4902f13b600c2b3f5c7d2e924bfa3a22dfc52 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-31Remove afb-binding.h inclusionYuta Doi3-5/+2
In libhomescreen, afb-binding.h inclusion occurres a lots of compile error. Only use afb/afb-wsj1.h and afb/afb-ws-client.h. Change-Id: I8f606206cf0f833c765c85eb8e91aab008dac116 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
2017-10-31Add libhomescreen.hpp to install destinationzheng_wenlong1-0/+1
Applications need include libhomescreen.hpp, so add it into install destination. BUG-AGL: SPEC-991 Change-Id: I7f1640a847b3ab57d0e7e6e1ea8ce4c44a0806eb Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-31Add debug message macros controlled by environment variablezheng_wenlong2-41/+98
Add a HMI_DEBUG macro to print debug messages. It is controlled by the USE_HMI_DEBUG environment variable. BUG-AGL: SPEC-998 Change-Id: Ic1a3c8267e736def4456204f14bdac38ad105fe8 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-31Use correct windowmanager api calling sequencezheng_wenlong1-26/+47
For an application which doesn't use qt, but wants to use the windowmanager-service, the application needs to call the windowmanager api in the correct sequence. Change this sample application to use the correct sequence. Rule1: Between activeSurface and syncDraw, application should not draw anything. Rule2: An application can change the window size when it received a syncDraw event, it does not need to do it in ivi_surface configuration. [Patch Sets 2] Miss a drawing control flag code, fix it. BUG-AGL: SPEC-988 Change-Id: I913d80653c864b5c1039da9a15b616666bdde6e3 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Use new OnScreenReply API in libhomescreenzheng_wenlong2-2/+39
As homescreen-service added the OnScreenReply function, we can add the OnScreenReply to libhomescreen so applications can use this api easily. BUG-AGL: SPEC-985 Change-Id: I8038fea7471d1ae0777dcbff19e45c38fb6f614f Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Modify function argument from char to jsonzheng_wenlong5-45/+90
Change libhomescreen event api from char to json. Also modify samples who use this. BUG-AGL: SPEC-992 Change-Id: Id3986d413f9494019f6b175488dd73de226ba020 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Remove the redundant thread loopzheng_wenlong3-66/+15
Because libhomescreen already has a thread to receive events, we can remove the thread loop in libhomescreen. Related Commit: https://gerrit.automotivelinux.org/gerrit/#/c/11403/ BUG-AGL: SPEC-989 Change-Id: I32d65efcf32f3395719837339659ff94b3e64889 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-30Move sample from agl-service-homescreen-2017zheng_wenlong19-0/+2801
This sample is using libhomescren with homescreen sevice, So better move inside of libhomescreen. Related Commit: https://gerrit.automotivelinux.org/gerrit/#/c/11429/ [Patch Sets 2] Rebased to c0e6b4d9496eacabeffc4115fad7c1a288de60c8 [Patch Sets 3] Delete ivi-application-client-protocol.h and some trailing whitespace. [Patch Sets 4] Change temlate/README to README.md [Patch Sets 5] Rebased to 572023336d9573d3d5636d7e61a8dd3ed8878b0d [Patch Sets 6] Add LICENSE.APL-2.0 and LICENSE.MIT to sample. Modify config.xml license to APL 2.0 + MIT. BUG-AGL: SPEC-988 Change-Id: Id9a1a2401a9a0a42442ce84025213036a4fccd78 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-26Add debug message control by environment variablezheng_wenlong2-53/+92
Add HMI_DEBUG to print debug message, It is controlled by the USE_HMI_DEBUG environment variable. BUG-AGL: SPEC-998 Change-Id: I4b948f3af0d3a1b5e8707518e5b83a1029df3667 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-10-23Split libhomescreen from agl-homescreen-service-2017zheng_wenlong18-553/+779
Split libhomescreen library from agl-homescreen-service-2017. Relative commit: https://gerrit.automotivelinux.org/gerrit/#/c/11413/ Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-02-14Add .mailmap file to clean up statseel_4.99.3eel_4.99.2eel_4.99.1eel/4.99.3eel/4.99.2eel/4.99.1dab_3.99.1dab/3.99.14.99.34.99.24.99.13.99.1Bocklage, Jens1-0/+3
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-19Add LICENSE fileBocklage, Jens1-0/+54
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-18Initial source commitBocklage, Jens12-0/+585
Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-17Add .gitignore and .gitreviewBocklage, Jens2-0/+131
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-16Initial empty repositoryJan-Simon Moeller0-0/+0