aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-22Add workaround for top panel button highlightingkoi_10.91.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.29.99.49.99.39.99.210.91.0Scott Murray3-6/+11
The switch to the new compositor removed the callback to update the top panel button highlight since it was being driven by the Event_ScreenUpdated event from the old windowmanager. For now, work around this by driving the ApplicationLauncher's setCurrent method from the appropriate place in the HomescreenHandler object's tapShortcut method. If a generic mechanism for notifications on application expose becomes available via agl-shell-desktop, that should be used instead. Additionally, add an explicit call to setCurrent on initialization to highlight the top panel Launcher button, matching the actual initial UI state. Bug-AGL: SPEC-3510 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ied5dd8e78195d061585510e60a758559ca4f69b3
2020-07-22Fix panel backgrounds and sizesScott Murray7-165/+9
The split into 3 windows done for the switch to the new compositor dropped the full screen image background that had previously been used, but did not set any replacement for the new top and bottom panel windows. This, combined with some rows of transparent pixels at the bottom and top of the respective panel background images, resulted in the default white background being visible in those areas. To fix this, the background of the panel windows has been set to the color used in the previous background image for those areas (#33363a). Additionally: - the top and bottom panel sizes have been rationalized to 216 pixels high each, since there is no longer any reason to have them be different sizes. - the now unused main.qml has been removed to avoid confusion. Bug-AGL: SPEC-3420 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib656ff256f05362def378047171d1fe940355790
2020-07-03toppanel: Use the older width sizeMarius Vlad1-1/+1
Bug-AGL: SPEC-3348 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib7b1c9d1da2397a251391883b8c34b4e417ecb04
2020-06-24main: Set-up the application idjellyfish_9.99.1jellyfish/9.99.19.99.1Marius Vlad1-0/+2
Neccessary to set-up a proper application id. Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I92fd9747d1aa9f3716851c1c866e117e73ae136c
2020-06-24Allow to set off the screen name using a environment variableMarius Vlad1-8/+33
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I0ebe268e920666d4acf7089b50255281978a6c77
2020-06-24agl-compositor: Conversion to agl-compositorMarius Vlad18-80/+589
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I7da44ec333217d355ba643d2d21bea7d8940ad2b
2020-06-19Fix package licenseLi, Xiaoming1-0/+0
license file should live in the root folder. Bug-AGL: SPEC-3440 Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com> Change-Id: I84e714b15677e636c60ae0338eac13ce0f77c2ae
2020-06-10Update autobuild scriptsScott Murray4-112/+138
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic0fc983c533c7335d23f560480dc0f7bfd022b8e
2020-06-08update PKGCONFIG to use qtappfw-*Raquel Medina1-1/+1
Replace qtappfw with qtappfw-weather, qtappfw-network and qtappfw-bt packages. Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I77918c89f51c9a5aad72e855a06c6ac3c6148731
2020-03-23update autobuild scriptsRaquel Medina2-9/+92
Modify autobuild scripts: - to fix warnings on yocto build - to add new standard targets Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ideab6494c9c016116e1053d8c8e698dbe02d2bc8
2020-02-11Update .gitreview fileJan-Simon Möller1-1/+0
This updates the gitreview file in the project . Change-Id: I7426b9512cc7f5b0dab86af090a599b8153b6f54 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-01-28Merge "homescreen: remove unused DBus code artifacts"icefish_8.99.5icefish/8.99.58.99.5Jan-Simon Moeller16-582/+6
2020-01-27homescreen: remove unused DBus code artifactsMatt Ranostay16-582/+6
All accesses to control launching applications are now done via agl-service-homescreen/libhomescreen, and thus the unused DBus interface can be removed. Bug-AGL: SPEC-3137 Change-Id: I56201c138c7061bba8114e367729d2b29f672ed1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2020-01-03Remove workaround for broken vshl-core event JSONScott Murray1-1/+1
Now that the broken event argument JSON from the vshl-core binding has a fix, the workaround of reparsing the voice event arguments needs to be removed, as it breaks with the corrected events. Bug-AGL: SPEC-3084 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47b6369d9924102252c4690dda38d721276c69b8 (cherry picked from commit f9fd82d04fba32b9f540f592bfa8b49d60e63851)
2019-12-29Display Alexa specific chrome when it is usedScott Murray5-3/+14
Add logic to key off the voiceagent name and display Alexa specific chrome (the required Alexa icon) when it is used. Bug-AGL: SPEC-3075 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4bacad2e3906ee1e8221ed3e6bfe92b340d65aab
2019-11-26Merge "Remove DBus interface for StatusBar"icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.4icefish/8.99.3icefish/8.99.28.99.48.99.38.99.2Jan-Simon Moeller4-49/+1
2019-11-15Remove DBus interface for StatusBarMatt Ranostay4-49/+1
This is no longer used directly by the Settings app UI, and should be removed to avoid future use. Interfacing should be done with afb if possible. Bug-AGL: SPEC-2964 Change-Id: I0c52b8e05b8fe2d874d939c55c326f7f82466750 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-11-12Add second ptt button to homescreenicefish_8.99.1icefish/8.99.18.99.1Jan-Simon Möller1-6/+52
This will allow in the future to differ between driver and passenger. Bug-AGL: SPEC-2948 . Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Icd2d61f2a3984ee3e6b591998c5b05aa91949cee
2019-11-12Add push to talk support to homescreenNaveen Bobbili16-10/+848
Reworked version of Alexa specific changes from ICS to add push to talk button for voice services to homescreen media area. v2: change config.xml to audiomixer v3: reworked to not be Alexa specific: - Now use the default voiceagent if available, instead of hard-coding Alexa usage - The Alexa logo for the button has been replaced with a generic microphone icon derived from the radio application's launcher icon. This is a placeholder until a new icon is provided by LF graphics team. Meeting any Amazon requirements around Alexa chrome is now envisioned as being provided for with a TBD voiceagent API enhancement. - The QML for the PTT button has been moved to MediaAreaBlank.qml, which seems a more logical location for it ATM. It is likely that the MediaArea QML should be simplified in a future change, as it currently contains a signficant amount of unused code. - The PTT button has been moved to the left hand side of the media area, as this seems more sensible if demonstrating driver usage. - The delay on fade-out of the master volume slider has been lowered to 3 seconds from 5, with the PTT button present it started seeming excessive during testing. - Some extra debug messages have been added to make tracking the voiceagent state more straightforward. Bug-AGL: SPEC-2764, Signed-off-by: Naveen Bobbili <nbobbili@amazon.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I398bf7aebc5c9b459b1fce94511eee3698c08347
2019-11-08Revert "Add push to talk support to homescreen"Jan-Simon Moeller16-848/+10
It turned out the homescreen won't show. So we need to revisit this patch. https://gerrit.automotivelinux.org/gerrit/#/c/apps/homescreen/+/21182/ This reverts commit f3de2f5cad06a772ee55f58694d559a7cb012c02. Change-Id: Ic8829e5009e9fb74b49ad1dd79125b45a872a838
2019-10-16Add push to talk support to homescreenNaveen Bobbili16-10/+848
Reworked version of Alexa specific changes from ICS to add push to talk button for voice services to homescreen media area. v2: change config.xml to audiomixer v3: reworked to not be Alexa specific: - Now use the default voiceagent if available, instead of hard-coding Alexa usage - The Alexa logo for the button has been replaced with a generic microphone icon derived from the radio application's launcher icon. This is a placeholder until a new icon is provided by LF graphics team. Meeting any Amazon requirements around Alexa chrome is now envisioned as being provided for with a TBD voiceagent API enhancement. - The QML for the PTT button has been moved to MediaAreaBlank.qml, which seems a more logical location for it ATM. It is likely that the MediaArea QML should be simplified in a future change, as it currently contains a signficant amount of unused code. - The PTT button has been moved to the left hand side of the media area, as this seems more sensible if demonstrating driver usage. - The delay on fade-out of the master volume slider has been lowered to 3 seconds from 5, with the PTT button present it started seeming excessive during testing. - Some extra debug messages have been added to make tracking the voiceagent state more straightforward. Bug-AGL: SPEC-2764, Change-Id: I2052e345baaf4306e8e3f27a01bc6940f4d27d88 Signed-off-by: Naveen Bobbili <nbobbili@amazon.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-09-27fix: Remove qml M126 warningLi Xiaoming2-5/+5
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: I374749e71705b24eb793e0ba8a5efacc81ea40de Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-30Fix master volume sliderScott Murray2-2/+3
The switch to using agl-service-audiomixer missed a scaling to 0.0 - 1.0 for the value requested when changing the master volume slider, add that to fix it. Also, change the displayed name back to "Master Volume" to match what it now represents with PipeWire. Bug-AGL: SPEC-2788 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2fb94d161499b759540105958bcb3d6f5da1884f
2019-08-21hmi-debug.h:Optimise code qualityLi Xiaoming1-12/+21
This patch do below things: 1) standarize code indent and style; 2) add log when message is NULL, it may be a result of vasprintf failed or disable message manually; 3) add microsecond round up check. Bug-AGL: SPEC-2760 Change-Id: I1cac7a8f4755526c40f83aa3d6dfb3fbe0819fac Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-06-10mastervolume: port to use the pipewire audiomixer servicehalibut_8.0.0halibut_7.99.3halibut_7.99.2halibut/8.0.0halibut/7.99.3halibut/7.99.28.0.07.99.37.99.2George Kiagiadakis2-21/+30
Bug-AGL: SPEC-2473 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I5bacca161ce18a5ad047e4aaa2e395beb016d212
2019-05-29homescreen: network: use new WifiAdapter classhalibut_7.99.1halibut/7.99.17.99.1Raquel Medina2-7/+13
-Apply new network class interfaces from libqtappfw to retrieve wifi status data for the status bar. -remove helpers from git index to allow cloning without errors. Bug-AGL: SPEC-2293 Change-Id: I77dc0b9ac33c97b963b0533d7071868c96f58b87 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-04-26Add permission to use displayJosé Bollo1-0/+1
Add the permission required to access the display through the wayland socket. Change-Id: I1a98e27224a69631f28e65753d41ae822747ae05 Bug-AGL: SPEC-2357 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-22homescreen: bluetooth: change constructor call for Bluetooth classMatt Ranostay1-1/+1
The constructor needs the local applications QML context pointer for the Bluetooth libqtappfw access. Bug-AGL: SPEC-2270 Change-Id: Ib694d310656261a0a90d72a879fd33551155baa9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-03-21Merge "autobuild: introduce build scripts"Jan-Simon Moeller5-9/+124
2019-03-15Start app and get runnables list by homescreenwang_zhiqiang2-11/+3
1.only call showWindow when start application. 2.change area from "normal" to "normal.full". Bug-AGL: SPEC-2188 Change-Id: I0f3a72d996e73e3ef85eb19fdf130f46757683d6 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-03-15autobuild: introduce build scriptsJan-Simon Moeller5-9/+124
This reverts commit bde8622fc349829cf03e196f2161995688fc1a09. Which reverted the original commit from Raquel. With the dependency added, we can go ahead now. Thanks for the fix. Change-Id: Ia0e5c34252eb832dbaebb643e7e06e53d74c29dc
2019-03-14Revert "autobuild: introduce build scripts"Jan-Simon Moeller5-124/+9
We need to double-check this works with the recipe. This reverts commit e931f079cf5015299256f2f01b824ae42247127e. Change-Id: I8471e87d1234d98850f2a60114bde34e2dc009a6
2019-03-14autobuild: introduce build scriptsRaquel Medina5-9/+124
- Add agl autobuild script to silence build warnings on yocto. - Add linux autobuild script to build with the sdk - Migrate to afb helper library version to successfully build with the sdk using autobuild script. NB: The 2 autobuild scripts are based on the latest version of the autobuild script, but they've been customized to (i) work with the existing qmake files and (ii) the 'update' and 'package-test' targets have been removed. Bug-AGL: SPEC-2164 Change-Id: I7196665b65693bfe5557a0008fb36aa7b38068a5 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-02-13api-services-book: fix title doc add oldClément Bénier1-1/+1
- indeed, the previous doc was indicated between parenthesis old for the homescreen section Change-Id: I71f19d8e3f0d76ccbfa26b498da1b078874f1d3a Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2019-02-13Merge "Modify notification event callback function"Jan-Simon Moeller1-4/+4
2019-01-16Modify notification event callback functionwang_zhiqiang1-4/+4
HomeScreen-Service unified event pattern,so in homescreen got caller application id in "parameter". BUG-AGL: SPEC-2120 Change-Id: I3a491cbc3b1ccf109409ed9b065111706fe6be5e Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-12-21agl-documentation: add homescreen-book.ymlhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy/6.99.47.90.06.99.4Sebastien Douheret1-0/+12
Change-Id: I5a4c972c739387e254a7cea42546035aa545f4a7 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-12-20docs: add yaml bookguppy_6.99.3guppy/6.99.36.99.3Frederic Marec1-0/+12
Bug-AGL: SPEC-1988 Change-Id: I84abf5b21c64ec8c7084d825e886b9750a037957 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-12-19Bind the slider volume to the 4a active roleLoïc Collignon8-36/+119
4a now expose an active role, which is the opened role with the higher priority. This binds the slider to the active role. Bug: 1313 Change-Id: I73766163fc0b8ef1e6b70e9c13e28d3642be858a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-11-27add new features in homescreen-service and homescreenwang_zhiqiang3-1/+130
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: display notification and information. Bug-AGL: SPEC-1931 Change-Id: Ia17a9793c5d284458009ea71eb9594a40286fa8c Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-22Merge "homescreen: bluetooth: switch bluetooth power status"guppy_6.99.2guppy_6.99.1guppy/6.99.2guppy/6.99.16.99.26.99.1Scott Murray1-24/+2
2018-11-20homescreen: bluetooth: switch bluetooth power statusMatt Ranostay1-24/+2
Don't turn on/off bluetooth icon on homescreen when a device is connected, but when the adapter is powered on/off. This is the common functionality for most UIs Change-Id: If26d84da31433c461d06c157832f7b6bd744ef39 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-15Use graphic_roleKazumasa Mitsunari1-3/+4
Window Manager set role name as lower_case, then change role as lower_case. Change-Id: Iee62ff0832bef3b70adf76698efbf7168fd5af69 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-11-06use appid instead of appname in "tap_shortcut"wang_zhiqiang3-5/+9
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: I2fdda76167c7af9af65b1135b838da1742515b8b Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa3-9/+5
This reverts commit 389a02a99961f1bcc6d317ffc9223ea7f2d05023. Bug-AGL: SPEC-1685 Change-Id: I2f659dbb53b0b781ed588d19c2f3228e3abcbb4a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-19Replace top and bottom area's background imageTadao Tanikawa7-4/+112
To improve scaling, replace top and bottom area's PNG image to SVG image. Bug-AGL: SPEC-1611 Change-Id: I547a96671c597cf3ac1ba1d3423fdb782bd93464 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-08Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong3-5/+9
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: Idd052d3f76f83e1f5bfe46627d7698655ffad85d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-08Merge lastest commit from homescreen-2017zheng_wenlong6-3/+65
Merge two lastest commit from homescreen-2017. 1) StatusBarModel: fix QQmlContext reference Fix missing include Bug-AGL: SPEC-1628 2) Improve output of multiple screen resolution To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I71a6c87187c2b0b81bb0ed10cc8779032aa19300 Signed-off-by: Matt Porter <mporter@konsulko.com>Y Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-01Change bluetooth status using agl-service-bluetoothzheng_wenlong5-3/+55
Use libqtappfw's bluetooth to connection with agl-service-bluetooth. Instead of using dbus. Change-Id: Ib0de7cf81ee9e582995a1e4102f8c3b297694328 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-30Merage homescreen-2017 modification to homescreen.zheng_wenlong3-7/+2
1. Add "Remove useless ref to pulseaudio" commit to homescreen. 2. Remove launch app code for my mistake merging. Right now this source is same as a8b94699ae7ec155729fcccda2be4f22328ca790. Relative Commit: https://gerrit.automotivelinux.org/gerrit/#/c/15563/ Change-Id: I966e86c73d9f66ac7a7ff6763be3544ecaba28cd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>