apps/launcher.git
3 years agoLauncher.qml: Allow to scale correctly on lower resolution sandbox/mvlad/scaling-layout
Marius Vlad [Fri, 3 Jul 2020 09:13:47 +0000 (12:13 +0300)]
Launcher.qml: Allow to scale correctly on lower resolution

Bug-AGL: SPEC-3348

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

3 years agolauncher/src/shell-desktop: Fix missing declaration for setting window 66/24866/1 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
Marius Vlad [Thu, 25 Jun 2020 13:39:53 +0000 (16:39 +0300)]
launcher/src/shell-desktop: Fix missing declaration for setting window
properties

Bug-AGL: SPEC-3447

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

3 years agoUpdate protocol to other surface roles 25/24825/1
Marius Vlad [Wed, 24 Jun 2020 13:47:44 +0000 (16:47 +0300)]
Update protocol to other surface roles

Bug-AGL: SPEC-3447

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

3 years agoLauncher.qml: Use Window widths/heights instead of using the Screen 24/24824/1
Marius Vlad [Fri, 29 May 2020 10:36:35 +0000 (13:36 +0300)]
Launcher.qml: Use Window widths/heights instead of using the Screen

Bug-AGL: SPEC-3379

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

3 years agohomescreenhandler: Add the ability to specify the output based on the 23/24823/1
Marius Vlad [Fri, 29 May 2020 10:30:15 +0000 (13:30 +0300)]
homescreenhandler: Add the ability to specify the output based on the
screen

Pass the output when activing the surface in Launcher.qml

Bug-AGL: SPEC-3447

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

3 years agoagl-compositor: New adaptation to using the agl-shell-desktop proto 22/24822/1
Marius Vlad [Tue, 28 Apr 2020 22:21:44 +0000 (01:21 +0300)]
agl-compositor: New adaptation to using the agl-shell-desktop proto

Bug-AGL: SPEC-3447

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

