summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-31Add scaling mode to demo screendab_4.0.3dab_4.0.2dab_4.0.1dab/4.0.3dab/4.0.2dab/4.0.14.0.34.0.24.0.1dabTakashi Matsuzawa2-34/+123
Bug-AGL: SPEC-791 Avoid demo screen being stretched and distorted on non full-HD display. Instead, we should fit it on target display but also keeping demo screen aspect ratio. This change has no impact on fiull-HD displays since the behavior is the same. In addition to "fit" option (now default), "stretch" (previous default) and "no" modes are provided for convenience. Update: Add content modes that seems to be common. Instead of integer value but string ids are used to specify desired mode. Update2: Do not rely on copmiler for redundant calls to strcmp Use signed type to avoid redundant type casting Update3: Fixing typo, adding comments, error case handling Update4: (Tadao Tanikawa) Calculating the geometry of layer (named root layer) once when WindowManager initialized and each app's layer inherits it. Update5: (Tadao Tanikawa) Clean up compiler warnings Update6: (Tadao Tanikawa) Clean up compiler warnings Change-Id: Ibb797ebea65062fdda7eccc5b7fc246a6b602e98 Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> (cherry picked from commit eeedc5e9e67917bd3346dbe5332e667757a3b28d)
2017-07-13Fix the issue early launched apps before HomeScreendab_4.0.0dab_3.99.3dab/4.0.0dab/3.99.34.0.03.99.3Tadao Tanikawa2-59/+111
WindowManager uses the pid to manage app's surface and layer and the pid is from creatorPid of ivi-surface. It used to be the same value as afm-util returns when apps launched via HomeScreen. After new AGL application framework has come, afm-util no longer returns the same value as creatorPid. So commit 4cb274 and bb3369 are introduced, then WindowManager started to use process group or session instead of pid which is returned by afm-util. But inside WindowManager pid which returned by afm-util is still used to detect ivi surface for app. It is registered when app is launched via HomeScreen and it is retrived by app's process group or session from creatorPid when ivi-surface has been created. Because this logic of pid conversion was incomplete, it caused the issue which early launched app has never been shown even when user try to launch it via HomeScreen. This patch introduces quick hack to resolve this issue and improve the surface management in WindowManager. Bug-AGL: SPEC-745 Change-Id: Iafa2e56c07b3c3a2eff23ff75cdedb3226d7f55a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-07-05Revert "Revert "Fix issue of app's unexpected stop while background""Tadao Tanikawa3-85/+94
This reverts commit 7c57238518ec46f5a176bd5245c029fb833b4632. The commit 64fe5a depends on the change of apps/homescreen. (https://gerrit.automotivelinux.org/gerrit/#/c/9837/) Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-06-30Revert "Fix issue of app's unexpected stop while background"dab_3.99.2dab/3.99.23.99.2Jan-Simon Moeller3-94/+85
This reverts commit 64fe5a61d9b812c7865c10cd600d4aab4f92d7d5. Breaks visibility. Reverting on dab and master. Please resubmit a fixed version. Tnx. Change-Id: Icb60bf63b6114329128d32ea0d1b6288ac518ff1
2017-06-27Fix issue of app's unexpected stop while backgroundTadao Tanikawa3-85/+94
Current window manager make own ivi-layer to each application and adjust the order when rendering (screen's render order of layers). E.g. When showing apps launcher, window manager has only 1 ivi-layer for homescreen under screen 0. When showing an app, window manager add 1 ivi-layer for it and set render order of 2 layers, front: app's and back: homescreen layer. And when app hides, it's layer is removed from render order. But if removed from render order, excecuting QML also stopped. It is caused why the media player doesn't play next song when it is not shown. This patch changes how to make render order to keep media player/navigation's layer in render order even when it is not shown. Bug-AGL: SPEC-395 Change-Id: I01f9705a8d2f6c6fbee317b5297ce8f3715a7d39 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-06-24Add .gitreview for dabJan-Simon Möller1-2/+1
Change-Id: Idd7e98a408ba2ac4171e23b79bc77c9765b4d641 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-26Remove useless "User=" from servicedab_3.99.1dab/3.99.13.99.1Ronan Le Martret1-1/+0
The service run has systemd user unit, so "User=" is useless Bug-AGL: SPEC-546 Change-Id: Iea3d9b3a26a85cdad55ac2e22115fe361695491c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-03Record surfaces without applicationJosé Bollo1-6/+6
Recording surfaces even for unknown applications improves the system by eliminating possible race conditions and by allowing applications to be started in background. AGL-Issue: SPEC-520 Change-Id: I7ee77d0c2fe419fa2dfaa48b1590e7ef4e82f8e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-24Allow to use process group or session instead of pidJosé Bollo2-0/+73
This is needed to allow the new application framework to display surfaces. The mechanism is as follows: if the pid of the creator of a surface isn't registered, the master of the process group it belongs to is used instead or else the master of the session group. Change-Id: I696e2519f919fb671e8a325615609e35a3c7ffe2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-24Factorize common code in 'renderLayers'José Bollo2-20/+14
The code factorized was present 4 times in the code. Factorizing it improves the overall. Change-Id: I94833679fcd366796b332259ebac5ecac5fc047c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-08Fixed WindowManager startupRonan Le Martret1-0/+10
* WindowManager must start only when weston is ready. [SPEC-470] Change-Id: I441719acd72f022eb150ebb73047d805fc644dbc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-14Add .mailmap file to clean up statsBocklage, Jens1-0/+3
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-20Fix execution path in .service fileBocklage, Jens1-1/+1
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-18Initial source commitBocklage, Jens21-0/+2032
Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-17Add .gitignore and .gitreviewBocklage, Jens2-0/+131
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-16Initial empty repositoryJan-Simon Moeller0-0/+0