1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!-- Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
<node>
<!--
org.agl.homescreen:
@short_description: A generic interface for the HomeScreen app.
This interface is a collection of methods from different functional areas to control the HomeScreen app.
-->
<interface name="org.agl.homescreen">
<!--
hardKeyPressed:
@key: The key that was pressed using the inputevent.hpp InputEvent::HardKey type.
This is used to inject hard keys into the HomeScreen app.
-->
<method name="hardKeyPressed">
<arg name="key" type="i" direction="in"/>
</method>
<!--
requestSurfaceIdToFullScreen:
@surfaceId: The surface that request to be shown fullscreen.
This allows an application to set a surface to full screen.
-->
<method name="requestSurfaceIdToFullScreen">
<arg name="surfaceId" type="i" direction="in"/>
</method>
<!--
getLayoutRenderAreaForSurfaceId:
@surfaceId: The surface that is requested.
@renderArea: The layout render area in which the given surface is located.
Before an application uses renderSurfaceToArea to render a surface into an area inside a layout area,
this method should be used to get the dimension of the layout area, in which the surface
currently is positioned.
-->
<method name="getLayoutRenderAreaForSurfaceId">
<arg name="surfaceId" type="i" direction="in"/>
<arg name="renderArea" type="(iiii)" direction="out"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QRect"/>
</method>
<!--
renderSurfaceToArea:
@surfaceId: The surface that is requested.
@renderArea: The render area inside the current layout area.
This is a special case. In the normal use case, one layout area is always filled completely
with one surface. By using this function, an app can request to position a surface in the
layout area.
Example:
If the layout area is 500x500 pixel in size, the normal use case qould be, that a surface
is positioned at x=0, y=0 with a width and a size of 500. With this function, an application can position surfaces
free in this area.
E.g.: Position surface 101 at x=10, y=30, width=300, height=100 and
surface 104 at x=100, y=130, width=30, height=10
-->
<method name="renderSurfaceToArea">
<arg name="surfaceId" type="i" direction="in"/>
<arg name="renderArea" type="(iiii)" direction="in"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QRect"/>
</method>
</interface>
</node>
|