static Eina_Array *_ecore_event_hdls = NULL;
static animation_t ani_collection[] = {
- { "bixby_listening", PUI_ANI_CMD_START, 1 },
- { "bixby_processing", PUI_ANI_CMD_START, -1 },
- { "bixby_speaking", PUI_ANI_CMD_START, -1 },
+ { "alarm calm", PUI_ANI_CMD_START, 1 },
+ { "bixby listening", PUI_ANI_CMD_START, -1 },
+ { "bixby speaking", PUI_ANI_CMD_START, -1 },
{ "bixby_error", PUI_ANI_CMD_START, 1 },
- { "alarm", PUI_ANI_CMD_START, -1 },
+ { "blinking", PUI_ANI_CMD_START, -1 },
{ "notification", PUI_ANI_CMD_START, -1 },
};
{
pui_error e = PUI_ERROR_NONE;
+ debug_info("Animation(%s) will be stopped !\n", pui_ani_get_id(app->ani_h));
+
/* stop animation running already */
e = pui_ani_control(app->ani_h, PUI_ANI_CMD_STOP, 0);
debug_error("Failed on stopping an animation !(cmd:%d, repeat:%d)\n", PUI_ANI_CMD_STOP, 0);
return;
}
-
- debug_info("Animation(%s) will be stopped !\n", pui_ani_get_id(app->ani_h));
}
static void
app->ani_h = ani_h;
+ debug_info("Animation(%s) will be started !\n", pui_ani_get_id(app->ani_h));
+
/* play animation */
e = pui_ani_control(app->ani_h, PUI_ANI_CMD_START, ani_collection[ani_idx].repeat);
return;
}
- debug_info("Animation(%s) will be started !\n", pui_ani_get_id(app->ani_h));
-
if (++ani_idx >= n_animation)
ani_idx = 0;