apps/homescreen.git
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