apps/homescreen.git
3 years agodocs(README.md): fix invalid http link 51/26351/1 11.91.0 11.92.0 12.90.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin_12.90.0
shi ce [Thu, 13 May 2021 09:28:59 +0000 (17:28 +0800)]
docs(README.md): fix invalid http link

Bug-AGL: SPEC-2714

Signed-off-by: shi ce <shic.fnst@fujitsu.com>
Change-Id: Ic74ea8a5c5bf56d8446be9038c97c2cb5038caea

3 years agohomescreen: fix master volume control name 37/26337/1
George Kiagiadakis [Mon, 10 May 2021 09:18:21 +0000 (12:18 +0300)]
homescreen: fix master volume control name

Fixes the master volume control on the homescreen, which broke after
I renamed the control in agl-service-audiomixer to "Master Playback"

Bug-AGL: SPEC-3844
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: Iadc859b29d823a703865a301877a75575a78a650

3 years agomain: Add different QMLs for doing screenshots 69/25869/1 10.92.0 10.93.0 koi/10.92.0 koi/10.93.0 koi_10.92.0 koi_10.93.0
Marius Vlad [Wed, 6 Jan 2021 13:58:18 +0000 (15:58 +0200)]
main: Add different QMLs for doing screenshots

A better of way trying to verify that we have the homescreen
up-and-running would be to load-up a reference image which doesn't
change depending on time or other things loaded up (weather for
instance).

Alternatively, a possible solution would be to have a totally different
application that basically does the same thing as homescreen. Instead of
doing that, use an environment variable to choose up what QMLs to load
instead of the original application. Modifying the env variable then
re-starting the application is sufficient to have the screenshot for CI.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie1478bb75f23c36e3c24c9e8d3e2d7c4848dd779

4 years agoAdd workaround for top panel button highlighting 49/25049/1 10.91.0 9.99.2 9.99.3 9.99.4 jellyfish/9.99.2 jellyfish/9.99.3 jellyfish/9.99.4 jellyfish_9.99.2 jellyfish_9.99.3 jellyfish_9.99.4 koi/10.91.0 koi_10.91.0
Scott Murray [Thu, 23 Jul 2020 02:27:21 +0000 (22:27 -0400)]
Add workaround for top panel button highlighting

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

4 years agoFix panel backgrounds and sizes 48/25048/1
Scott Murray [Thu, 23 Jul 2020 02:13:29 +0000 (22:13 -0400)]
Fix panel backgrounds and sizes

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

4 years agotoppanel: Use the older width size 31/24931/1
Marius Vlad [Thu, 2 Jul 2020 13:20:41 +0000 (16:20 +0300)]
toppanel: Use the older width size

Bug-AGL: SPEC-3348

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib7b1c9d1da2397a251391883b8c34b4e417ecb04

4 years agomain: Set-up the application id 21/24821/2 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
Marius Vlad [Wed, 10 Jun 2020 17:44:46 +0000 (20:44 +0300)]
main: Set-up the application id

Neccessary to set-up a proper application id.

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I92fd9747d1aa9f3716851c1c866e117e73ae136c

4 years agoAllow to set off the screen name using a environment variable 20/24820/2
Marius Vlad [Wed, 3 Jun 2020 13:45:58 +0000 (16:45 +0300)]
Allow to set off the screen name using a environment variable

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I0ebe268e920666d4acf7089b50255281978a6c77

4 years agoagl-compositor: Conversion to agl-compositor 19/24819/2
Marius Vlad [Sat, 25 Apr 2020 15:42:40 +0000 (18:42 +0300)]
agl-compositor: Conversion to agl-compositor

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7da44ec333217d355ba643d2d21bea7d8940ad2b

4 years agoFix package license 91/24791/2
Li, Xiaoming [Fri, 19 Jun 2020 06:33:35 +0000 (14:33 +0800)]
Fix package license

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

4 years agoUpdate autobuild scripts 33/24733/2
Scott Murray [Wed, 10 Jun 2020 02:05:18 +0000 (22:05 -0400)]
Update autobuild scripts

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

4 years agoupdate PKGCONFIG to use qtappfw-* 17/24617/2
Raquel Medina [Thu, 4 Jun 2020 17:55:54 +0000 (19:55 +0200)]
update PKGCONFIG to use qtappfw-*

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

4 years agoupdate autobuild scripts 73/24273/1
Raquel Medina [Mon, 23 Mar 2020 09:11:16 +0000 (10:11 +0100)]
update autobuild scripts

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

