Lines Matching full:shell
27 * ivi-shell supports a type of shell for In-Vehicle Infotainment system.
33 * The ivi-shell explicitly loads a module to add business logic like how to
45 #include "ivi-shell.h"
48 #include "ivi-layout-shell.h"
56 struct ivi_shell *shell; member
149 return snprintf(buf, len, "unidentified window in ivi-shell"); in ivi_shell_surface_get_label()
247 struct ivi_shell *shell = wl_resource_get_user_data(resource); in application_surface_create() local
278 wl_list_insert(&shell->ivi_surface_list, &ivisurf->link); in application_surface_create()
280 ivisurf->shell = shell; in application_surface_create()
325 struct ivi_shell *shell = data; in bind_ivi_application() local
333 shell, NULL); in bind_ivi_application()
342 struct ivi_shell *shell = in shell_destroy() local
346 wl_list_remove(&shell->destroy_listener.link); in shell_destroy()
347 wl_list_remove(&shell->wake_listener.link); in shell_destroy()
349 wl_list_for_each_safe(ivisurf, next, &shell->ivi_surface_list, link) { in shell_destroy()
354 free(shell); in shell_destroy()
378 init_ivi_shell(struct weston_compositor *compositor, struct ivi_shell *shell) in init_ivi_shell() argument
384 shell->compositor = compositor; in init_ivi_shell()
386 wl_list_init(&shell->ivi_surface_list); in init_ivi_shell()
388 section = weston_config_get_section(config, "ivi-shell", NULL, NULL); in init_ivi_shell()
445 struct ivi_shell *shell) in shell_add_bindings() argument
449 shell); in shell_add_bindings()
452 shell); in shell_add_bindings()
455 shell); in shell_add_bindings()
480 struct ivi_shell *shell = (struct ivi_shell *) user_data; in desktop_surface_added() local
498 ivisurf->shell = shell; in desktop_surface_added()
614 * Initialization of ivi-shell.
620 struct ivi_shell *shell; in wet_shell_init() local
622 shell = zalloc(sizeof *shell); in wet_shell_init()
623 if (shell == NULL) in wet_shell_init()
627 &shell->destroy_listener, in wet_shell_init()
629 free(shell); in wet_shell_init()
633 init_ivi_shell(compositor, shell); in wet_shell_init()
635 shell->wake_listener.notify = wake_handler; in wet_shell_init()
636 wl_signal_add(&compositor->wake_signal, &shell->wake_listener); in wet_shell_init()
638 shell->desktop = weston_desktop_create(compositor, &shell_desktop_api, shell); in wet_shell_init()
639 if (!shell->desktop) in wet_shell_init()
644 shell, bind_ivi_application) == NULL) in wet_shell_init()
648 shell_add_bindings(compositor, shell); in wet_shell_init()
653 weston_desktop_destroy(shell->desktop); in wet_shell_init()
656 wl_list_remove(&shell->destroy_listener.link); in wet_shell_init()
657 free(shell); in wet_shell_init()