summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-07-10Copy source code from homescreen-2017flounder_5.99.2flounder/5.99.25.99.2zheng_wenlong116-3978/+2611
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-06-29Additional parameter to WindowManager at application startupflounder_5.99.1flounder/5.99.1eel_4.99.3eel_4.99.2eel_4.99.1eel/4.99.3eel/4.99.2eel/4.99.15.99.14.99.34.99.24.99.1Tadao Tanikawa5-5/+6
HomeScreen used to pass numeric id to WindowManager at application startup. This change add 1 more parameter (string id). This is necessary for WindowManager to allow some applications to run background, related to https://gerrit.automotivelinux.org/gerrit/#/c/9827/ Bug-AGL: SPEC-395 Change-Id: I90dec40fe0afd7634389b3430349259cc3616005 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-05-24Merge "Add icon re-ordering support by hold and move"dab_3.99.1dab/3.99.13.99.1Jan-Simon Moeller5-19/+102
2017-05-23Add icon re-ordering support by hold and moveTasuku Suzuki5-19/+102
Change-Id: Ieb6bf721932e36e4ea69cd56d59019ed8fed13ba Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2017-05-22Add master volume control sliderMatt Porter7-3/+519
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-05-12Merge "HomeScreenControlInterface: use single afm_user_daemon"Jan-Simon Moeller3-21/+9
2017-05-12Merge "ApplicationLauncher: use single afm_user_daemon"Jan-Simon Moeller2-17/+7
2017-05-12Merge "ApplicationModel: use single afm_user_daemon_proxy instance"Jan-Simon Moeller1-27/+23
2017-05-12Merge "main: instantiate a afm_user_daemon proxy"Jan-Simon Moeller1-0/+23
2017-05-12Merge "interfaces: add afm_user_daemon protocol binding"Jan-Simon Moeller3-0/+76
2017-05-11HomeScreenControlInterface: use single afm_user_daemonMarcus Fritzsch3-21/+9
* The org.agl.homescreenappframeworkbindertizen should not be used here. * Simplify the implementation. Change-Id: I5d2dedf2dcacea2104ba38e4467fd8299a88d776 Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-05-10ApplicationLauncher: use single afm_user_daemonMarcus Fritzsch2-17/+7
Also simplify the implementation. Change-Id: I3eec730825c358517ea2a6573b9070ec05009c4c Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-05-10ApplicationModel: use single afm_user_daemon_proxy instanceMarcus Fritzsch1-27/+23
* Do not use org.agl.homescreenappframeworkbinder. * Use the single afm_user_proxy_instance of our main(). Change-Id: Ib7ce8d2cefe1678200f0e38148e599b4df7459cc Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-05-10main: instantiate a afm_user_daemon proxyMarcus Fritzsch1-0/+23
* Create a single org::AGL::afm::user instance. * Do not make use of static object construction/destruction. * Use QScopedPointer in main() to manage the resource. * Users of this instance use an extern declaration of the global variable. Change-Id: Ia6db7aae8c8f6b135fe62bda495c68fdef004081 Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-05-10interfaces: add afm_user_daemon protocol bindingMarcus Fritzsch3-0/+76
Change-Id: I3dab62c5bcd3aaaf98bcf6dd3105f051309ad0f7 Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-04-26Remove useless "User=" from serviceRonan Le Martret1-1/+0
The service run has systemd user unit, so "User=" is useless Bug-AGL: SPEC-546 Change-Id: I2205e0b5d38da057687a123e044c40afdbe3f550 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-26Get installed app list from afm dbusMarcus Fritzsch1-11/+26
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
2017-03-09Fixed homescreen startupRonan Le Martret1-3/+2
* homescreen must start only when WindowManager is ready. [SPEC-470] Change-Id: Ie755b5c0bda3b5f0937c41cc6d08bc7f0f494d00 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-02Fix typo in gitreview fileJan-Simon Möller1-1/+1
Change-Id: Ie8667249f1a98248fd9c5fc96d7613818f28e702 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-02-14Add .mailmap file to clean up statsBocklage, Jens1-0/+3
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-25Forward setSurfaceToLayoutArea call to WindowMangerBocklage, Jens1-0/+1
This was missing Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-20Fix list in documentationJens Bocklage1-0/+1
Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
2017-01-20Fix alt img text and listsJens Bocklage1-11/+11
Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>