4 years agoUpdate .gitreview file 30/23830/1
Jan-Simon Möller [Tue, 11 Feb 2020 17:00:14 +0000 (18:00 +0100)]
Update .gitreview file

This updates the gitreview file in the project

.

Change-Id: I7426b9512cc7f5b0dab86af090a599b8153b6f54
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
4 years agoMerge "homescreen: remove unused DBus code artifacts" 8.99.5 icefish/8.99.5 icefish_8.99.5
Jan-Simon Moeller [Tue, 28 Jan 2020 12:32:48 +0000 (12:32 +0000)]
Merge "homescreen: remove unused DBus code artifacts"

4 years agohomescreen: remove unused DBus code artifacts 98/23698/1
Matt Ranostay [Mon, 27 Jan 2020 19:17:15 +0000 (11:17 -0800)]
homescreen: remove unused DBus code artifacts

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>
4 years agoRemove workaround for broken vshl-core event JSON 30/23530/1
Scott Murray [Thu, 2 Jan 2020 21:51:12 +0000 (16:51 -0500)]
Remove workaround for broken vshl-core event JSON

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)

4 years agoDisplay Alexa specific chrome when it is used 90/23490/1
Scott Murray [Sun, 29 Dec 2019 22:36:25 +0000 (17:36 -0500)]
Display Alexa specific chrome when it is used

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

4 years agoMerge "Remove DBus interface for StatusBar" 8.99.2 8.99.3 8.99.4 icefish/8.99.2 icefish/8.99.3 icefish/8.99.4 icefish_8.99.2 icefish_8.99.3 icefish_8.99.4
Jan-Simon Moeller [Tue, 26 Nov 2019 17:18:13 +0000 (17:18 +0000)]
Merge "Remove DBus interface for StatusBar"

4 years agoRemove DBus interface for StatusBar 56/22956/1
Matt Ranostay [Fri, 15 Nov 2019 05:06:13 +0000 (21:06 -0800)]
Remove DBus interface for StatusBar

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>
4 years agoAdd second ptt button to homescreen 20/22920/1 8.99.1 icefish/8.99.1 icefish_8.99.1
Jan-Simon Möller [Tue, 12 Nov 2019 14:29:38 +0000 (15:29 +0100)]
Add second ptt button to homescreen

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

4 years agoAdd push to talk support to homescreen 19/22919/1
Naveen Bobbili [Mon, 29 Apr 2019 03:51:16 +0000 (20:51 -0700)]
Add push to talk support to homescreen

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

4 years agoRevert "Add push to talk support to homescreen" 87/22887/1
Jan-Simon Moeller [Fri, 8 Nov 2019 11:08:35 +0000 (11:08 +0000)]
Revert "Add push to talk support to homescreen"

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

5 years agoAdd push to talk support to homescreen 82/21182/3
Naveen Bobbili [Mon, 29 Apr 2019 03:51:16 +0000 (20:51 -0700)]
Add push to talk support to homescreen

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>
5 years agofix: Remove qml M126 warning 34/22534/1
Li Xiaoming [Fri, 27 Sep 2019 13:01:49 +0000 (21:01 +0800)]
fix: Remove qml M126 warning

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>
5 years agoFix master volume slider 81/22281/1
Scott Murray [Fri, 30 Aug 2019 15:30:43 +0000 (11:30 -0400)]
Fix master volume slider

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

5 years agohmi-debug.h:Optimise code quality 86/22186/6
Li Xiaoming [Wed, 21 Aug 2019 05:59:29 +0000 (13:59 +0800)]
hmi-debug.h:Optimise code quality

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>
5 years agomastervolume: port to use the pipewire audiomixer service 76/21576/2 7.99.2 7.99.3 8.0.0 halibut/7.99.2 halibut/7.99.3 halibut/8.0.0 halibut_7.99.2 halibut_7.99.3 halibut_8.0.0
George Kiagiadakis [Mon, 10 Jun 2019 13:03:22 +0000 (16:03 +0300)]
mastervolume: port to use the pipewire audiomixer service

Bug-AGL: SPEC-2473

Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I5bacca161ce18a5ad047e4aaa2e395beb016d212

5 years agohomescreen: network: use new WifiAdapter class 30/21330/2 7.99.1 halibut/7.99.1 halibut_7.99.1
Raquel Medina [Thu, 16 May 2019 19:09:22 +0000 (22:09 +0300)]
homescreen: network: use new WifiAdapter class

