staging/HomeScreen.git
7 years agoFix mixer artwork to be transparent 17/7917/1 3.0.0 3.0.1 chinook/3.0.0 chinook/3.0.1 chinook_3.0.0 chinook_3.0.1
Matt Porter [Wed, 28 Dec 2016 18:38:20 +0000 (13:38 -0500)]
Fix mixer artwork to be transparent

Mixer svg to png conversion lost transparency. Update the png
artwork with proper transparency.

Change-Id: Ie1bcf2a0fd6f3db1372445b4af34b0d93bdd1944
Signed-off-by: Matt Porter <mporter@konsulko.com>
7 years agoReplace connectivity with mixer support 07/7907/2
Matt Porter [Wed, 28 Dec 2016 13:55:12 +0000 (08:55 -0500)]
Replace connectivity with mixer support

There is no top-level connectivity app. All connectivity
management requirements are implemented as a part of
settings. Replace the connectivity icon/launcher with
the mixer icon/launcher and add the mixer artwork.

Change-Id: I6126de401ce7e0ced52e4a9265b59d14fc9cc855
Signed-off-by: Matt Porter <mporter@konsulko.com>
7 years agoMerge "StatusArea.qml: Fix date, time and weather"
Jan-Simon Moeller [Wed, 28 Dec 2016 00:43:27 +0000 (00:43 +0000)]
Merge "StatusArea.qml: Fix date, time and weather"

7 years agoStatusArea.qml: Fix date, time and weather 87/7887/1
Leon Anavi [Tue, 27 Dec 2016 18:07:51 +0000 (20:07 +0200)]
StatusArea.qml: Fix date, time and weather

Fix the appearance of date, time and weather on
Raspberry Pi 2/3 by replacing QML element Label
with Text.

Bug-AGL: SPEC-375

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agoShow launcher by default 75/7875/1
Tasuku Suzuki [Mon, 26 Dec 2016 01:42:40 +0000 (10:42 +0900)]
Show launcher by default

Change-Id: Ied0756767f746a8eb9009d8a2e9b0b2780f595f6
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoMerge "Reworking layer/surface management"
Jens Bocklage [Fri, 23 Dec 2016 16:04:09 +0000 (16:04 +0000)]
Merge "Reworking layer/surface management"

7 years agoUpdate README.md
Bocklage, Jens [Fri, 23 Dec 2016 14:10:21 +0000 (15:10 +0100)]
Update README.md

New instructions for building HomeScreen app

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoReworking layer/surface management 35/7835/1
Tadao Tanikawa [Thu, 22 Dec 2016 06:11:49 +0000 (15:11 +0900)]
Reworking layer/surface management

To support cluster demo of CES2017, Window Manager can ignore
surfaces from applications which are not from HomeScreen launcher.

This is hack for CES2017, need refactoring in the future.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoRevert POI -> Mixer change
Bocklage, Jens [Thu, 22 Dec 2016 12:50:51 +0000 (13:50 +0100)]
Revert POI -> Mixer change

Since there is now a POI app available,
Mixer has to move to the Settings app

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoMerge branch 'master' of https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen
Bocklage, Jens [Thu, 22 Dec 2016 12:34:02 +0000 (13:34 +0100)]
Merge branch 'master' of https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen

Conflicts:
HomeScreen/src/applicationmodel.cpp

7 years agoUse Mixer instead of POI application
Bocklage, Jens [Thu, 22 Dec 2016 12:18:25 +0000 (13:18 +0100)]
Use Mixer instead of POI application

POI is not used in the current HomeScreen, so
it is will start the mixer@0.1 app for now

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoUse Mixer instead of POI application
Bocklage, Jens [Thu, 22 Dec 2016 12:18:25 +0000 (13:18 +0100)]
Use Mixer instead of POI application

POI is not used in the current HomeScreen, so
it is will start the mixer@0.1 app for now

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoRemove unused imports from Home.qml 53/7753/1
Tasuku Suzuki [Wed, 21 Dec 2016 10:54:51 +0000 (19:54 +0900)]
Remove unused imports from Home.qml

Change-Id: Icc8bf36bdb85baf63b4a4460636080e69f0b8078
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoMerge of src and src2 folder
Bocklage, Jens [Tue, 20 Dec 2016 14:00:58 +0000 (15:00 +0100)]
Merge of src and src2 folder

