summaryrefslogtreecommitdiffstats
path: root/WindowManager/src/windowmanager.hpp
AgeCommit message (Collapse)AuthorFilesLines
2017-01-04Add 2017 to copyrightBocklage, Jens1-1/+1
Happy new year Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-12-23Reworking layer/surface managementTadao Tanikawa1-3/+6
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>
2016-12-16Add app parameter to set display idBocklage, Jens1-1/+1
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>
2016-12-14Fix and improve switching applicationsTadao Tanikawa1-9/+15
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>
2016-12-12Hack to fix issue of switching appsTadao Tanikawa1-0/+3
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-3/+5
Still fighting with ilm API Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-22fix typoTasuku Suzuki1-2/+2
Change-Id: I11b6b535c2587c5e61dfb17c8cb56f2554e06c06 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-11-21check ivi-layermanagement-api availabilityTasuku Suzuki1-4/+4
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-11Add new layer WINDOWMANAGER_LAYER_HOMESCREEN_OVERLAY.Bocklage, Jens1-0/+3
Add new signal surfaceVisibilityChanged to homescreen and windowmanager API. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-08-Make the SampleNav app yellow.Bocklage, Jens1-0/+3
-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/+1
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-03HomeScreen main surface has to have the surface id 1000!Bocklage, Jens1-6/+0
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-02New layer management in WindowManager. Three layers are created. One for the ↵Bocklage, Jens1-28/+25
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-1/+5
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-18WindowManager now handles application surfaces by its pids.Bocklage, Jens1-3/+8
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-09-30Implementing app launch and app surface control workflow. Using ↵Bocklage, Jens1-1/+52
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/+54
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>