3 years agoUpdate autobuild scripts 35/24735/1
Scott Murray [Wed, 10 Jun 2020 02:05:27 +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: I94403dff83267b8a16d675875c77f2f32dd77c8d

4 years agoupdate autobuild scripts 96/24296/1
Raquel Medina [Thu, 2 Apr 2020 13:37:51 +0000 (15:37 +0200)]
update autobuild scripts

Modify autobuild scripts:
- to fix warnings on yocto build
- to fix linux/autobuild syntax errors
- to add new standard targets

Bug-AGL: SPEC-2049

Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I452f6a47107299bed663f1702c704350ffe8a6d7

4 years agolauncher: remove unused DBus code artifacts 99/23699/2 8.99.5 icefish/8.99.5 icefish_8.99.5
Matt Ranostay [Mon, 27 Jan 2020 20:37:45 +0000 (12:37 -0800)]
launcher: 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: I27f5afd89bd15eb50486e2546a730e40f016b05e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agoMerge "Change radio application icon"
Jan-Simon Moeller [Mon, 30 Dec 2019 14:39:39 +0000 (14:39 +0000)]
Merge "Change radio application icon"

4 years agoChange radio application icon 83/23483/1
Scott Murray [Sun, 29 Dec 2019 22:12:07 +0000 (17:12 -0500)]
Change radio application icon

Change radio application icon to the commonly used "radio waves"
instead of a microphone to avoid confusion with the use of the
microphone icon in the settings and homescreen applications for
voice input related things.

Bug-AGL: SPEC-2981

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia40b5c3d72b6708b6918e7958da7c1e66ef9308b

4 years agofix(main.cpp): remove unused function noOutput 29/23029/1 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
Li Xiaoming [Fri, 22 Nov 2019 09:30:25 +0000 (10:30 +0100)]
fix(main.cpp): remove unused function noOutput

Bug-AGL: SPEC-2807

Change-Id: Ieb3174a740e52f5ca46af0290ec302e4f5b800fe
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
4 years agofix(IconItem.qml): Remove qml M126 warning 29/22529/1 8.99.1 icefish/8.99.1 icefish_8.99.1
Li Xiaoming [Fri, 27 Sep 2019 12:02:10 +0000 (20:02 +0800)]
fix(IconItem.qml): 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: I96de9ecace7ea519946c0df739db9753d44d2dfd
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
5 years agoAdd permission to use display 73/21173/1 7.99.1 7.99.2 7.99.3 8.0.0 8.0.1 8.0.2 8.0.3 8.0.4 halibut/7.99.1 halibut/7.99.2 halibut/7.99.3 halibut/8.0.0 halibut/8.0.1 halibut/8.0.2 halibut/8.0.3 halibut/8.0.4 halibut_7.99.1 halibut_7.99.2 halibut_7.99.3 halibut_8.0.0 halibut_8.0.1 halibut_8.0.2 halibut_8.0.3 halibut_8.0.4
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: I13ed5339a7cd48d9b49748a070e12b4fbd3c9a56
Bug-AGL: SPEC-2357
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agoStart app and get runnables list by homescreen 65/20865/1
wang_zhiqiang [Mon, 1 Apr 2019 09:15:34 +0000 (17:15 +0800)]
Start app and get runnables list by homescreen

1.only call showWindow when start application.
2.get runnalbes list from homescreen-service.
3.subscribe and deal with Event_AppListChanged.
4.move LICENSE file to top-level directory.
5.sort application by application name with ascending order.

Bug-AGL: SPEC-2188

Change-Id: Ic960e25d8de8d063296298a1897865dc3026dee6
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoRevert "Start app and get runnables list by homescreen" 32/20832/2
Jan-Simon Moeller [Wed, 27 Mar 2019 16:36:08 +0000 (16:36 +0000)]
Revert "Start app and get runnables list by homescreen"

https://gerrit.automotivelinux.org/gerrit/#/c/20559/
and
https://gerrit.automotivelinux.org/gerrit/#/c/20223/

caused the launcher not to display any icons.

Reverting until resolved.

This reverts commit 607fdc0374e76a272455cc010f35693ba8b6894b.

Change-Id: I3040f0a44b8cfc449e57c27e32ed631fc98b34fd

5 years agoRevert "Sort application display order" 30/20830/1
Jan-Simon Moeller [Wed, 27 Mar 2019 16:34:53 +0000 (16:34 +0000)]
Revert "Sort application display order"

https://gerrit.automotivelinux.org/gerrit/#/c/20559/
and
https://gerrit.automotivelinux.org/gerrit/#/c/20223/

caused the launcher not to display any icons.

Reverting until resolved.

This reverts commit 259a07d696b455f22b13edcae107de67079036f3.

Change-Id: Icdb2accf003cdf9d76a5a69bce3fef0b218093ea

5 years agoSort application display order 59/20559/5
wang_zhiqiang [Tue, 12 Mar 2019 08:47:27 +0000 (16:47 +0800)]
Sort application display order

Sort application by application name with ascending order.

Change-Id: I778cc6a5a69496023abe4ecbab54bd686ce95594
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoMerge "Start app and get runnables list by homescreen"
Jan-Simon Moeller [Mon, 25 Mar 2019 11:21:01 +0000 (11:21 +0000)]
Merge "Start app and get runnables list by homescreen"

5 years agoStart app and get runnables list by homescreen 23/20223/6
wang_zhiqiang [Wed, 20 Feb 2019 09:08:32 +0000 (17:08 +0800)]
Start app and get runnables list by homescreen

1.only call showWindow when start application.
2.get runnalbes list from homescreen-service.
3.subscribe and deal with Event_AppListChanged.
4.move LICENSE file to top-level directory.

Bug-AGL: SPEC-2188

Change-Id: If0ce87a2f770b1a06ba72fdb087a24719d92d124
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoautobuild: introduce autobuild scripts 07/20507/1
Raquel Medina [Fri, 8 Mar 2019 14:01:41 +0000 (16:01 +0200)]
autobuild: introduce autobuild scripts

 - Add agl autobuild script to silence build
    warnings on yocto.
 - Add linux autobuild script to build with
   the sdk

These  2 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: I5da155ab9d6e0f75d637be5997054cefa52f5e2c
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
5 years agoUse Event_ShowWindow instead of Event_TapShortcut 85/19585/3
wang_zhiqiang [Fri, 11 Jan 2019 06:40:14 +0000 (14:40 +0800)]
Use Event_ShowWindow instead of Event_TapShortcut

The interface of homescreen service will be changed then,
use Event_ShowWindow instead of Event_TapShortcut.
Related changes:
  agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/
  libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/
  libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/

BUG-AGL: SPEC-1931

Change-Id: Ia8e100483fd1a418789483169c815847d2b64b11
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agouse appid instead of appname in "tap_shortcut" 31/17731/1 6.99.1 6.99.2 6.99.3 6.99.4 7.90.0 guppy/6.99.1 guppy/6.99.2 guppy/6.99.3 guppy/6.99.4 guppy_6.99.1 guppy_6.99.2 guppy_6.99.3 guppy_6.99.4 halibut/7.90.0 halibut_7.90.0
wang_zhiqiang [Tue, 6 Nov 2018 02:11:36 +0000 (10:11 +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: Ia7004dbbc9851e95f959e551e0427c9dc308eb9b
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agofix issue,call tap_shortcut carelessly 03/17203/1
wang_zhiqiang [Sat, 13 Oct 2018 08:56:30 +0000 (16:56 +0800)]
fix issue,call tap_shortcut carelessly

  the scenes as below not call tap_shortcut
  1)when touch blank
  2)long press or move icon

Change-Id: I13f2d1833af323da19ce2521cd2be6188fe1bb7a
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
5 years agoRevert "Use appid between homescreen-service and apps" 95/16295/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:33 +0000 (04:44 +0000)]
Revert "Use appid between homescreen-service and apps"

