void *data EINA_UNUSED)
{
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)
+ {
+ 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)
{
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)
+ {
+ 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, 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;
+ elm_interface_scrollable_content_region_get(obj, &x, &y, &w, &h);
+ efl_access_bounds_changed_signal_emit(obj, x, y, w, h);
+ }
+ //
+}
+
static Eina_Bool
_long_press_cb(void *data)
{
elm_interface_scrollable_edge_right_cb_set(obj, _edge_right_cb);
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_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)
+ {
+ 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