_elm_module_symbol_get(mod, "tizen_pop_deferred_effect");
//TIZEN_ONLY(28Jan2020): Seamless Transition
- ((Elm_Naviframe_Mod_Api *)(mod->api))->tizen_animated_push_deferred_effect =
- _elm_module_symbol_get(mod, "tizen_animated_push_deferred_effect");
- ((Elm_Naviframe_Mod_Api *)(mod->api))->tizen_animated_pop_deferred_effect =
- _elm_module_symbol_get(mod, "tizen_animated_pop_deferred_effect");
+ ((Elm_Naviframe_Mod_Api *)(mod->api))->tizen_seamless_push_deferred_effect =
+ _elm_module_symbol_get(mod, "tizen_seamless_push_deferred_effect");
+ ((Elm_Naviframe_Mod_Api *)(mod->api))->tizen_seamless_pop_deferred_effect =
+ _elm_module_symbol_get(mod, "tizen_seamless_pop_deferred_effect");
//
((Elm_Naviframe_Mod_Api *)(mod->api))->tizen_effect_enabled_get =
if (!item) return;
item->perspective_obj = NULL;
- item->effect_name = NULL;
return;
}
//
{
evas_object_event_callback_del(it->perspective_obj, EVAS_CALLBACK_DEL, _perspective_object_del_cb);
}
- eina_stringshare_del(it->effect_name);
//
if (nfo->push)
{
//TIZEN_ONLY(28Jan2020): Seamless Transition
- if (other->effect_name)
+ if (other->perspective_obj)
{
- if (nf_mod->tizen_animated_push_deferred_effect)
- nf_mod->tizen_animated_push_deferred_effect(WIDGET(cur), VIEW(cur), EINA_TRUE, other->effect_name, other->perspective_obj);
+ if (nf_mod->tizen_seamless_push_deferred_effect)
+ nf_mod->tizen_seamless_push_deferred_effect(WIDGET(cur), VIEW(cur), EINA_TRUE, other->perspective_obj);
}
//
else if (nf_mod->tizen_push_deferred_effect)
else
{
//TIZEN_ONLY(28Jan2020): Seamless Transition
- if (cur->effect_name)
+ if (cur->perspective_obj)
{
- if (nf_mod->tizen_animated_pop_deferred_effect)
- nf_mod->tizen_animated_pop_deferred_effect(WIDGET(cur), VIEW(cur), EINA_TRUE, cur->effect_name, cur->perspective_obj);
+ if (nf_mod->tizen_seamless_pop_deferred_effect)
+ nf_mod->tizen_seamless_pop_deferred_effect(WIDGET(cur), VIEW(cur), EINA_TRUE, cur->perspective_obj);
}
//
else if (nf_mod->tizen_pop_deferred_effect)
if (nfo->push)
{
//TIZEN_ONLY(28Jan2020): Seamless Transition
- if (other->effect_name)
+ if (other->perspective_obj)
{
- if (nf_mod->tizen_animated_push_deferred_effect)
- nf_mod->tizen_animated_push_deferred_effect(WIDGET(other), VIEW(other), EINA_FALSE, other->effect_name, other->perspective_obj);
+ if (nf_mod->tizen_seamless_push_deferred_effect)
+ nf_mod->tizen_seamless_push_deferred_effect(WIDGET(other), VIEW(other), EINA_FALSE, other->perspective_obj);
}
//
else if (nf_mod->tizen_push_deferred_effect)
else
{
//TIZEN_ONLY(28Jan2020): Seamless Transition
- if (cur->effect_name)
+ if (cur->perspective_obj)
{
- if (nf_mod->tizen_animated_pop_deferred_effect)
- nf_mod->tizen_animated_pop_deferred_effect(WIDGET(other), VIEW(other), EINA_FALSE, cur->effect_name, cur->perspective_obj);
+ if (nf_mod->tizen_seamless_pop_deferred_effect)
+ nf_mod->tizen_seamless_pop_deferred_effect(WIDGET(other), VIEW(other), EINA_FALSE, cur->perspective_obj);
}
//
else if (nf_mod->tizen_pop_deferred_effect)
if (nf_mod->tizen_push_effect)
nf_mod->tizen_push_effect(obj, VIEW(item), EINA_FALSE);
//TIZEN_ONLY(28Jan2020): Seamless Transition
- if (item->effect_name)
+ if (item->perspective_obj)
{
- elm_object_signal_emit(VIEW(item), "elm,state,new,anim,pushed", "elm");
+ elm_object_signal_emit(VIEW(item), "elm,state,new,from,pushed", "elm");
edje_object_message_signal_process(elm_layout_edje_get(VIEW(item)));
}
//
Elm_Object_Item *top_item, *eo_item;
//Tizen Only: for test automation
- evas_object_smart_callback_call(obj, "item,animated,pushing,internal", NULL );
+ evas_object_smart_callback_call(obj, "item,pushing,internal", NULL );
//
top_item = elm_naviframe_top_item_get(obj);
eo_item = _item_new(obj, top_item,
return NULL;
}
- item->effect_name = eina_stringshare_add(item_style);
item->perspective_obj = target;
/* TIZEN_ONLY(20160523): give the new item's view to decorate it */
- evas_object_smart_callback_call(obj, "item,animated,pushed,internal", VIEW(item));
+ evas_object_smart_callback_call(obj, "item,pushed,internal", VIEW(item));
/* END */
_item_push_helper(item);
if (nf_mod->tizen_pop_effect)
nf_mod->tizen_pop_effect(obj, VIEW(it), EINA_TRUE);
//TIZEN_ONLY(31Jan2020): Seamless Transition
- if (it->effect_name)
+ if (it->perspective_obj)
{
- elm_object_signal_emit(VIEW(it), "elm,state,cur,anim,popped", "elm");
+ elm_object_signal_emit(VIEW(it), "elm,state,cur,from,popped", "elm");
edje_object_message_signal_process(elm_layout_edje_get(VIEW(it)));
}
//
const char *title_label;
const char *subtitle_label;
//TIZEN_ONLY(28Jan2020): Seamless Transition
- const char *effect_name;
Evas_Object *perspective_obj;
//
void (*tizen_push_deferred_effect)(Evas_Object *nf, Evas_Object *view, Eina_Bool is_cur_view);
void (*tizen_pop_deferred_effect)(Evas_Object *nf, Evas_Object *view, Eina_Bool is_cur_view);
//TIZEN_ONLY(28Jan2020): Seamless Transition
- void (*tizen_animated_push_deferred_effect)(Evas_Object *nf, Evas_Object *view, Eina_Bool is_cur_view,
- const char *effect_name, Evas_Object *perspective_obj);
- void (*tizen_animated_pop_deferred_effect)(Evas_Object *nf, Evas_Object *view, Eina_Bool is_cur_view,
- const char *effect_name, Evas_Object *perspective_obj);
+ void (*tizen_seamless_push_deferred_effect)(Evas_Object *nf, Evas_Object *view, Eina_Bool is_cur_view,
+ Evas_Object *perspective_obj);
+ void (*tizen_seamless_pop_deferred_effect)(Evas_Object *nf, Evas_Object *view, Eina_Bool is_cur_view,
+ Evas_Object *perspective_obj);
//
Eina_Bool (*tizen_effect_enabled_get)(Evas_Object *view);