-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>
5 years agoAdd permission to use display 70/21170/1
José Bollo [Fri, 26 Apr 2019 13:52:55 +0000 (15:52 +0200)]
Add permission to use display

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>
5 years agohomescreen: bluetooth: change constructor call for Bluetooth class 87/20787/1
Matt Ranostay [Fri, 22 Mar 2019 19:53:07 +0000 (12:53 -0700)]
homescreen: bluetooth: change constructor call for Bluetooth class

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>
5 years agoMerge "autobuild: introduce build scripts"
Jan-Simon Moeller [Thu, 21 Mar 2019 13:10:46 +0000 (13:10 +0000)]
Merge "autobuild: introduce build scripts"

5 years agoStart app and get runnables list by homescreen 19/20219/5
wang_zhiqiang [Wed, 20 Feb 2019 06:09:01 +0000 (14:09 +0800)]
Start app and get runnables list by homescreen

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>
5 years agoautobuild: introduce build scripts 07/20707/1
Jan-Simon Moeller [Fri, 15 Mar 2019 11:53:05 +0000 (11:53 +0000)]
autobuild: introduce build scripts

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

5 years agoRevert "autobuild: introduce build scripts" 87/20687/1
Jan-Simon Moeller [Thu, 14 Mar 2019 17:53:20 +0000 (17:53 +0000)]
Revert "autobuild: introduce build scripts"

We need to double-check this works with the recipe.

This reverts commit e931f079cf5015299256f2f01b824ae42247127e.

Change-Id: I8471e87d1234d98850f2a60114bde34e2dc009a6

5 years agoautobuild: introduce build scripts 47/20647/1
Raquel Medina [Mon, 11 Mar 2019 09:21:33 +0000 (11:21 +0200)]
autobuild: introduce build scripts

- 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>
5 years agoapi-services-book: fix title doc add old 23/20123/1
Clément Bénier [Wed, 13 Feb 2019 16:11:07 +0000 (17:11 +0100)]
api-services-book: fix title doc add old

- 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>
5 years agoMerge "Modify notification event callback function"
Jan-Simon Moeller [Wed, 13 Feb 2019 13:29:21 +0000 (13:29 +0000)]
Merge "Modify notification event callback function"

5 years agoModify notification event callback function 19/19619/1
wang_zhiqiang [Wed, 16 Jan 2019 06:05:52 +0000 (14:05 +0800)]
Modify notification event callback function

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>
5 years agoagl-documentation: add homescreen-book.yml 25/19325/1 6.99.4 7.90.0 guppy/6.99.4 guppy_6.99.4 halibut/7.90.0 halibut_7.90.0
Sebastien Douheret [Thu, 20 Dec 2018 13:07:44 +0000 (14:07 +0100)]
agl-documentation: add homescreen-book.yml

Change-Id: I5a4c972c739387e254a7cea42546035aa545f4a7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agodocs: add yaml book 83/19283/2 6.99.3 guppy/6.99.3 guppy_6.99.3
Frederic Marec [Wed, 19 Dec 2018 10:28:00 +0000 (11:28 +0100)]
docs: add yaml book

Bug-AGL: SPEC-1988

Change-Id: I84abf5b21c64ec8c7084d825e886b9750a037957
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
5 years agoBind the slider volume to the 4a active role 81/19081/2
Loïc Collignon [Wed, 19 Dec 2018 14:30:09 +0000 (15:30 +0100)]
Bind the slider volume to the 4a active role

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>
5 years agoadd new features in homescreen-service and homescreen 35/17935/6
wang_zhiqiang [Wed, 14 Nov 2018 03:17:48 +0000 (11:17 +0800)]
add new features in homescreen-service and homescreen

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>
5 years agoMerge "homescreen: bluetooth: switch bluetooth power status" 6.99.1 6.99.2 guppy/6.99.1 guppy/6.99.2 guppy_6.99.1 guppy_6.99.2
Scott Murray [Thu, 22 Nov 2018 15:03:32 +0000 (15:03 +0000)]
Merge "homescreen: bluetooth: switch bluetooth power status"