This reverts commit 5fbb59e80e4f870a1badd694d2efcd8cd941cdfb.

Bug-AGL: SPEC-1685

Change-Id: Idd71625415b79cff6ab76b6179236d946a5aab41
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoFix short height of background image 49/16149/1
Tadao Tanikawa [Sun, 19 Aug 2018 13:47:45 +0000 (13:47 +0000)]
Fix short height of background image

Recently window manager changed the homescreen layout,
the height for application changed from 1487 to 1488 css pixel.

Before reworking about multiple resolution, this causes
unexpected stretch of background image.
After, this causes short of height of background.

Bug-AGL: SPEC-1611

Change-Id: I05a55f3dc4f4444dc681b8b35db0e99d6c1aeb35
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoUse appid between homescreen-service and apps 15/16015/1 5.99.3 flounder/5.99.3 flounder_5.99.3
zheng_wenlong [Mon, 6 Aug 2018 03:05:59 +0000 (12:05 +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: I02a87f289c6da0a86012fd304fb1f2d2452ee990
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoMerge "Improve output of multiple screen resolution"
Jan-Simon Moeller [Thu, 2 Aug 2018 14:42:12 +0000 (14:42 +0000)]
Merge "Improve output of multiple screen resolution"

5 years agoImprove output of multiple screen resolution 31/15931/1
Tadao Tanikawa [Wed, 1 Aug 2018 07:07:49 +0000 (07:07 +0000)]
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: I6e71fd0a2c9cf5fbcf23ea529a094b74da6c1841
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoChange hide icon source with contains 59/15859/3
zheng_wenlong [Mon, 30 Jul 2018 08:40:21 +0000 (17:40 +0900)]
Change hide icon source with contains

    If homescreen repo use homescreen without "-2017",
    Launcher need hide icon for homescreen or "-2017".
    So change the code compare with application id.

Change-Id: If1d33ea1718909626b1a04f128ee9b385bc2d447
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years ago[HACK] Resolve race condition when booting 73/15473/2 5.99.2 flounder/5.99.2 flounder_5.99.2
Tadao Tanikawa [Thu, 19 Jul 2018 13:33:13 +0000 (13:33 +0000)]
[HACK] Resolve race condition when booting

If HomeScreen comes after Launcher is launched, HomeScreen
will miss all app's icons.

This hack is for resolving the race condition between
HomeScreen and Launcher when system booting.

Time of delay can be adjust by environment variable,
'HMI_LAUNCHER_STARTUP_DELAY'. The default delay time is 1 sec.

Bug-AGL: SPEC-1471

Change-Id: Ied744c3e322203e66dd17d68dd783ad8f5cd3880
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoDetach launcher application from HomeScreen 17/14517/5
zheng_wenlong [Tue, 19 Jun 2018 06:00:46 +0000 (15:00 +0900)]
Detach launcher application from HomeScreen

    Detach launcher application from Homescreen,
    Use qlibhomescreen instead of homescreenhandle.

    [Patch sets 3]
    This application needs qlibhomescreen, add into sdk in 14597.

    [Patch sets 4]
    Right now add qlibhomescreen class into src for instead.
    Delete it after qlibhomescreen is add into sdk.

    [Patch sets 5]
    From Jan-Simon advise, waitting for qlibhomescreen sdk.
    So return to Patch sets 3.

Relative commit:
    https://gerrit.automotivelinux.org/gerrit/#/c/14597/

Task-AGL: SPEC-1518

Change-Id: Ia16aecddd2bf4623038a84254a0c56967ace9b92
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
5 years agoInitial empty repository 5.99.1 flounder/5.99.1 flounder_5.99.1
Jan-Simon Moeller [Thu, 14 Jun 2018 15:40:16 +0000 (15:40 +0000)]
Initial empty repository