aboutsummaryrefslogtreecommitdiffstats
path: root/WindowManager/src/windowmanager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-12-12Hack to fix issue of switching appsTadao Tanikawa1-39/+48
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>
2016-12-07Improve layer- and surface handlingBocklage, Jens1-65/+59
Still fighting with ilm API Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-25Arrange the surface z-order in the layerv0.6.3Bocklage, Jens1-1/+13
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>
2016-11-24Enable automcatic startup of Homescreen appBocklage, Jens1-8/+13
HomeScreen and its depending apps are started by default using systemd user session. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-23Use 4 layer instead of 3Bocklage, Jens1-1/+1
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>
2016-11-21check ivi-layermanagement-api availabilityTasuku Suzuki1-8/+8
replace #ifdef __arm__ with a definition that comes from availability test Change-Id: Id9fa4baefcc9f38acd3e98d40054040fc69029c6 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-11-17Set surface source rectanglge on CONFIGURED event.Bocklage, Jens1-0/+11
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-11Add Nav and Media app to control bar.20161111_preCESIntegrationWorkshopBocklage, Jens1-1/+1
Hardcoded: nav: nav@0.1 media: media@0.1 Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-11Add new layer WINDOWMANAGER_LAYER_HOMESCREEN_OVERLAY.Bocklage, Jens1-3/+27
Add new signal surfaceVisibilityChanged to homescreen and windowmanager API. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-09Fix for AppInfo member initialization.Bocklage, Jens1-2/+4
Only one Layout for CES2017 needed. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-08-Make the SampleNav app yellow.Bocklage, Jens1-0/+74
-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>
2016-11-04Fix for pid and surface handling.Bocklage, Jens1-0/+18
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-03HomeScreen main surface has to have the surface id 1000!Bocklage, Jens1-53/+23
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>
2016-11-03HomeScreen is now visible independent of the Layout set.Bocklage, Jens1-9/+17
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-02New layer management in WindowManager. Three layers are created. One for the ↵Bocklage, Jens1-206/+253
HomeScreen, one for apps, one for popups. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-26Implement toggle full screen mechanism.Bocklage, Jens1-2/+23
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-18WindowManager now handles application surfaces by its pids.Bocklage, Jens1-58/+162
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-09-30Implementing app launch and app surface control workflow. Using ↵Bocklage, Jens1-149/+264
WindowManager to control layer and surfaces (ongoing). Defining three layouts. Adding combobox selection feature to popup widget. Known issue: IVI-shell is currently disabled in AGL due to issues (porting to Yocto 2.1.1). Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-08-05Using the Tizen application manager to receive information about installed ↵v0.2.0Bocklage, Jens1-0/+255
apps and to launch apps. This acts as a template for other app framework adoptions. Using the weston ivi shell to control surfaces. Using the input event manager to dispatch hard key inputs. This is a bigger update, so I increased the version number from 0.1.1 to 0.2.0. Some parts are under development. I created the components "WindowsManager" and "InputEventManager" because they are not defined in AGL right now. As soon as they are defined, we should switch to them. Find more information on the official wiki page: https://wiki.automotivelinux.org/homescreen Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>