{
efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_ANIM_STOP, NULL);
//TIZEN_ONLY: Let the screen-reader know when scroll animation ends
- if (_elm_config->atspi_mode)
+ if (_elm_atspi_enabled())
{
int x = 0, y = 0, w = 0, h = 0;
elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
void *data EINA_UNUSED)
{
efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_DRAG_STOP, NULL);
+ //TIZEN_ONLY: Let the screen-reader know when drag ends
+ if (_elm_atspi_enabled())
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
+ efl_access_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
}
static void
{
efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_ANIM_STOP, NULL);
//TIZEN_ONLY: Let the screen-reader know when scroll animation ends
- if (_elm_config->atspi_mode)
+ if (_elm_atspi_enabled())
{
int x = 0, y = 0, w = 0, h = 0;
elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
void *data EINA_UNUSED)
{
efl_event_callback_legacy_call(obj, EFL_UI_EVENT_SCROLL_DRAG_STOP, NULL);
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ if (_elm_atspi_enabled())
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
+ efl_access_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
}
static void
void *data EINA_UNUSED)
{
//TIZEN_ONLY: Let the screen-reader know when scroll animation ends
- if (_elm_config->atspi_mode)
+ if (_elm_atspi_enabled())
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
+ efl_access_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
+}
+
+static void
+_scroll_drag_stop_cb(Evas_Object *obj,
+ void *data EINA_UNUSED)
+{
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ if (_elm_atspi_enabled())
{
int x = 0, y = 0, w = 0, h = 0;
elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
elm_interface_scrollable_edge_top_cb_set(obj, _edge_top_cb);
elm_interface_scrollable_edge_bottom_cb_set(obj, _edge_bottom_cb);
//TIZEN_ONLY: Let the screen-reader know when scroll animation ends
- elm_interface_scrollable_animate_stop_cb_set(obj, _scroll_animate_stop_cb),
+ elm_interface_scrollable_animate_stop_cb_set(obj, _scroll_animate_stop_cb);
+ elm_interface_scrollable_drag_stop_cb_set(obj, _scroll_drag_stop_cb);
//
elm_interface_scrollable_content_min_limit_cb_set(obj, _elm_list_content_min_limit_cb);
elm_interface_scrollable_objects_set(obj, wd->resize_obj, priv->hit_rect);
efl_event_callback_legacy_call
(obj, EFL_UI_EVENT_SCROLL_ANIM_STOP, NULL);
//TIZEN_ONLY: Let the screen-reader know when scroll animation ends
- if (_elm_config->atspi_mode)
+ if (_elm_atspi_enabled())
{
int x = 0, y = 0, w = 0, h = 0;
elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
{
efl_event_callback_legacy_call
(obj, EFL_UI_EVENT_SCROLL_DRAG_START, NULL);
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ if (_elm_atspi_enabled())
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
+ efl_access_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
}
static void