This is just a merge of 2 folders

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix highlight on Shortcut area 11/7711/1
Tasuku Suzuki [Tue, 20 Dec 2016 11:17:10 +0000 (20:17 +0900)]
Fix highlight on Shortcut area

Change-Id: I426bcc55842711c1cd00d11163c12899c00a9e42
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoDisable scrolling on launcher 09/7709/1
Tasuku Suzuki [Tue, 20 Dec 2016 10:47:32 +0000 (19:47 +0900)]
Disable scrolling on launcher

Change-Id: I6ce2876ea9d9e14f647be3191e22805ae6a10036
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoDisable showing MediaArea variations 07/7707/1
Tasuku Suzuki [Tue, 20 Dec 2016 10:44:20 +0000 (19:44 +0900)]
Disable showing MediaArea variations

Change-Id: Ibd9f9cf1a67dc753cd59fdb90ab731c1e195a9fb
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoFix status bar layout can be broken 05/7705/2
Tasuku Suzuki [Tue, 20 Dec 2016 10:20:56 +0000 (19:20 +0900)]
Fix status bar layout can be broken

This happens when empty file is set for a status icon

Change-Id: I81a232a99cf9ee5df242f78058958b4593521bc8
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoSupport scaled output for non-FHD screen 81/7681/1
Tadao Tanikawa [Sun, 18 Dec 2016 08:38:37 +0000 (17:38 +0900)]
Support scaled output for non-FHD screen

This is a quick hack supporting scaled output to fit various
monitors which has not FHD screen resolution.
(Especially useful for running CES2017 demo on QEMU)

 - Layer
   - source rectangle is 1080x1920
   - destination rectangle is variable to fit screen resolution
 - Surface
   - source rectangle is based 1080x1920
   - destination rectangle is based 1080x1920
 - From application view
   - screen size is always 1080x1920 and does not need
     to care about phsycial screen size

This change enables scaled output which changes the size
according to the ratio of source and destination region
of homescreen layer.

This patch doesn't resolve an issue, 'CES2017 demo keep blank
screen after booting on some platform (QEMU, Raspberry Pi3,
MinnowMax)'. (Workaround: just run any weayland client
application such as 'LayerManagerControl', 'qmlscene', or
weston example like 'weston-flower', then it breaks blank screen)

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoFix missing dependency for libhomescreen 79/7679/1
Tadao Tanikawa [Sun, 18 Dec 2016 08:17:20 +0000 (17:17 +0900)]
Fix missing dependency for libhomescreen

libhomescreen has dependency to interfaces, but it is missing in
HomeScreen.pro. This would raise link error depends on the
host environment.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd parameter "quiet" to suppress outputs
Bocklage, Jens [Fri, 16 Dec 2016 17:12:33 +0000 (18:12 +0100)]
Add parameter "quiet" to suppress outputs

This will disable all debug outputs. All!

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd command line parameter mechanism
Bocklage, Jens [Fri, 16 Dec 2016 14:26:27 +0000 (15:26 +0100)]
Add command line parameter mechanism

This will get handy as soon as needed.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd app parameter to set display id
Bocklage, Jens [Fri, 16 Dec 2016 14:18:34 +0000 (15:18 +0100)]
Add app parameter to set display id

On systems with more then one display, you may want
to set the display that will be managed.
The default display is 0.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoMake compilable on non HAVE_IVI_LAYERMANAGEMENT_API systems
Bocklage, Jens [Fri, 16 Dec 2016 12:47:25 +0000 (13:47 +0100)]
Make compilable on non HAVE_IVI_LAYERMANAGEMENT_API systems

No functional changes

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix management of screen 39/7639/1
Tadao Tanikawa [Thu, 15 Dec 2016 06:51:13 +0000 (15:51 +0900)]
Fix management of screen

WindowManager can support signle screen only, so far.

CAUTION:
To apply this change for porter board, LVDS-1 output
should be disabled first. (see Changes 7637 for detail)

  https://gerrit.automotivelinux.org/gerrit/#/c/7637/

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoDelete unneeded files
Bocklage, Jens [Thu, 15 Dec 2016 04:50:29 +0000 (05:50 +0100)]
Delete unneeded files

- sample-qml no longer needed
- widgets no longer needed
- images replaced by new HMI before

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoLaunch navigation@0.1 when pressing NAVIGATION button 27/7627/1
Bocklage, Jens [Thu, 15 Dec 2016 03:02:18 +0000 (04:02 +0100)]
Launch navigation@0.1 when pressing NAVIGATION button

