ATSPI_STATE_VISITED,
ATSPI_STATE_CHECKABLE,
ATSPI_STATE_HAS_POPUP,
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
ATSPI_STATE_READ_ONLY,
ATSPI_STATE_HIGHLIGHTED,
ATSPI_STATE_HIGHLIGHTABLE,
+ //
ATSPI_STATE_LAST_DEFINED,
} AtspiStateType;
ATSPI_ROLE_MATH,
ATSPI_ROLE_RATING,
ATSPI_ROLE_TIMER,
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
ATSPI_ROLE_STATIC,
ATSPI_ROLE_MATH_FRACTION,
ATSPI_ROLE_MATH_ROOT,
ATSPI_ROLE_SUBSCRIPT,
ATSPI_ROLE_SUPERSCRIPT,
+ //
ATSPI_ROLE_LAST_DEFINED,
} AtspiRole;
{ ELM_ATSPI_STATE_SELECTABLE_TEXT, ATSPI_STATE_SELECTABLE_TEXT, "selectable-text" },
{ ELM_ATSPI_STATE_IS_DEFAULT, ATSPI_STATE_IS_DEFAULT, "is-default" },
{ ELM_ATSPI_STATE_VISITED, ATSPI_STATE_VISITED, "visited" },
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
{ ELM_ATSPI_STATE_CHECKABLE, ATSPI_STATE_CHECKABLE, "checkable" },
{ ELM_ATSPI_STATE_HAS_POPUP, ATSPI_STATE_HAS_POPUP, "has-popup" },
{ ELM_ATSPI_STATE_READ_ONLY, ATSPI_STATE_READ_ONLY, "read-only" },
{ ELM_ATSPI_STATE_HIGHLIGHTED, ATSPI_STATE_HIGHLIGHTED, "highlighted" },
{ ELM_ATSPI_STATE_HIGHLIGHTABLE, ATSPI_STATE_HIGHLIGHTABLE, "highlightable" },
+ //
{ ELM_ATSPI_STATE_LAST_DEFINED, ATSPI_STATE_LAST_DEFINED, "last-defined" }
};
return ret;
}
+//TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
static Eldbus_Message *
_component_grab_highlight(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Message *msg)
{
return ret;
}
+//
static Eldbus_Message *
_component_get_alpha(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Message *msg)
{ "SetExtents", ELDBUS_ARGS({"i", "x"}, {"i", "y"}, {"i", "width"}, {"i", "height"}, {"u", "coord_type"}), ELDBUS_ARGS({"b", "result"}), _component_set_extends, 0 },
{ "SetPosition", ELDBUS_ARGS({"i", "x"}, {"i", "y"}, {"u", "coord_type"}), ELDBUS_ARGS({"b", "result"}), _component_set_position, 0 },
{ "SetSize", ELDBUS_ARGS({"i", "width"}, {"i", "height"}), ELDBUS_ARGS({"b", "result"}), _component_set_size, 0 },
+
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
{ "GrabHighlight", NULL, ELDBUS_ARGS({"b", "result"}), _component_grab_highlight, 0 },
{ "ClearHighlight", NULL, ELDBUS_ARGS({"b", "result"}), _component_clear_highlight, 0 },
+ //
{ NULL, NULL, NULL, NULL, 0 }
};
#include <fnmatch.h>
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
+//TIZEN_ONLY(20160329): genlist: enhance accessibility scroll & highlight (30d9a6012e629cd9ea60eae8d576f3ebb94ada86)
#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
+//
#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
#define ELM_WIDGET_ITEM_PROTECTED
if (it->decorate_it_set) _decorate_item_set(it);
edje_object_message_signal_process(VIEW(it));
+ //TIZEN_ONLY(20160329): genlist: enhance accessibility scroll & highlight (30d9a6012e629cd9ea60eae8d576f3ebb94ada86)
if (sd->atspi_item_to_highlight == it)
{
sd->atspi_item_to_highlight = NULL;
eo_do_super(EO_OBJ(it), ELM_GENLIST_ITEM_CLASS, elm_interface_atspi_component_highlight_grab());
}
+ //
}
static Eina_Bool
return EINA_FALSE;
}
+//TIZEN_ONLY(20160329): genlist: enhance accessibility scroll & highlight (30d9a6012e629cd9ea60eae8d576f3ebb94ada86)
static int _is_item_in_viewport(int viewport_y, int viewport_h, int obj_y, int obj_h)
{
if ((obj_y + obj_h/2) < viewport_y)
eo_do_super(eo_it, ELM_GENLIST_ITEM_CLASS, ret = elm_interface_atspi_component_highlight_clear());
return ret;
}
+//
#include "elm_genlist.eo.c"
#include "elm_genlist_item.eo.c"
Elm_Interface_Atspi_Selection.is_child_selected;
Elm_Interface_Atspi_Selection.all_children_select;
Elm_Interface_Atspi_Selection.clear;
+ //TIZEN_ONLY(20160329): genlist: enhance accessibility scroll & highlight (30d9a6012e629cd9ea60eae8d576f3ebb94ada86)
Elm_Interface_Scrollable.content_pos_set;
+ //
}
events {
language,changed;
Elm_Interface_Atspi_Accessible.name.get;
Elm_Interface_Atspi_Accessible.state_set.get;
Elm_Interface_Atspi_Accessible.children.get;
+ //TIZEN_ONLY(20160329): genlist: enhance accessibility scroll & highlight (30d9a6012e629cd9ea60eae8d576f3ebb94ada86)
Elm_Interface_Atspi_Component.highlight_grab;
Elm_Interface_Atspi_Component.highlight_clear;
+ //
}
}
mixin Elm_Interface_Atspi_Accessible ()
{
+ //TIZEN_ONLY(20160329): atspi: mark atspi API as public (b9a544128dfb4d23e06995a233e166b0a166ae86)
legacy_prefix: elm_atspi_accessible;
+ //
eo_prefix: elm_interface_atspi_accessible;
data: Elm_Interface_Atspi_Accessible_Data;
methods {
ELM_ATSPI_STATE_SELECTABLE_TEXT,
ELM_ATSPI_STATE_IS_DEFAULT,
ELM_ATSPI_STATE_VISITED,
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
ELM_ATSPI_STATE_CHECKABLE,
ELM_ATSPI_STATE_HAS_POPUP,
ELM_ATSPI_STATE_READ_ONLY,
ELM_ATSPI_STATE_HIGHLIGHTED,
ELM_ATSPI_STATE_HIGHLIGHTABLE,
+ //
ELM_ATSPI_STATE_LAST_DEFINED,
};
return evas_object_focus_get(obj);
}
+//TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
EOLIAN static Eina_Bool
_elm_interface_atspi_component_highlight_grab(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED)
{
eo_class_name_get(eo_class_get(obj)));
return EINA_FALSE;
}
+//
#include "elm_interface_atspi_component.eo.c"
}
return: Eo*;
}
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
highlight_grab @protected {
[[ Highlights accessible widget.
returns true if highlight grab has successed, false otherwise. ]]
returns true if clear has successed, false otherwise. ]]
return: bool;
}
+ //
}
}
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
+//TIZEN_ONLY(20160329): list: enhance accessibility scroll and highlight (02c20ee39a0ebbe67b9e1491ccfc46dd681821c9)
#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
+//
#define ELM_WIDGET_ITEM_PROTECTED
#include <Elementary.h>
return EINA_FALSE;
}
+//TIZEN_ONLY(20160329): list: enhance accessibility scroll and highlight (02c20ee39a0ebbe67b9e1491ccfc46dd681821c9)
static int _is_item_in_viewport(int viewport_y, int viewport_h, int obj_y, int obj_h)
{
if ((obj_y + obj_h/2) < viewport_y)
eo_do_super(eo_it, ELM_LIST_ITEM_CLASS, ret = elm_interface_atspi_component_highlight_grab());
return ret;
}
+//
#include "elm_list.eo.c"
#include "elm_list_item.eo.c"
Elm_Interface_Atspi_Selection.is_child_selected;
Elm_Interface_Atspi_Selection.all_children_select;
Elm_Interface_Atspi_Selection.clear;
+ //TIZEN_ONLY(20160329): list: enhance accessibility scroll and highlight (02c20ee39a0ebbe67b9e1491ccfc46dd681821c9)
Elm_Interface_Scrollable.content_pos_set;
+ //
}
events {
activated;
Elm_Interface_Atspi_Accessible.name.get;
Elm_Interface_Atspi_Accessible.state_set.get;
Elm_Interface_Atspi_Accessible.children.get;
+ //TIZEN_ONLY(20160329): list: enhance accessibility scroll and highlight (02c20ee39a0ebbe67b9e1491ccfc46dd681821c9)
Elm_Interface_Atspi_Component.highlight_grab;
+ //
}
}
{
return elm_widget_focus_region_show_mode_get(obj);
}
-
+//TIZEN_ONLY(20160329): win: add accessibility highlight (d4753268ad02d0c25c16f815003c70b158879ca7)
EAPI void
elm_object_accessibility_highlight_set(Evas_Object *obj, Eina_Bool visible)
{
else if (visible)
_elm_win_accessibility_highlight_set(win, obj);
}
+//
*/
EAPI Eina_Bool elm_object_orientation_mode_disabled_get(const Evas_Object *obj);
+//TIZEN_ONLY(20160329): win: add accessibility highlight (d4753268ad02d0c25c16f815003c70b158879ca7)
/**
* Set accessibility highlight on object.
*
* @ingroup General
*/
EAPI void elm_object_accessibility_highlight_set(Evas_Object *obj, Eina_Bool val);
+//
Elm_Widget_Item_Data *item EINA_UNUSED)
{
Elm_Atspi_State_Set states = 0;
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
Evas_Object *win = elm_widget_top_get(item->widget);
if (win && eo_isa(win, ELM_WIN_CLASS))
{
STATE_TYPE_SET(states, ELM_ATSPI_STATE_HIGHLIGHTED);
}
- STATE_TYPE_SET(states, ELM_ATSPI_STATE_FOCUSABLE);
STATE_TYPE_SET(states, ELM_ATSPI_STATE_HIGHLIGHTABLE);
+ //
+ STATE_TYPE_SET(states, ELM_ATSPI_STATE_FOCUSABLE);
if (elm_object_item_focus_get(eo_item))
STATE_TYPE_SET(states, ELM_ATSPI_STATE_FOCUSED);
return EINA_FALSE;
}
+//TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
EOLIAN static Eina_Bool
_elm_widget_elm_interface_atspi_component_highlight_grab(Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED)
{
elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_HIGHLIGHTED, EINA_FALSE);
return EINA_TRUE;
}
+//
EOLIAN static char*
_elm_widget_elm_interface_atspi_accessible_name_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED)
return _elm_util_mkup_to_text(ret);
}
+//TIZEN_ONLY(20160329): widget: sort accessible children spatially (d940068e1f7cc5cfc6208245a1fb0e92f1a813d4)
static int _sort_vertically(const void *data1, const void *data2)
{
Evas_Coord y1, y2;
return eina_list_append(lines, line);
}
+//
EOLIAN static Eina_List*
_elm_widget_elm_interface_atspi_accessible_children_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED)
eo_do_super(obj, ELM_WIDGET_CLASS, states = elm_interface_atspi_accessible_state_set_get());
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
Evas_Object *win = elm_widget_top_get(obj);
if (win && eo_isa(win, ELM_WIN_CLASS))
{
STATE_TYPE_SET(states, ELM_ATSPI_STATE_HIGHLIGHTED);
}
STATE_TYPE_SET(states, ELM_ATSPI_STATE_HIGHLIGHTABLE);
+ //
if (evas_object_visible_get(obj))
{
return elm_object_item_focus_get(obj);
}
+//TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
EOLIAN static Eina_Bool
_elm_widget_item_elm_interface_atspi_component_highlight_grab(Eo *obj, Elm_Widget_Item_Data *sd)
{
}
return EINA_FALSE;
}
+//
EOLIAN static double
_elm_widget_item_elm_interface_atspi_component_alpha_get(Eo *obj EINA_UNUSED, Elm_Widget_Item_Data *sd EINA_UNUSED)
return (double)alpha / 255.0;
}
+//TIZEN_ONLY(20160329): widget: improve accessibile_at_point getter (a8aff0423202b9a55dbb3843205875226678fbd6)
EOLIAN static Eo *
_elm_widget_elm_interface_atspi_component_accessible_at_point_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED, Eina_Bool screen_coords, int x, int y)
{
eina_list_free(stack);
return NULL;
}
+//
#include "elm_widget_item.eo.c"
#include "elm_widget.eo.c"
Elm_Interface_Atspi_Accessible.parent.get;
Elm_Interface_Atspi_Accessible.attributes.get;
Elm_Interface_Atspi_Component.focus_grab;
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
Elm_Interface_Atspi_Component.highlight_grab;
Elm_Interface_Atspi_Component.highlight_clear;
+ //
+ //TIZEN_ONLY(20160329): widget: improve accessibile_at_point getter (a8aff0423202b9a55dbb3843205875226678fbd6)
Elm_Interface_Atspi_Component.accessible_at_point_get;
+ //
}
events {
moved;
Evas_Object *_elm_win_focus_highlight_object_get(Evas_Object *obj);
void _elm_win_focus_auto_show(Evas_Object *obj);
void _elm_win_focus_auto_hide(Evas_Object *obj);
+//TIZEN_ONLY(20160329): win: add accessibility highlight (d4753268ad02d0c25c16f815003c70b158879ca7)
void _elm_win_accessibility_highlight_set(Evas_Object *win, Evas_Object *obj);
Evas_Object *_elm_win_accessibility_highlight_get(Evas_Object *win);
+//
EAPI void _elm_access_clear(Elm_Access_Info *ac);
EAPI void _elm_access_text_set(Elm_Access_Info *ac, int type, const char *text);
Eina_Hash *size_caches;
Eina_Bool filter;
+ //TIZEN_ONLY(20160329): genlist: enhance accessibility scroll & highlight (30d9a6012e629cd9ea60eae8d576f3ebb94ada86)
Elm_Gen_Item *atspi_item_to_highlight;
+ //
Eina_Bool focus_on_selection_enabled : 1;
Eina_Bool tree_effect_enabled : 1;
Elm_Interface_Atspi_Component.alpha.get;
Elm_Interface_Atspi_Component.layer.get;
Elm_Interface_Atspi_Component.focus_grab;
+ //TIZEN_ONLY(20160329): atspi: implement HighlightGrab and HighlightClear methods (29e253e2f7ef3c632ac3a64c489bf569df407f30)
Elm_Interface_Atspi_Component.highlight_grab;
Elm_Interface_Atspi_Component.highlight_clear;
+ //
}
}
Eina_Bool auto_enabled : 1;
Eina_Bool auto_animate : 1;
} focus_highlight;
+ //TIZEN_ONLY(20160329): win: add accessibility highlight (d4753268ad02d0c25c16f815003c70b158879ca7)
struct
{
Evas_Object *fobj; /*accessibility highlight edje object */
Evas_Object *target;
Eina_Bool enabled;
} accessibility_highlight;
+ //
Evas_Object *icon;
const char *title;
static Eina_Bool _key_action_return(Evas_Object *obj, const char *params);
static Eina_Bool _key_action_move(Evas_Object *obj, const char *params);
+//TIZEN_ONLY(20160329): win: add accessibility highlight (d4753268ad02d0c25c16f815003c70b158879ca7)
static void _elm_win_accessibility_highlight_shutdown(Elm_Win_Data *sd);
static void _elm_win_accessibility_highlight_update(Elm_Win_Data *sd);
+//
static const Elm_Action key_actions[] = {
{"return", _key_action_return},
}
_elm_win_focus_highlight_shutdown(sd);
+ //TIZEN_ONLY(20160329): win: add accessibility highlight (d4753268ad02d0c25c16f815003c70b158879ca7)
_elm_win_accessibility_highlight_shutdown(sd);
+ //
eina_stringshare_del(sd->focus_highlight.style);
eina_stringshare_del(sd->title);
return ret ? strdup(ret) : strdup("");
}
+//TIZEN_ONLY(20160329): win: add accessibility highlight (d4753268ad02d0c25c16f815003c70b158879ca7)
static void
_elm_win_accessibility_highlight_obj_del(void *data,
Evas *e EINA_UNUSED,
ELM_WIN_DATA_GET_OR_RETURN_VAL(win, sd, NULL);
return sd->accessibility_highlight.target;
}
+//
#include "elm_win.eo.c"