default_backend: add some animations - alarm, connected, error, network_error, paring...
[platform/core/uifw/libpui.git] / samples / PUI_sample.c
index a5c22a7..10f9f95 100644 (file)
@@ -68,16 +68,22 @@ struct app_data
 
 static Eina_Array *_ecore_event_hdls = NULL;
 static animation_t ani_collection[] = {
-       { "processing", PUI_ANI_CMD_START, -1 },
-       { "listening", PUI_ANI_CMD_START, -1 },
-       { "speaking", PUI_ANI_CMD_START, -1 },
-       { "streaming", PUI_ANI_CMD_START, -1 },
-       { "emergency", PUI_ANI_CMD_START, -1 },
        { "easy_setup", PUI_ANI_CMD_START, -1 },
+       { "system_processing", PUI_ANI_CMD_START, -1 },
        { "sw_update_done", PUI_ANI_CMD_START, -1 },
        { "mic_off", PUI_ANI_CMD_START, -1 },
+       { "listening", PUI_ANI_CMD_START, -1 },
+       { "streaming", PUI_ANI_CMD_START, -1 },
+       { "processing", PUI_ANI_CMD_START, -1 },
+       { "speaking", PUI_ANI_CMD_START, -1 },
        { "time_out", PUI_ANI_CMD_START, -1 },
-       { "normal", PUI_ANI_CMD_START, -1 }
+       { "normal", PUI_ANI_CMD_START, -1 },
+       { "emergency", PUI_ANI_CMD_START, -1 },
+       { "network_error", PUI_ANI_CMD_START, -1 },
+       { "error", PUI_ANI_CMD_START, -1 },
+       { "alarm", PUI_ANI_CMD_START, -1 },
+       { "pairing", PUI_ANI_CMD_START, -1 },
+       { "connected", PUI_ANI_CMD_START, -1 }
 };
 
 pui_ani_h ani_handles[sizeof(ani_collection) / sizeof(animation_t)];
@@ -200,7 +206,7 @@ _cb_ani_stopped(void *data, int type EINA_UNUSED, void *event)
        debug_info("[%s] ani id=%s, status=%d, window=0x%x\n", __FUNCTION__, pui_ani_get_id(ev->ani_h), ev->status, ev->win);
 
        /* decrease animation idx for starting from stopped animation */
-       app->ani_idx--;
+       //app->ani_idx--;
 
        return ECORE_CALLBACK_PASS_ON;
 }