This was controls@0.1 before

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix EGL library name in HomeScreen systemd unit 17/7617/1
Scott Murray [Wed, 14 Dec 2016 20:17:50 +0000 (15:17 -0500)]
Fix EGL library name in HomeScreen systemd unit

The LD_PRELOAD of the EGL library in HomeScreen.service's Environment
definition needs to be /usr/lib/libEGL.so.1, as the images do not
contain an undecorated .so symlink.  This had recently been fixed in
the old demo's startup scripts, but seems to have been missed in the
switch to systemd startup.

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

7 years agoMerge "Fix and improve switching applications"
Jens Bocklage [Wed, 14 Dec 2016 07:44:25 +0000 (07:44 +0000)]
Merge "Fix and improve switching applications"

7 years agoFix and improve switching applications 77/7577/3
Tadao Tanikawa [Tue, 13 Dec 2016 05:35:25 +0000 (14:35 +0900)]
Fix and improve switching applications

v2: (Tadao Tanikawa)
   Minor fixed pointed by reveiw and organize debug message

v1: (Tadao Tanikawa)
Quick hack to fix and improve switching applications.

Changes:

 * Improve management of layers and surfaces
   Previously single layer was shared among all applications,
   now each application has its own layer.

 * Improve showing / hiding applications
   Previously to show/hide application, surfaces are added
   or removed everytime, but it's slow.
   Now reordering layers controls showing/hiding applications,
   it much faster.

 * Shortcut icons whose application is not installed no
   longer cause issue to switch apps.

Caution:
   This patch is very quick hack, and many old codes which
   regarding to management surfaces are disabled, so there
   may be unnoticed degraded.

Change-Id: I69494213b0d1b169558f3d792ebecf414caccacc
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoAdd .gitreview file 73/7573/2
Jan-Simon Möller [Tue, 13 Dec 2016 13:03:49 +0000 (14:03 +0100)]
Add .gitreview file

This adds a .gitreview file so you can use
'git review' instead of 'git push origin refs/for/_branchname_'
as the .gitreview file defines the defaultbranch.

Change-Id: Ie238a864692d3111e8fbf3f0fcc0f2e643df56e7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoDo not try to handle not-installed apps
Bocklage, Jens [Tue, 13 Dec 2016 13:41:06 +0000 (14:41 +0100)]
Do not try to handle not-installed apps

Apps that are not installed will not
trigger any further action now

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd Mentor to Copyright text
Bocklage, Jens [Tue, 13 Dec 2016 10:17:54 +0000 (11:17 +0100)]
Add Mentor to Copyright text

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoUpdate README.md
Bocklage, Jens [Tue, 13 Dec 2016 10:15:38 +0000 (11:15 +0100)]
Update README.md

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix missing dependency for sample-qml 55/7555/1
Tadao Tanikawa [Tue, 13 Dec 2016 03:08:15 +0000 (12:08 +0900)]
Fix missing dependency for sample-qml

sample-qml has dependency to libhomescreen, but it is missing.
This would raise compile error depends on the host environment.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoRemove SampleMediaApp and SampleNavigationApp
Bocklage, Jens [Mon, 12 Dec 2016 16:20:44 +0000 (17:20 +0100)]
Remove SampleMediaApp and SampleNavigationApp

No longer needed as QML examples

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoRemove HomeScreenNG
Bocklage, Jens [Mon, 12 Dec 2016 16:11:06 +0000 (17:11 +0100)]
Remove HomeScreenNG

This was already integrated into the main
HomeScreen app

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoIntegrate HomeScreen D-Bus API
Bocklage, Jens [Mon, 12 Dec 2016 16:02:32 +0000 (17:02 +0100)]
Integrate HomeScreen D-Bus API

This was lost when integrating the new
QML HMI

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoHack to fix issue of switching apps 37/7537/1
Tadao Tanikawa [Mon, 12 Dec 2016 07:55:58 +0000 (16:55 +0900)]
Hack to fix issue of switching apps

To switching between apps, controlling surface's
visiblity (on/off) does not work as intended.

It looks work well to set render order of layers properly.

