Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I1e194ecc9fb90ccb4c24e114ac1513ed19f0c0a3
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Change-Id: I547e578526d6ce934c9fa8aa86170cea5a2f17e7
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Change-Id: I3b9face35972a275918ac4f95f4a97df035ee924
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
layers.json
* Forgot to change the layer name
layout.db
* Change the name of area and layer
* Modify the size of area
Change-Id: I9edd547419d894aef0142e9ef9668e08987549dc
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
role
* upper homescreen -> near_homescreen
* lower homescreen -> far_homescreen
* restriction.* -> restriction
Change-Id: I5d53a66b8dc3d3b9cb761b27b7b388661853fd32
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
* Undo the changes, revert to the original layout.db for test
* Add ALS test case
Change-Id: I8ca89e0455fb0d429d41b2f3a9d3f9341fda551c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: Ibdf275b528678abbfa1771bf0e9ec389c540fbfa
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: Ibf2e5f46a95a8c84c7baa513798a685c00e8338d
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I9133faa840f6feaec3f2b6f88a6e1b33be29639c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
LD_LIBRARY_PATH is set in ${AFM_APP_INSTALL_DIR}/lib,
so Window Manager can load own library from them.
Change-Id: I5bd62fac6c8661b681a4f617e882548d6da7f336
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
- PolicyManager
Decide next layout by using occured event and current state
based on policy table.
This PolicyManger is reference and the OEMs can replace it.
- LayoutManager
Change the current layout to the layout
which decided by PolicyManager.
NOTE:
The functions of this class had been included in App class.
The part of function of this class remain there yet.
- LowCanClient
Receive the CAN signal from low level CAN service.
- app.db
Define the applications name and its role.
This file will be deleted
when the names and roles can be given by other module.
- layout.cb
Define the layouts and areas which are included by the layout.
- role.db
Define the roles of the applications.
Change-Id: I2f84bdf5e68355e022f516cee9a1db88efe58825
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
* Change version to 0.5
* Remove code generation. It is not used anymore
* Fix inconsistent spellings
* Add "Fallback" description
* Fix dependency package
* Add description of requestSurfaceXDG
Change-Id: I134c521b0d413780e496e9477c4901431eb72ae5
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Some events were emitted in a function before it replies.
This patch changes
* The function checks parameter then reply error if it is incorrect.
* After checking parameters, the function continues to process.
The exeption is the syncronous functions such as requestSurface.
Change-Id: I168eba3e2b70d53615a4221bcbbba6bc6096c1db
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Visible event was emitted before commit change of ivi-controller.
This patch changes the event emitted after commit change.
Bug-AGL: SPEC-1332
Change-Id: Ib8a6d3a513c1fe4a28111b2ad256122289fc5cc0
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
This patch enables the app to show if it is not registered in layers.json.
The original installed app was not shown because the role of app is not
registered in WM as default.
[Patch set2]
Add the same process into requestSurface for RunXDG
Bug-AGL : SPEC-1331
Change-Id: Ie99b971023a95a1924795b1ffc7311a630940b1d
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
getDisplayInfo() can get the display information as follows:
- width[pixel]
- height[pixel]
- width[mm]
- height[mm]
NOTE:
It uses wl_output::geometry() for getting physical width[mm] and height[mm] of the display,
but the value is different with measured value.
value from wl_output::geometry(): width:320 height:520
measured value : width:193 height:343
getAreaInfo() can get the information of area drawn by the application as follows:
- x-coordinate
- y-coordinate
- width
- height
The details are described in doc/ApplicationGuide.md.
Bug-AGL: SPEC-1087
Change-Id: I9e6d64ff04e0845b83c69db374d06af17a6d6b66
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
This patch is for master branch only.
For using wayland-ivi-extension version 2.x,
the wayland protocol in WindowManager is changed
from ivi-controller to ivi-wm.
NOTE:
If using this patch,
the modification for AGL/meta-agl
which described in SPEC-1244 is necessary.
Bug-AGL: SPEC-1244
Change-Id: I5489db202dfeec8f4626aee53bd1f86c145b95d9
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
If the app is on background layer for CES hack such like Navigation,
when the user push "Home" shortcut botton quickly many times,
the app on background layer appears with flickering.
So fix the issue.
Bug-AGL: SPEC-1247
Change-Id: I777607a99914f0141886e817cb6a5e486f1105f0
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
|
|
When an application dies after requestSurface,
the application can't be launched because
Window Manager doesn't know the application is dead and doesn't
clean up its database.
In other case, when Mixer app dies due to pulse audio crash
just before Window Manager handles surface memory,
the connection between weston and Window Manager is dead.
So add following
* Add context setting with window manager clients.
Terminate the context and clean up WM database
if a client application is dead.
* Add layout_commit() after add surfaces to layer.
[PatchSet 2]
* Add layout_commit() after add surfaces to layer
in api_request_surface
Bug-AGL: SPEC-1086
Change-Id: I6ecae2606ac644e49a3383ba849390f8c235f187
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
error "Never include <bits/signum.h> directly; use <signal.h> instead."
Bug-AGL: SPEC-1181
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
|
|
Adding new applications (Video player and Web browser) to
be managed by window manager properly.
Releated introducing Video player, old name, 'MediaPlayer' for
apps/mediaplayer has been renamed 'Music'.
Old name,'MediaPlayer' keeps alive in layers.json for backward
compatibility.
Change-Id: I2b5e267f4015a4ed128ff5b55ba709faf1914b61
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
To reduce the files and redundant code,
* Remove afb_binding_api.* files and generate-binding-glue.py.
* Merge them into other source codes.
Change-Id: Ib61350ee6a42d73efc3fa29fa0c4868145a88e2e
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
To handle the request from binder(applications) more flexibly,
we have to remove automatic code generation.
Change-Id: Id14ab749cca68b5aa30376ba3ac543372df87233
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I8eee96305be1c8808442af92b254fce857e3dfd6
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
MediaPlayer and Radio can not sound
when their surface have visibility=0.
And Navigation can not be displayed correctly
when the application is switched from visibility=0 to 1.
Because when visibility=0, weston event can not be catched.
So when the applications is not displayed,
they have visibility=1 and are moved to background layer.
Change-Id: Idf236e703a1e74cf564a1b213e6e15fcfa42a29e
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
To run XDG application on AGL HomeScreen/WindowManager,
a new binding API of WindowManager is added.
This api is used only by AGL XDG-Launcher and
all xdg applications should be packed as wgt compatible
to AGL Application framework.
Bug-AGL: SPEC-1096
Change-Id: I33dd3b056c736ef374e2251e818541ddd699877b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
This reverts commit 6aaba1066fe89f324d4bae67497f4035fe997d5f.
To fix double posts to Gerrit Review and repository directly.
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
getDisplayInfo() can get the display information as follows:
- width[pixel]
- height[pixel]
- width[mm]
- height[mm]
NOTE:
It uses wl_output::geometry() for getting physical width[mm] and height[mm] of the display,
but the value is different with measured value.
value from wl_output::geometry(): width:320 height:520
measured value : width:193 height:343
getAreaInfo() can get the information of area drawn by the application as follows:
- x-coordinate
- y-coordinate
- width
- height
The details are described in doc/ApplicationGuide.md.
Change-Id: I41eec6251527862ef25d1b84cd37d736d3f9c8aa
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
If transform=flipped-270 is set within weston.ini,
the video output is incorrect.
Fix the problem.
Bug-AGL: SPEC-1115
Change-Id: Idc7117b4b8011e17e888d2237665b485b6ae5621
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Update the debug message macros to the latest version
according to https://gerrit.automotivelinux.org/gerrit/#/c/11767/.
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Remove the unnecessary comments
and replace ascii-art comments with doxygen format.
Change-Id: Id1abf56db58070a83f403a1f8280bc9888e7de09
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
If the configuration file "layers.json" can not be opened,
windowmanager uses a default layer configuration.
Change-Id: I1b20f385c5e748a90be5e930a1775a6b3a4f39a5
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Fix the bug which is that windowmanager outputs the error log
on the initialization.
Bug-AGL: SPEC-925
Change-Id: I87b20cc7840ef7241ca56ecab440f52333b1753c
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
- Change according to:
- https://gerrit.automotivelinux.org/gerrit/#/c/11523/
- https://gerrit.automotivelinux.org/gerrit/#/c/11747/
- Update to the latest information.
- Fix typo.
Change-Id: I6ca0afa91de330219c6fba1c70d20a39282701a2
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
|
|
Add split version configuration.
This sample configuration file enables split layout.
This sample configuration means
"When Navigation app(main_match) is displayed, then
HVAC or MediaPlayer app requests activateSurface,
Window Manager requests to be half size
to HVAC|Mediaplayer and Navigation app".
Change-Id: I685d7165fd43c6f4d964dedb9bf9b5f5a38807f8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Because agl-doc converter doesn't work on current document,
some HTML tags was changed.
Change-Id: Ie04449e9c7c892cda155c180169b75ea02317741
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Change-Id: I8ac0463a8efa215477593a96a45f08e38dc46e36
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
The name of namespace "genivi" was used.
This is not generic, so changed it to "compositor".
Conflicts:
src/app.cpp
Change-Id: Ie088e5d404e1981f7bc149abbc20e900bea8ec2d
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Window Manager uses json.hpp licensed with MIT,
so we need to add LICENSE file.
Change-Id: Id78d482bd2edc20cbbc420d7795d4e7341305c92
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Link to http://docs.automotivelinux.org/docs/apis_services/en/dev/
Related change : https://gerrit.automotivelinux.org/gerrit/#/c/11507
Bug-AGL : SPEC-994
Change-Id: Iefaf4d742dc03cb37eb1bbac8514d3fe9e748ea2
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Layer configuration file (layers.json) is placed in target
when installation of windowmanager.
Bug-AGL: SPEC-991
Change-Id: Ia614ec400c185ec7db4379c66321363a68e5e0da
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
When layout is NOT normal, wait for the listener.
Change-Id: Iedbb5de7a997c82613a0e1947d91ee2527f28436
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Update the document table of contents and the api reference
as the libwindowmanager is merged into the application guide.
Bug-AGL: SPEC-994
Change-Id: Ic98f5ac48282878a92074f72961a4531e1b9a0a8
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
Add a HMI_DEBUG macro to print debug messages.
It is controlled by the USE_HMI_DEBUG environment variable.
Change-Id: I3bc5bf2f3b0e9f5ee06f340053f29ad36e7d9dbb
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
|
|
The event notification was implemented using a broadcast model,
change it to a subscription model.
Bug-AGL: SPEC-987
Change-Id: I344a3a73320eb81c3f670736b032f07400bb8f64
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
This is not needed anymore
This was used for testing
Change-Id: I0e1621db8a81d5eef3b91af126f748dacfc93ea7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
|
|
This scripts are not needed anymore
They were used for testing
[Pach Sets 2]
Add tests directory
After discussing, it became better to leave the test script.
Then, rename the directory name from "scripts" to "tests".
Move the test script to "tests" directory.
Change-Id: I072b1087ef4804ae6877bb2c864a94da799141f1
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|