5 years agohomescreen: bluetooth: switch bluetooth power status 87/18087/1
Matt Ranostay [Fri, 2 Nov 2018 01:36:56 +0000 (18:36 -0700)]
homescreen: bluetooth: switch bluetooth power status

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>
5 years agoUse graphic_role 89/17989/1
Kazumasa Mitsunari [Thu, 15 Nov 2018 10:01:04 +0000 (19:01 +0900)]
Use graphic_role

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>
5 years agouse appid instead of appname in "tap_shortcut" 33/17733/1
wang_zhiqiang [Tue, 6 Nov 2018 02:12:27 +0000 (10:12 +0800)]
use appid instead of appname in "tap_shortcut"

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>
6 years agoRevert "Use appid between homescreen-service and apps" 93/16293/3 5.99.4 5.99.5 5.99.6 6.90.0 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy_6.90.0
Tadao Tanikawa [Fri, 24 Aug 2018 04:44:12 +0000 (04:44 +0000)]
Revert "Use appid between homescreen-service and apps"

This reverts commit 389a02a99961f1bcc6d317ffc9223ea7f2d05023.

Bug-AGL: SPEC-1685

Change-Id: I2f659dbb53b0b781ed588d19c2f3228e3abcbb4a
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
6 years agoReplace top and bottom area's background image 51/16151/1
Tadao Tanikawa [Sun, 19 Aug 2018 14:07:23 +0000 (14:07 +0000)]
Replace top and bottom area's background image

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>
6 years agoUse appid between homescreen-service and apps 59/16059/1 5.99.3 flounder/5.99.3 flounder_5.99.3
zheng_wenlong [Wed, 8 Aug 2018 05:42:53 +0000 (14:42 +0900)]
Use appid between homescreen-service and apps

    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>
6 years agoMerge lastest commit from homescreen-2017 57/16057/1
zheng_wenlong [Wed, 8 Aug 2018 05:38:03 +0000 (14:38 +0900)]
Merge lastest commit from homescreen-2017

    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>
6 years agoChange bluetooth status using agl-service-bluetooth 75/15875/1
zheng_wenlong [Wed, 1 Aug 2018 02:09:38 +0000 (11:09 +0900)]
Change bluetooth status using agl-service-bluetooth

    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>
6 years agoMerage homescreen-2017 modification to homescreen. 55/15855/1
zheng_wenlong [Mon, 30 Jul 2018 08:07:43 +0000 (17:07 +0900)]
Merage homescreen-2017 modification to homescreen.

    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>
6 years agoCopy source code from homescreen-2017 73/15173/1 5.99.2 flounder/5.99.2 flounder_5.99.2
zheng_wenlong [Tue, 10 Jul 2018 09:11:51 +0000 (18:11 +0900)]
Copy source code from homescreen-2017

    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>
7 years agoAdditional parameter to WindowManager at application startup 29/9829/2 4.99.1 4.99.2 4.99.3 5.99.1 eel/4.99.1 eel/4.99.2 eel/4.99.3 eel_4.99.1 eel_4.99.2 eel_4.99.3 flounder/5.99.1 flounder_5.99.1
Tadao Tanikawa [Tue, 27 Jun 2017 09:08:00 +0000 (18:08 +0900)]
Additional parameter to WindowManager at application startup

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>
7 years agoMerge "Add icon re-ordering support by hold and move" 3.99.1 dab/3.99.1 dab_3.99.1
Jan-Simon Moeller [Wed, 24 May 2017 08:50:33 +0000 (08:50 +0000)]
Merge "Add icon re-ordering support by hold and move"

7 years agoAdd icon re-ordering support by hold and move 81/9481/1
Tasuku Suzuki [Tue, 23 May 2017 05:24:35 +0000 (14:24 +0900)]
Add icon re-ordering support by hold and move

Change-Id: Ieb6bf721932e36e4ea69cd56d59019ed8fed13ba
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoAdd master volume control slider 59/9459/2
Matt Porter [Mon, 22 May 2017 16:06:50 +0000 (12:06 -0400)]
Add master volume control slider

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>
7 years agoMerge "HomeScreenControlInterface: use single afm_user_daemon"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:40 +0000 (21:52 +0000)]
Merge "HomeScreenControlInterface: use single afm_user_daemon"

7 years agoMerge "ApplicationLauncher: use single afm_user_daemon"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:36 +0000 (21:52 +0000)]
Merge "ApplicationLauncher: use single afm_user_daemon"

7 years agoMerge "ApplicationModel: use single afm_user_daemon_proxy instance"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:28 +0000 (21:52 +0000)]
Merge "ApplicationModel: use single afm_user_daemon_proxy instance"

7 years agoMerge "main: instantiate a afm_user_daemon proxy"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:20 +0000 (21:52 +0000)]
Merge "main: instantiate a afm_user_daemon proxy"