TODO: switching between apps and navigation still doesn't
work. For develop, navigation icon is assgined to
'controls@0.1' and now, controls app doesn't make any
wl_surfaces (don't know why). Probably this causes issue
switching between apps <-> navigation.

Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
7 years agoIntegrate Home app into HomeScreen
Bocklage, Jens [Fri, 9 Dec 2016 11:14:02 +0000 (12:14 +0100)]
Integrate Home app into HomeScreen

Home is located in ces2017 repo. But since it has to use
HomeScreen internal components (layermanager and applauncher),
I had to move it to main HomeScreen app.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoDisable verbose output of systems service file
Bocklage, Jens [Thu, 8 Dec 2016 10:06:45 +0000 (11:06 +0100)]
Disable verbose output of systems service file

This is not needed in general

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoUpdate install path in systemd unit files 83/7483/1
Scott Murray [Thu, 8 Dec 2016 02:11:05 +0000 (21:11 -0500)]
Update install path in systemd unit files

The application is now installed in /usr/AGL/homescreen instead of in
/usr/AGL/HomeScreen, update the systemd unit files to match.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
7 years agoReturn the correct list of status placeholders
Bocklage, Jens [Wed, 7 Dec 2016 15:46:00 +0000 (16:46 +0100)]
Return the correct list of status placeholders

This was not implemented before.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoImprove layer- and surface handling
Bocklage, Jens [Wed, 7 Dec 2016 15:39:34 +0000 (16:39 +0100)]
Improve layer- and surface handling

Still fighting with ilm API

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoLink to available apps
Bocklage, Jens [Wed, 7 Dec 2016 15:34:19 +0000 (16:34 +0100)]
Link to available apps

The shortcuts on the top of the
HomeScreen app now launch following
apps:
 * Home launches home@0.1
 * Multimedia launches radio@0.1
 * HVAC launches hvac@0.1
 * Navigation launches controls@0.1

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoOnly launch apps once
Bocklage, Jens [Wed, 7 Dec 2016 15:32:00 +0000 (16:32 +0100)]
Only launch apps once

Apps were started n-times when pressing
n-times the app button. Now they are only
launched once. When the button is pressed
again, the already running app is re-shown.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFirst integration of new HMI design
Bocklage, Jens [Mon, 5 Dec 2016 13:19:37 +0000 (14:19 +0100)]
First integration of new HMI design

Using QML files and C++ integration from Qt's
HomeScreenNG sample app.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoRemove unnecessary file 25/7425/1
Kazumasa Mitsunari [Mon, 5 Dec 2016 05:39:32 +0000 (14:39 +0900)]
Remove unnecessary file

Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
7 years agogenerate homescreen.pc 87/7387/1
Tasuku Suzuki [Fri, 2 Dec 2016 06:48:48 +0000 (15:48 +0900)]
generate homescreen.pc

Change-Id: I25715667ef7996965e724b2e3cbca322d5b518ed
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoWIP: add Qt Quick HomeScreen UI 85/7385/1
Tasuku Suzuki [Fri, 2 Dec 2016 02:19:51 +0000 (11:19 +0900)]
WIP: add Qt Quick HomeScreen UI

Change-Id: I2be964f6d9e76df616169d7b2654d17ae9446687
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoreplace a SLOT macro with SIGNAL where a signal is triggered 83/7383/1
Tasuku Suzuki [Fri, 2 Dec 2016 03:58:58 +0000 (12:58 +0900)]
replace a SLOT macro with SIGNAL where a signal is triggered

Change-Id: I133b16c7a61b5998c37724b34d631f85448f66e2
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agosample-qml: load qml from Qt resources 81/7381/1
Tasuku Suzuki [Fri, 2 Dec 2016 02:37:58 +0000 (11:37 +0900)]
sample-qml: load qml from Qt resources

embed every assets in the binary and load its contents from there

Change-Id: If0ca9342f82ab3ac8badf6bd75755a24001d2da7
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoprepend 'emit' keyword whenever emiting signal 67/7367/2
Tasuku Suzuki [Fri, 2 Dec 2016 01:03:43 +0000 (10:03 +0900)]
prepend 'emit' keyword whenever emiting signal

Change-Id: Ie269e2729dd74573a5f96b085c5d2d5a54ad5127
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoFix for not showing up HomeScreen during startup v0.6.4
Bocklage, Jens [Thu, 1 Dec 2016 11:51:44 +0000 (12:51 +0100)]
Fix for not showing up HomeScreen during startup

This is a hack, because the root cause is not known.
The HomeScreen GUI will be replaced by a QML implementation,
so this source code will be replaced completely soon.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoMerge "Add sample qml application"
Jens Bocklage [Wed, 30 Nov 2016 12:32:42 +0000 (12:32 +0000)]
Merge "Add sample qml application"

7 years agoAdd sample qml application 47/7347/1
Kazumasa Mitsunari [Wed, 30 Nov 2016 11:11:48 +0000 (20:11 +0900)]
Add sample qml application

It is sample application(HVAC).
This app is used for debuging, for reference of HomeScreen API use and so on.

Signed-off-by: Kazumasa Mitsunari <kazumasa_mitsunari_za@mail.toyota.co.jp>
7 years agoimprove AppInfo class 43/7343/1
Tasuku Suzuki [Wed, 30 Nov 2016 04:34:30 +0000 (13:34 +0900)]
improve AppInfo class

hide public member variables and introduce getters and setters for them.

Change-Id: I9108e94516238ef2ff8d4ea18db381d4e7e73bec
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoArrange the surface z-order in the layer v0.6.3
Bocklage, Jens [Fri, 25 Nov 2016 14:58:23 +0000 (15:58 +0100)]
Arrange the surface z-order in the layer

Using ilm_layerSetRenderOrder to set the order of the surfaces
inside the layer. This is neccessary to show the surfaces
on the screen.

Resolves: #SPEC-333

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoEnable automcatic startup of Homescreen app
Bocklage, Jens [Thu, 24 Nov 2016 13:02:04 +0000 (14:02 +0100)]
Enable automcatic startup of Homescreen app

HomeScreen and its depending apps are started by default using systemd
user session.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoUse 4 layer instead of 3
Bocklage, Jens [Wed, 23 Nov 2016 12:06:44 +0000 (13:06 +0100)]
Use 4 layer instead of 3

This fixes a typo where only three of the available four layers were
shown on the screen.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agofix typo 73/7273/1
Tasuku Suzuki [Tue, 22 Nov 2016 05:42:05 +0000 (14:42 +0900)]
fix typo

Change-Id: I11b6b535c2587c5e61dfb17c8cb56f2554e06c06
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoremove QMAKE_CLEAN += -r * from project files 65/7265/2
Tasuku Suzuki [Mon, 21 Nov 2016 08:34:51 +0000 (17:34 +0900)]
remove QMAKE_CLEAN += -r * from project files

use $ make distclean if you want to clean binaries and Makefile

Change-Id: I4f9af670c8625f48a0f9f77d31117d2a1a1cbb22
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agocheck ivi-layermanagement-api availability 63/7263/3
Tasuku Suzuki [Mon, 21 Nov 2016 05:40:40 +0000 (14:40 +0900)]
check ivi-layermanagement-api availability

replace #ifdef __arm__ with a definition that comes from availability
test

Change-Id: Id9fa4baefcc9f38acd3e98d40054040fc69029c6
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agocleanup project files 61/7261/2
Tasuku Suzuki [Mon, 21 Nov 2016 03:21:14 +0000 (12:21 +0900)]
cleanup project files

Change-Id: I4d605d97d050fb60e1fef749926cb1b92071782e
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agointroduce interfaces.pri 59/7259/3
Tasuku Suzuki [Mon, 21 Nov 2016 03:04:19 +0000 (12:04 +0900)]
introduce interfaces.pri

Change-Id: I3649d5275b9da71feb216eb70c9d9fda73507d69
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoremove header files missing from project file 57/7257/2
Tasuku Suzuki [Mon, 21 Nov 2016 02:59:51 +0000 (11:59 +0900)]
remove header files missing from project file

Change-Id: I2e4234a20ebdb476cf65b51cefbcc9acff45faf4
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoSet surface source rectanglge on CONFIGURED event.
Bocklage, Jens [Thu, 17 Nov 2016 08:09:11 +0000 (09:09 +0100)]
Set surface source rectanglge on CONFIGURED event.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd initial systemd service files.
Bocklage, Jens [Thu, 17 Nov 2016 02:34:24 +0000 (03:34 +0100)]
Add initial systemd service files.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoUse std::vector instead of std::list.
Bocklage, Jens [Wed, 16 Nov 2016 05:35:02 +0000 (06:35 +0100)]
Use std::vector instead of std::list.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoChange HomeScreen API function renderSurfaceToAreaAllowed to renderAppToAreaAllowed.
Bocklage, Jens [Wed, 16 Nov 2016 02:56:12 +0000 (03:56 +0100)]
Change HomeScreen API function renderSurfaceToAreaAllowed to renderAppToAreaAllowed.

Background is that an application wants to know if it is allowed to be rendered before it creates its own surface.
If it is not allowed, it does not need to allocate resources.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd Nav and Media app to control bar. 20161111_preCESIntegrationWorkshop
Bocklage, Jens [Fri, 11 Nov 2016 17:38:49 +0000 (18:38 +0100)]
Add Nav and Media app to control bar.

Hardcoded:
nav: nav@0.1
media: media@0.1

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd new layer WINDOWMANAGER_LAYER_HOMESCREEN_OVERLAY.
Bocklage, Jens [Fri, 11 Nov 2016 15:00:10 +0000 (16:00 +0100)]
Add new layer WINDOWMANAGER_LAYER_HOMESCREEN_OVERLAY.
Add new signal surfaceVisibilityChanged to homescreen and windowmanager API.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAdd org.agl.homescreen function renderSurfaceToAreaAllowed.
Bocklage, Jens [Fri, 11 Nov 2016 09:49:52 +0000 (10:49 +0100)]
Add org.agl.homescreen function renderSurfaceToAreaAllowed.

This function can be used to request, if it is allowed to render a surface in a layout area in preparation of the real renderSurfaceToArea command. This call will not change anything, it is only a request.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoMerge branch 'master' of https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen
Bocklage, Jens [Wed, 9 Nov 2016 17:33:51 +0000 (18:33 +0100)]
Merge branch 'master' of https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen

7 years agoChanges to org.agl.homescreen interface
Bocklage, Jens [Wed, 9 Nov 2016 17:31:50 +0000 (18:31 +0100)]
Changes to org.agl.homescreen interface

Change parameter for renderSurfaceToArea.
Remove getLayoutRenderAreaForSurfaceId.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoChanges to org.agl.homescreen interface
Bocklage, Jens [Wed, 9 Nov 2016 17:31:50 +0000 (18:31 +0100)]
Changes to org.agl.homescreen interface
Change parameter for renderSurfaceToArea.
Remove getLayoutRenderAreaForSurfaceId.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix for AppInfo member initialization.
Bocklage, Jens [Wed, 9 Nov 2016 15:14:53 +0000 (16:14 +0100)]
Fix for AppInfo member initialization.
Only one Layout for CES2017 needed.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoPushed some versions to 0.6.0 97/7097/1 v0.6.0
Bocklage, Jens [Tue, 8 Nov 2016 19:08:33 +0000 (20:08 +0100)]
Pushed some versions to 0.6.0

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoTizen -> AGL 95/7095/1
Bocklage, Jens [Tue, 8 Nov 2016 19:04:17 +0000 (20:04 +0100)]
Tizen -> AGL

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoBinding to AGL framework 99/7099/1
José Bollo [Tue, 8 Nov 2016 18:43:40 +0000 (19:43 +0100)]
Binding to AGL framework

This replaces the binding to the Tizen Framework with
the binding to the AGL framework.

Change-Id: Ib7e1da60b9eb1754fd623e7a346c117a9ee11647
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years ago-Make the SampleNav app yellow. 93/7093/1
Bocklage, Jens [Tue, 8 Nov 2016 18:46:21 +0000 (19:46 +0100)]
-Make the SampleNav app yellow.
-Preparation for the new ApplicationFramework binding. The App Framework provides more information.
--Adding afm D-Bus-interface introspection
--Updating the AppInfo datatype to hold the new data:
  The application info consists of:
  string id;
  string version;
  int width;
  int height;
  string name;
  string description;
  string shortname;
  string author;
  string iconPath;
-When pressing the AppLauncher Button or the Settings Button, the app layer is hidden.
--Therefore, shideLayer and showLayer is introduced in the WindowManager API
-If an application does not create its surface instantly, the HomeScreen retries to show the surface related to the pid.
-New WindowManager function deleteLayoutById
-Implement the complete HomeScreen API in the libhomescreen

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoRemove menus and toolbar. 91/7091/1
Bocklage, Jens [Mon, 7 Nov 2016 12:41:51 +0000 (13:41 +0100)]
Remove menus and toolbar.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoNew HomeScreen API calls getSurfaceStatus and getAllSurfacesOfProcess. 89/7089/1
Bocklage, Jens [Mon, 7 Nov 2016 12:40:36 +0000 (13:40 +0100)]
New HomeScreen API calls getSurfaceStatus and getAllSurfacesOfProcess.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoadd signal as proposed by IoT 87/7087/1
Bocklage, Jens [Mon, 7 Nov 2016 09:49:19 +0000 (10:49 +0100)]
add signal as proposed by IoT

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoavoiding reserved keywords
José Bollo [Fri, 4 Nov 2016 17:00:09 +0000 (18:00 +0100)]
avoiding reserved keywords

Change-Id: I2d5eb487b5dc5f494ce21c7d70bb5597bc18e12e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadding the xml introspection of afm-user-daemon
José Bollo [Fri, 4 Nov 2016 16:45:33 +0000 (17:45 +0100)]
adding the xml introspection of afm-user-daemon

Change-Id: Ifa30ae67b383e99a190f9e0cd590ee8133bacf65
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoAdd two sample apps just to have some Qt based applications that can be launched.
Bocklage, Jens [Fri, 4 Nov 2016 16:23:50 +0000 (17:23 +0100)]
Add two sample apps just to have some Qt based applications that can be launched.
Nav is Qt widget based.
Media is QML based.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoFix for pid and surface handling.
Bocklage, Jens [Fri, 4 Nov 2016 16:23:02 +0000 (17:23 +0100)]
Fix for pid and surface handling.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoNew concept of dynamically placing surfaces in static defined layout areas. v0.4.0
Bocklage, Jens [Thu, 3 Nov 2016 19:23:10 +0000 (20:23 +0100)]
New concept of dynamically placing surfaces in static defined layout areas.

This is useful if an application wants to render more than one surface.
By default, one surface is placed in one layout render area. With the new homescreen.xml
introspection, apps can place their surfaces as they wish (limited to the boundries
of the assigned layou render area!).

The functionality is not fully implemented, but the shared lib already provides the interface.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoHomeScreen main surface has to have the surface id 1000!
Bocklage, Jens [Thu, 3 Nov 2016 15:38:56 +0000 (16:38 +0100)]
HomeScreen main surface has to have the surface id 1000!
Use
QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" ./HomeScreen &
to launch HomeScreen.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoHomeScreen is now visible independent of the Layout set.
Bocklage, Jens [Thu, 3 Nov 2016 12:47:46 +0000 (13:47 +0100)]
HomeScreen is now visible independent of the Layout set.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoNew layer management in WindowManager. Three layers are created. One for the HomeScre...
Bocklage, Jens [Wed, 2 Nov 2016 15:23:58 +0000 (16:23 +0100)]
New layer management in WindowManager. Three layers are created. One for the HomeScreen, one for apps, one for popups.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoGenerate docbook file for the homescreen.xml introspection file.
Bocklage, Jens [Mon, 31 Oct 2016 11:23:51 +0000 (12:23 +0100)]
Generate docbook file for the homescreen.xml introspection file.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoIntroduces shared lib that provides the API of D-Bus org.agl.homescreen.
Bocklage, Jens [Mon, 31 Oct 2016 10:40:18 +0000 (11:40 +0100)]
Introduces shared lib that provides the API of D-Bus org.agl.homescreen.
Initial implementation to show the idea. Also availabale a sample app that uses the new lib. The lib uses the GNU D-Bus lib.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoImplement toggle full screen mechanism.
Bocklage, Jens [Wed, 26 Oct 2016 13:53:34 +0000 (15:53 +0200)]
Implement toggle full screen mechanism.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoAll apps print their app name and version on launch.
Bocklage, Jens [Wed, 26 Oct 2016 11:18:37 +0000 (13:18 +0200)]
All apps print their app name and version on launch.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoD-Bus name of AppFrameworkBinder is more common now.
Bocklage, Jens [Fri, 21 Oct 2016 13:43:09 +0000 (15:43 +0200)]
D-Bus name of AppFrameworkBinder is more common now.
Change way of launching apps in development environment.
Fix handling of launching more than three apps.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoRemove QSurfaceFormat
Bocklage, Jens [Fri, 21 Oct 2016 13:22:16 +0000 (15:22 +0200)]
Remove QSurfaceFormat

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoREADME cleanup
Bocklage, Jens [Fri, 21 Oct 2016 13:18:19 +0000 (15:18 +0200)]
README cleanup

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoWindowManager now handles application surfaces by its pids.
Bocklage, Jens [Tue, 18 Oct 2016 16:18:13 +0000 (18:18 +0200)]
WindowManager now handles application surfaces by its pids.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>