summaryrefslogtreecommitdiff
path: root/ivi-shell
Commit message (Collapse)AuthorAgeFilesLines
* Transition animation support when attribute change of surface happens by ↵Nobuhiko Tanibata2014-06-228-526/+1309
| | | | | | | | ivi-layout api. interpolate frames during transition. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Clear pending list when layer and screen cleared.Nobuhiko Tanibata2014-06-201-2/+17
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Add callbacks of surface listener.Nobuhiko Tanibata2014-06-201-16/+35
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Clear pending list and order list when layer removed.Nobuhiko Tanibata2014-06-171-0/+39
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Fix destruction of multiple times for ivi-surface's view.Nobuhiko Tanibata2014-06-081-0/+25
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Clear notification callbacks when ivi_layout_layer destroyed.Nobuhiko Tanibata2014-06-081-1/+5
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Clear notification callbacks when ivi_layout_surface destroyed.Nobuhiko Tanibata2014-06-031-0/+3
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Remove layer from render order of screen when screen cleared.Nobuhiko Tanibata2014-06-031-2/+18
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Clear link list to layer when ordersurface removed.Nobuhiko Tanibata2014-06-031-0/+3
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Avoid insertion of link_layer duplicate.Nobuhiko Tanibata2014-06-031-2/+14
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Fix ivi-shell-surface resource leak.Nobuhiko Tanibata2014-06-031-0/+2
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* Fix seg-fault during a test-application running.Nobuhiko Tanibata2014-05-282-5/+6
|
* added surface content observer to ivi-layoutTimo Lotterbach2014-05-282-1/+45
| | | | | | | this is used by other weston modules, that are interested in content state of surfaces. Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
* Reference implementation of input panel for ivi-shell.Nobuhiko Tanibata2014-05-204-0/+422
| | | | | | The basement of this code is from input-panel.c of desktop shell. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* ivi-shell: a reference of weston.ini for ivi-shell and ivi-hmi-controller.Nobuhiko Tanibata2014-05-201-0/+91
| | | | Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* clients: a reference implementation of UI client how to use ivi-hmi-controller.Nobuhiko Tanibata2014-05-201-3/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | This is launched from hmi-controller by launch_hmi_client_process and invoke a client process. The basic flow is as followed, 1/ process invoked 2/ read configuration from weston.ini. 3/ draw png file to surface according to configuration of weston.ini 4/ all parts of UI are ready. request "UI_ready" to draw UI. 5/ Enter event loop 6/ If a surface receives touch/pointer event, followings are invoked according to type of event and surface 6-1/ If a surface to launch ivi_application receive touch up, it execs ivi-application configured in weston.ini. 6-2/ If a surface to switch layout mode receive touch up, it sends a request, ivi_hmi_controller_switch_mode, to hmi-controller. 6-3/ If a surface to show workspace having launchers, it sends a request, ivi_hmi_controller_home, to hmi-controller. 6-4/ If touch down events happens in workspace, ivi_hmi_controller_workspace_control is sent to slide workspace. When control finished, event: ivi_hmi_controller_workspace_end_control is received. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* ivi-shell: a reference implementation how to use ivi-layout internal APIsNobuhiko Tanibata2014-05-204-25/+1952
| | | | | | | | | | | | | | | | | | | | | | | The library is used to manage layout of surfaces/layers. Layout change is triggered by ivi-hmi-controller protocol, ivi-hmi-controller.xml. A reference how to use the protocol, see hmi-controller-homescreen. In-Vehicle Infotainment system usually manage properties of surfaces/layers by only a central component which decide where surfaces/layers shall be. This reference show examples to implement the central component as a module of weston. Default Scene graph of UI is defined in hmi_controller_create. It consists of - In the bottom, a base layer to group surfaces of background, panel, and buttons - Next, a application layer to show application surfaces. - Workspace background layer to show a surface of background image. - Workspace layer to show launcher to launch application with icons. Paths to binary and icon are defined in weston.ini. The width of this layer is longer than the size of screen because a workspace has several pages and is controlled by motion of input. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* ivi-shell: add IVI layout APIsNobuhiko Tanibata2014-05-202-0/+3762
| | | | | | | | | | | | | | | | | | | | API set of controlling properties of surface and layer which groups surfaces. An unique ID whose type is integer is required to create surface and layer. With the unique ID, surface and layer are identified to control them. The API set consists of APIs to control properties of surface and layers about followings, - visibility. - opacity. - clipping (x,y,width,height). - position and size of it to be displayed. - orientation per 90 degree. - add or remove surfaces to a layer. - order of surfaces/layers in layer/screen to be displayed. - commit to apply property changes. - notifications of property change. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
* ivi-shell: add the shell plugin for In-Vehicle Infotainment systemNobuhiko Tanibata2014-05-193-0/+524
In-Vehicle Infotainment system traditionally manages surfaces with global identification. A protocol, ivi_application, supports such a feature by implementing a request, ivi_application::surface_creation defined in ivi_application.xml. The ivi-shell explicitly loads ivi-layout.so and a module to add business logic like how to layout surfaces by using ivi-layout APIs. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>