void *data EINA_UNUSED)
{
eo_do(obj, eo_event_callback_call(EVAS_SCROLLABLE_INTERFACE_EVENT_SCROLL_ANIM_STOP, NULL));
+
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ if (_elm_config->atspi_mode)
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ eo_do((Eo *) obj, elm_interface_scrollable_content_region_get(&x, &y, &w, &h));
+ elm_interface_atspi_accessible_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
}
static void
eo_do(obj, eo_event_callback_call(ELM_LIST_EVENT_EDGE_BOTTOM, NULL));
}
+static void
+_scroll_animate_stop_cb(Evas_Object *obj,
+ void *data EINA_UNUSED)
+{
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ if (_elm_config->atspi_mode)
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ eo_do((Eo *) obj, elm_interface_scrollable_content_region_get(&x, &y, &w, &h));
+ elm_interface_atspi_accessible_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
+}
+
static Eina_Bool
_long_press_cb(void *data)
{
elm_interface_scrollable_edge_right_cb_set(_edge_right_cb),
elm_interface_scrollable_edge_top_cb_set(_edge_top_cb),
elm_interface_scrollable_edge_bottom_cb_set(_edge_bottom_cb),
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ elm_interface_scrollable_animate_stop_cb_set(_scroll_animate_stop_cb),
+ //
elm_interface_scrollable_content_min_limit_cb_set(_elm_list_content_min_limit_cb),
elm_interface_scrollable_objects_set(wd->resize_obj, priv->hit_rect));
{
eo_do(obj, eo_event_callback_call
(EVAS_SCROLLABLE_INTERFACE_EVENT_SCROLL_ANIM_STOP, NULL));
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ if (_elm_config->atspi_mode)
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ eo_do((Eo *) obj, elm_interface_scrollable_content_region_get(&x, &y, &w, &h));
+ elm_interface_atspi_accessible_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
}
static void
_elm_genlist_scroll_item_align_highlight_cb(obj);
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_STOP, NULL);
+
+ //TIZEN_ONLY: Let the screen-reader know when scroll animation ends
+ if (_elm_config->atspi_mode)
+ {
+ int x = 0, y = 0, w = 0, h = 0;
+ eo_do((Eo *) obj, elm_interface_scrollable_content_region_get(&x, &y, &w, &h));
+ elm_interface_atspi_accessible_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
}
static void