aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-12-02WIP: add Qt Quick HomeScreen UITasuku Suzuki100-0/+777
Change-Id: I2be964f6d9e76df616169d7b2654d17ae9446687 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-02replace a SLOT macro with SIGNAL where a signal is triggeredTasuku Suzuki1-1/+1
Change-Id: I133b16c7a61b5998c37724b34d631f85448f66e2 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-02sample-qml: load qml from Qt resourcesTasuku Suzuki5-15/+113
embed every assets in the binary and load its contents from there Change-Id: If0ca9342f82ab3ac8badf6bd75755a24001d2da7 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-02prepend 'emit' keyword whenever emiting signalTasuku Suzuki5-12/+12
Change-Id: Ie269e2729dd74573a5f96b085c5d2d5a54ad5127 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-01Fix for not showing up HomeScreen during startupv0.6.4Bocklage, Jens1-2/+2
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>
2016-11-30Merge "Add sample qml application"Jens Bocklage199-1/+12993
2016-11-30Add sample qml applicationKazumasa Mitsunari199-1/+12993
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>
2016-11-30improve AppInfo classTasuku Suzuki4-46/+159
hide public member variables and introduce getters and setters for them. Change-Id: I9108e94516238ef2ff8d4ea18db381d4e7e73bec Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
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, Jens6-31/+40
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-22fix typoTasuku Suzuki11-35/+35
Change-Id: I11b6b535c2587c5e61dfb17c8cb56f2554e06c06 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-11-21remove QMAKE_CLEAN += -r * from project filesTasuku Suzuki10-48/+0
use $ make distclean if you want to clean binaries and Makefile Change-Id: I4f9af670c8625f48a0f9f77d31117d2a1a1cbb22 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-11-21check ivi-layermanagement-api availabilityTasuku Suzuki11-23/+42
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-21cleanup project filesTasuku Suzuki10-79/+26
Change-Id: I4d605d97d050fb60e1fef749926cb1b92071782e Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-11-21introduce interfaces.priTasuku Suzuki7-24/+9
Change-Id: I3649d5275b9da71feb216eb70c9d9fda73507d69 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-11-21remove header files missing from project fileTasuku Suzuki2-6/+0
Change-Id: I2e4234a20ebdb476cf65b51cefbcc9acff45faf4 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-17Add initial systemd service files.Bocklage, Jens4-0/+59
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-16Use std::vector instead of std::list.Bocklage, Jens4-7/+7
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-16Change HomeScreen API function renderSurfaceToAreaAllowed to ↵Bocklage, Jens7-21/+22
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>
2016-11-11Add Nav and Media app to control bar.20161111_preCESIntegrationWorkshopBocklage, Jens8-4/+74
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, Jens6-7/+78
Add new signal surfaceVisibilityChanged to homescreen and windowmanager API. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-11Add org.agl.homescreen function renderSurfaceToAreaAllowed.Bocklage, Jens10-12/+69
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>
2016-11-09Merge branch 'master' of ↵Bocklage, Jens0-0/+0
https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen
2016-11-09Changes to org.agl.homescreen interfaceBocklage, Jens7-77/+10
Change parameter for renderSurfaceToArea. Remove getLayoutRenderAreaForSurfaceId. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-09Changes to org.agl.homescreen interfaceBocklage, Jens7-77/+10
Change parameter for renderSurfaceToArea. Remove getLayoutRenderAreaForSurfaceId. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-09Fix for AppInfo member initialization.Bocklage, Jens3-45/+33
Only one Layout for CES2017 needed. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-08Pushed some versions to 0.6.0v0.6.0Bocklage, Jens5-5/+5
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-08Tizen -> AGLBocklage, Jens1-1/+1
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-08Binding to AGL frameworkJosé Bollo8-2/+454
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>
2016-11-08-Make the SampleNav app yellow.Bocklage, Jens21-132/+431
-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-07Remove menus and toolbar.Bocklage, Jens1-32/+5
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-07New HomeScreen API calls getSurfaceStatus and getAllSurfacesOfProcess.Bocklage, Jens6-50/+121
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-07add signal as proposed by IoTBocklage, Jens1-0/+3
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-04avoiding reserved keywordsJosé Bollo1-2/+2
Change-Id: I2d5eb487b5dc5f494ce21c7d70bb5597bc18e12e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-04adding the xml introspection of afm-user-daemonJosé Bollo1-0/+45
Change-Id: Ifa30ae67b383e99a190f9e0cd590ee8133bacf65 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-04Add two sample apps just to have some Qt based applications that can be ↵Bocklage, Jens14-1/+547
launched. Nav is Qt widget based. Media is QML based. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-04Fix for pid and surface handling.Bocklage, Jens5-42/+80
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-11-03New concept of dynamically placing surfaces in static defined layout areas.v0.4.0Bocklage, Jens20-50/+177
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>
2016-11-03HomeScreen main surface has to have the surface id 1000!Bocklage, Jens3-66/+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, Jens11-385/+552
HomeScreen, one for apps, one for popups. Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-31Generate docbook file for the homescreen.xml introspection file.Bocklage, Jens2-2/+21
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-31Introduces shared lib that provides the API of D-Bus org.agl.homescreen.Bocklage, Jens10-14/+320
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>
2016-10-26Implement toggle full screen mechanism.Bocklage, Jens12-16/+138
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-26All apps print their app name and version on launch.Bocklage, Jens6-0/+12
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-21D-Bus name of AppFrameworkBinder is more common now.Bocklage, Jens3-17/+8
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>
2016-10-21Remove QSurfaceFormatBocklage, Jens1-6/+1
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2016-10-21README cleanupBocklage, Jens8-299/+0
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>