7 years agoMerge "interfaces: add afm_user_daemon protocol binding"
Jan-Simon Moeller [Fri, 12 May 2017 21:52:17 +0000 (21:52 +0000)]
Merge "interfaces: add afm_user_daemon protocol binding"

7 years agoHomeScreenControlInterface: use single afm_user_daemon 47/9347/2
Marcus Fritzsch [Wed, 10 May 2017 12:10:05 +0000 (14:10 +0200)]
HomeScreenControlInterface: use single afm_user_daemon

* The org.agl.homescreenappframeworkbindertizen should not be used here.
* Simplify the implementation.

Change-Id: I5d2dedf2dcacea2104ba38e4467fd8299a88d776
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
7 years agoApplicationLauncher: use single afm_user_daemon 45/9345/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:59 +0000 (14:09 +0200)]
ApplicationLauncher: use single afm_user_daemon

Also simplify the implementation.

Change-Id: I3eec730825c358517ea2a6573b9070ec05009c4c
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
7 years agoApplicationModel: use single afm_user_daemon_proxy instance 43/9343/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:53 +0000 (14:09 +0200)]
ApplicationModel: use single afm_user_daemon_proxy instance

* 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>
7 years agomain: instantiate a afm_user_daemon proxy 41/9341/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:46 +0000 (14:09 +0200)]
main: instantiate a afm_user_daemon proxy

* 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>
7 years agointerfaces: add afm_user_daemon protocol binding 39/9339/1
Marcus Fritzsch [Wed, 10 May 2017 12:09:37 +0000 (14:09 +0200)]
interfaces: add afm_user_daemon protocol binding

Change-Id: I3dab62c5bcd3aaaf98bcf6dd3105f051309ad0f7
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
7 years agoRemove useless "User=" from service 67/9267/1
Ronan Le Martret [Wed, 26 Apr 2017 15:19:59 +0000 (17:19 +0200)]
Remove useless "User=" from service

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>
7 years agoGet installed app list from afm dbus 51/9251/1
Marcus Fritzsch [Thu, 20 Apr 2017 14:20:39 +0000 (16:20 +0200)]
Get installed app list from afm dbus

Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
7 years agoFixed homescreen startup 73/8673/4
Ronan Le Martret [Wed, 8 Mar 2017 10:40:09 +0000 (11:40 +0100)]
Fixed homescreen startup

 * homescreen must start only when
   WindowManager is ready.

 [SPEC-470]

Change-Id: Ie755b5c0bda3b5f0937c41cc6d08bc7f0f494d00
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoFix typo in gitreview file 09/8609/1
Jan-Simon Möller [Thu, 2 Mar 2017 11:36:23 +0000 (12:36 +0100)]
Fix typo in gitreview file

Change-Id: Ie8667249f1a98248fd9c5fc96d7613818f28e702
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd .mailmap file to clean up stats
Bocklage, Jens [Tue, 14 Feb 2017 18:39:51 +0000 (19:39 +0100)]
Add .mailmap file to clean up stats

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoForward setSurfaceToLayoutArea call to WindowManger
Bocklage, Jens [Wed, 25 Jan 2017 14:03:23 +0000 (15:03 +0100)]
Forward setSurfaceToLayoutArea call to WindowManger

This was missing

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix list in documentation
Jens Bocklage [Fri, 20 Jan 2017 17:57:31 +0000 (18:57 +0100)]
Fix list in documentation

Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
7 years agoFix alt img text and lists
Jens Bocklage [Fri, 20 Jan 2017 17:49:20 +0000 (18:49 +0100)]
Fix alt img text and lists

Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
7 years agoAdd homescreen API documentation
Jens Bocklage [Fri, 20 Jan 2017 17:30:39 +0000 (18:30 +0100)]
Add homescreen API documentation

Signed-off-by: Jens Bocklage <jens_bocklage@mentor.com>
7 years agoInitial source commit
Bocklage, Jens [Wed, 18 Jan 2017 14:25:38 +0000 (15:25 +0100)]
Initial source commit

Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd .gitignore and .gitreview
Bocklage, Jens [Tue, 17 Jan 2017 16:19:52 +0000 (17:19 +0100)]
Add .gitignore and .gitreview

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoInitial empty repository
Jan-Simon Moeller [Mon, 16 Jan 2017 15:06:01 +0000 (15:06 +0000)]
Initial empty repository