aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/homescreen.pro
AgeCommit message (Collapse)AuthorFilesLines
2022-10-07homescreen: Change from qmake to mesonMarius Vlad1-60/+0
This change will basically make way for adding grpc/protobuf support into homescreen, which turns out it's a pain to do with either qmake or cmake. Eventually, we'll move all our demos to using meson, which have gained a lot of support for building and support different technologies to allow far more saner configurations to take place. Based heavily on the work done by Scott Murray in libqtappfw, in the applauncher module. Bug-AGL: SPEC-4584 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id64bf3d5b41912d32df7f78e94ab04d231bb0c83
2022-09-22homescreen: Add support for v3 of agl-shell protocolMarius Vlad1-1/+1
This protocol update adds support for started/terminated/activate/deactive events sent by the compositor. With this change we remove support for agl-shell-desktop protocol and instead rely on this new protocol update. Bug-AGL: SPEC-4528 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I9eb2135c5331eea82635583e8ca7cdf4e41a3d5e
2022-09-16Rework to use launcher wrapper from libqtappfwScott Murray1-4/+3
Changes: - Switch to using the new app launcher API wrapper from libqtappfw in order to migrate to the new gRPC based API implementation. - The appStarted and appTerminated methods in HomescreenHandler have been renamed to activateApp and deactivateApp, respectively, to better reflect what they do. A new processAppStatusEvent method had been added that calls them as appropriate based on the event from the AppLauncherClient status update signal. - The copyright headers in the source files have been tweaked to remove the Apache license boilerplate in favour of a SPDX license tag. - The code in main.cpp that was not formatted with Linux-style has been reformatted to match the rest of the file. Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I236cb6a412945a6df7d35652c55f664264964f9c
2022-07-04Add VIS vehicle signal supportScott Murray1-1/+1
Update the volume control code to use to use VIS signalling instead of the previous agl-service-audiomixer binding usage. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifc622a51991110c7786b80ee0af574ed6ca80561 (cherry picked from commit e3b392b8a0767f35e6dbbdb1e9d126294aebdcb5)
2022-01-28Re-enable status barmarlin_12.92.0marlin/12.92.012.92.0Scott Murray1-1/+1
Re-enable the status bar Bluetooth and Wifi status monitoring via the libqtappfw provided objects, and also hook up the currently stubbed weather support so it'll start working if it is updated in libqtappfw. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3aeb98dc01c0bc09550824f44bcb1d40f324e49e
2022-01-20Use agl-shell-desktop protocol to keep track of closed windowsArnaud Ferraris1-1/+1
Currently, we have no way of knowing when the main window of an application is closed unless this action terminates the app. Hooking up the `agl-shell-desktop` protocol allows us to be notified when this happens, so we can instruct `homescreenhandler` to switch back to the previously active app. Bug-AGL: SPEC-4222 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I26dfaccce8894c2599afd9b14349b0703727d47a
2022-01-11homescreen/homescreen.pro: Bump protocol requirementsMarius Vlad1-1/+1
This change is needed because we've updated the protocol in the compositor. Bug-AGL: SPEC-4207 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I9e85af39f61d7e6724faa11b10de571e4e60540e
2021-12-20homescreenhandler: use applaunchd for app activationmarlin_12.91.0marlin/12.91.012.91.0Arnaud Ferraris1-2/+3
As part of the App FW rework, we introduced a new app launcher service, accessible through D-Bus. This service accepts requests to activate applications, and notifies when a application successfully activated or terminated. Requests for activation are handled by a separate `launcher` application for now, so we only need to listen on incoming signals in order to react to those: - when an application successfully started or is switched to, ask the compositor to activate it - when an application terminates, activate the launcher so the user isn't facing a "blank" display Bug-AGL: SPEC-4160 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I7369944570651b45ec9dcca9ccde3dfd75719c3b
2021-11-04Initial rework to run without the app frameworkScott Murray1-22/+16
Changes: - Remove application framework build scripts, and update the application qmake file to just build a "homescreen" binary and support installing it to /usr/bin. - Remove voice API related code. Some of the associated QML and images for the UI have been retained in case equivalent functionality is re-added in the future. - Remove or stub out various app framework API access for the homescreen and launcher bindings, and comment out usage of the Qt wrappers from libqtappfw (e.g. Bluetooth). The aim is to provide a replacement library or libraries for the latter that provide the same functionality. - Remove the old homescreen API documentation and do an initial update of the build instructions in README.md. Bug-AGL: SPEC-4121 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iab979c8e1341f2da0384f88f163a977b03664600
2021-07-01homescreen.pro: Use system() to figure out where to pull the protocolmarlin_12.90.1marlin/12.90.112.90.1Marius Vlad1-2/+2
Bug-AGL: SPEC-3423 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I0960ac6bee938cc4466f877467ea57e592d61593
2020-06-24agl-compositor: Conversion to agl-compositorMarius Vlad1-3/+9
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I7da44ec333217d355ba643d2d21bea7d8940ad2b
2020-06-10Update autobuild scriptsScott Murray1-0/+4
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-01-27homescreen: remove unused DBus code artifactsMatt Ranostay1-4/+2
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>
2019-11-12Add push to talk support to homescreenNaveen Bobbili1-3/+9
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 Moeller1-9/+3
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 Bobbili1-3/+9
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-03-15autobuild: introduce build scriptsJan-Simon Moeller1-5/+3
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 Moeller1-3/+5
We need to double-check this works with the recipe. This reverts commit e931f079cf5015299256f2f01b824ae42247127e. Change-Id: I8471e87d1234d98850f2a60114bde34e2dc009a6
2019-03-14autobuild: introduce build scriptsRaquel Medina1-5/+3
- 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>
2018-12-19Bind the slider volume to the 4a active roleLoïc Collignon1-2/+4
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-07-10Copy source code from homescreen-2017flounder_5.99.2flounder/5.99.25.99.2zheng_wenlong1-13/+8
We decide to use homescreen instead of homescreen-2017. Copy the source code from homescreen-2017 and delete word "-2017". Revision: b4db06287bc997ded71deab50ff0ff5889b09e1f Bug-AGL: SPEC-1549 Change-Id: Id77226b7ce35bbc29c868281c37b76ea3f930ad5 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2017-05-22Add master volume control sliderMatt Porter1-3/+8
Adds support for a master volume control to the HomeScreen app. The master volume slider appears when touching in the MediaArea at the bottom of the screen. If there is no interaction with the slider, it fades out after 5 seconds so that the AGL logo area is not obscured. The volume slider is accessible across all applications due to the MediaArea portion of HomeScreen always being exposed to the screen. The slider volume control is tied to the default PA sink and applies proportional volume control across all channels of the default sink when changed. It also reacts to external volume change events from other PA clients (e.g. Mixer app or pactl CLI changes) and updates the master volume slider accordingly. AGL-Bug: SPEC-550 Change-Id: I9bf55bc624f4bb95c162a79bd2eb314d8f945033 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-01-18Initial source commitBocklage, Jens1-0/+52
Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>