elm_object_item_focus_set(obj, focus);
}
+//TIZEN_ONLY(20171114) : atspi: expose highlight information on atspi
+EOLIAN static Eina_Bool
+_elm_color_item_efl_access_component_highlight_grab(Eo *eo_it, Elm_Color_Item_Data *it)
+{
+ elm_genlist_item_show(eo_it, ELM_GENLIST_ITEM_SCROLLTO_IN);
+
+ elm_object_accessibility_highlight_set(VIEW(it), EINA_TRUE);
+
+ efl_access_state_changed_signal_emit(eo_it, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_TRUE);
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,highlighted", eo_it);
+ //
+ return EINA_TRUE;
+}
+
+EOLIAN static Eina_Bool
+_elm_color_item_efl_access_component_highlight_clear(Eo *eo_it EINA_UNUSED, Elm_Color_Item_Data *it)
+{
+ elm_object_accessibility_highlight_set(VIEW(it), EINA_FALSE);
+ efl_access_state_changed_signal_emit(eo_it, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_FALSE);
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,unhighlighted", eo_it);
+ //
+ return EINA_TRUE;
+}
+//
+
/* Standard widget overrides */
ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(elm_colorselector, Elm_Colorselector_Data)
//TIZEN_ONLY(20170717) : expose highlight information on atspi
efl_access_active_descendant_changed_signal_emit(WIDGET(it), eo_it);
//
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,highlighted", eo_it);
+ //
return EINA_TRUE;
}
EOLIAN static Eina_Bool
-_elm_gengrid_item_efl_access_component_highlight_clear(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
+_elm_gengrid_item_efl_access_component_highlight_clear(Eo *eo_it, Elm_Gen_Item *it)
{
//TIZEN_ONLY (20151009) : Accessibility: updated highlight change during gengrid scroll
ELM_GENGRID_DATA_GET(WIDGET(it), sd);
//TIZEN_ONLY(20170717) : expose highlight information on atspi
efl_access_active_descendant_changed_signal_emit(WIDGET(it), eo_it);
//
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,unhighlighted", eo_it);
+ //
return EINA_TRUE;
}
//
}
}
- if (VIEW(it))
- ret = efl_access_component_highlight_grab(efl_super(eo_it, ELM_GENLIST_ITEM_CLASS));
- else
- sd->atspi_item_to_highlight = it;//it will be highlighted when realized
+ if (VIEW(it))
+ elm_object_accessibility_highlight_set(EO_OBJ(it), EINA_TRUE);
+
+ ///TIZEN_ONLY(20170717) : expose highlight information on atspi
+ efl_access_state_changed_signal_emit(EO_OBJ(it), EFL_ACCESS_STATE_HIGHLIGHTED, EINA_TRUE);
+ ///
+
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,highlighted", EO_OBJ(it));
+ //
+
+ if (VIEW(it))
+ {
+ elm_object_accessibility_highlight_set(EO_OBJ(it), EINA_TRUE);
+ //TIZEN_ONLY(20161104) : Accessibility : synchronized highlight of atspi and item align feature for wearable profile
+ sd->currently_highlighted_item = it;
+ //
+ }
+ else
+ sd->atspi_item_to_highlight = it;//it will be highlighted when realized
efl_access_active_descendant_changed_signal_emit(WIDGET(it), eo_it);
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,highlighted", eo_it);
+ //
return ret;
}
efl_access_active_descendant_changed_signal_emit(WIDGET(it), eo_it);
ret = efl_access_component_highlight_clear(efl_super(eo_it, ELM_GENLIST_ITEM_CLASS));
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,unhighlighted", eo_it);
+ //
return ret;
}
//
elm_layout_text_set(obj, "elm.text", strdup(sd->letter));
elm_layout_signal_emit(obj, "elm,indicator,state,active", "elm");
elm_object_accessibility_highlight_set(eo_it, EINA_TRUE);
-
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(obj, "atspi,highlighted", eo_it);
+ //
return EINA_TRUE;
}
Evas_Object *obj = WIDGET(sd);
elm_layout_signal_emit(obj, "elm,indicator,state,inactive", "elm");
elm_object_accessibility_highlight_set(eo_it, EINA_FALSE);
-
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(obj, "atspi,unhighlighted", eo_it);
+ //
return EINA_TRUE;
}
//
return _elm_widget_item_accessible_plain_name_get(eo_it, data->label);
}
-
-
//TIZEN_ONLY(20171114): Region show on item elements fixed
EOLIAN static Eina_Bool
_elm_list_item_efl_access_component_highlight_clear(Eo *eo_it EINA_UNUSED, Elm_List_Item_Data *it)
// TIZEN_ONLY(20171114): atspi: expose highlight information on atspi
efl_access_state_changed_signal_emit(eo_it, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_FALSE);
//
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,unhighlighted", EO_OBJ(it));
+ //
return EINA_TRUE;
}
//
elm_object_accessibility_highlight_set(eo_it, EINA_TRUE);
efl_access_state_changed_signal_emit(eo_it, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_TRUE);
//
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,highlighted", EO_OBJ(it));
+ //
return ret;
}
//
// TIZEN_ONLY(20171114): atspi: expose highlight information on atspi
efl_access_active_descendant_changed_signal_emit(WIDGET(it), eo_it);
//
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,highlighted", eo_it);
+ //
return EINA_TRUE;
}
// TIZEN_ONLY(20171114): atspi: expose highlight information on atspi
efl_access_active_descendant_changed_signal_emit(WIDGET(it), eo_it);
//
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ // If you call eo_do_super, then you do NOT have to call smart callback.
+ evas_object_smart_callback_call(WIDGET(it), "atspi,unhighlighted", eo_it);
+ //
return EINA_TRUE;
}
//
elm_object_accessibility_highlight_set(sd->view, EINA_TRUE);
efl_access_state_changed_signal_emit(obj, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_TRUE);
-
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ evas_object_smart_callback_call(sd->widget, SIG_WIDGET_ATSPI_HIGHLIGHTED, obj);
+ //
return EINA_TRUE;
//
}
if (!obj) return EINA_FALSE;
elm_object_accessibility_highlight_set(sd->view, EINA_FALSE);
efl_access_state_changed_signal_emit(obj, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_FALSE);
+ //TIZEN_ONLY(20170412) Make atspi,(un)highlighted work on widget item
+ evas_object_smart_callback_call(sd->widget, SIG_WIDGET_ATSPI_UNHIGHLIGHTED, obj);
+ //
return EINA_TRUE;
}
//
//TIZEN_ONLY(20171114) genlist: enhance accessibility scroll & highlight
Elm_Gen_Item *atspi_item_to_highlight;
//
+ //TIZEN_ONLY(20161104) : Accessibility : synchronized highlight of atspi and item align feature for wearable profile
+ Elm_Gen_Item *currently_highlighted_item;
+ //
Eina_Bool filter;
Eina_Bool focus_on_selection_enabled : 1;