From: sungwook79.park Date: Fri, 21 Apr 2017 06:31:38 +0000 (+0900) Subject: Modify directory hierarchy to support Unified build X-Git-Tag: submit/tizen/20170518.075841~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10e8481b16e4a3a8c93b17d4122081920fbd53c6;p=platform%2Fcore%2Fuifw%2Finputdelegator.git Modify directory hierarchy to support Unified build Change-Id: I1805501a9531cbb315f6f08664a68c11bb87fd63 Signed-off-by: sungwook79.park --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bef025a..ef55ae5 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,59 +1,160 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(org.tizen.inputdelegator CXX C) +PROJECT(inputdelegator CXX C) + +SET(INPUTDELEGATOR_SRCS + src/MicEffector.cpp + src/MoreOption.cpp + src/SttFeedback.cpp + src/SttManager.cpp + src/w-input-emoticon.cpp + src/w-input-keyboard.cpp + src/w-input-selector.cpp + src/w-input-stt-engine.cpp + src/w-input-stt-ise.cpp + src/WInputSttMicEffect.cpp + src/w-input-stt-voice.cpp + src/w-input-template.cpp +) + +SET(INPUTDELEGATOR_PACKAGE ${PROJECT_NAME}) +SET(INPUTDELEGATOR_PKGNAME "org.tizen.${INPUTDELEGATOR_PACKAGE}") +SET(PREFIX ${CMAKE_INSTALL_PREFIX}) +SET(INPUTDELEGATOR_BINDIR "${TZ_SYS_RO_APP}/${INPUTDELEGATOR_PKGNAME}/bin") +SET(INPUTDELEGATOR_LIBDIR "${TZ_SYS_RO_APP}/${INPUTDELEGATOR_PKGNAME}/lib") +SET(INPUTDELEGATOR_RESDIR "${TZ_SYS_RO_APP}/${INPUTDELEGATOR_PKGNAME}/res") +IF("${CMAKE_BUILD_TYPE}" STREQUAL "") + SET(CMAKE_BUILD_TYPE "Release") +ENDIF() +MESSAGE(STATUS "Build type: ${CMAKE_BUILD_TYPE}") + +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/inc + ${CMAKE_SOURCE_DIR}/src +) -INCLUDE(GNUInstallDirs) INCLUDE(FindPkgConfig) +SET(PKGS_CHECK_MODULES + dlog + capi-appfw-application + capi-appfw-app-control + capi-appfw-preference + capi-media-wav-player + capi-system-device + eina + elementary + efl-extension + feedback + stt + vconf + db-util + sqlite3 + capi-media-audio-io + capi-system-info + ) + + +pkg_check_modules(INPUTDELEGATOR_PKGS REQUIRED ${PKGS_CHECK_MODULES}) -SET(VERSION_MAJOR 1) -SET(VERSION ${VERSION_MAJOR}.0.0) +FOREACH(flag ${INPUTDELEGATOR_PKGS_CFLAGS}) + SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") +ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fPIE") -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -fPIE") -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -fPIE") -SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -fPIE") -SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -fPIE") -SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -g -fPIE") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} -fPIE -Wall") +#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} -finstrument-functions") +SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g") +SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -g") SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie") ADD_DEFINITIONS("-DEXPORTED=__attribute__((visibility(\"default\")))") +ADD_DEFINITIONS(-DPACKAGE=\"/inputdelegator\") +#ADD_DEFINITIONS("-DPACKAGE=\"${INPUTDELEGATOR_PKGNAME}\"") +ADD_DEFINITIONS("-DPACKAGE_NAME=\"${INPUTDELEGATOR_PKGNAME}\"") +ADD_DEFINITIONS("-DRESDIR=\"${INPUTDELEGATOR_RESDIR}\"") +ADD_DEFINITIONS(-DINPUTDELEGATOR_NAME=\"/inputdelegator\") +ADD_DEFINITIONS(-DSUPPORTS_EMOTICONS) + +ADD_EXECUTABLE(${PROJECT_NAME} ${INPUTDELEGATOR_SRCS}) + + + +if(${TARGET} STREQUAL "wearable") +file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/res/wearable/edje) +ADD_CUSTOM_TARGET(w-input-selector.edj COMMAND edje_cc + -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/wearable/images + ${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/edje/w-input-selector.edc + ${CMAKE_BINARY_DIR}/res/wearable/edje/w-input-selector.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/edje/w-input-selector.edc) +ADD_DEPENDENCIES(${PROJECT_NAME} w-input-selector.edj) +INSTALL(FILES ${CMAKE_BINARY_DIR}/res/wearable/edje/w-input-selector.edj DESTINATION +${INPUTDELEGATOR_RESDIR}/edje/wearable) + +ADD_CUSTOM_TARGET(w-input-stt.edj COMMAND edje_cc + -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/wearable/images + ${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/edje/w-input-stt.edc + ${CMAKE_BINARY_DIR}/res/wearable/edje/w-input-stt.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/edje/w-input-stt.edc) +ADD_DEPENDENCIES(${PROJECT_NAME} w-input-stt.edj) +INSTALL(FILES ${CMAKE_BINARY_DIR}/res/wearable/edje/w-input-stt.edj DESTINATION +${INPUTDELEGATOR_RESDIR}/edje/wearable) + +ADD_CUSTOM_TARGET(w-input-stt-button.edj COMMAND edje_cc + -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/wearable/images + ${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/edje/w-input-stt-button.edc + ${CMAKE_BINARY_DIR}/res/wearable/edje/w-input-stt-button.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/edje/w-input-stt-button.edc) +ADD_DEPENDENCIES(${PROJECT_NAME} w-input-stt-button.edj) +INSTALL(FILES ${CMAKE_BINARY_DIR}/res/wearable/edje/w-input-stt-button.edj DESTINATION +${INPUTDELEGATOR_RESDIR}/edje/wearable) + +else() +file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/res/mobile/edje) +ADD_CUSTOM_TARGET(w-input-selector.edj COMMAND edje_cc + -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/mobile/images + ${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/edje/w-input-selector.edc + ${CMAKE_BINARY_DIR}/res/mobile/edje/w-input-selector.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/edje/w-input-selector.edc) +ADD_DEPENDENCIES(${PROJECT_NAME} w-input-selector.edj) +INSTALL(FILES ${CMAKE_BINARY_DIR}/res/mobile/edje/w-input-selector.edj DESTINATION +${INPUTDELEGATOR_RESDIR}/edje/mobile) + +ADD_CUSTOM_TARGET(w-input-stt.edj COMMAND edje_cc + -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/mobile/images + ${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/edje/w-input-stt.edc + ${CMAKE_BINARY_DIR}/res/mobile/edje/w-input-stt.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/edje/w-input-stt.edc) +ADD_DEPENDENCIES(${PROJECT_NAME} w-input-stt.edj) +INSTALL(FILES ${CMAKE_BINARY_DIR}/res/mobile/edje/w-input-stt.edj DESTINATION +${INPUTDELEGATOR_RESDIR}/edje/mobile) + +ADD_CUSTOM_TARGET(w-input-stt-button.edj COMMAND edje_cc + -id ${CMAKE_CURRENT_SOURCE_DIR}/edje/mobile/images + ${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/edje/w-input-stt-button.edc + ${CMAKE_BINARY_DIR}/res/mobile/edje/w-input-stt-button.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/edje/w-input-stt-button.edc) +ADD_DEPENDENCIES(${PROJECT_NAME} w-input-stt-button.edj) +INSTALL(FILES ${CMAKE_BINARY_DIR}/res/mobile/edje/w-input-stt-button.edj DESTINATION +${INPUTDELEGATOR_RESDIR}/edje/mobile) + +endif() + + +TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${INPUTDELEGATOR_PKGS_LDFLAGS}) + +set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "") +INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${INPUTDELEGATOR_BINDIR}) + +INSTALL(FILES ${CMAKE_SOURCE_DIR}/${INPUTDELEGATOR_PKGNAME}.xml DESTINATION + ${TZ_SYS_RO_PACKAGES}) + +if(${TARGET} STREQUAL "wearable") +FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/images/*.png") +INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/wearable/images) +FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/wearable/images/emoticons/*.png") +INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/wearable/images/emoticons) +else() +FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/images/*.png") +INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/mobile/images) +FILE(GLOB_RECURSE INPUTDELEGATOR_DEFAULT_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/res/mobile/images/emoticons/*.png") +INSTALL(FILES ${INPUTDELEGATOR_DEFAULT_IMAGES} DESTINATION ${INPUTDELEGATOR_RESDIR}/mobile/images/emoticons) +endif() -ADD_SUBDIRECTORY(src) -ADD_SUBDIRECTORY(po) - -ADD_CUSTOM_TARGET(w-input-selector.edj - COMMAND edje_cc - -id ${CMAKE_SOURCE_DIR}/edje/images - ${CMAKE_SOURCE_DIR}/res/edje/w-input-selector.edc - ${CMAKE_BINARY_DIR}/res/edje/w-input-selector.edj - DEPENDS ${CMAKE_SOURCE_DIR}/res/edje/w-input-selector.edc) - -ADD_DEPENDENCIES(inputdelegator w-input-selector.edj) - -ADD_CUSTOM_TARGET(w-input-stt.edj - COMMAND edje_cc - -id ${CMAKE_SOURCE_DIR}/edje/images - ${CMAKE_SOURCE_DIR}/res/edje/w-input-stt.edc - ${CMAKE_BINARY_DIR}/res/edje//w-input-stt.edj - DEPENDS ${CMAKE_SOURCE_DIR}/res/edje//w-input-stt.edc) - -ADD_DEPENDENCIES(inputdelegator w-input-stt.edj) - -ADD_CUSTOM_TARGET(w-input-stt-button.edj - COMMAND edje_cc - -id ${CMAKE_SOURCE_DIR}/edje/images - ${CMAKE_SOURCE_DIR}/res/edje/w-input-stt-button.edc - ${CMAKE_BINARY_DIR}/res/edje/w-input-stt-button.edj - DEPENDS ${CMAKE_SOURCE_DIR}/res/edje/w-input-stt-button.edc) - -ADD_DEPENDENCIES(inputdelegator w-input-stt-button.edj) - -INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edje/w-input-selector.edj - DESTINATION res/edje) -INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edje/w-input-stt.edj - DESTINATION res/edje) -INSTALL(FILES ${CMAKE_BINARY_DIR}/res/edje/w-input-stt-button.edj - DESTINATION res/edje) - -FILE(GLOB_RECURSE W_INPUT_SELECTOR_IMAGES "${CMAKE_SOURCE_DIR}/res/images/*.png") -INSTALL(FILES ${W_INPUT_SELECTOR_IMAGES} DESTINATION res/images) -INSTALL(FILES ${CMAKE_SOURCE_DIR}/shared/res/w-input-selector.png DESTINATION shared/res) +ADD_SUBDIRECTORY(po) \ No newline at end of file diff --git a/edje/images/b_ic_press_full_circle_bg.png b/edje/images/b_ic_press_full_circle_bg.png deleted file mode 100644 index 5b9f7e4..0000000 Binary files a/edje/images/b_ic_press_full_circle_bg.png and /dev/null differ diff --git a/edje/images/b_list_focus_bg.#.png b/edje/images/b_list_focus_bg.#.png deleted file mode 100644 index fd166c5..0000000 Binary files a/edje/images/b_list_focus_bg.#.png and /dev/null differ diff --git a/edje/images/b_more_option.png b/edje/images/b_more_option.png deleted file mode 100644 index ced2924..0000000 Binary files a/edje/images/b_more_option.png and /dev/null differ diff --git a/edje/images/b_more_option_bg.png b/edje/images/b_more_option_bg.png deleted file mode 100644 index 6e32370..0000000 Binary files a/edje/images/b_more_option_bg.png and /dev/null differ diff --git a/edje/images/b_more_option_ef.png b/edje/images/b_more_option_ef.png deleted file mode 100644 index b30cdc1..0000000 Binary files a/edje/images/b_more_option_ef.png and /dev/null differ diff --git a/edje/images/b_stt_confirm_icon.png b/edje/images/b_stt_confirm_icon.png deleted file mode 100644 index 5ea22f4..0000000 Binary files a/edje/images/b_stt_confirm_icon.png and /dev/null differ diff --git a/edje/images/b_stt_icon_btn.png b/edje/images/b_stt_icon_btn.png deleted file mode 100644 index 09e0ffe..0000000 Binary files a/edje/images/b_stt_icon_btn.png and /dev/null differ diff --git a/edje/images/b_stt_send_icon.png b/edje/images/b_stt_send_icon.png deleted file mode 100644 index 46e2a35..0000000 Binary files a/edje/images/b_stt_send_icon.png and /dev/null differ diff --git a/edje/images/b_stt_text_fade_out.png b/edje/images/b_stt_text_fade_out.png deleted file mode 100644 index 5739474..0000000 Binary files a/edje/images/b_stt_text_fade_out.png and /dev/null differ diff --git a/edje/images/bg/B13_mic_bg.png b/edje/images/bg/B13_mic_bg.png deleted file mode 100644 index 3178950..0000000 Binary files a/edje/images/bg/B13_mic_bg.png and /dev/null differ diff --git a/edje/images/icon/B13_mic.png b/edje/images/icon/B13_mic.png deleted file mode 100644 index eedb538..0000000 Binary files a/edje/images/icon/B13_mic.png and /dev/null differ diff --git a/edje/images/icon/B13_mic_Que.png b/edje/images/icon/B13_mic_Que.png deleted file mode 100644 index d73679c..0000000 Binary files a/edje/images/icon/B13_mic_Que.png and /dev/null differ diff --git a/edje/images/icon/B13_mic_Que_01.png b/edje/images/icon/B13_mic_Que_01.png deleted file mode 100644 index 2e22fc3..0000000 Binary files a/edje/images/icon/B13_mic_Que_01.png and /dev/null differ diff --git a/edje/images/icon/B13_mic_procecessing_bg.png b/edje/images/icon/B13_mic_procecessing_bg.png deleted file mode 100644 index 8211e7b..0000000 Binary files a/edje/images/icon/B13_mic_procecessing_bg.png and /dev/null differ diff --git a/edje/images/icon/standby_mic_icon.png b/edje/images/icon/standby_mic_icon.png deleted file mode 100644 index eedb538..0000000 Binary files a/edje/images/icon/standby_mic_icon.png and /dev/null differ diff --git a/edje/images/input_ic_voice_mic.png b/edje/images/input_ic_voice_mic.png deleted file mode 100644 index b2869bf..0000000 Binary files a/edje/images/input_ic_voice_mic.png and /dev/null differ diff --git a/edje/images/style/tw_list_sub_btn_round.png b/edje/images/style/tw_list_sub_btn_round.png deleted file mode 100644 index 9c53f57..0000000 Binary files a/edje/images/style/tw_list_sub_btn_round.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_00.png b/edje/images/style/tw_loading_small_00.png deleted file mode 100644 index b0d25e2..0000000 Binary files a/edje/images/style/tw_loading_small_00.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_01.png b/edje/images/style/tw_loading_small_01.png deleted file mode 100644 index 52bcaa5..0000000 Binary files a/edje/images/style/tw_loading_small_01.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_02.png b/edje/images/style/tw_loading_small_02.png deleted file mode 100644 index 5077568..0000000 Binary files a/edje/images/style/tw_loading_small_02.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_03.png b/edje/images/style/tw_loading_small_03.png deleted file mode 100644 index 3b3b087..0000000 Binary files a/edje/images/style/tw_loading_small_03.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_04.png b/edje/images/style/tw_loading_small_04.png deleted file mode 100644 index 2a12143..0000000 Binary files a/edje/images/style/tw_loading_small_04.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_05.png b/edje/images/style/tw_loading_small_05.png deleted file mode 100644 index 07a90c4..0000000 Binary files a/edje/images/style/tw_loading_small_05.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_06.png b/edje/images/style/tw_loading_small_06.png deleted file mode 100644 index 810af15..0000000 Binary files a/edje/images/style/tw_loading_small_06.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_07.png b/edje/images/style/tw_loading_small_07.png deleted file mode 100644 index f6fb69b..0000000 Binary files a/edje/images/style/tw_loading_small_07.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_08.png b/edje/images/style/tw_loading_small_08.png deleted file mode 100644 index f79375e..0000000 Binary files a/edje/images/style/tw_loading_small_08.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_09.png b/edje/images/style/tw_loading_small_09.png deleted file mode 100644 index ce12908..0000000 Binary files a/edje/images/style/tw_loading_small_09.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_10.png b/edje/images/style/tw_loading_small_10.png deleted file mode 100644 index 86c6c8a..0000000 Binary files a/edje/images/style/tw_loading_small_10.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_11.png b/edje/images/style/tw_loading_small_11.png deleted file mode 100644 index ebb0dd1..0000000 Binary files a/edje/images/style/tw_loading_small_11.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_12.png b/edje/images/style/tw_loading_small_12.png deleted file mode 100644 index 74952d5..0000000 Binary files a/edje/images/style/tw_loading_small_12.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_13.png b/edje/images/style/tw_loading_small_13.png deleted file mode 100644 index 5daf9c2..0000000 Binary files a/edje/images/style/tw_loading_small_13.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_14.png b/edje/images/style/tw_loading_small_14.png deleted file mode 100644 index f04d96d..0000000 Binary files a/edje/images/style/tw_loading_small_14.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_15.png b/edje/images/style/tw_loading_small_15.png deleted file mode 100644 index 313ad9c..0000000 Binary files a/edje/images/style/tw_loading_small_15.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_16.png b/edje/images/style/tw_loading_small_16.png deleted file mode 100644 index e18da5b..0000000 Binary files a/edje/images/style/tw_loading_small_16.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_17.png b/edje/images/style/tw_loading_small_17.png deleted file mode 100644 index cc7cf19..0000000 Binary files a/edje/images/style/tw_loading_small_17.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_18.png b/edje/images/style/tw_loading_small_18.png deleted file mode 100644 index 3abe74c..0000000 Binary files a/edje/images/style/tw_loading_small_18.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_19.png b/edje/images/style/tw_loading_small_19.png deleted file mode 100644 index b94b6e0..0000000 Binary files a/edje/images/style/tw_loading_small_19.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_20.png b/edje/images/style/tw_loading_small_20.png deleted file mode 100644 index 3405721..0000000 Binary files a/edje/images/style/tw_loading_small_20.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_21.png b/edje/images/style/tw_loading_small_21.png deleted file mode 100644 index a229364..0000000 Binary files a/edje/images/style/tw_loading_small_21.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_22.png b/edje/images/style/tw_loading_small_22.png deleted file mode 100644 index 00ee4cb..0000000 Binary files a/edje/images/style/tw_loading_small_22.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_23.png b/edje/images/style/tw_loading_small_23.png deleted file mode 100644 index 6f054e1..0000000 Binary files a/edje/images/style/tw_loading_small_23.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_24.png b/edje/images/style/tw_loading_small_24.png deleted file mode 100644 index a8c2e7a..0000000 Binary files a/edje/images/style/tw_loading_small_24.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_25.png b/edje/images/style/tw_loading_small_25.png deleted file mode 100644 index e0b7ba0..0000000 Binary files a/edje/images/style/tw_loading_small_25.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_26.png b/edje/images/style/tw_loading_small_26.png deleted file mode 100644 index 57a7299..0000000 Binary files a/edje/images/style/tw_loading_small_26.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_27.png b/edje/images/style/tw_loading_small_27.png deleted file mode 100644 index 1eaaf7b..0000000 Binary files a/edje/images/style/tw_loading_small_27.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_28.png b/edje/images/style/tw_loading_small_28.png deleted file mode 100644 index f58f867..0000000 Binary files a/edje/images/style/tw_loading_small_28.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_29.png b/edje/images/style/tw_loading_small_29.png deleted file mode 100644 index 51340a0..0000000 Binary files a/edje/images/style/tw_loading_small_29.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_30.png b/edje/images/style/tw_loading_small_30.png deleted file mode 100644 index 3dc9414..0000000 Binary files a/edje/images/style/tw_loading_small_30.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_31.png b/edje/images/style/tw_loading_small_31.png deleted file mode 100644 index 0338677..0000000 Binary files a/edje/images/style/tw_loading_small_31.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_32.png b/edje/images/style/tw_loading_small_32.png deleted file mode 100644 index 32dfdb1..0000000 Binary files a/edje/images/style/tw_loading_small_32.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_33.png b/edje/images/style/tw_loading_small_33.png deleted file mode 100644 index c129b87..0000000 Binary files a/edje/images/style/tw_loading_small_33.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_34.png b/edje/images/style/tw_loading_small_34.png deleted file mode 100644 index 3fbe76f..0000000 Binary files a/edje/images/style/tw_loading_small_34.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_35.png b/edje/images/style/tw_loading_small_35.png deleted file mode 100644 index d1132f8..0000000 Binary files a/edje/images/style/tw_loading_small_35.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_36.png b/edje/images/style/tw_loading_small_36.png deleted file mode 100644 index 44d7f98..0000000 Binary files a/edje/images/style/tw_loading_small_36.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_37.png b/edje/images/style/tw_loading_small_37.png deleted file mode 100644 index 6625cfa..0000000 Binary files a/edje/images/style/tw_loading_small_37.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_38.png b/edje/images/style/tw_loading_small_38.png deleted file mode 100644 index 6252bd4..0000000 Binary files a/edje/images/style/tw_loading_small_38.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_39.png b/edje/images/style/tw_loading_small_39.png deleted file mode 100644 index fc37da8..0000000 Binary files a/edje/images/style/tw_loading_small_39.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_40.png b/edje/images/style/tw_loading_small_40.png deleted file mode 100644 index 5cf9739..0000000 Binary files a/edje/images/style/tw_loading_small_40.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_41.png b/edje/images/style/tw_loading_small_41.png deleted file mode 100644 index 0140159..0000000 Binary files a/edje/images/style/tw_loading_small_41.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_42.png b/edje/images/style/tw_loading_small_42.png deleted file mode 100644 index 251bb71..0000000 Binary files a/edje/images/style/tw_loading_small_42.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_43.png b/edje/images/style/tw_loading_small_43.png deleted file mode 100644 index cd21efc..0000000 Binary files a/edje/images/style/tw_loading_small_43.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_44.png b/edje/images/style/tw_loading_small_44.png deleted file mode 100644 index 532e010..0000000 Binary files a/edje/images/style/tw_loading_small_44.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_45.png b/edje/images/style/tw_loading_small_45.png deleted file mode 100644 index b16702b..0000000 Binary files a/edje/images/style/tw_loading_small_45.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_46.png b/edje/images/style/tw_loading_small_46.png deleted file mode 100644 index ced25a7..0000000 Binary files a/edje/images/style/tw_loading_small_46.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_47.png b/edje/images/style/tw_loading_small_47.png deleted file mode 100644 index 2fb1f50..0000000 Binary files a/edje/images/style/tw_loading_small_47.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_48.png b/edje/images/style/tw_loading_small_48.png deleted file mode 100644 index b867102..0000000 Binary files a/edje/images/style/tw_loading_small_48.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_49.png b/edje/images/style/tw_loading_small_49.png deleted file mode 100644 index 28993f6..0000000 Binary files a/edje/images/style/tw_loading_small_49.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_50.png b/edje/images/style/tw_loading_small_50.png deleted file mode 100644 index 2fd13fe..0000000 Binary files a/edje/images/style/tw_loading_small_50.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_51.png b/edje/images/style/tw_loading_small_51.png deleted file mode 100644 index 88eca9b..0000000 Binary files a/edje/images/style/tw_loading_small_51.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_52.png b/edje/images/style/tw_loading_small_52.png deleted file mode 100644 index 7e6440a..0000000 Binary files a/edje/images/style/tw_loading_small_52.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_53.png b/edje/images/style/tw_loading_small_53.png deleted file mode 100644 index 2cc22cd..0000000 Binary files a/edje/images/style/tw_loading_small_53.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_54.png b/edje/images/style/tw_loading_small_54.png deleted file mode 100644 index cba627b..0000000 Binary files a/edje/images/style/tw_loading_small_54.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_55.png b/edje/images/style/tw_loading_small_55.png deleted file mode 100644 index f97fd69..0000000 Binary files a/edje/images/style/tw_loading_small_55.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_56.png b/edje/images/style/tw_loading_small_56.png deleted file mode 100644 index 48f2b39..0000000 Binary files a/edje/images/style/tw_loading_small_56.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_57.png b/edje/images/style/tw_loading_small_57.png deleted file mode 100644 index 6fa98f6..0000000 Binary files a/edje/images/style/tw_loading_small_57.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_58.png b/edje/images/style/tw_loading_small_58.png deleted file mode 100644 index 409121c..0000000 Binary files a/edje/images/style/tw_loading_small_58.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_59.png b/edje/images/style/tw_loading_small_59.png deleted file mode 100644 index b09a5aa..0000000 Binary files a/edje/images/style/tw_loading_small_59.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_60.png b/edje/images/style/tw_loading_small_60.png deleted file mode 100644 index cb56a1f..0000000 Binary files a/edje/images/style/tw_loading_small_60.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_61.png b/edje/images/style/tw_loading_small_61.png deleted file mode 100644 index 8f11a06..0000000 Binary files a/edje/images/style/tw_loading_small_61.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_62.png b/edje/images/style/tw_loading_small_62.png deleted file mode 100644 index a00b0de..0000000 Binary files a/edje/images/style/tw_loading_small_62.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_63.png b/edje/images/style/tw_loading_small_63.png deleted file mode 100644 index e57c19a..0000000 Binary files a/edje/images/style/tw_loading_small_63.png and /dev/null differ diff --git a/edje/images/style/tw_loading_small_64.png b/edje/images/style/tw_loading_small_64.png deleted file mode 100644 index b9643ce..0000000 Binary files a/edje/images/style/tw_loading_small_64.png and /dev/null differ diff --git a/edje/images/text_downdrop.#.png b/edje/images/text_downdrop.#.png deleted file mode 100644 index fc3c6a1..0000000 Binary files a/edje/images/text_downdrop.#.png and /dev/null differ diff --git a/edje/images/text_downdrop_press.#.png b/edje/images/text_downdrop_press.#.png deleted file mode 100644 index 3511acd..0000000 Binary files a/edje/images/text_downdrop_press.#.png and /dev/null differ diff --git a/edje/images/tw_bottom_btn_bg.png b/edje/images/tw_bottom_btn_bg.png deleted file mode 100644 index d924082..0000000 Binary files a/edje/images/tw_bottom_btn_bg.png and /dev/null differ diff --git a/edje/images/w_mode_ic_bg.png b/edje/images/w_mode_ic_bg.png deleted file mode 100644 index c00ae52..0000000 Binary files a/edje/images/w_mode_ic_bg.png and /dev/null differ diff --git a/edje/images/w_sip_mask_bg.png b/edje/images/w_sip_mask_bg.png deleted file mode 100644 index f031fae..0000000 Binary files a/edje/images/w_sip_mask_bg.png and /dev/null differ diff --git a/edje/mobile/images/b_ic_press_full_circle_bg.png b/edje/mobile/images/b_ic_press_full_circle_bg.png new file mode 100644 index 0000000..5b9f7e4 Binary files /dev/null and b/edje/mobile/images/b_ic_press_full_circle_bg.png differ diff --git a/edje/mobile/images/b_list_focus_bg.#.png b/edje/mobile/images/b_list_focus_bg.#.png new file mode 100644 index 0000000..fd166c5 Binary files /dev/null and b/edje/mobile/images/b_list_focus_bg.#.png differ diff --git a/edje/mobile/images/b_more_option.png b/edje/mobile/images/b_more_option.png new file mode 100644 index 0000000..ced2924 Binary files /dev/null and b/edje/mobile/images/b_more_option.png differ diff --git a/edje/mobile/images/b_more_option_bg.png b/edje/mobile/images/b_more_option_bg.png new file mode 100644 index 0000000..6e32370 Binary files /dev/null and b/edje/mobile/images/b_more_option_bg.png differ diff --git a/edje/mobile/images/b_more_option_ef.png b/edje/mobile/images/b_more_option_ef.png new file mode 100644 index 0000000..b30cdc1 Binary files /dev/null and b/edje/mobile/images/b_more_option_ef.png differ diff --git a/edje/mobile/images/b_stt_confirm_icon.png b/edje/mobile/images/b_stt_confirm_icon.png new file mode 100644 index 0000000..5ea22f4 Binary files /dev/null and b/edje/mobile/images/b_stt_confirm_icon.png differ diff --git a/edje/mobile/images/b_stt_icon_btn.png b/edje/mobile/images/b_stt_icon_btn.png new file mode 100644 index 0000000..09e0ffe Binary files /dev/null and b/edje/mobile/images/b_stt_icon_btn.png differ diff --git a/edje/mobile/images/b_stt_send_icon.png b/edje/mobile/images/b_stt_send_icon.png new file mode 100644 index 0000000..46e2a35 Binary files /dev/null and b/edje/mobile/images/b_stt_send_icon.png differ diff --git a/edje/mobile/images/b_stt_text_fade_out.png b/edje/mobile/images/b_stt_text_fade_out.png new file mode 100644 index 0000000..5739474 Binary files /dev/null and b/edje/mobile/images/b_stt_text_fade_out.png differ diff --git a/edje/mobile/images/bg/B13_mic_bg.png b/edje/mobile/images/bg/B13_mic_bg.png new file mode 100644 index 0000000..3178950 Binary files /dev/null and b/edje/mobile/images/bg/B13_mic_bg.png differ diff --git a/edje/mobile/images/fadeout_masking.#.png b/edje/mobile/images/fadeout_masking.#.png new file mode 100644 index 0000000..e58681d Binary files /dev/null and b/edje/mobile/images/fadeout_masking.#.png differ diff --git a/edje/mobile/images/icon/B13_mic.png b/edje/mobile/images/icon/B13_mic.png new file mode 100644 index 0000000..eedb538 Binary files /dev/null and b/edje/mobile/images/icon/B13_mic.png differ diff --git a/edje/mobile/images/icon/B13_mic_Que.png b/edje/mobile/images/icon/B13_mic_Que.png new file mode 100644 index 0000000..d73679c Binary files /dev/null and b/edje/mobile/images/icon/B13_mic_Que.png differ diff --git a/edje/mobile/images/icon/B13_mic_Que_01.png b/edje/mobile/images/icon/B13_mic_Que_01.png new file mode 100644 index 0000000..2e22fc3 Binary files /dev/null and b/edje/mobile/images/icon/B13_mic_Que_01.png differ diff --git a/edje/mobile/images/icon/B13_mic_procecessing_bg.png b/edje/mobile/images/icon/B13_mic_procecessing_bg.png new file mode 100644 index 0000000..8211e7b Binary files /dev/null and b/edje/mobile/images/icon/B13_mic_procecessing_bg.png differ diff --git a/edje/mobile/images/icon/standby_mic_icon.png b/edje/mobile/images/icon/standby_mic_icon.png new file mode 100644 index 0000000..eedb538 Binary files /dev/null and b/edje/mobile/images/icon/standby_mic_icon.png differ diff --git a/edje/mobile/images/input_ic_voice_mic.png b/edje/mobile/images/input_ic_voice_mic.png new file mode 100644 index 0000000..b2869bf Binary files /dev/null and b/edje/mobile/images/input_ic_voice_mic.png differ diff --git a/edje/mobile/images/style/tw_list_sub_btn_round.png b/edje/mobile/images/style/tw_list_sub_btn_round.png new file mode 100644 index 0000000..9c53f57 Binary files /dev/null and b/edje/mobile/images/style/tw_list_sub_btn_round.png differ diff --git a/edje/mobile/images/style/tw_loading_small_00.png b/edje/mobile/images/style/tw_loading_small_00.png new file mode 100644 index 0000000..b0d25e2 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_00.png differ diff --git a/edje/mobile/images/style/tw_loading_small_01.png b/edje/mobile/images/style/tw_loading_small_01.png new file mode 100644 index 0000000..52bcaa5 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_01.png differ diff --git a/edje/mobile/images/style/tw_loading_small_02.png b/edje/mobile/images/style/tw_loading_small_02.png new file mode 100644 index 0000000..5077568 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_02.png differ diff --git a/edje/mobile/images/style/tw_loading_small_03.png b/edje/mobile/images/style/tw_loading_small_03.png new file mode 100644 index 0000000..3b3b087 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_03.png differ diff --git a/edje/mobile/images/style/tw_loading_small_04.png b/edje/mobile/images/style/tw_loading_small_04.png new file mode 100644 index 0000000..2a12143 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_04.png differ diff --git a/edje/mobile/images/style/tw_loading_small_05.png b/edje/mobile/images/style/tw_loading_small_05.png new file mode 100644 index 0000000..07a90c4 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_05.png differ diff --git a/edje/mobile/images/style/tw_loading_small_06.png b/edje/mobile/images/style/tw_loading_small_06.png new file mode 100644 index 0000000..810af15 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_06.png differ diff --git a/edje/mobile/images/style/tw_loading_small_07.png b/edje/mobile/images/style/tw_loading_small_07.png new file mode 100644 index 0000000..f6fb69b Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_07.png differ diff --git a/edje/mobile/images/style/tw_loading_small_08.png b/edje/mobile/images/style/tw_loading_small_08.png new file mode 100644 index 0000000..f79375e Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_08.png differ diff --git a/edje/mobile/images/style/tw_loading_small_09.png b/edje/mobile/images/style/tw_loading_small_09.png new file mode 100644 index 0000000..ce12908 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_09.png differ diff --git a/edje/mobile/images/style/tw_loading_small_10.png b/edje/mobile/images/style/tw_loading_small_10.png new file mode 100644 index 0000000..86c6c8a Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_10.png differ diff --git a/edje/mobile/images/style/tw_loading_small_11.png b/edje/mobile/images/style/tw_loading_small_11.png new file mode 100644 index 0000000..ebb0dd1 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_11.png differ diff --git a/edje/mobile/images/style/tw_loading_small_12.png b/edje/mobile/images/style/tw_loading_small_12.png new file mode 100644 index 0000000..74952d5 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_12.png differ diff --git a/edje/mobile/images/style/tw_loading_small_13.png b/edje/mobile/images/style/tw_loading_small_13.png new file mode 100644 index 0000000..5daf9c2 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_13.png differ diff --git a/edje/mobile/images/style/tw_loading_small_14.png b/edje/mobile/images/style/tw_loading_small_14.png new file mode 100644 index 0000000..f04d96d Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_14.png differ diff --git a/edje/mobile/images/style/tw_loading_small_15.png b/edje/mobile/images/style/tw_loading_small_15.png new file mode 100644 index 0000000..313ad9c Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_15.png differ diff --git a/edje/mobile/images/style/tw_loading_small_16.png b/edje/mobile/images/style/tw_loading_small_16.png new file mode 100644 index 0000000..e18da5b Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_16.png differ diff --git a/edje/mobile/images/style/tw_loading_small_17.png b/edje/mobile/images/style/tw_loading_small_17.png new file mode 100644 index 0000000..cc7cf19 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_17.png differ diff --git a/edje/mobile/images/style/tw_loading_small_18.png b/edje/mobile/images/style/tw_loading_small_18.png new file mode 100644 index 0000000..3abe74c Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_18.png differ diff --git a/edje/mobile/images/style/tw_loading_small_19.png b/edje/mobile/images/style/tw_loading_small_19.png new file mode 100644 index 0000000..b94b6e0 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_19.png differ diff --git a/edje/mobile/images/style/tw_loading_small_20.png b/edje/mobile/images/style/tw_loading_small_20.png new file mode 100644 index 0000000..3405721 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_20.png differ diff --git a/edje/mobile/images/style/tw_loading_small_21.png b/edje/mobile/images/style/tw_loading_small_21.png new file mode 100644 index 0000000..a229364 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_21.png differ diff --git a/edje/mobile/images/style/tw_loading_small_22.png b/edje/mobile/images/style/tw_loading_small_22.png new file mode 100644 index 0000000..00ee4cb Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_22.png differ diff --git a/edje/mobile/images/style/tw_loading_small_23.png b/edje/mobile/images/style/tw_loading_small_23.png new file mode 100644 index 0000000..6f054e1 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_23.png differ diff --git a/edje/mobile/images/style/tw_loading_small_24.png b/edje/mobile/images/style/tw_loading_small_24.png new file mode 100644 index 0000000..a8c2e7a Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_24.png differ diff --git a/edje/mobile/images/style/tw_loading_small_25.png b/edje/mobile/images/style/tw_loading_small_25.png new file mode 100644 index 0000000..e0b7ba0 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_25.png differ diff --git a/edje/mobile/images/style/tw_loading_small_26.png b/edje/mobile/images/style/tw_loading_small_26.png new file mode 100644 index 0000000..57a7299 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_26.png differ diff --git a/edje/mobile/images/style/tw_loading_small_27.png b/edje/mobile/images/style/tw_loading_small_27.png new file mode 100644 index 0000000..1eaaf7b Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_27.png differ diff --git a/edje/mobile/images/style/tw_loading_small_28.png b/edje/mobile/images/style/tw_loading_small_28.png new file mode 100644 index 0000000..f58f867 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_28.png differ diff --git a/edje/mobile/images/style/tw_loading_small_29.png b/edje/mobile/images/style/tw_loading_small_29.png new file mode 100644 index 0000000..51340a0 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_29.png differ diff --git a/edje/mobile/images/style/tw_loading_small_30.png b/edje/mobile/images/style/tw_loading_small_30.png new file mode 100644 index 0000000..3dc9414 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_30.png differ diff --git a/edje/mobile/images/style/tw_loading_small_31.png b/edje/mobile/images/style/tw_loading_small_31.png new file mode 100644 index 0000000..0338677 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_31.png differ diff --git a/edje/mobile/images/style/tw_loading_small_32.png b/edje/mobile/images/style/tw_loading_small_32.png new file mode 100644 index 0000000..32dfdb1 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_32.png differ diff --git a/edje/mobile/images/style/tw_loading_small_33.png b/edje/mobile/images/style/tw_loading_small_33.png new file mode 100644 index 0000000..c129b87 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_33.png differ diff --git a/edje/mobile/images/style/tw_loading_small_34.png b/edje/mobile/images/style/tw_loading_small_34.png new file mode 100644 index 0000000..3fbe76f Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_34.png differ diff --git a/edje/mobile/images/style/tw_loading_small_35.png b/edje/mobile/images/style/tw_loading_small_35.png new file mode 100644 index 0000000..d1132f8 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_35.png differ diff --git a/edje/mobile/images/style/tw_loading_small_36.png b/edje/mobile/images/style/tw_loading_small_36.png new file mode 100644 index 0000000..44d7f98 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_36.png differ diff --git a/edje/mobile/images/style/tw_loading_small_37.png b/edje/mobile/images/style/tw_loading_small_37.png new file mode 100644 index 0000000..6625cfa Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_37.png differ diff --git a/edje/mobile/images/style/tw_loading_small_38.png b/edje/mobile/images/style/tw_loading_small_38.png new file mode 100644 index 0000000..6252bd4 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_38.png differ diff --git a/edje/mobile/images/style/tw_loading_small_39.png b/edje/mobile/images/style/tw_loading_small_39.png new file mode 100644 index 0000000..fc37da8 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_39.png differ diff --git a/edje/mobile/images/style/tw_loading_small_40.png b/edje/mobile/images/style/tw_loading_small_40.png new file mode 100644 index 0000000..5cf9739 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_40.png differ diff --git a/edje/mobile/images/style/tw_loading_small_41.png b/edje/mobile/images/style/tw_loading_small_41.png new file mode 100644 index 0000000..0140159 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_41.png differ diff --git a/edje/mobile/images/style/tw_loading_small_42.png b/edje/mobile/images/style/tw_loading_small_42.png new file mode 100644 index 0000000..251bb71 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_42.png differ diff --git a/edje/mobile/images/style/tw_loading_small_43.png b/edje/mobile/images/style/tw_loading_small_43.png new file mode 100644 index 0000000..cd21efc Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_43.png differ diff --git a/edje/mobile/images/style/tw_loading_small_44.png b/edje/mobile/images/style/tw_loading_small_44.png new file mode 100644 index 0000000..532e010 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_44.png differ diff --git a/edje/mobile/images/style/tw_loading_small_45.png b/edje/mobile/images/style/tw_loading_small_45.png new file mode 100644 index 0000000..b16702b Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_45.png differ diff --git a/edje/mobile/images/style/tw_loading_small_46.png b/edje/mobile/images/style/tw_loading_small_46.png new file mode 100644 index 0000000..ced25a7 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_46.png differ diff --git a/edje/mobile/images/style/tw_loading_small_47.png b/edje/mobile/images/style/tw_loading_small_47.png new file mode 100644 index 0000000..2fb1f50 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_47.png differ diff --git a/edje/mobile/images/style/tw_loading_small_48.png b/edje/mobile/images/style/tw_loading_small_48.png new file mode 100644 index 0000000..b867102 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_48.png differ diff --git a/edje/mobile/images/style/tw_loading_small_49.png b/edje/mobile/images/style/tw_loading_small_49.png new file mode 100644 index 0000000..28993f6 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_49.png differ diff --git a/edje/mobile/images/style/tw_loading_small_50.png b/edje/mobile/images/style/tw_loading_small_50.png new file mode 100644 index 0000000..2fd13fe Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_50.png differ diff --git a/edje/mobile/images/style/tw_loading_small_51.png b/edje/mobile/images/style/tw_loading_small_51.png new file mode 100644 index 0000000..88eca9b Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_51.png differ diff --git a/edje/mobile/images/style/tw_loading_small_52.png b/edje/mobile/images/style/tw_loading_small_52.png new file mode 100644 index 0000000..7e6440a Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_52.png differ diff --git a/edje/mobile/images/style/tw_loading_small_53.png b/edje/mobile/images/style/tw_loading_small_53.png new file mode 100644 index 0000000..2cc22cd Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_53.png differ diff --git a/edje/mobile/images/style/tw_loading_small_54.png b/edje/mobile/images/style/tw_loading_small_54.png new file mode 100644 index 0000000..cba627b Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_54.png differ diff --git a/edje/mobile/images/style/tw_loading_small_55.png b/edje/mobile/images/style/tw_loading_small_55.png new file mode 100644 index 0000000..f97fd69 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_55.png differ diff --git a/edje/mobile/images/style/tw_loading_small_56.png b/edje/mobile/images/style/tw_loading_small_56.png new file mode 100644 index 0000000..48f2b39 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_56.png differ diff --git a/edje/mobile/images/style/tw_loading_small_57.png b/edje/mobile/images/style/tw_loading_small_57.png new file mode 100644 index 0000000..6fa98f6 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_57.png differ diff --git a/edje/mobile/images/style/tw_loading_small_58.png b/edje/mobile/images/style/tw_loading_small_58.png new file mode 100644 index 0000000..409121c Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_58.png differ diff --git a/edje/mobile/images/style/tw_loading_small_59.png b/edje/mobile/images/style/tw_loading_small_59.png new file mode 100644 index 0000000..b09a5aa Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_59.png differ diff --git a/edje/mobile/images/style/tw_loading_small_60.png b/edje/mobile/images/style/tw_loading_small_60.png new file mode 100644 index 0000000..cb56a1f Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_60.png differ diff --git a/edje/mobile/images/style/tw_loading_small_61.png b/edje/mobile/images/style/tw_loading_small_61.png new file mode 100644 index 0000000..8f11a06 Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_61.png differ diff --git a/edje/mobile/images/style/tw_loading_small_62.png b/edje/mobile/images/style/tw_loading_small_62.png new file mode 100644 index 0000000..a00b0de Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_62.png differ diff --git a/edje/mobile/images/style/tw_loading_small_63.png b/edje/mobile/images/style/tw_loading_small_63.png new file mode 100644 index 0000000..e57c19a Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_63.png differ diff --git a/edje/mobile/images/style/tw_loading_small_64.png b/edje/mobile/images/style/tw_loading_small_64.png new file mode 100644 index 0000000..b9643ce Binary files /dev/null and b/edje/mobile/images/style/tw_loading_small_64.png differ diff --git a/edje/mobile/images/text_downdrop.#.png b/edje/mobile/images/text_downdrop.#.png new file mode 100644 index 0000000..fc3c6a1 Binary files /dev/null and b/edje/mobile/images/text_downdrop.#.png differ diff --git a/edje/mobile/images/text_downdrop_press.#.png b/edje/mobile/images/text_downdrop_press.#.png new file mode 100644 index 0000000..3511acd Binary files /dev/null and b/edje/mobile/images/text_downdrop_press.#.png differ diff --git a/edje/mobile/images/tw_bottom_btn_bg.png b/edje/mobile/images/tw_bottom_btn_bg.png new file mode 100644 index 0000000..d924082 Binary files /dev/null and b/edje/mobile/images/tw_bottom_btn_bg.png differ diff --git a/edje/mobile/images/w_mode_ic_bg.png b/edje/mobile/images/w_mode_ic_bg.png new file mode 100644 index 0000000..c00ae52 Binary files /dev/null and b/edje/mobile/images/w_mode_ic_bg.png differ diff --git a/edje/mobile/images/w_sip_mask_bg.png b/edje/mobile/images/w_sip_mask_bg.png new file mode 100644 index 0000000..f031fae Binary files /dev/null and b/edje/mobile/images/w_sip_mask_bg.png differ diff --git a/edje/mobile/images/wi_drawing_bg.png b/edje/mobile/images/wi_drawing_bg.png new file mode 100644 index 0000000..24cdc20 Binary files /dev/null and b/edje/mobile/images/wi_drawing_bg.png differ diff --git a/edje/tv/images/b_ic_press_full_circle_bg.png b/edje/tv/images/b_ic_press_full_circle_bg.png new file mode 100644 index 0000000..5b9f7e4 Binary files /dev/null and b/edje/tv/images/b_ic_press_full_circle_bg.png differ diff --git a/edje/tv/images/b_list_focus_bg.#.png b/edje/tv/images/b_list_focus_bg.#.png new file mode 100644 index 0000000..fd166c5 Binary files /dev/null and b/edje/tv/images/b_list_focus_bg.#.png differ diff --git a/edje/tv/images/b_more_option.png b/edje/tv/images/b_more_option.png new file mode 100644 index 0000000..ced2924 Binary files /dev/null and b/edje/tv/images/b_more_option.png differ diff --git a/edje/tv/images/b_more_option_bg.png b/edje/tv/images/b_more_option_bg.png new file mode 100644 index 0000000..6e32370 Binary files /dev/null and b/edje/tv/images/b_more_option_bg.png differ diff --git a/edje/tv/images/b_more_option_ef.png b/edje/tv/images/b_more_option_ef.png new file mode 100644 index 0000000..b30cdc1 Binary files /dev/null and b/edje/tv/images/b_more_option_ef.png differ diff --git a/edje/tv/images/b_stt_confirm_icon.png b/edje/tv/images/b_stt_confirm_icon.png new file mode 100644 index 0000000..5ea22f4 Binary files /dev/null and b/edje/tv/images/b_stt_confirm_icon.png differ diff --git a/edje/tv/images/b_stt_icon_btn.png b/edje/tv/images/b_stt_icon_btn.png new file mode 100644 index 0000000..09e0ffe Binary files /dev/null and b/edje/tv/images/b_stt_icon_btn.png differ diff --git a/edje/tv/images/b_stt_send_icon.png b/edje/tv/images/b_stt_send_icon.png new file mode 100644 index 0000000..46e2a35 Binary files /dev/null and b/edje/tv/images/b_stt_send_icon.png differ diff --git a/edje/tv/images/b_stt_text_fade_out.png b/edje/tv/images/b_stt_text_fade_out.png new file mode 100644 index 0000000..5739474 Binary files /dev/null and b/edje/tv/images/b_stt_text_fade_out.png differ diff --git a/edje/tv/images/bg/B13_mic_bg.png b/edje/tv/images/bg/B13_mic_bg.png new file mode 100644 index 0000000..3178950 Binary files /dev/null and b/edje/tv/images/bg/B13_mic_bg.png differ diff --git a/edje/tv/images/fadeout_masking.#.png b/edje/tv/images/fadeout_masking.#.png new file mode 100644 index 0000000..e58681d Binary files /dev/null and b/edje/tv/images/fadeout_masking.#.png differ diff --git a/edje/tv/images/icon/B13_mic.png b/edje/tv/images/icon/B13_mic.png new file mode 100644 index 0000000..eedb538 Binary files /dev/null and b/edje/tv/images/icon/B13_mic.png differ diff --git a/edje/tv/images/icon/B13_mic_Que.png b/edje/tv/images/icon/B13_mic_Que.png new file mode 100644 index 0000000..d73679c Binary files /dev/null and b/edje/tv/images/icon/B13_mic_Que.png differ diff --git a/edje/tv/images/icon/B13_mic_Que_01.png b/edje/tv/images/icon/B13_mic_Que_01.png new file mode 100644 index 0000000..2e22fc3 Binary files /dev/null and b/edje/tv/images/icon/B13_mic_Que_01.png differ diff --git a/edje/tv/images/icon/B13_mic_procecessing_bg.png b/edje/tv/images/icon/B13_mic_procecessing_bg.png new file mode 100644 index 0000000..8211e7b Binary files /dev/null and b/edje/tv/images/icon/B13_mic_procecessing_bg.png differ diff --git a/edje/tv/images/icon/standby_mic_icon.png b/edje/tv/images/icon/standby_mic_icon.png new file mode 100644 index 0000000..eedb538 Binary files /dev/null and b/edje/tv/images/icon/standby_mic_icon.png differ diff --git a/edje/tv/images/input_ic_voice_mic.png b/edje/tv/images/input_ic_voice_mic.png new file mode 100644 index 0000000..b2869bf Binary files /dev/null and b/edje/tv/images/input_ic_voice_mic.png differ diff --git a/edje/tv/images/style/tw_list_sub_btn_round.png b/edje/tv/images/style/tw_list_sub_btn_round.png new file mode 100644 index 0000000..9c53f57 Binary files /dev/null and b/edje/tv/images/style/tw_list_sub_btn_round.png differ diff --git a/edje/tv/images/style/tw_loading_small_00.png b/edje/tv/images/style/tw_loading_small_00.png new file mode 100644 index 0000000..b0d25e2 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_00.png differ diff --git a/edje/tv/images/style/tw_loading_small_01.png b/edje/tv/images/style/tw_loading_small_01.png new file mode 100644 index 0000000..52bcaa5 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_01.png differ diff --git a/edje/tv/images/style/tw_loading_small_02.png b/edje/tv/images/style/tw_loading_small_02.png new file mode 100644 index 0000000..5077568 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_02.png differ diff --git a/edje/tv/images/style/tw_loading_small_03.png b/edje/tv/images/style/tw_loading_small_03.png new file mode 100644 index 0000000..3b3b087 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_03.png differ diff --git a/edje/tv/images/style/tw_loading_small_04.png b/edje/tv/images/style/tw_loading_small_04.png new file mode 100644 index 0000000..2a12143 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_04.png differ diff --git a/edje/tv/images/style/tw_loading_small_05.png b/edje/tv/images/style/tw_loading_small_05.png new file mode 100644 index 0000000..07a90c4 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_05.png differ diff --git a/edje/tv/images/style/tw_loading_small_06.png b/edje/tv/images/style/tw_loading_small_06.png new file mode 100644 index 0000000..810af15 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_06.png differ diff --git a/edje/tv/images/style/tw_loading_small_07.png b/edje/tv/images/style/tw_loading_small_07.png new file mode 100644 index 0000000..f6fb69b Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_07.png differ diff --git a/edje/tv/images/style/tw_loading_small_08.png b/edje/tv/images/style/tw_loading_small_08.png new file mode 100644 index 0000000..f79375e Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_08.png differ diff --git a/edje/tv/images/style/tw_loading_small_09.png b/edje/tv/images/style/tw_loading_small_09.png new file mode 100644 index 0000000..ce12908 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_09.png differ diff --git a/edje/tv/images/style/tw_loading_small_10.png b/edje/tv/images/style/tw_loading_small_10.png new file mode 100644 index 0000000..86c6c8a Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_10.png differ diff --git a/edje/tv/images/style/tw_loading_small_11.png b/edje/tv/images/style/tw_loading_small_11.png new file mode 100644 index 0000000..ebb0dd1 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_11.png differ diff --git a/edje/tv/images/style/tw_loading_small_12.png b/edje/tv/images/style/tw_loading_small_12.png new file mode 100644 index 0000000..74952d5 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_12.png differ diff --git a/edje/tv/images/style/tw_loading_small_13.png b/edje/tv/images/style/tw_loading_small_13.png new file mode 100644 index 0000000..5daf9c2 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_13.png differ diff --git a/edje/tv/images/style/tw_loading_small_14.png b/edje/tv/images/style/tw_loading_small_14.png new file mode 100644 index 0000000..f04d96d Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_14.png differ diff --git a/edje/tv/images/style/tw_loading_small_15.png b/edje/tv/images/style/tw_loading_small_15.png new file mode 100644 index 0000000..313ad9c Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_15.png differ diff --git a/edje/tv/images/style/tw_loading_small_16.png b/edje/tv/images/style/tw_loading_small_16.png new file mode 100644 index 0000000..e18da5b Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_16.png differ diff --git a/edje/tv/images/style/tw_loading_small_17.png b/edje/tv/images/style/tw_loading_small_17.png new file mode 100644 index 0000000..cc7cf19 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_17.png differ diff --git a/edje/tv/images/style/tw_loading_small_18.png b/edje/tv/images/style/tw_loading_small_18.png new file mode 100644 index 0000000..3abe74c Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_18.png differ diff --git a/edje/tv/images/style/tw_loading_small_19.png b/edje/tv/images/style/tw_loading_small_19.png new file mode 100644 index 0000000..b94b6e0 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_19.png differ diff --git a/edje/tv/images/style/tw_loading_small_20.png b/edje/tv/images/style/tw_loading_small_20.png new file mode 100644 index 0000000..3405721 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_20.png differ diff --git a/edje/tv/images/style/tw_loading_small_21.png b/edje/tv/images/style/tw_loading_small_21.png new file mode 100644 index 0000000..a229364 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_21.png differ diff --git a/edje/tv/images/style/tw_loading_small_22.png b/edje/tv/images/style/tw_loading_small_22.png new file mode 100644 index 0000000..00ee4cb Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_22.png differ diff --git a/edje/tv/images/style/tw_loading_small_23.png b/edje/tv/images/style/tw_loading_small_23.png new file mode 100644 index 0000000..6f054e1 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_23.png differ diff --git a/edje/tv/images/style/tw_loading_small_24.png b/edje/tv/images/style/tw_loading_small_24.png new file mode 100644 index 0000000..a8c2e7a Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_24.png differ diff --git a/edje/tv/images/style/tw_loading_small_25.png b/edje/tv/images/style/tw_loading_small_25.png new file mode 100644 index 0000000..e0b7ba0 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_25.png differ diff --git a/edje/tv/images/style/tw_loading_small_26.png b/edje/tv/images/style/tw_loading_small_26.png new file mode 100644 index 0000000..57a7299 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_26.png differ diff --git a/edje/tv/images/style/tw_loading_small_27.png b/edje/tv/images/style/tw_loading_small_27.png new file mode 100644 index 0000000..1eaaf7b Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_27.png differ diff --git a/edje/tv/images/style/tw_loading_small_28.png b/edje/tv/images/style/tw_loading_small_28.png new file mode 100644 index 0000000..f58f867 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_28.png differ diff --git a/edje/tv/images/style/tw_loading_small_29.png b/edje/tv/images/style/tw_loading_small_29.png new file mode 100644 index 0000000..51340a0 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_29.png differ diff --git a/edje/tv/images/style/tw_loading_small_30.png b/edje/tv/images/style/tw_loading_small_30.png new file mode 100644 index 0000000..3dc9414 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_30.png differ diff --git a/edje/tv/images/style/tw_loading_small_31.png b/edje/tv/images/style/tw_loading_small_31.png new file mode 100644 index 0000000..0338677 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_31.png differ diff --git a/edje/tv/images/style/tw_loading_small_32.png b/edje/tv/images/style/tw_loading_small_32.png new file mode 100644 index 0000000..32dfdb1 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_32.png differ diff --git a/edje/tv/images/style/tw_loading_small_33.png b/edje/tv/images/style/tw_loading_small_33.png new file mode 100644 index 0000000..c129b87 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_33.png differ diff --git a/edje/tv/images/style/tw_loading_small_34.png b/edje/tv/images/style/tw_loading_small_34.png new file mode 100644 index 0000000..3fbe76f Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_34.png differ diff --git a/edje/tv/images/style/tw_loading_small_35.png b/edje/tv/images/style/tw_loading_small_35.png new file mode 100644 index 0000000..d1132f8 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_35.png differ diff --git a/edje/tv/images/style/tw_loading_small_36.png b/edje/tv/images/style/tw_loading_small_36.png new file mode 100644 index 0000000..44d7f98 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_36.png differ diff --git a/edje/tv/images/style/tw_loading_small_37.png b/edje/tv/images/style/tw_loading_small_37.png new file mode 100644 index 0000000..6625cfa Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_37.png differ diff --git a/edje/tv/images/style/tw_loading_small_38.png b/edje/tv/images/style/tw_loading_small_38.png new file mode 100644 index 0000000..6252bd4 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_38.png differ diff --git a/edje/tv/images/style/tw_loading_small_39.png b/edje/tv/images/style/tw_loading_small_39.png new file mode 100644 index 0000000..fc37da8 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_39.png differ diff --git a/edje/tv/images/style/tw_loading_small_40.png b/edje/tv/images/style/tw_loading_small_40.png new file mode 100644 index 0000000..5cf9739 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_40.png differ diff --git a/edje/tv/images/style/tw_loading_small_41.png b/edje/tv/images/style/tw_loading_small_41.png new file mode 100644 index 0000000..0140159 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_41.png differ diff --git a/edje/tv/images/style/tw_loading_small_42.png b/edje/tv/images/style/tw_loading_small_42.png new file mode 100644 index 0000000..251bb71 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_42.png differ diff --git a/edje/tv/images/style/tw_loading_small_43.png b/edje/tv/images/style/tw_loading_small_43.png new file mode 100644 index 0000000..cd21efc Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_43.png differ diff --git a/edje/tv/images/style/tw_loading_small_44.png b/edje/tv/images/style/tw_loading_small_44.png new file mode 100644 index 0000000..532e010 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_44.png differ diff --git a/edje/tv/images/style/tw_loading_small_45.png b/edje/tv/images/style/tw_loading_small_45.png new file mode 100644 index 0000000..b16702b Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_45.png differ diff --git a/edje/tv/images/style/tw_loading_small_46.png b/edje/tv/images/style/tw_loading_small_46.png new file mode 100644 index 0000000..ced25a7 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_46.png differ diff --git a/edje/tv/images/style/tw_loading_small_47.png b/edje/tv/images/style/tw_loading_small_47.png new file mode 100644 index 0000000..2fb1f50 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_47.png differ diff --git a/edje/tv/images/style/tw_loading_small_48.png b/edje/tv/images/style/tw_loading_small_48.png new file mode 100644 index 0000000..b867102 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_48.png differ diff --git a/edje/tv/images/style/tw_loading_small_49.png b/edje/tv/images/style/tw_loading_small_49.png new file mode 100644 index 0000000..28993f6 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_49.png differ diff --git a/edje/tv/images/style/tw_loading_small_50.png b/edje/tv/images/style/tw_loading_small_50.png new file mode 100644 index 0000000..2fd13fe Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_50.png differ diff --git a/edje/tv/images/style/tw_loading_small_51.png b/edje/tv/images/style/tw_loading_small_51.png new file mode 100644 index 0000000..88eca9b Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_51.png differ diff --git a/edje/tv/images/style/tw_loading_small_52.png b/edje/tv/images/style/tw_loading_small_52.png new file mode 100644 index 0000000..7e6440a Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_52.png differ diff --git a/edje/tv/images/style/tw_loading_small_53.png b/edje/tv/images/style/tw_loading_small_53.png new file mode 100644 index 0000000..2cc22cd Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_53.png differ diff --git a/edje/tv/images/style/tw_loading_small_54.png b/edje/tv/images/style/tw_loading_small_54.png new file mode 100644 index 0000000..cba627b Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_54.png differ diff --git a/edje/tv/images/style/tw_loading_small_55.png b/edje/tv/images/style/tw_loading_small_55.png new file mode 100644 index 0000000..f97fd69 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_55.png differ diff --git a/edje/tv/images/style/tw_loading_small_56.png b/edje/tv/images/style/tw_loading_small_56.png new file mode 100644 index 0000000..48f2b39 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_56.png differ diff --git a/edje/tv/images/style/tw_loading_small_57.png b/edje/tv/images/style/tw_loading_small_57.png new file mode 100644 index 0000000..6fa98f6 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_57.png differ diff --git a/edje/tv/images/style/tw_loading_small_58.png b/edje/tv/images/style/tw_loading_small_58.png new file mode 100644 index 0000000..409121c Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_58.png differ diff --git a/edje/tv/images/style/tw_loading_small_59.png b/edje/tv/images/style/tw_loading_small_59.png new file mode 100644 index 0000000..b09a5aa Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_59.png differ diff --git a/edje/tv/images/style/tw_loading_small_60.png b/edje/tv/images/style/tw_loading_small_60.png new file mode 100644 index 0000000..cb56a1f Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_60.png differ diff --git a/edje/tv/images/style/tw_loading_small_61.png b/edje/tv/images/style/tw_loading_small_61.png new file mode 100644 index 0000000..8f11a06 Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_61.png differ diff --git a/edje/tv/images/style/tw_loading_small_62.png b/edje/tv/images/style/tw_loading_small_62.png new file mode 100644 index 0000000..a00b0de Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_62.png differ diff --git a/edje/tv/images/style/tw_loading_small_63.png b/edje/tv/images/style/tw_loading_small_63.png new file mode 100644 index 0000000..e57c19a Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_63.png differ diff --git a/edje/tv/images/style/tw_loading_small_64.png b/edje/tv/images/style/tw_loading_small_64.png new file mode 100644 index 0000000..b9643ce Binary files /dev/null and b/edje/tv/images/style/tw_loading_small_64.png differ diff --git a/edje/tv/images/text_downdrop.#.png b/edje/tv/images/text_downdrop.#.png new file mode 100644 index 0000000..fc3c6a1 Binary files /dev/null and b/edje/tv/images/text_downdrop.#.png differ diff --git a/edje/tv/images/text_downdrop_press.#.png b/edje/tv/images/text_downdrop_press.#.png new file mode 100644 index 0000000..3511acd Binary files /dev/null and b/edje/tv/images/text_downdrop_press.#.png differ diff --git a/edje/tv/images/tw_bottom_btn_bg.png b/edje/tv/images/tw_bottom_btn_bg.png new file mode 100644 index 0000000..d924082 Binary files /dev/null and b/edje/tv/images/tw_bottom_btn_bg.png differ diff --git a/edje/tv/images/w_mode_ic_bg.png b/edje/tv/images/w_mode_ic_bg.png new file mode 100644 index 0000000..c00ae52 Binary files /dev/null and b/edje/tv/images/w_mode_ic_bg.png differ diff --git a/edje/tv/images/w_sip_mask_bg.png b/edje/tv/images/w_sip_mask_bg.png new file mode 100644 index 0000000..f031fae Binary files /dev/null and b/edje/tv/images/w_sip_mask_bg.png differ diff --git a/edje/tv/images/wi_drawing_bg.png b/edje/tv/images/wi_drawing_bg.png new file mode 100644 index 0000000..24cdc20 Binary files /dev/null and b/edje/tv/images/wi_drawing_bg.png differ diff --git a/edje/wearable/images/b_ic_press_full_circle_bg.png b/edje/wearable/images/b_ic_press_full_circle_bg.png new file mode 100644 index 0000000..5b9f7e4 Binary files /dev/null and b/edje/wearable/images/b_ic_press_full_circle_bg.png differ diff --git a/edje/wearable/images/b_list_focus_bg.#.png b/edje/wearable/images/b_list_focus_bg.#.png new file mode 100644 index 0000000..fd166c5 Binary files /dev/null and b/edje/wearable/images/b_list_focus_bg.#.png differ diff --git a/edje/wearable/images/b_more_option.png b/edje/wearable/images/b_more_option.png new file mode 100644 index 0000000..ced2924 Binary files /dev/null and b/edje/wearable/images/b_more_option.png differ diff --git a/edje/wearable/images/b_more_option_bg.png b/edje/wearable/images/b_more_option_bg.png new file mode 100644 index 0000000..6e32370 Binary files /dev/null and b/edje/wearable/images/b_more_option_bg.png differ diff --git a/edje/wearable/images/b_more_option_ef.png b/edje/wearable/images/b_more_option_ef.png new file mode 100644 index 0000000..b30cdc1 Binary files /dev/null and b/edje/wearable/images/b_more_option_ef.png differ diff --git a/edje/wearable/images/b_stt_confirm_icon.png b/edje/wearable/images/b_stt_confirm_icon.png new file mode 100644 index 0000000..5ea22f4 Binary files /dev/null and b/edje/wearable/images/b_stt_confirm_icon.png differ diff --git a/edje/wearable/images/b_stt_icon_btn.png b/edje/wearable/images/b_stt_icon_btn.png new file mode 100644 index 0000000..09e0ffe Binary files /dev/null and b/edje/wearable/images/b_stt_icon_btn.png differ diff --git a/edje/wearable/images/b_stt_send_icon.png b/edje/wearable/images/b_stt_send_icon.png new file mode 100644 index 0000000..46e2a35 Binary files /dev/null and b/edje/wearable/images/b_stt_send_icon.png differ diff --git a/edje/wearable/images/b_stt_text_fade_out.png b/edje/wearable/images/b_stt_text_fade_out.png new file mode 100644 index 0000000..5739474 Binary files /dev/null and b/edje/wearable/images/b_stt_text_fade_out.png differ diff --git a/edje/wearable/images/bg/B13_mic_bg.png b/edje/wearable/images/bg/B13_mic_bg.png new file mode 100644 index 0000000..3178950 Binary files /dev/null and b/edje/wearable/images/bg/B13_mic_bg.png differ diff --git a/edje/wearable/images/fadeout_masking.#.png b/edje/wearable/images/fadeout_masking.#.png new file mode 100644 index 0000000..e58681d Binary files /dev/null and b/edje/wearable/images/fadeout_masking.#.png differ diff --git a/edje/wearable/images/icon/B13_mic.png b/edje/wearable/images/icon/B13_mic.png new file mode 100644 index 0000000..eedb538 Binary files /dev/null and b/edje/wearable/images/icon/B13_mic.png differ diff --git a/edje/wearable/images/icon/B13_mic_Que.png b/edje/wearable/images/icon/B13_mic_Que.png new file mode 100644 index 0000000..d73679c Binary files /dev/null and b/edje/wearable/images/icon/B13_mic_Que.png differ diff --git a/edje/wearable/images/icon/B13_mic_Que_01.png b/edje/wearable/images/icon/B13_mic_Que_01.png new file mode 100644 index 0000000..2e22fc3 Binary files /dev/null and b/edje/wearable/images/icon/B13_mic_Que_01.png differ diff --git a/edje/wearable/images/icon/B13_mic_procecessing_bg.png b/edje/wearable/images/icon/B13_mic_procecessing_bg.png new file mode 100644 index 0000000..8211e7b Binary files /dev/null and b/edje/wearable/images/icon/B13_mic_procecessing_bg.png differ diff --git a/edje/wearable/images/icon/standby_mic_icon.png b/edje/wearable/images/icon/standby_mic_icon.png new file mode 100644 index 0000000..eedb538 Binary files /dev/null and b/edje/wearable/images/icon/standby_mic_icon.png differ diff --git a/edje/wearable/images/input_ic_voice_mic.png b/edje/wearable/images/input_ic_voice_mic.png new file mode 100644 index 0000000..b2869bf Binary files /dev/null and b/edje/wearable/images/input_ic_voice_mic.png differ diff --git a/edje/wearable/images/style/tw_list_sub_btn_round.png b/edje/wearable/images/style/tw_list_sub_btn_round.png new file mode 100644 index 0000000..9c53f57 Binary files /dev/null and b/edje/wearable/images/style/tw_list_sub_btn_round.png differ diff --git a/edje/wearable/images/style/tw_loading_small_00.png b/edje/wearable/images/style/tw_loading_small_00.png new file mode 100644 index 0000000..b0d25e2 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_00.png differ diff --git a/edje/wearable/images/style/tw_loading_small_01.png b/edje/wearable/images/style/tw_loading_small_01.png new file mode 100644 index 0000000..52bcaa5 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_01.png differ diff --git a/edje/wearable/images/style/tw_loading_small_02.png b/edje/wearable/images/style/tw_loading_small_02.png new file mode 100644 index 0000000..5077568 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_02.png differ diff --git a/edje/wearable/images/style/tw_loading_small_03.png b/edje/wearable/images/style/tw_loading_small_03.png new file mode 100644 index 0000000..3b3b087 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_03.png differ diff --git a/edje/wearable/images/style/tw_loading_small_04.png b/edje/wearable/images/style/tw_loading_small_04.png new file mode 100644 index 0000000..2a12143 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_04.png differ diff --git a/edje/wearable/images/style/tw_loading_small_05.png b/edje/wearable/images/style/tw_loading_small_05.png new file mode 100644 index 0000000..07a90c4 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_05.png differ diff --git a/edje/wearable/images/style/tw_loading_small_06.png b/edje/wearable/images/style/tw_loading_small_06.png new file mode 100644 index 0000000..810af15 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_06.png differ diff --git a/edje/wearable/images/style/tw_loading_small_07.png b/edje/wearable/images/style/tw_loading_small_07.png new file mode 100644 index 0000000..f6fb69b Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_07.png differ diff --git a/edje/wearable/images/style/tw_loading_small_08.png b/edje/wearable/images/style/tw_loading_small_08.png new file mode 100644 index 0000000..f79375e Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_08.png differ diff --git a/edje/wearable/images/style/tw_loading_small_09.png b/edje/wearable/images/style/tw_loading_small_09.png new file mode 100644 index 0000000..ce12908 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_09.png differ diff --git a/edje/wearable/images/style/tw_loading_small_10.png b/edje/wearable/images/style/tw_loading_small_10.png new file mode 100644 index 0000000..86c6c8a Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_10.png differ diff --git a/edje/wearable/images/style/tw_loading_small_11.png b/edje/wearable/images/style/tw_loading_small_11.png new file mode 100644 index 0000000..ebb0dd1 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_11.png differ diff --git a/edje/wearable/images/style/tw_loading_small_12.png b/edje/wearable/images/style/tw_loading_small_12.png new file mode 100644 index 0000000..74952d5 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_12.png differ diff --git a/edje/wearable/images/style/tw_loading_small_13.png b/edje/wearable/images/style/tw_loading_small_13.png new file mode 100644 index 0000000..5daf9c2 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_13.png differ diff --git a/edje/wearable/images/style/tw_loading_small_14.png b/edje/wearable/images/style/tw_loading_small_14.png new file mode 100644 index 0000000..f04d96d Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_14.png differ diff --git a/edje/wearable/images/style/tw_loading_small_15.png b/edje/wearable/images/style/tw_loading_small_15.png new file mode 100644 index 0000000..313ad9c Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_15.png differ diff --git a/edje/wearable/images/style/tw_loading_small_16.png b/edje/wearable/images/style/tw_loading_small_16.png new file mode 100644 index 0000000..e18da5b Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_16.png differ diff --git a/edje/wearable/images/style/tw_loading_small_17.png b/edje/wearable/images/style/tw_loading_small_17.png new file mode 100644 index 0000000..cc7cf19 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_17.png differ diff --git a/edje/wearable/images/style/tw_loading_small_18.png b/edje/wearable/images/style/tw_loading_small_18.png new file mode 100644 index 0000000..3abe74c Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_18.png differ diff --git a/edje/wearable/images/style/tw_loading_small_19.png b/edje/wearable/images/style/tw_loading_small_19.png new file mode 100644 index 0000000..b94b6e0 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_19.png differ diff --git a/edje/wearable/images/style/tw_loading_small_20.png b/edje/wearable/images/style/tw_loading_small_20.png new file mode 100644 index 0000000..3405721 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_20.png differ diff --git a/edje/wearable/images/style/tw_loading_small_21.png b/edje/wearable/images/style/tw_loading_small_21.png new file mode 100644 index 0000000..a229364 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_21.png differ diff --git a/edje/wearable/images/style/tw_loading_small_22.png b/edje/wearable/images/style/tw_loading_small_22.png new file mode 100644 index 0000000..00ee4cb Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_22.png differ diff --git a/edje/wearable/images/style/tw_loading_small_23.png b/edje/wearable/images/style/tw_loading_small_23.png new file mode 100644 index 0000000..6f054e1 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_23.png differ diff --git a/edje/wearable/images/style/tw_loading_small_24.png b/edje/wearable/images/style/tw_loading_small_24.png new file mode 100644 index 0000000..a8c2e7a Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_24.png differ diff --git a/edje/wearable/images/style/tw_loading_small_25.png b/edje/wearable/images/style/tw_loading_small_25.png new file mode 100644 index 0000000..e0b7ba0 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_25.png differ diff --git a/edje/wearable/images/style/tw_loading_small_26.png b/edje/wearable/images/style/tw_loading_small_26.png new file mode 100644 index 0000000..57a7299 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_26.png differ diff --git a/edje/wearable/images/style/tw_loading_small_27.png b/edje/wearable/images/style/tw_loading_small_27.png new file mode 100644 index 0000000..1eaaf7b Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_27.png differ diff --git a/edje/wearable/images/style/tw_loading_small_28.png b/edje/wearable/images/style/tw_loading_small_28.png new file mode 100644 index 0000000..f58f867 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_28.png differ diff --git a/edje/wearable/images/style/tw_loading_small_29.png b/edje/wearable/images/style/tw_loading_small_29.png new file mode 100644 index 0000000..51340a0 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_29.png differ diff --git a/edje/wearable/images/style/tw_loading_small_30.png b/edje/wearable/images/style/tw_loading_small_30.png new file mode 100644 index 0000000..3dc9414 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_30.png differ diff --git a/edje/wearable/images/style/tw_loading_small_31.png b/edje/wearable/images/style/tw_loading_small_31.png new file mode 100644 index 0000000..0338677 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_31.png differ diff --git a/edje/wearable/images/style/tw_loading_small_32.png b/edje/wearable/images/style/tw_loading_small_32.png new file mode 100644 index 0000000..32dfdb1 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_32.png differ diff --git a/edje/wearable/images/style/tw_loading_small_33.png b/edje/wearable/images/style/tw_loading_small_33.png new file mode 100644 index 0000000..c129b87 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_33.png differ diff --git a/edje/wearable/images/style/tw_loading_small_34.png b/edje/wearable/images/style/tw_loading_small_34.png new file mode 100644 index 0000000..3fbe76f Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_34.png differ diff --git a/edje/wearable/images/style/tw_loading_small_35.png b/edje/wearable/images/style/tw_loading_small_35.png new file mode 100644 index 0000000..d1132f8 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_35.png differ diff --git a/edje/wearable/images/style/tw_loading_small_36.png b/edje/wearable/images/style/tw_loading_small_36.png new file mode 100644 index 0000000..44d7f98 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_36.png differ diff --git a/edje/wearable/images/style/tw_loading_small_37.png b/edje/wearable/images/style/tw_loading_small_37.png new file mode 100644 index 0000000..6625cfa Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_37.png differ diff --git a/edje/wearable/images/style/tw_loading_small_38.png b/edje/wearable/images/style/tw_loading_small_38.png new file mode 100644 index 0000000..6252bd4 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_38.png differ diff --git a/edje/wearable/images/style/tw_loading_small_39.png b/edje/wearable/images/style/tw_loading_small_39.png new file mode 100644 index 0000000..fc37da8 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_39.png differ diff --git a/edje/wearable/images/style/tw_loading_small_40.png b/edje/wearable/images/style/tw_loading_small_40.png new file mode 100644 index 0000000..5cf9739 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_40.png differ diff --git a/edje/wearable/images/style/tw_loading_small_41.png b/edje/wearable/images/style/tw_loading_small_41.png new file mode 100644 index 0000000..0140159 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_41.png differ diff --git a/edje/wearable/images/style/tw_loading_small_42.png b/edje/wearable/images/style/tw_loading_small_42.png new file mode 100644 index 0000000..251bb71 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_42.png differ diff --git a/edje/wearable/images/style/tw_loading_small_43.png b/edje/wearable/images/style/tw_loading_small_43.png new file mode 100644 index 0000000..cd21efc Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_43.png differ diff --git a/edje/wearable/images/style/tw_loading_small_44.png b/edje/wearable/images/style/tw_loading_small_44.png new file mode 100644 index 0000000..532e010 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_44.png differ diff --git a/edje/wearable/images/style/tw_loading_small_45.png b/edje/wearable/images/style/tw_loading_small_45.png new file mode 100644 index 0000000..b16702b Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_45.png differ diff --git a/edje/wearable/images/style/tw_loading_small_46.png b/edje/wearable/images/style/tw_loading_small_46.png new file mode 100644 index 0000000..ced25a7 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_46.png differ diff --git a/edje/wearable/images/style/tw_loading_small_47.png b/edje/wearable/images/style/tw_loading_small_47.png new file mode 100644 index 0000000..2fb1f50 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_47.png differ diff --git a/edje/wearable/images/style/tw_loading_small_48.png b/edje/wearable/images/style/tw_loading_small_48.png new file mode 100644 index 0000000..b867102 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_48.png differ diff --git a/edje/wearable/images/style/tw_loading_small_49.png b/edje/wearable/images/style/tw_loading_small_49.png new file mode 100644 index 0000000..28993f6 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_49.png differ diff --git a/edje/wearable/images/style/tw_loading_small_50.png b/edje/wearable/images/style/tw_loading_small_50.png new file mode 100644 index 0000000..2fd13fe Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_50.png differ diff --git a/edje/wearable/images/style/tw_loading_small_51.png b/edje/wearable/images/style/tw_loading_small_51.png new file mode 100644 index 0000000..88eca9b Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_51.png differ diff --git a/edje/wearable/images/style/tw_loading_small_52.png b/edje/wearable/images/style/tw_loading_small_52.png new file mode 100644 index 0000000..7e6440a Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_52.png differ diff --git a/edje/wearable/images/style/tw_loading_small_53.png b/edje/wearable/images/style/tw_loading_small_53.png new file mode 100644 index 0000000..2cc22cd Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_53.png differ diff --git a/edje/wearable/images/style/tw_loading_small_54.png b/edje/wearable/images/style/tw_loading_small_54.png new file mode 100644 index 0000000..cba627b Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_54.png differ diff --git a/edje/wearable/images/style/tw_loading_small_55.png b/edje/wearable/images/style/tw_loading_small_55.png new file mode 100644 index 0000000..f97fd69 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_55.png differ diff --git a/edje/wearable/images/style/tw_loading_small_56.png b/edje/wearable/images/style/tw_loading_small_56.png new file mode 100644 index 0000000..48f2b39 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_56.png differ diff --git a/edje/wearable/images/style/tw_loading_small_57.png b/edje/wearable/images/style/tw_loading_small_57.png new file mode 100644 index 0000000..6fa98f6 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_57.png differ diff --git a/edje/wearable/images/style/tw_loading_small_58.png b/edje/wearable/images/style/tw_loading_small_58.png new file mode 100644 index 0000000..409121c Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_58.png differ diff --git a/edje/wearable/images/style/tw_loading_small_59.png b/edje/wearable/images/style/tw_loading_small_59.png new file mode 100644 index 0000000..b09a5aa Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_59.png differ diff --git a/edje/wearable/images/style/tw_loading_small_60.png b/edje/wearable/images/style/tw_loading_small_60.png new file mode 100644 index 0000000..cb56a1f Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_60.png differ diff --git a/edje/wearable/images/style/tw_loading_small_61.png b/edje/wearable/images/style/tw_loading_small_61.png new file mode 100644 index 0000000..8f11a06 Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_61.png differ diff --git a/edje/wearable/images/style/tw_loading_small_62.png b/edje/wearable/images/style/tw_loading_small_62.png new file mode 100644 index 0000000..a00b0de Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_62.png differ diff --git a/edje/wearable/images/style/tw_loading_small_63.png b/edje/wearable/images/style/tw_loading_small_63.png new file mode 100644 index 0000000..e57c19a Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_63.png differ diff --git a/edje/wearable/images/style/tw_loading_small_64.png b/edje/wearable/images/style/tw_loading_small_64.png new file mode 100644 index 0000000..b9643ce Binary files /dev/null and b/edje/wearable/images/style/tw_loading_small_64.png differ diff --git a/edje/wearable/images/text_downdrop.#.png b/edje/wearable/images/text_downdrop.#.png new file mode 100644 index 0000000..fc3c6a1 Binary files /dev/null and b/edje/wearable/images/text_downdrop.#.png differ diff --git a/edje/wearable/images/text_downdrop_press.#.png b/edje/wearable/images/text_downdrop_press.#.png new file mode 100644 index 0000000..3511acd Binary files /dev/null and b/edje/wearable/images/text_downdrop_press.#.png differ diff --git a/edje/wearable/images/tw_bottom_btn_bg.png b/edje/wearable/images/tw_bottom_btn_bg.png new file mode 100644 index 0000000..d924082 Binary files /dev/null and b/edje/wearable/images/tw_bottom_btn_bg.png differ diff --git a/edje/wearable/images/w_mode_ic_bg.png b/edje/wearable/images/w_mode_ic_bg.png new file mode 100644 index 0000000..c00ae52 Binary files /dev/null and b/edje/wearable/images/w_mode_ic_bg.png differ diff --git a/edje/wearable/images/w_sip_mask_bg.png b/edje/wearable/images/w_sip_mask_bg.png new file mode 100644 index 0000000..f031fae Binary files /dev/null and b/edje/wearable/images/w_sip_mask_bg.png differ diff --git a/edje/wearable/images/wi_drawing_bg.png b/edje/wearable/images/wi_drawing_bg.png new file mode 100644 index 0000000..24cdc20 Binary files /dev/null and b/edje/wearable/images/wi_drawing_bg.png differ diff --git a/inc/w-input-selector.h b/inc/w-input-selector.h index c42c398..9c3d323 100755 --- a/inc/w-input-selector.h +++ b/inc/w-input-selector.h @@ -27,8 +27,12 @@ #define _(str) gettext(str) -#define APP_EDJ_FILE "edje/w-input-selector.edj" -#define STT_EDJ_FILE "edje/w-input-stt.edj" +#define APP_EDJ_FILE_WEARABLE "edje/wearable/w-input-selector.edj" +#define STT_EDJ_FILE_WEARABLE "edje/wearable/w-input-stt.edj" + +#define APP_EDJ_FILE_MOBILE "edje/mobile/w-input-selector.edj" +#define STT_EDJ_FILE_MOBILE "edje/mobile/w-input-stt.edj" + #define LOCALEDIR "/usr/apps/org.tizen.inputdelegator/res/locale" #define RESOURCEDIR "/usr/apps/org.tizen.inputdelegator/res/" diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index 80c68c5..b7033df 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -3,8 +3,8 @@ # This cannot be built for non-wearable in conventional 3.0 build environment. # Note that it is not a good idea to limit building with ExcludeArch because there are new architectures being tested. # Use ExclusiveArch istead. -%if "%{?profile}" == "mobile" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "common" -ExclusiveArch: none +%if "%{?profile}" == "mobile" || "%{?profile}" == "ivi" || "%{?profile}" == "common" +#ExclusiveArch: none %endif Name: org.tizen.inputdelegator @@ -40,65 +40,521 @@ BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(db-util) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(capi-media-audio-io) -BuildRequires: pkgconfig(smartreply) BuildRequires: pkgconfig(capi-system-info) %if %{enable_log_manager} BuildRequires: pkgconfig(bundle) %endif -%define _appdir /usr/apps -%define _app_destdir %{_appdir}/%{name} - -# Sandboxed prefix '/' -%define _app_prefix / -%define _app_localedir %{_app_prefix}res/locale +Requires: %{name}-compat = %{version}-%{release} +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" +Recommends: %{name}-profile_common = %{version}-%{release} +%endif %description Input Delegator Application for Wearable environment +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" +%package profile_common +Summary: Inputdelegator binaries and resources without flavors +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_tv +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_ivi +%description profile_common +Inputdelegator binaries and resources without flavors, intended +to support common profiles, which does not supply any additional options +for the build. +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "tv" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" +%package profile_mobile +Summary: Inputdelegator binaries and resources with mobile profile +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_common +Conflicts: %{name}-profile_tv +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_ivi +%description profile_mobile +Inputdelegator binaries and resources with mobile options. +This is intended to support mobile profiles. +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" +%package profile_tv +Summary: Inputdelegator binaries and resources with tv profile +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_common +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_ivi +%description profile_tv +Inputdelegator binaries and resources with tv options. +This is intended to support tv profiles. +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" +%package profile_ivi +Summary: Inputdelegator binaries and resources with ivi profile +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_common +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_wearable +Conflicts: %{name}-profile_tv +%description profile_ivi +Inputdelegator) binaries and resources with ivi options. +This is intended to support ivi profiles. +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +# Common is blocked because wearable has extra efl-ext entries, which will be +# removed for unified build env later. +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "ivi" +%package profile_wearable +Summary: Meta package of Inputdelegator for wearable profiles. (circle/rectangle) +Provides: %{name}-compat = %{version}-%{release} +Conflicts: %{name}-profile_common +Conflicts: %{name}-profile_mobile +Conflicts: %{name}-profile_tv +Conflicts: %{name}-profile_ivi +Requires: %{name}-profile_wearable-extension = %{version}-%{release} +Recommends: %{name}-profile_wearable-extension-circle = %{version}-%{release} +%description profile_wearable +Meta package of Inputdelegator binaries and resources with +wearable options. + +%package profile_wearable-extension-circle +Summary: Inputdelegator binaries and resources with wearable profile (circle) +Provides: %{name}-profile_wearable-extension = %{version}-%{release} +Conflicts: %{name}-profile_wearable-extension-rectangle +%description profile_wearable-extension-circle +Inputdelegator binaries and resources with wearable options. +This is intended to support wearable profiles with circle display. + +%package profile_wearable-extension-rectangle +Summary: Inputdelegator binaries and resources with wearable profile (rectangle) +Provides: %{name}-profile_wearable-extension = %{version}-%{release} +Conflicts: %{name}-profile_wearable-extension-circle +%description profile_wearable-extension-rectangle +Inputdelegator binaries and resources with wearable options. +This is intended to support wearable profiles with rectangle display. +%endif + %prep %setup -q %build -export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror -fvisibility=hidden" -export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror -fvisibility=hidden -fvisibility-inlines-hidden" -export FFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror" +export CFLAGS_BASE="${CFLGAS} -DTIZEN_DEBUG_ENABLE -fvisibility=hidden" +export CXXFLAGS_BASE="${CXXFLAGS} -DTIZEN_DEBUG_ENABLE -std=c++11 -fvisibility-inlines-hidden" +export FFLAGS+=" -DTIZEN_DEBUG_ENABLE" + +rm -rf CMakeFiles +rm -rf CMakeCache.txt + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +# Common is blocked because wearable has extra efl-ext entries, which will be +# removed for unified build env later. +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "ivi" +mkdir -p build_wearable_rec +pushd build_wearable_rec +export CFLAGS="${CFLAGS_BASE} -D_WEARABLE"; +export CXXFLAGS="${CXXFLAGS_BASE} -D_WEARABLE"; +%cmake .. -DTARGET=wearable \ + -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \ + -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES -export CXXFLAGS="$CXXFLAGS -std=gnu++0x" +make %{?jobs:-j%jobs} +popd +mkdir -p build_wearable_cir +pushd build_wearable_cir +export CFLAGS="${CFLAGS_BASE} -D_WEARABLE -D_CIRCLE"; +export CXXFLAGS="${CXXFLAGS_BASE} -D_WEARABLE -D_CIRCLE"; +%cmake .. -DTARGET=wearable \ + -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \ + -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES -cmake . -DCMAKE_INSTALL_PREFIX=%{_app_prefix} \ - -DCMAKE_INSTALL_LOCALEDIR=%{_app_localedir} \ - -DENABLE_LOG_MANAGER=%{enable_log_manager} +make %{?jobs:-j%jobs} +popd +%endif + + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "tv" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +mkdir -p build_mobile +pushd build_mobile +export CFLAGS="${CFLAGS_BASE} -D_MOBILE"; +export CXXFLAGS="${CXXFLAGS_BASE} -D_MOBILE"; +%cmake .. -DTARGET=mobile \ + -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \ + -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \ + -Dwith_cbhm=TRUE + +make %{?jobs:-j%jobs} +popd +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +mkdir -p build_tv +pushd build_tv +export CFLAGS="${CFLAGS_BASE} -D_TV"; +export CXXFLAGS="${CXXFLAGS_BASE} -D_TV"; +%cmake .. -DTARGET=tv \ + -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \ + -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES + +make %{?jobs:-j%jobs} +popd +%endif -# compile warning & error filtering -make %{?jobs:-j%jobs} \ - 2>&1 | sed \ - -e 's%^.*: error: .*$%\x1b[1;31;40m&\x1b[m%' \ - -e 's%^.*: warning: .*$%\x1b[1;33;40m&\x1b[m%' +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" +mkdir -p build_ivi +pushd build_ivi +export CFLAGS="${CFLAGS_BASE} -D_IVI"; +export CXXFLAGS="${CXXFLAGS_BASE} -D_IVI"; +%cmake .. -DTARGET=ivi \ + -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \ + -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES + +make %{?jobs:-j%jobs} +popd +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" +export CFLAGS="${CFLAGS_BASE}"; +export CXXFLAGS="${CXXFLAGS_BASE}"; +%cmake . -DTARGET=common \ + -DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \ + -DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES + +make %{?jobs:-j%jobs} +%endif %install rm -rf %{buildroot} -make install DESTDIR=%{buildroot}%{_app_destdir} -mkdir -p %{buildroot}%{_datadir}/packages/ -cp -rf org.tizen.inputdelegator.xml %{buildroot}%{_datadir}/packages -%post -#nothing -/usr/bin/vconftool -u 5000 set -t int db/private/ise/stt/language "0" -f -s tizen::vconf::platform::rw -%files -%manifest org.tizen.inputdelegator.manifest +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" +%make_install +mkdir -p %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/common +pushd %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ +mv bin common/ +mkdir -p common/res +pushd res +for FILE in *; do if [[ $FILE =~ ^locale$ ]]; then echo skip commonly used "${FILE}"; else mv "${FILE}" ../common/res/; fi; done +popd +popd +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +pushd build_mobile +%make_install +popd +mkdir -p %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/mobile +pushd %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ +mv bin mobile/ +mkdir -p mobile/res +pushd res +for FILE in *; do if [[ $FILE =~ ^locale$ ]]; then echo skip commonly used "${FILE}"; else mv "${FILE}" ../mobile/res/; fi; done +popd +popd +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +pushd build_tv +%make_install +popd +mkdir -p %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/tv +pushd %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ +mv bin tv/ +mkdir -p tv/res +pushd res +for FILE in *; do if [[ $FILE =~ ^locale$ ]]; then echo skip commonly used "${FILE}"; else mv "${FILE}" ../tv/res/; fi; done +popd +popd +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" +pushd build_ivi +%make_install +popd +mkdir -p %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ivi +pushd %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ +mv bin ivi/ +mkdir -p ivi/res +pushd res +for FILE in *; do if [[ $FILE =~ ^locale$ ]]; then echo skip commonly used "${FILE}"; else mv "${FILE}" ../ivi/res/; fi; done +popd +popd +%endif + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +# Common is blocked because wearable has extra efl-ext entries, which will be +# removed for unified build env later. +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "ivi" +pushd build_wearable_cir +%make_install +popd +mkdir -p %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-circle +pushd %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ +mv bin wearable-circle/ +mkdir -p wearable-circle/res +pushd res +for FILE in *; do if [[ $FILE =~ ^locale$ ]]; then echo skip commonly used "${FILE}"; else mv "${FILE}" ../wearable-circle/res/; fi; done +popd +popd + +pushd build_wearable_rec +%make_install +popd +mkdir -p %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-rectangle +pushd %{buildroot}%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ +mv bin wearable-rectangle/ +mkdir -p wearable-rectangle/res +pushd res +for FILE in *; do if [[ $FILE =~ ^locale$ ]]; then echo skip commonly used "${FILE}"; else mv "${FILE}" ../wearable-rectangle/res/; fi; done +popd +popd +%endif + +%find_lang inputdelegator + +%files -f inputdelegator.lang +%manifest %{name}.manifest %defattr(-,root,root,-) +%{TZ_SYS_RO_PACKAGES}/%{name}.xml %license LICENSE -%{_datadir}/packages/org.tizen.inputdelegator.xml -%{_app_destdir}%{_app_prefix}/bin/inputdelegator -%{_app_destdir}%{_app_prefix}/res/edje/w-input-selector.edj -%{_app_destdir}%{_app_prefix}/res/edje/w-input-stt.edj -%{_app_destdir}%{_app_prefix}/res/edje/w-input-stt-button.edj -%{_app_destdir}%{_app_prefix}/res/images/* -%{_app_destdir}%{_app_prefix}/shared/res/w-input-selector.png -%{_app_destdir}%{_app_localedir}/*/LC_MESSAGES/org.tizen.inputdelegator.mo + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" +%post profile_common +pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/common/ +mkdir -p ../res +mkdir -p ../bin +# If we are upgrading this package, remove existing files before copying (1:install / 2:upgrade) +if [ "$1" = "2" ]; then + rm -Rf ../bin/* + pushd ../res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd +fi +for FILE in bin/*; do ln -sf "../common/${FILE}" ../bin; done +for FILE in res/*; do ln -sf "../common/${FILE}" ../res; done +popd +%preun profile_common +# Perform file removal only when uninstalling (0:uninstall / 1:upgrade) +if [ "$1" = "0" ]; then + pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator + rm -Rf bin + pushd res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd + popd +fi +%files profile_common +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/common/* +%endif + + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%post profile_mobile +pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/mobile/ +mkdir -p ../res +mkdir -p ../bin +# If we are upgrading this package, remove existing files before copying (1:install / 2:upgrade) +if [ "$1" = "2" ]; then + rm -Rf ../bin/* + pushd ../res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd +fi +for FILE in bin/*; do ln -sf "../mobile/${FILE}" ../bin; done +for FILE in res/*; do ln -sf "../mobile/${FILE}" ../res; done +popd +%preun profile_mobile +# Perform file removal only when uninstalling (0:uninstall / 1:upgrade) +if [ "$1" = "0" ]; then + pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator + rm -Rf bin + pushd res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd + popd +fi +%files profile_mobile +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/mobile/* +%endif + + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "ivi" && "%{?profile}" != "common" +%post profile_tv +pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/tv/ +mkdir -p ../res +mkdir -p ../bin +# If we are upgrading this package, remove existing files before copying (1:install / 2:upgrade) +if [ "$1" = "2" ]; then + rm -Rf ../bin/* + pushd ../res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd +fi +for FILE in bin/*; do ln -sf "../tv/${FILE}" ../bin; done +for FILE in res/*; do ln -sf "../tv/${FILE}" ../res; done +popd +%preun profile_tv +# Perform file removal only when uninstalling (0:uninstall / 1:upgrade) +if [ "$1" = "0" ]; then + pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator + rm -Rf bin + pushd res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd + popd +fi +%files profile_tv +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/tv/* +%endif + + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +%if "%{?profile}" != "mobile" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" +%post profile_ivi +pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ivi/ +mkdir -p ../res +mkdir -p ../bin +# If we are upgrading this package, remove existing files before copying (1:install / 2:upgrade) +if [ "$1" = "2" ]; then + rm -Rf ../bin/* + pushd ../res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd +fi +for FILE in bin/*; do ln -sf "../ivi/${FILE}" ../bin; done +for FILE in res/*; do ln -sf "../ivi/${FILE}" ../res; done +popd +%preun profile_ivi +# Perform file removal only when uninstalling (0:uninstall / 1:upgrade) +if [ "$1" = "0" ]; then + pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator + rm -Rf bin + pushd res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd + popd +fi +%files profile_ivi +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/ivi/* +%endif + + +# This is for old profile-based OBS project optimizations. +# In 4.0 unified build env, this if statement is always true. +# Common is blocked because wearable has extra efl-ext entries, which will be +# removed for unified build env later. +%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "ivi" +%files profile_wearable + +%post profile_wearable-extension-circle +pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-circle/ +mkdir -p ../res +mkdir -p ../bin +# If we are upgrading this package, remove existing files before copying (1:install / 2:upgrade) +if [ "$1" = "2" ]; then + rm -Rf ../bin/* + pushd ../res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd +fi +for FILE in bin/*; do ln -sf "../wearable-circle/${FILE}" ../bin; done +for FILE in res/*; do ln -sf "../wearable-circle/${FILE}" ../res; done +popd +%preun profile_wearable-extension-circle +# Perform file removal only when uninstalling (0:uninstall / 1:upgrade) +if [ "$1" = "0" ]; then + pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator + rm -Rf bin + pushd res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd + popd +fi +%files profile_wearable-extension-circle +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-circle/* + + +%post profile_wearable-extension-rectangle +pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-rectangle/ +mkdir -p ../res +mkdir -p ../bin +# If we are upgrading this package, remove existing files before copying (1:install / 2:upgrade) +if [ "$1" = "2" ]; then + rm -Rf ../bin/* + pushd ../res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd +fi +for FILE in bin/*; do ln -sf "../wearable-rectangle/${FILE}" ../bin; done +for FILE in res/*; do ln -sf "../wearable-rectangle/${FILE}" ../res; done +popd +%preun profile_wearable-extension-rectangle +# Perform file removal only when uninstalling (0:uninstall / 1:upgrade) +if [ "$1" = "0" ]; then + pushd %{TZ_SYS_RO_APP}/org.tizen.inputdelegator + rm -Rf bin + pushd res + for FILE in *; do if [[ $FILE =~ locale$ ]]; then echo skip "${FILE}"; else rm -Rf "${FILE}"; fi; done + popd + popd +fi +%files profile_wearable-extension-rectangle +%manifest %{name}.manifest +%defattr(-,root,root,-) +%{TZ_SYS_RO_APP}/org.tizen.inputdelegator/wearable-rectangle/* +%endif diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 4f13922..50aa14d 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -88,7 +88,7 @@ FIND_PROGRAM(MSGFMT msgfmt) FOREACH(POFILE ${POFILES}) GET_FILENAME_COMPONENT(LANG ${POFILE} NAME_WE) -SET(MOFILE ${LANG}.mo) +SET(MOFILE ${CMAKE_CURRENT_BINARY_DIR}/${LANG}.mo) SET(MOFILES ${MOFILES} ${MOFILE}) ADD_CUSTOM_COMMAND( @@ -98,7 +98,7 @@ SET(MOFILES ${MOFILES} ${MOFILE}) COMMENT "Generating: ${MOFILE}") INSTALL(FILES ${MOFILE} - DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${LANG}/LC_MESSAGES + DESTINATION ${INPUTDELEGATOR_RESDIR}/locale/${LANG}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) ENDFOREACH(POFILE) diff --git a/res/edje/w-input-selector.edc b/res/edje/w-input-selector.edc deleted file mode 100755 index c00e082..0000000 --- a/res/edje/w-input-selector.edc +++ /dev/null @@ -1,808 +0,0 @@ -#define FONT_NAME "GP45_ArabCJK_TouchWiz" - -#define BTN_W 120 -#define BTN_H 120 -#define BTN_PAD_W 1 -#define BTN_PAD_H 1 - -collections { - base_scale: 1.3; - group { name: "main"; - parts { - part { name: "background"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 255; - } - } - - part { name: "txt_title"; - type: TEXT; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: background; } - rel2 { relative: 1.0 0.35; to: background; } - text { font: FONT_NAME; size: 35; } - color: 0 140 239 255; - fixed: 1 1; - } - } - - part { name: "btn1"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: background; } - rel2 { relative: 1.0 1.0; to: background; } - min: BTN_W BTN_H; - max: BTN_W BTN_H; - align: 0 0.5; - fixed: 1 1; - } - } - - part { name: "padding"; - type: SPACER; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to_x: "btn1"; - relative: 1.0 0.0; - } - rel2 { - to_y: "btn1"; - relative: 1.0 1.0; - } - align: 0.0 1.0; - min: BTN_PAD_W BTN_H; - max: BTN_PAD_W BTN_H; - fixed: 1 1; - } - } - - part { name: "btn2"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "padding"; - relative: 1.0 0.0; - } - rel2 { - to_y: "padding"; - relative: 1.0 1.0; - } - align: 0.0 1.0; - min: (BTN_W - BTN_PAD_W) BTN_H; - max: (BTN_W - BTN_PAD_W) BTN_H; - fixed: 1 1; - } - } - part { name: "padding2"; - type: SPACER; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - rel1 { - to_x: "btn2"; - relative: 1.0 0.0; - } - rel2 { - to_y: "btn2"; - relative: 1.0 1.0; - } - align: 0.0 1.0; - min: BTN_PAD_W BTN_H; - max: BTN_PAD_W BTN_H; - fixed: 1 1; - } - } - - part { name: "btn3"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { - to_x: "padding2"; - relative: 1.0 0.0; - } - rel2 { - to_y: "padding2"; - relative: 1.0 1.0; - } - align: 0.0 1.0; - min: (BTN_W - BTN_PAD_W) BTN_H; - max: (BTN_W - BTN_PAD_W) BTN_H; - fixed: 1 1; - } - } - - part { name: "template_list"; - type: SWALLOW; - scale: 1; - description { state: "default" 0.0; - rel1 { relative: 0.0 0.0; to: background; } - rel2 { relative: 1.0 1.0; to: background; } - align: 0.0 0.0; - } - } - } - } - -#define LIST_BUTTON_PADDING_LEFT_SIZE_INC 0 -#define LIST_BUTTON_PADDING_RIGHT_SIZE_INC 0 -#define LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC 1 -#define LIST_BUTTON_PADDING_BOTTOM_SIZE_INC 1 -#define BUTTON_2BUTTON_WIDTH_INC 180 -#define BUTTON_2BUTTON_RIGHT_WIDTH_INC 179 -#define LIST_BUTTON_PADDING_CENTER_SIZE_INC 1 - -#define PART(TYPE, NAME, DESCRIPION) \ - part { name: NAME; \ - scale: 1; \ - type: TYPE; \ - DESCRIPION \ - } - -#define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \ - description { state: "default" 0.0; \ - align: 0 0.5; \ - rel1 { \ - relative: 1 1; \ - to_x: LEFT; \ - to_y: TOP; \ - } \ - rel2 { \ - relative: 1 0; \ - to_x: LEFT; \ - to_y: BOTTOM; \ - } \ - PARAM \ - } - -#define DESC_TB( TOP, BOTTOM, PARAM ) \ - description { state: "default" 0.0; \ - align: 0.5 0.5; \ - rel1 { \ - relative: 0 1; \ - to_y: TOP; \ - } \ - rel2 { \ - relative: 1 0; \ - to_y: BOTTOM; \ - } \ - PARAM \ - } - -#define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ - description { state: "default" 0.0; \ - rel1 { \ - relative: 1 1; \ - to_x: LEFT; \ - to_y: TOP; \ - } \ - rel2 { \ - relative: 0 0; \ - to_x: RIGHT; \ - to_y: BOTTOM; \ - } \ - PARAM \ - } - -#define DESC_FROM_L( PARAM ) \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - align: 0.0 0.5; \ - rel2.relative: 0.0 1.0; \ - PARAM \ - } - -#define DESC_FROM_R( PARAM ) \ - description { state: "default" 0.0; \ - fixed: 1 0; \ - align: 1.0 0.5; \ - rel1.relative: 1 0; \ - PARAM \ - } - -#define DESC_FROM_T( PARAM ) \ - description { state: "default" 0.0; \ - fixed: 0 1; \ - align: 0.5 0.0; \ - rel2.relative: 1.0 0.0; \ - PARAM \ - } - -#define DESC_FROM_B( PARAM ) \ - description { state: "default" 0.0; \ - fixed: 0 1; \ - rel1.relative: 0.0 1.0; \ - align: 0.5 1.0; \ - PARAM \ - } - -#define DESC_L( LEFT, PARAM ) \ - description { state: "default" 0.0; \ - align: 0 0.5; \ - fixed: 1 0; \ - rel1 { \ - relative: 1 0; \ - to_x: LEFT; \ - } \ - rel2 { \ - relative: 1 1; \ - to_x: LEFT; \ - } \ - PARAM \ - } - - - -#define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \ - PART(SWALLOW, "elm.swallow.pad", \ - mouse_events: 0; \ - DESC_FROM_L( ; ) \ - ) \ - PART(SWALLOW, "elm.swallow.colorbar", \ - mouse_events: 0; \ - DESC_L("elm.swallow.pad", ) \ - ) \ - PART(SPACER, "elm.padding.left", \ - scale: 0; \ - DESC_L("elm.swallow.pad", \ - min: LEFT_SIZE 0; \ - max: LEFT_SIZE -1; \ - ) \ - ) \ - PART(SPACER, "elm.padding.right", \ - scale: 0; \ - DESC_FROM_R( \ - min: RIGHT_SIZE 0; \ - max: RIGHT_SIZE -1; \ - ) \ - ) \ - PART(SPACER, "elm.padding.top", \ - scale: 0; \ - DESC_FROM_T( \ - min: 0 TOP_SIZE; \ - max: -1 TOP_SIZE; \ - ) \ - ) \ - PART(SPACER, "elm.padding.bottom", \ - scale: 0; \ - DESC_FROM_B( \ - min: 0 BOTTOM_SIZE; \ - max: -1 BOTTOM_SIZE; \ - ) \ - ) - -#define PROGRAM_LIST_DEFAULT( TARGET ) \ - program { name: "default"; \ - signal: "elm,state,default"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define PROGRAM_LIST_DISABLE( TARGET ) \ - program { name: "enabled"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } \ - program { name: "disabled"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - TARGET \ - } - -#define PROGRAM_LIST_SELECT( TARGET ) \ - program { name: "selected"; \ - signal: "elm,state,selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - TARGET \ - } \ - program { name: "unselected"; \ - signal: "elm,state,unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - } - -#define PROGRAM_LIST_HIGHLIGHT( TARGET ) \ - program { name: "highlighted"; \ - signal: "elm,state,highlighted"; \ - source: "elm"; \ - action: STATE_SET "highlighted" 0.0; \ - TARGET \ - transition: LINEAR 1.0; \ - } \ - program { name: "unhighlighted"; \ - signal: "elm,state,unhighlighted"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - TARGET \ - transition: LINEAR 1.0; \ - } - -#define PROGRAMS_LIST_BUTTON( TARGET ) \ - programs { \ - PROGRAM_LIST_DEFAULT( TARGET \ - target: "elm.padding.left"; \ - target: "elm.padding.right"; \ - ) \ - PROGRAM_LIST_DISABLE( TARGET \ - ) \ - PROGRAM_LIST_SELECT( TARGET \ - ) \ - PROGRAM_LIST_HIGHLIGHT( TARGET ) \ - PROGRAM_LIST_SOUND \ - } - -#define PROGRAM_LIST_SOUND \ - program { name: "play_sound"; \ - signal: "elm,state,clicked"; \ - source: "elm"; \ - script { \ - run_program(PROGRAM:"play_sample"); \ - } \ - } \ - program { \ - name: "play_sample"; \ - action: RUN_PLUGIN "touch_sound"; \ - } - - -#define BUTTON_HEIGHT_INC 122 - -#define PART_LIST_BG \ - PART(RECT, "bg", \ - description { state: "default" 0.0; \ - color: 0 0 0 0; \ - visible: 1; \ - } \ - ) - - - -// 3 button - group { - name: "elm/genlist/item/3button_flat/default"; - alias: "elm/genlist/item/3button_flat_recent/default"; - data.item: "treesize" 0; - data.item: "flips" "elm.flip.icon elm.flip.content"; - data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area"; - data.item: "vi_effect" "on"; - data.item: "dim" "off"; - data.item: "focus_bg" "off"; - - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, - LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC - ) - - PART(SWALLOW, "base", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 360 0; - fixed: 1 0; - visible: 1; - ) - ) - - part { - name: "elm.icon.1"; // left icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 100 100; - max: 100 100; - rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} - } - } - part { - name: "elm.icon.1.touch_area"; // left icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 120 120; - max: 120 120; - rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} - } - } - - part { - name: "elm.icon.2"; // center icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 100 100; - max: 100 100; - rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} - } - - } - part { - name: "elm.icon.2.touch_area"; // center icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 120 120; - max: 120 120; - rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} - } - - } - - - part { - name: "elm.icon.3"; // right icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 100 100; - max: 100 100; - rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} - } - } - part { - name: "elm.icon.3.touch_area"; // right icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 120 120; - max: 120 120; - rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} - } - } - - } - } - -//2button - group { - name: "elm/genlist/item/2button_flat/default"; - data.item: "treesize" 0; - data.item: "flips" "elm.flip.icon elm.flip.content"; - data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.1.touch_area elm.icon.2.touch_area"; - data.item: "vi_effect" "on"; - data.item: "dim" "off"; - data.item: "focus_bg" "off"; - - - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, - LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC - ) - - PART(SWALLOW, "base", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 360 0; - fixed: 1 0; - visible: 1; - ) - ) - - part { - name: "elm.icon.1"; // left icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 100 100; - max: 100 100; - rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} - } - } - part { - name: "elm.icon.1.touch_area"; // left icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 120 120; - max: 120 120; - rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} - } - } - - part { - name: "elm.icon.2"; // center icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 100 100; - max: 100 100; - rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} - } - - } - part { - name: "elm.icon.2.touch_area"; // center icon - type: SWALLOW; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - min: 120 120; - max: 120 120; - rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} - rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} - } - - } - } - } - - group { name: "elm/button/base/ime/transparent"; - parts { - part { - name: "bg"; - type: RECT; - scale: 1; - description { - state: "default" 0.0; - min: 0 130; - color_class: "AO015"; - visible: 0; - } - description { - state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO015P"; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "AO015D"; - } - } - part { - name: "padding_left_top"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: 0 0; - fixed: 1 1; - } - } - part { - name: "padding_right_bottom"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: 0 0; - fixed: 1 1; - } - } - part { - name: "icon_rect"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - min: 0 0; - fixed: 1 1; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - min: 134 61; - max: 134 61; - fixed: 1 1; - } - } - } - } - - group { - name: "elm/genlist/item/2button/default"; - data.item: "treesize" 0; - data.item: "flips" "elm.flip.icon elm.flip.content"; - data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.1 elm.icon.2 elm.swallow.center_check"; - data.item: "vi_effect" "off"; - parts { - PART_LIST_BG - PART_LIST_PADDINGS( - LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, - LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC - ) - PART(SWALLOW, "base", - DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", - min: 360 0; - fixed: 1 0; - visible: 1; - ) - ) - part { name: "elm.icon.1.touch_area"; - type: SWALLOW; - repeat_events, 0; - description { - state: "default" 0.0; - color: 255 0 0 100; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;} - rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;} - } - description { - state: "default" 0.1; - inherit: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;} - rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;} - } - description { - state: "default" 0.9; - inherit: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;} - rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;} - } - } - part { name: "elm.icon.2.touch_area"; - type: SWALLOW; - repeat_events, 0; - description { - state: "default" 0.0; - color: 0 0 255 100; - visible: 1; - align: 0.5 0.5; - fixed: 1 1; - rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -6 -5;} - rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +6 +5;} - } - description { - state: "default" 0.1; - inherit: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;} - rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;} - } - description { - state: "default" 0.9; - inherit: "default" 0.0; - rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -9 -8;} - rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +9 +8;} - } - } - part { name: "elm.icon.1"; - type: SWALLOW; - repeat_events, 1; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0; - fixed: 1 1; - min: 114 114; - max: 114 114; - rel1 { relative: 112/360 0; to: "base"; offset: 0 35;} - rel2 { relative: 112/360 0; to: "base"; offset: 0 35;} - } - description { - state: "default" 0.1; - inherit: "default" 0.0; - min: 114+(198-114)/2 114+(198-114)/2; - max: 114+(198-114)/2 114+(198-114)/2; - rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} - rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} - } - description { - state: "default" 0.9; - inherit: "default" 0.0; - min: 198 198; - max: 198 198; - rel1 { relative: 128/360 0; to: "base"; offset: 0 12;} - rel2 { relative: 128/360 0; to: "base"; offset: 0 12;} - } - } - part { name: "elm.icon.2"; - type: SWALLOW; - repeat_events, 1; - description { - state: "default" 0.0; - visible: 1; - align: 0.5 0; - fixed: 1 1; - min: 114 114; - max: 114 114; - rel1 { relative: 249/360 0; to: "base"; offset: 0 35;} - rel2 { relative: 249/360 0; to: "base"; offset: 0 35;} - } - description { - state: "default" 0.1; - inherit: "default" 0.0; - min: 114+(198-114)/2 114+(99-114)/2; - max: 114+(198-114)/2 114+(198-114)/2; - rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} - rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} - } - description { - state: "default" 0.9; - inherit: "default" 0.0; - min: 198 198; - max: 198 198; - rel1 { relative: 297/360 0; to: "base"; offset: 0 12;} - rel2 { relative: 297/360 0; to: "base"; offset: 0 12;} - } - } - - PART(SPACER, "elm.padding.fake", - DESC_TB("elm.padding.top","elm.padding.bottom", - min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; - max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; - fixed: 1 0; - ) - ) - PART(SPACER, "elm.padding.center", - DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom", - min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; - max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; - fixed: 1 0; - ) - ) - PART(SWALLOW, "elm.swallow.center_check", - description { state: "default" 0.0; - align: 0.5 0.5; - } - ) - } -} diff --git a/res/edje/w-input-stt-button.edc b/res/edje/w-input-stt-button.edc deleted file mode 100644 index c8865f4..0000000 --- a/res/edje/w-input-stt-button.edc +++ /dev/null @@ -1,288 +0,0 @@ -/* - * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#define NORMAL_BG_IMAGE "B09_voice_input_panel.png" - -#define PROGRESSING_DELAY 0.03 -#define PROGRESS_BG_DESC1( param_name, param_num ) \ -description \ -{ \ - state, "pulse" 0.#param_num; \ - inherit, "default" 0.0; \ - image.normal, "B09_"#param_name"_"#param_num".png"; \ -} - -#define LISTEN_BG_DESC( param_name, param_num ) \ -description \ -{ \ - state, "wave" 0.#param_num; \ - inherit, "default" 0.0; \ - image.normal, "B09_"#param_name"_"#param_num".png"; \ -} - -#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 112 112 -#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45 -#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45 -#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13 -#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14 - -#define BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC 0 2 -#define BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 -#define BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC 0 -2 -#define BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 - -#define BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC 0 0 0 255 -#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 -#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 21 22 25 255 - -#define BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC 250 250 250 255 -#define BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC 166 167 169 255 - - -/////////////////////////////////////////////////////////////////////////////////////// - - -//============================================================================ -//============================================================================ - -/** - * Resources - * - */ - -/** - * Macro - * - */ -#define BTN_IMAGE() \ -part \ -{ \ - name, "button_image"; \ - mouse_events, 1; \ - scale, 1; \ - description \ - { \ - state, "default" 0.0; \ - } \ - description \ - { \ - state, "clicked" 0.0; \ - inherit, "default" 0.0; \ - } \ - description \ - { \ - state, "disabled" 0.0; \ - inherit, "default" 0.0; \ - visible, 1; \ - } \ - description \ - { \ - state, "focused" 0.0; \ - inherit, "default" 0.0; \ - } \ -} - -#define OVER() \ -part \ -{ \ - name, "over2"; \ - type, RECT; \ - mouse_events, 1; \ - repeat_events, 1; \ - ignore_flags, ON_HOLD; \ - description \ - { \ - state, "default" 0.0; \ - color, 0 0 0 0; \ - } \ - description \ - { \ - state, "disabled" 0.0; \ - inherit, "default" 0.0; \ - visible, 0; \ - } \ -} \ -part \ -{ \ - name, "over3"; \ - type, RECT; \ - mouse_events, 1; \ - repeat_events, 1; \ - description \ - { \ - state, "default" 0.0; \ - color, 0 0 0 0; \ - } \ - description \ - { \ - state, "clicked" 0.0; \ - inherit, "default" 0.0; \ - visible, 1; \ - } \ -} - -#define DISABLER() \ -part \ -{ \ - name, "disabler"; \ - type, RECT; \ - description \ - { \ - state, "default" 0.0; \ - color, 255 255 255 0; \ - visible, 0; \ - } \ - description \ - { \ - state, "disabled" 0.0; \ - inherit, "default" 0.0; \ - visible, 1; \ - } \ -} - -#define PROG_FOCUS \ -program \ -{ \ - name, "focused"; \ - signal, "elm,action,focus"; \ - source, "elm"; \ - action, STATE_SET "focused" 0.0; \ - target, "button_image"; \ -} \ -program \ -{ \ - name, "unfocused"; \ - signal, "elm,action,unfocus"; \ - source, "elm"; \ - action, STATE_SET "default" 0.0; \ - target, "button_image"; \ -} - -#define PROG_ENABLE \ -program \ -{ \ - name: "disable"; \ - signal: "elm,state,disabled"; \ - source: "elm"; \ - action: STATE_SET "disabled" 0.0; \ - target: "button_image"; \ - target: "over2"; \ - target: "disabler"; \ -} \ -program \ -{ \ - name: "enable"; \ - signal: "elm,state,enabled"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "button_image"; \ - target: "over2"; \ - target: "disabler"; \ -} - -#define PROG_CLICK \ -program \ -{ \ - name: "button_click"; \ - signal: "mouse,down,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,press" ""; \ - after: "button_click_anim"; \ -} \ -program \ -{ \ - name: "button_click_anim"; \ - action: STATE_SET "clicked" 0.0; \ - target: "button_image"; \ -} \ -program \ -{ \ - name: "button_unclick"; \ - signal: "mouse,up,1"; \ - source: "over2"; \ - action: SIGNAL_EMIT "elm,action,unpress" ""; \ - after: "button_unclick_anim"; \ -} \ -program \ -{ \ - name: "button_unclick_anim"; \ - action: STATE_SET "default" 0.0; \ - target: "button_image"; \ -} \ -program \ -{ \ - name: "button_mouseout_clicked"; \ - signal: "mouse,out"; \ - source: "over2"; \ - script \ - { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"button_image", st, 30, vl); \ - if (!strcmp(st, "clicked")) \ - { \ - set_state(PART:"button_image", "visible", 0.0); \ - } \ - } \ -} \ -program \ -{ \ - name: "button_click2"; \ - signal: "mouse,down,1"; \ - source: "over3"; \ - action: STATE_SET "clicked" 0.0; \ - target: "over3"; \ - action: SIGNAL_EMIT "elm,action,click" ""; \ -} \ -program \ -{ \ - name: "button_unclick2"; \ - signal: "mouse,up,1"; \ - source: "over3"; \ - action: STATE_SET "default" 0.0; \ - target: "over3"; \ -} \ -program \ -{ \ - name: "button_unclick3"; \ - signal: "mouse,up,1"; \ - source: "over2"; \ -} - -#define VIC_BUTTON() \ -group \ -{ \ - name, "elm/button/base/vic/micbutton"; \ - parts \ - { \ - BTN_IMAGE() \ - OVER() \ - DISABLER() \ - } \ - programs \ - { \ - PROG_CLICK \ - PROG_ENABLE \ - PROG_FOCUS \ - } \ -} - -collections -{ - VIC_BUTTON() -} diff --git a/res/edje/w-input-stt.edc b/res/edje/w-input-stt.edc deleted file mode 100755 index 082731d..0000000 --- a/res/edje/w-input-stt.edc +++ /dev/null @@ -1,3507 +0,0 @@ -#include "w-input-stt-button.edc" - -#define VOICE_CANDIDATE_AREA_HEIGHT 56 -#define BUTTON_TEXT_SIZE_INC 85 - -collections -{ - base_scale: 1.3; - - plugins { - plugin { - name: "touch_sound"; - source: "feedback"; - param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP"; - /* 2014.06.11 updated from libsvi(feedback) - Above plugin will run below external function: - int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern); - - param1: feedback_type_e - FEEDBACK_TYPE_NONE = 0, - FEEDBACK_TYPE_SOUND = 1, - FEEDBACK_TYPE_VIBRATION, - FEEDBACK_TYPE_LED, - FEEDBACK_TYPE_END - - * param2 enumeration: - FEEDBACK_PATTERN_TAP = 0, - FEEDBACK_PATTERN_SIP, - FEEDBACK_PATTERN_SIP_BACKSPACE, - FEEDBACK_PATTERN_SIP_FUNCTION, - FEEDBACK_PATTERN_SIP_FJKEY, - ... - - * Fore information, please refer the libsvi libraries. - * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi - * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi - */ - } - plugin { - name: "haptic_tap"; - source: "feedback"; - param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP"; - } - } - - images { - // MIC - image, "./bg/B13_mic_bg.png" COMP; - image, "./icon/B13_mic.png" COMP; - image, "./icon/B13_mic_Que.png" COMP; - image, "./icon/B13_mic_Que_01.png" COMP; - image, "./icon/B13_mic_procecessing_bg.png" COMP; - image, "./text_downdrop.#.png" COMP; - image, "./text_downdrop_press.#.png" COMP; - - image, "./input_ic_voice_mic.png" COMP; - image, "./w_sip_mask_bg.png" COMP; - image, "./tw_bottom_btn_bg.png" COMP; - - image, "./w_mode_ic_bg.png" COMP; - - image, "./b_stt_text_fade_out.png" COMP; - image, "./b_stt_icon_btn.png" COMP; - image, "./b_stt_confirm_icon.png" COMP; - image, "./b_stt_send_icon.png" COMP; - } - - color_classes - { - color_class - { - name: "AO013"; - color: 68 71 77 100; - } - color_class - { - name: "AO014"; - color: 0 0 0 100; - } - color_class - { - name: "AO014P"; - color: 0 0 0 100; - } - color_class - { - name: "AO014D"; - color: 0 0 0 35; - } - color_class - { - name: "AO015L1"; - color: 0 0 0 100; - } - color_class - { - name: "AO015L1P"; - color: 0 0 0 50; - } - color_class - { - name: "AO015L1D"; - color: 0 0 0 40; - } - color_class - { - name: "AO0151"; - color: 0 0 0 100; - } - color_class - { - name: "AO0151P"; - color: 0 0 0 50; - } - color_class - { - name: "AO0151D"; - color: 0 0 0 20; - } - color_class - { - name: "AO0152"; - color: 0 0 0 100; - } - color_class - { - name: "AO015L2"; - color: 0 0 0 100; - } - color_class - { - name: "AO015L2P"; - color: 0 0 0 50; - } - color_class - { - name: "AO015L2D"; - color: 0 0 0 40; - } - color_class - { - name: "AO015L3"; - color: 0 0 0 100; - } - color_class - { - name: "AO01151"; - color: 0 0 0 100; - } - color_class - { - name: "AO01153L1"; - color: 0 0 255 255; - } - color_class - { - name: "AO01153L1P"; - color: 61 61 61 100; - } - color_class - { - name: "AO01153L1D"; - color: 163 163 163 100; - } - color_class - { - name: "AO01154L1"; - color: 97 12 117 255; - } - color_class - { - name: "AO01154L1P"; - color: 41 41 41 100; - } - color_class - { - name: "AO01154L1D"; - color: 110 110 110 100; - } - color_class - { - name: "AO01155L1"; - color: 255 0 0 255; - } - color_class - { - name: "AO01155L1P"; - color: 33 33 33 100; - } - color_class - { - name: "AO01155L1D"; - color: 122 122 122 100; - } - color_class - { - name: "AO01153L2"; - color: 18 18 18 30; - } - color_class - { - name: "AO01153L3"; - color: 0 0 0 100; - } - color_class - { - name: "AO01153L3P"; - color: 0 0 0 100; - } - color_class - { - name: "AO01153L3D"; - color: 0 0 0 40; - } - color_class - { - name: "AO0116"; - color: 0 0 0 100; - } - color_class - { - name: "AO0116P"; - color: 0 0 0 50; - } - color_class - { - name: "AO0116D"; - color: 0 0 0 30; - } - color_class - { - name: "AO01161"; - color: 64 64 64 100; - } - color_class - { - name: "AO01161P"; - color: 38 38 38 100; - } - color_class - { - name: "AO01161D"; - color: 26 26 26 100; - } - color_class - { - name: "AO0117"; - color: 0 0 0 100; - } - color_class - { - name: "AO0118"; - color: 0 0 0 100; - } - color_class - { - name: "AO0119"; - color: 0 0 0 100; - } - color_class - { - name: "AO0119P"; - color: 0 0 0 100; - } - color_class - { - name: "AO0119D"; - color: 0 0 0 5; - } - color_class - { - name: "AO031"; - color: 0 0 0 100; - } - color_class - { - name: "AO031P"; - color: 0 0 0 40; - } - color_class - { - name: "AO031L1"; - color: 0 0 0 41; - } - color_class - { - name: "AO031L1P"; - color: 0 0 0 70; - } - color_class - { - name: "AO0331"; - color: 0 0 0 50; - } - color_class - { - name: "AO0332"; - color: 0 0 0 100; - } - color_class - { - name: "AO034"; - color: 102 102 102 100; - } - color_class - { - name: "AO034P"; - color: 0 0 0 100; - } - color_class - { - name: "AO034D"; - color: 0 0 0 30; - } - color_class - { - name: "AO035"; - color: 5 5 5 100; - } - color_class - { - name: "AO0351"; - color: 0 0 0 15; - } - color_class - { - name: "AO036"; - color: 0 0 0 100; - } - color_class - { - name: "AO0361"; - color: 0 0 0 50; - } - color_class - { - name: "AO037"; - color: 10 10 10 100; - } - color_class - { - name: "AO037P"; - color: 0 0 0 100; - } - color_class - { - name: "AO037S"; - color: 0 0 0 100; - } - color_class - { - name: "AO038"; - color: 0 0 0 100; - } - color_class - { - name: "AO038P"; - color: 0 0 0 50; - } - color_class - { - name: "AO038D"; - color: 0 0 0 40; - } - color_class - { - name: "AT0113"; - color: 0 0 0 100; - } - color_class - { - name: "AT0113P"; - color: 0 0 0 100; - } - color_class - { - name: "AT0113D"; - color: 0 0 0 70; - } - color_class - { - name: "AT0113S"; - color: 0 0 0 100; - } - color_class - { - name: "AT0114"; -# color: 0 0 0 100; - color: 128 128 128 100; - } - color_class - { - name: "AT0114D"; - color: 0 0 0 5; - } - color_class - { - name: "AT02111"; - color: 0 0 0 100; - } - color_class - { - name: "AT02112"; - color: 0 0 0 100; - } - color_class - { - name: "AT02113"; - color: 10 10 10 100; - } - color_class - { - name: "AT021"; - color: 0 0 0 100; - } - color_class - { - name: "AT022"; - color: 0 0 0 100; - } - color_class - { - name: "AT023"; - color: 0 0 0 100; - } - color_class - { - name: "AT023P"; - color: 0 0 0 50; - } - color_class - { - name: "AT023D"; - color: 0 0 0 40; - } - } - - styles - { - style { name, "textblock_style"; - base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; - tag, "br" "\n"; - tag, "ps" "ps"; - tag, "hilight" "+ font=Tizen:style=Bold"; - tag, "b" "+ font=Tizen:style=Bold"; - tag, "tab" "\t"; - } - style { name, "textblock_style_bottom"; - base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; - tag, "br" "\n"; - tag, "ps" "ps"; - tag, "hilight" "+ font=Tizen:style=Bold"; - tag, "b" "+ font=Tizen:style=Bold"; - tag, "tab" "\t"; - } - style { name: "button_general_text_dim"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; - } - style { name: "button_general_text_press"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#888888 ellipsis=0.0 wrap=mixed"; - } - style { name: "button_general_text_normal"; - base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; - } - } - - group - { - name, "mic_control"; - parts - { - part - { - name, "bg"; - type, RECT; - scale, 1; - description - { - state, "default" 0.0; - rel1 - { - relative, 0.0 0.0; - } - rel2 - { - relative, 1.0 1.0; - } - visible: 1; - color_class, "AO0118"; - } - } - part - { - name, "top_block"; - type, SPACER; - scale, 1; - description - { - state, "default" 0.0; - min, 360 (360-103); - align, 0.5 0; - rel1 - { - relative, 0.0 0.0; - to, "bg"; - } - rel2 - { - relative, 1.0 0.0; - to, "bg"; - } - } - } - - part - { - name, "text_area"; - type, SWALLOW; - description - { - state, "default" 0.0; - align, 0.5 1; - min, 282 (360-103); - max, 282 (360-103); - - rel1 - { - relative, 39/360 1; - to, "top_block"; - offset, 0 -1; - } - rel2 - { - relative, 321/360 1; - to, "top_block"; - offset, 0 -1; - } - } - } - part - { - name, "left_panel_area"; - type, SWALLOW; - description - { - state, "default" 0.0; - align, 0.5 0.5; - rel1 - { - relative, 0.0 0.0; - to, "bg"; - } - rel2 - { - relative, 1.0 1.0; - to, "bg"; - } - } - } - - - part - { - name, "background"; - type, IMAGE; - scale, 1; - description - { - state, "default" 0.0; - min, 360 100; - max, 360 100; - rel1 - { - relative, 0 260/360; - to, "bg"; - } - rel2 - { - relative, 1 1; - to, "bg"; - } - image.normal, "./tw_bottom_btn_bg.png"; - color: 128 128 128 128; - } - description - { - state, "pressed" 0.0; - inherit, "default" 0.0; - color: 128 128 128 128; - } - description - { - state, "dim" 0.0; - inherit, "default" 0.0; - color: 128 128 128 128; - } - } - - part - { - name, "EFFECT_BG_AREA"; - type, SPACER; - description - { - state, "default" 0.0; - min, 0 64; - max, 360 64; - align, 0.5 1; - rel1 - { - relative, 0 1; - to, "bg"; - offset, 0 -1; - } - rel2 - { - relative, 1 1; - to, "bg"; - offset, 0 -1; - } - } - - description - { - state, "hide" 0.0; - min, 0 64; - max, 360 64; - align, 0.5 1; - rel1 - { - relative, 0 (360+64)/360; - to, "bg"; - offset, 0 +13; - } - rel2 - { - relative, 1 (360+64)/360; - to, "bg"; - offset, 0 +13; - } - - } - - } - - part - { - name, "EFFECT_BG"; - type, SWALLOW; - description - { - state, "default" 0.0; - visible, 0; - rel1 - { - relative, 0 0; - to, "EFFECT_BG_AREA"; - } - rel2 - { - relative, 1 1; - to, "EFFECT_BG_AREA"; - } - } - description - { - state, "default" 0.1; - inherit, "default" 0.0; - visible, 1; - } - } - - - part - { - name, "MIC_ICON"; - type, IMAGE; - scale, 1; - description - { - state, "default" 0.0; - min, 50 50; - max, 50 50; - rel1 - { - relative, 155/360 26/100; - to, "background"; - } - rel2 - { - relative, 205/360 76/100; - to, "background"; - } - image.normal, "./input_ic_voice_mic.png"; - } - description - { - state, "recording" 0.0; - inherit, "default" 0.0; - visible, 0; - } - description - { - state, "processing" 0.0; - inherit, "default" 0.0; - visible, 0; - } - description - { - state, "message" 0.0; - inherit, "default" 0.0; - rel1 - { - relative, 155/360 41/100; - to, "background"; - } - rel2 - { - relative, 205/360 91/100; - to, "background"; - } - visible, 1; - } - } - - - - //Part for mic button - part - { - name, "MIC"; - type, SWALLOW; - scale, 1; - description - { - state, "default" 0.0; - visible, 1; - min, 290 100; - max, 290 100; - rel1 - { - relative, 35/360 0.0; - to, "background"; - } - rel2 - { - relative, 325/360 1.0; - to, "background"; - } - } - } - part - { - name, "PROGRESS_BAR"; - type, SWALLOW; - scale, 1; - description - { - state, "default" 0.0; - min, 50 50; - max, 50 50; - visible, 0; - rel1 - { - relative, 155/360 27/100; - to, "background"; - } - rel2 - { - relative, 205/360 77/100; - to, "background"; - } - } - description - { - state, "message" 0.0; - inherit, "default" 0.0; - } - description - { - state, "processing" 0.0; - inherit, "default" 0.0; - visible, 1; - } - } - - part - { - name, "guide_text_block"; - type, SPACER; - description - { - state, "default" 0.0; - align, 0.5 0; - rel1 - { - relative, 39/360 140/360; - to, "bg"; - } - rel2 - { - relative, (360-39)/360 (140+42)/360; - to, "bg"; - } - } - description - { - state, "bottom" 0.0; - align, 0.5 0; - rel1 - { - relative, 74/360 (360-91)/360; - to, "bg"; - } - rel2 - { - relative, (360-74)/360 (360-57)/360; - to, "bg"; - } - } - } - - part - { - name, "elm.text"; - type, TEXTBLOCK; - mouse_events, 0; - scale, 1; - description - { - state, "default" 0.0; - visible, 1; - align, 0.5 0.6; - rel1.to, "guide_text_block"; - rel2.to, "guide_text_block"; - text - { - fit: 1 1; - style, "textblock_style"; - } - color, 120 120 120 120; - } - description - { - state, "bottom" 0.0; - inherit, "default" 0.0; - text - { - fit: 1 1; - style, "textblock_style_bottom"; - } - color, 120 120 120 120; - } - } - } - - programs - { - program - { - name, "initial_view"; - signal, "mouse,clicked,1"; - source, "background"; - in, 0 0.3; - after, "emit_signal1"; - } - - program - { - name, "emit_signal1"; - action, SIGNAL_EMIT "idle,state,pulse,visible" ""; - } - - program - { - name, "listening"; - signal, "elm,state,listening"; - source, "elm"; - action, STATE_SET "recording" 0.0; - target, "MIC_ICON"; - } - - program - { - name, "start_processing"; - signal, "elm,state,processing"; - source, "elm"; - action, STATE_SET "processing" 0.0; - target, "PROGRESS_BAR"; - target, "MIC_ICON"; - transition, DECELERATE 0.3; - } - - program - { - name, "idle"; - signal, "elm,state,init"; - source, "elm"; - action, STATE_SET "default" 0.0; - target, "PROGRESS_BAR"; - target, "MIC_ICON"; - transition, DECELERATE 0.3; - } - program - { - name, "idle_message"; - signal, "elm,state,init_message"; - source, "elm"; - action, STATE_SET "message" 0.0; - target, "PROGRESS_BAR"; - target, "MIC_ICON"; - } - - program - { - name, "text_show"; - signal, "idle,state,text,visible"; - source, "elm"; - action, STATE_SET "expand" 0.0; - target, "elm.text"; - } - - program - { - name, "text_hide"; - signal, "idle,state,text,hidden"; - source, "elm"; - action, STATE_SET "default" 0.0; - target, "elm.text"; - } - program - { - name, "show_effect_part"; - signal, "elm,state,eq,show"; - source, "eq"; - action, STATE_SET "default" 0.1; - target, "EFFECT_BG"; - } - - program - { - name, "hide_effect_part"; - signal, "elm,state,eq,hide"; - source, "eq"; - action, STATE_SET "default" 0.0; - target, "EFFECT_BG"; - } - - program - { - name, "guide_text_up"; - signal, "idle,state,guide_text,up"; - source, "elm"; - action, STATE_SET "default" 0.0; - target, "guide_text_block"; - } - program - { - name, "guide_text_bottom"; - signal, "idle,state,guide_text,bottom"; - source, "elm"; - action, STATE_SET "bottom" 0.0; - target, "guide_text_block"; - } - - - } - } - - group - { - name: "option_more_index"; - parts - { - part - { - name: "bg"; - type: SPACER; - scale: 1; - description - { - state: "default" 0.0; - min: 360 360; - max: -1 360; - } - } - part - { - name: "scroller"; - type: SWALLOW; - scale: 1; - description - { - state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - part - { - name: "controller"; - type: SWALLOW; - scale: 1; - description - { - state: "default" 0.0; - align: 0.5 0.0; - min: 360 40; - max: 360 40; - fixed: 0 1; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 0.0; - } - } - } - } - - group - { - name, "language_list"; - parts - { - part - { - name, "bg"; - type, RECT; - scale, 1; - description - { - state, "default" 0.0; - min, 358 0; - max, 358 223; - rel1 - { - relative, 0.0 0.0; - } - rel2 - { - relative, 1.0 1.0; - } - color, 8 8 8 255; - } - } - part - { - name, "list"; - type, SWALLOW; - scale, 1; - repeat_events, 0; - description - { - state, "default" 0.0; - rel1 - { - relative, 0.0 0.0; - to, "bg"; - } - rel2 - { - relative, 1.0 1.0; - to, "bg"; - } - } - } - } - } - - group{ - name: "layout_textblock"; - - script { - public timer_cb(val) { - run_program(PROGRAM:"do_scroll"); - } - - } - parts { - part - { - name, "bg"; - type, SPACER; - scale, 1; - description - { - state, "default" 0.0; - min, 282 39; - rel1 - { - relative, 0.0 0.0; - } - rel2 - { - relative, 1.0 1.0; - } - } - } - part { name: "elm.swallow.content"; - scale: 1; - type: SWALLOW; - description { state: "default" 0.0; - min: 282 39; - color, 120 120 120 120; - } - } - } - programs { - program - { - name, "scroll"; - signal, "scrolling"; - source, "entry"; - script { - timer(3/10, "timer_cb", 0); - } - } - program - { - name, "do_scroll"; - action, SIGNAL_EMIT "do_scroll" "entry"; - } - } - } - - group{ name: "entry_focused_layout"; - parts { - part - { - name, "bg"; - type, RECT; - scale, 1; - description - { - state, "default" 0.0; - rel1 - { - relative, 0.0 0.0; - } - rel2 - { - relative, 1.0 1.0; - } - visible: 1; - color, 120 120 120 120; - } - } - part { name: "padding_top"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 0.0; - min: 0 20; - fixed: 1 1; - } - } - part { name: "padding_left"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 1.0; - min: 73 0; - fixed: 1 1; - } - } - part { name: "padding_right"; - type: SPACER; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1.relative: 1.0 0.0; - rel2.relative: 1.0 1.0; - min: 73 0; - fixed: 1 1; - } - } - part { - name: "contents"; - type: SWALLOW; - scale: 1; - description { - state: "default" 0.0; - rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } - rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";} - min:0 42; - max: -1 42; - align: 0.5 0; - } - } - } - } - - - -#define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50 - group - { - name: "elm/progressbar/horizontal/voice_input/process/small"; - images { - image: "style/tw_loading_small_00.png" COMP; - image: "style/tw_loading_small_01.png" COMP; - image: "style/tw_loading_small_02.png" COMP; - image: "style/tw_loading_small_03.png" COMP; - image: "style/tw_loading_small_04.png" COMP; - image: "style/tw_loading_small_05.png" COMP; - image: "style/tw_loading_small_06.png" COMP; - image: "style/tw_loading_small_07.png" COMP; - image: "style/tw_loading_small_08.png" COMP; - image: "style/tw_loading_small_09.png" COMP; - image: "style/tw_loading_small_10.png" COMP; - image: "style/tw_loading_small_11.png" COMP; - image: "style/tw_loading_small_12.png" COMP; - image: "style/tw_loading_small_13.png" COMP; - image: "style/tw_loading_small_14.png" COMP; - image: "style/tw_loading_small_15.png" COMP; - image: "style/tw_loading_small_16.png" COMP; - image: "style/tw_loading_small_17.png" COMP; - image: "style/tw_loading_small_18.png" COMP; - image: "style/tw_loading_small_19.png" COMP; - image: "style/tw_loading_small_20.png" COMP; - image: "style/tw_loading_small_21.png" COMP; - image: "style/tw_loading_small_22.png" COMP; - image: "style/tw_loading_small_23.png" COMP; - image: "style/tw_loading_small_24.png" COMP; - image: "style/tw_loading_small_25.png" COMP; - image: "style/tw_loading_small_26.png" COMP; - image: "style/tw_loading_small_27.png" COMP; - image: "style/tw_loading_small_28.png" COMP; - image: "style/tw_loading_small_29.png" COMP; - image: "style/tw_loading_small_30.png" COMP; - image: "style/tw_loading_small_31.png" COMP; - image: "style/tw_loading_small_32.png" COMP; - image: "style/tw_loading_small_33.png" COMP; - image: "style/tw_loading_small_34.png" COMP; - image: "style/tw_loading_small_35.png" COMP; - image: "style/tw_loading_small_36.png" COMP; - image: "style/tw_loading_small_37.png" COMP; - image: "style/tw_loading_small_38.png" COMP; - image: "style/tw_loading_small_39.png" COMP; - image: "style/tw_loading_small_40.png" COMP; - image: "style/tw_loading_small_41.png" COMP; - image: "style/tw_loading_small_42.png" COMP; - image: "style/tw_loading_small_43.png" COMP; - image: "style/tw_loading_small_44.png" COMP; - image: "style/tw_loading_small_45.png" COMP; - image: "style/tw_loading_small_46.png" COMP; - image: "style/tw_loading_small_47.png" COMP; - image: "style/tw_loading_small_48.png" COMP; - image: "style/tw_loading_small_49.png" COMP; - image: "style/tw_loading_small_50.png" COMP; - image: "style/tw_loading_small_51.png" COMP; - image: "style/tw_loading_small_52.png" COMP; - image: "style/tw_loading_small_53.png" COMP; - image: "style/tw_loading_small_54.png" COMP; - image: "style/tw_loading_small_55.png" COMP; - image: "style/tw_loading_small_56.png" COMP; - image: "style/tw_loading_small_57.png" COMP; - image: "style/tw_loading_small_58.png" COMP; - image: "style/tw_loading_small_59.png" COMP; - image: "style/tw_loading_small_60.png" COMP; - image: "style/tw_loading_small_61.png" COMP; - image: "style/tw_loading_small_62.png" COMP; - image: "style/tw_loading_small_63.png" COMP; - image: "style/tw_loading_small_64.png" COMP; - } - parts { - part { - name: "access"; - type: RECT; - description - { - state: "default" 0.0; - fixed: 1 1; - color: 0 0 0 0; - } - } - part { - name: "elm.background.progressbar"; - mouse_events: 0; - scale: 1; - type: RECT; - description { - state: "default" 0.0; - } - } - part { - name: "bar"; - mouse_events: 0; - scale: 1; - clip_to: "elm.background.progressbar"; - description { - state: "default" 0.0; - min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; - max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; - fixed, 1 1; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "style/tw_loading_small_00.png"; - image.tween: "style/tw_loading_small_01.png"; - image.tween: "style/tw_loading_small_02.png"; - image.tween: "style/tw_loading_small_03.png"; - image.tween: "style/tw_loading_small_04.png"; - image.tween: "style/tw_loading_small_05.png"; - image.tween: "style/tw_loading_small_06.png"; - image.tween: "style/tw_loading_small_07.png"; - image.tween: "style/tw_loading_small_08.png"; - image.tween: "style/tw_loading_small_09.png"; - image.tween: "style/tw_loading_small_10.png"; - image.tween: "style/tw_loading_small_11.png"; - image.tween: "style/tw_loading_small_12.png"; - image.tween: "style/tw_loading_small_13.png"; - image.tween: "style/tw_loading_small_14.png"; - image.tween: "style/tw_loading_small_15.png"; - image.tween: "style/tw_loading_small_16.png"; - image.tween: "style/tw_loading_small_17.png"; - image.tween: "style/tw_loading_small_18.png"; - image.tween: "style/tw_loading_small_19.png"; - image.tween: "style/tw_loading_small_20.png"; - image.tween: "style/tw_loading_small_21.png"; - image.tween: "style/tw_loading_small_22.png"; - image.tween: "style/tw_loading_small_23.png"; - image.tween: "style/tw_loading_small_24.png"; - image.tween: "style/tw_loading_small_25.png"; - image.tween: "style/tw_loading_small_26.png"; - image.tween: "style/tw_loading_small_27.png"; - image.tween: "style/tw_loading_small_28.png"; - image.tween: "style/tw_loading_small_29.png"; - image.tween: "style/tw_loading_small_30.png"; - image.tween: "style/tw_loading_small_31.png"; - image.tween: "style/tw_loading_small_32.png"; - image.tween: "style/tw_loading_small_33.png"; - image.tween: "style/tw_loading_small_34.png"; - image.tween: "style/tw_loading_small_35.png"; - image.tween: "style/tw_loading_small_36.png"; - image.tween: "style/tw_loading_small_37.png"; - image.tween: "style/tw_loading_small_38.png"; - image.tween: "style/tw_loading_small_39.png"; - image.tween: "style/tw_loading_small_40.png"; - image.tween: "style/tw_loading_small_41.png"; - image.tween: "style/tw_loading_small_42.png"; - image.tween: "style/tw_loading_small_43.png"; - image.tween: "style/tw_loading_small_44.png"; - image.tween: "style/tw_loading_small_45.png"; - image.tween: "style/tw_loading_small_46.png"; - image.tween: "style/tw_loading_small_47.png"; - image.tween: "style/tw_loading_small_48.png"; - image.tween: "style/tw_loading_small_48.png"; - image.tween: "style/tw_loading_small_49.png"; - image.tween: "style/tw_loading_small_50.png"; - image.tween: "style/tw_loading_small_51.png"; - image.tween: "style/tw_loading_small_52.png"; - image.tween: "style/tw_loading_small_53.png"; - image.tween: "style/tw_loading_small_54.png"; - image.tween: "style/tw_loading_small_55.png"; - image.tween: "style/tw_loading_small_56.png"; - image.tween: "style/tw_loading_small_57.png"; - image.tween: "style/tw_loading_small_58.png"; - image.tween: "style/tw_loading_small_59.png"; - image.tween: "style/tw_loading_small_60.png"; - image.tween: "style/tw_loading_small_61.png"; - image.tween: "style/tw_loading_small_62.png"; - image.tween: "style/tw_loading_small_63.png"; - image.tween: "style/tw_loading_small_64.png"; - color: 128 128 128 128; - } - } - } - programs { - program { - name: "start_pulse"; - signal: "elm,state,pulse,start"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bar"; - transition: LINEAR 1.8; - after: "start_pulse"; - } - program { - name: "stop_pulse"; - signal: "elm,state,pulse,stop"; - source: "elm"; - action: ACTION_STOP; - target: "start_pulse"; - after: "init_pulse"; - } - program { name: "init_pulse"; - action: STATE_SET "default" 0.0; - target: "bar"; - } - } - } - - -#define BUTTON_PADDING_SIZE_INC 20 0 -#define BUTTON_HEIGHT_INC 122 -#define BUTTON_ICON_SIZE_INC 60 60 - group { name: "elm/button/base/default"; - script { - public mouse_down = 0; - public multi_down = 0; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 BUTTON_HEIGHT_INC; - color_class: "W011"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "W011P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "W011D"; - } - } - part { name: "padding_left_top"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: BUTTON_PADDING_SIZE_INC; - fixed: 1 1; - } - } - part { name: "padding_right_bottom"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: BUTTON_PADDING_SIZE_INC; - fixed: 1 1; - } - } - part { name: "icon_rect"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - min: 0 0; - fixed: 1 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: BUTTON_ICON_SIZE_INC; - max: BUTTON_ICON_SIZE_INC; - fixed: 1 1; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - clip_to: "elm.swallow.content.clip"; - scale: 1; - description { state: "default" 0.0; - visible: 0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 1.0 0.0; - to_x: "padding_left_top"; - to_y: "padding_right_bottom"; - } - fixed: 1 0; - } - description { state: "visible" 0.0; - fixed: 1 1; - min: BUTTON_ICON_SIZE_INC; - max: BUTTON_ICON_SIZE_INC; - align: 1.0 0.5; - rel1 { - relative: 0.0 1.0; - to_x: "elm.text"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to_x: "elm.text"; - to_y: "padding_right_bottom"; - } - } - description { state: "icononly" 0.0; - min: BUTTON_ICON_SIZE_INC; - max: BUTTON_ICON_SIZE_INC; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to_x: "icon_rect"; - to_y: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - max: 1 0; - style: "button_general_text_normal"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text.style: "button_general_text_dim"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - text.style: "button_general_text_press"; - } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color_class: "F022L1i"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "F022L1iD"; - } - } - part { name: "event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - set_state(PART:"elm.text", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - //run_program(PROGRAM:"play_sample"); - emit("elm,action,click", ""); - } - } - } - } - program { - name: "play_sample"; - action: RUN_PLUGIN "touch_sound"; - } - program { name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "icononly")) - { - set_state(PART:"elm.swallow.content", "visible", 0.0); - set_state(PART:"icon_rect", "visible", 0.0); - } - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) - set_state(PART:"elm.text", "default", 0.0); - else - set_state(PART:"elm.text", "disabled", 0.0); - } - } - program { name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - script { - new st[31]; - new Float:vl; - get_state(PART:"elm.swallow.content", st, 30, vl); - if (!strcmp(st, "visible")) - { - set_state(PART:"elm.swallow.content", "icononly", 0.0); - set_state(PART:"icon_rect", "default", 0.0); - } - set_state(PART:"elm.text", "default", 0.0); - } - } - program { name: "icon_show"; - signal: "elm,state,icon,visible"; - source: "elm"; - action: STATE_SET "visible" 0.0; - target: "elm.swallow.content"; - target: "icon_rect"; - } - program { name: "icon_hide"; - signal: "elm,state,icon,hidden"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.content"; - target: "icon_rect"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bg"; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "elm.swallow.content.clip"; - target: "elm.text"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } -} - - group { name: "elm/button/base/ime_transparent"; - inherit: "elm/button/base/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 112; - visible: 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - } - } - - group { name: "elm/button/base/ime_button"; - alias: "elm/button/base/ime_button_stt"; - inherit: "elm/button/base/default"; - parts { - part { name: "bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - color_class: "AO01153L1"; - visible: 1; - image.normal: "./w_mode_ic_bg.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO01153L1P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "W011D"; - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - clip_to: "elm.swallow.content.clip"; - description { state: "default" 0.0; - visible: 1; - align: 0.5 0.5; - rel1 { relative: 0.0 0.0; to: "bg";} - rel2 { relative: 1.0 1.0; to: "bg";} - fixed: 1 1; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "icononly" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - set_state(PART:"elm.swallow.content.clip", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.swallow.content.clip", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - } - } - - group { name: "elm/button/base/ime_button_emoticon"; - inherit: "elm/button/base/ime_button"; - parts { - part { name: "bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - color_class: "AO01154L1"; - visible: 1; - image.normal: "./w_mode_ic_bg.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO01154L1P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "W011D"; - } - } - } - } - - group { name: "elm/button/base/ime_button_keyboard"; - inherit: "elm/button/base/ime_button"; - parts { - part { name: "bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - color_class: "AO01155L1"; - visible: 1; - image.normal: "./w_mode_ic_bg.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO01155L1P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "W011D"; - } - } - } - } - - group { name: "elm/button/base/ime_button_template"; - inherit: "elm/button/base/ime_button"; - parts { - part { name: "bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 76 76; - max: 76 76; - color_class: "AO01161"; - visible: 1; - image.normal: "./w_mode_ic_bg.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO01161P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "AO01161D"; - } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color_class: "AO01153L3"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO01153L3P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "AO01153L3D"; - } - } - } - } - - group { name: "elm/button/base/ime_button_stt_confirm"; - inherit: "elm/button/base/ime_button"; - parts { - part { name: "bg"; - type: IMAGE; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - color_class: "AO015L2"; - visible: 0; - image.normal: "./b_stt_icon_btn.png"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO015L2P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "AO015L2D"; - } - } - part { name: "elm.swallow.content.clip"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color_class: "AO015L2"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color_class: "AO015L2P"; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "AO015L2D"; - } - } - } - } - - group { name: "elm/button/base/touch_area"; - inherit: "elm/button/base/default"; - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - color: 0 0 0 0; - visible: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - } - programs { - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - run_program(PROGRAM:"play_sample"); - emit("elm,action,click", ""); - } - } - } - } - } - } - - group { name: "elm/button/base/emoticon"; - - script { - public mouse_down = 0; - public multi_down = 0; - } - parts { - part { name: "bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: 0 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "padding_left_top"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 0.0 0.0; - rel2.relative: 0.0 0.0; - min: 0 0; - fixed: 1 1; - //visible: 1; - //color: 255 0 0 100; - } - } - part { name: "padding_right_bottom"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - align: 1.0 1.0; - rel1.relative: 1.0 1.0; - min: 0 0; - fixed: 1 1; - //visible: 1; - //color: 0 255 0 100; - } - } - part { name: "elm.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - fixed: 1 1; - rel1 { - relative: 1.0 1.0; - to: "padding_left_top"; - } - rel2 { - relative: 0.0 0.0; - to: "padding_right_bottom"; - } - text { - min: 1 0; - style: "button_general_text_normal"; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - text.style: "button_general_text_dim"; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - text.style: "button_general_text_press"; - } - } - part { name: "event"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "event"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "pressed", 0.0); - set_state(PART:"elm.text", "pressed", 0.0); - emit("elm,action,press", ""); - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "event"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - set_state(PART:"bg", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - emit("elm,action,unpress", ""); - } - } - } - program { name: "touch_snd"; - signal: "mouse,clicked,1"; - source: "event"; - script { - new st[31]; - new Float:vl; - if (get_int(multi_down) == 0) { - get_state(PART:"bg", st, 30, vl); - if (strcmp(st, "disabled")) { - run_program(PROGRAM:"play_sample"); - emit("elm,action,click", ""); - } - } - } - } - program { - name: "play_sample"; - action: RUN_PLUGIN "touch_sound"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - action: STATE_SET "disabled" 0.0; - target: "bg"; - target: "elm.text"; - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "elm.text"; - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - } - } - -#define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop -#define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time -#define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time -#define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time -#define ACTIONBAR_PADDING_SIZE_INC 64 -#define ACTIONBAR_HEIGHT_INC 115 -#define ACTIONBAR_TEXT_SIZE_INC 39 -#define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51 -#define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25 -#define ACTIONBAR_TEX_SLIDING_SPEED 0.006 -#define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8 -#define HIDDEN_BUTTON_HEIGHT_INC 88 - -#define STYLE_TAG_MATCH \ - tag: "match" "+ color=#ffffff color_class=T0212"; - -styles { - style { name: "action_bar_title"; - base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012"; - STYLE_TAG_MATCH - } -} - -group { name: "elm_naviframe_item_basic_customized"; - data.item: "tizen_zoom" 1; - script { - public g_mirrored = 0; //Mirrored on/off status - public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer - - public g_duration_1st; - public g_duration_2nd; - public g_timer_id; - public g_anim_id; - public g_sliding_start; - - public title_text_fade_out() { - new x, y, w, h, w2; - - if (get_int(g_text_fade_out_calc_timer)) { - cancel_timer(g_text_fade_out_calc_timer); - set_int(g_text_fade_out_calc_timer, 0); - } - - get_geometry(PART:"elm.text.title", x, y, w, h); - get_geometry(PART:"title_text_bg", x, y, w2, h); - } - - public init() { - slide_stop(); - set_float(g_duration_1st, 0); - set_float(g_duration_2nd, 0); - set_int(g_timer_id, 0); - set_int(g_anim_id, 0); - set_int(g_sliding_start, 0); - } - public slide_first_anim(val, Float:pos) { - set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0); - if (pos >= 1.0) { - cancel_anim(get_int(g_anim_id)); - set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1)); - } - } - public slide_second_anim(val, Float:pos) { - set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0); - if (pos >= 1.0) - slide_stop(); - } - public slide_first() { - check_size(); - if (get_int(g_sliding_start)) { - set_state(PART:"elm.text.title", "slide", 0.0); - get_duration(); - set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1)); - } - } - public slide_start() { - set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1)); - } - public slide_stop() { - cancel_anim(get_int(g_anim_id)); - set_state(PART:"elm.text.title", "default", 0.0); - set_int(g_sliding_start, 0); - } - public check_size() { - new x, y, w, w1, h; - get_geometry(PART:"elm.text.title", x, y, w, h); - get_geometry(PART:"title_text_clip", x, y, w1, h); - if (w >= w1) { - set_int(g_sliding_start, 1); - } - else { - set_int(g_sliding_start, 0); - } - } - public get_duration() { - new x, y, w, w1, h; - get_geometry(PART:"elm.text.title", x, y, w, h); - get_geometry(PART:"title_text_clip", x, y, w1, h); - set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED); - set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED); - } - } - parts { - part { name: "clipper"; - type: RECT; - description { state: "default" 0.0; - visible: 1; - } - description { state: "hide" 0.0; - visible: 0; - } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; - color: 128 128 128 128; - } - } - part { name: "title_expand"; - type: RECT; - scale: 1; - repeat_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - min: 0 HIDDEN_BUTTON_HEIGHT_INC; - max: -1 HIDDEN_BUTTON_HEIGHT_INC; - fixed: 1 1; - align: 0.5 1.0; - visible: 0; - color: 255 255 255 0; - rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } - rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - align: 0.5 0.0; - visible: 1; - } - } - part { name: "title_clip"; - type: RECT; - clip_to: "clipper"; - description { state: "default" 0.0; - visible: 1; - rel1.to: "title_bg"; - rel2.to: "title_bg"; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "title_bg"; - type: RECT; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - min: 0 ACTIONBAR_HEIGHT_INC; - max: -1 ACTIONBAR_HEIGHT_INC; - fixed: 0 1; - align: 0.5 0.0; - rel1 { relative: 0.0 0.0; to: "base"; } - rel2 { relative: 1.0 0.0; to: "base"; } - color: 255 255 255 0; - } - description { state: "hide_trans" 0.0; - inherit: "default" 0.0; - align: 0.5 1.0; - } - description { state: "hide" 0.0; - inherit: "default" 0.0; - min: 0 0; - max: -1 0; - } - } - part { name: "title_text_bg"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; } - rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; } - fixed: 0 1; - } - } - part { name: "title_text_clip"; - type: RECT; - scale: 1; - clip_to: "title_clip"; - description { state: "default" 0.0; - rel1.to: "title_text_bg"; - rel2.to: "title_text_bg"; - } - } - part { name: "elm.text.title"; - type: TEXTBLOCK; - scale: 1; - clip_to: "title_text_clip"; - description { state: "default" 0.0; - text { - min: 0 1; - max: 1 1; - ellipsis: -1.0; -// fade_ellipsis: 1.0; - style: "action_bar_title"; - } - fixed: 1 1; - align: 0.5 0.5; - rel1.to: "title_text_bg"; rel2.to: "title_text_bg"; - } - description { state: "slide" 0.0; - inherit: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 1.0 1.0; - to_x: "left_padding"; - to_y: "top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "left_padding"; - to_y: "bottom_padding"; - } - text.min: 1 1; - } - description { state: "slide_1" 0.0; - inherit: "default" 0.0; - align: 1.0 0.5; - rel1 { - relative: 1.0 1.0; - to_x: "left_padding"; - to_y: "top_padding"; - } - rel2 { - relative: 1.0 0.0; - to_x: "left_padding"; - to_y: "bottom_padding"; - } - text.min: 1 1; - } - description { state: "slide_2" 0.0; - inherit: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 0.0 1.0; - to_x: "right_padding"; - to_y: "top_padding"; - } - rel2 { - relative: 0.0 0.0; - to_x: "right_padding"; - to_y: "bottom_padding"; - } - text.min: 1 1; - } - } - part { name: "left_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: ACTIONBAR_PADDING_SIZE_INC 0; - max: ACTIONBAR_PADDING_SIZE_INC -1; - fixed: 1 0; - align: 0.0 0.5; - rel1 { relative: 0.0 0.0; to: "title_bg"; } - rel2 { relative: 0.0 1.0; to: "title_bg"; } - } - } - part { name: "right_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - min: ACTIONBAR_PADDING_SIZE_INC 0; - max: ACTIONBAR_PADDING_SIZE_INC -1; - fixed: 1 0; - align: 1.0 0.5; - rel1 { relative: 1.0 0.0; to: "title_bg"; } - rel2 { relative: 1.0 1.0; to: "title_bg"; } - } - } - part { name: "click_event_area"; - type: RECT; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - rel1 { to: "title_bg"; } - rel2 { to: "title_bg"; } - color: 0 0 0 0; - } - } - part { name: "access.title"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.to: "title_bg"; - rel2.to: "title_bg"; - color: 0 0 0 0; - } - } - part { name: "top_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 0.0; - min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; - max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; - rel1 {relative: 0.0 0.0; to: "title_bg"; } - rel2 {relative: 1.0 0.0; to: "title_bg"; } - } - } - part { name: "bottom_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; - max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; - rel1 {relative: 0.0 1.0; to: "title_bg"; } - rel2 {relative: 1.0 1.0; to: "title_bg"; } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - scale: 1; - repeat_events: 0; - clip_to: "clipper"; - description { state: "default" 0.0; - rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; } - rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; } - } - } - part { name: "elm.swallow.circle_bg"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; } - } - part { name: "elm.swallow.circle"; - type: SWALLOW; - mouse_events: 0; - scale: 1; - clip_to: "clipper"; - description { state: "default" 0.0; } - } - part { name: "button_padding"; - type: SPACER; - scale: 1; - description { state: "default" 0.0; - fixed: 0 1; - align: 0.5 1.0; - min: 0 100; - max: -1 100; - rel1 {relative: 0.0 1.0; to: "base"; } - rel2 {relative: 1.0 1.0; to: "base"; } - } - } - } - programs { - program { name: "visible"; - signal: "elm,state,visible"; - source: "elm"; - script { - set_state(PART:"base", "default", 0.0); - set_state(PART:"clipper", "default", 0.0); - init(); - slide_start(); - run_program(PROGRAM:"title_text_fade_out"); - } - } - program { name: "invisible"; - signal: "elm,state,invisible"; - source: "elm"; - script { - set_state(PART:"clipper", "hide", 0.0); - } - } - program { name: "title_hide"; - signal: "elm,state,title,hide"; - source: "elm"; - script { - set_state(PART:"title_bg", "hide", 0.0); - set_state(PART:"title_clip", "hide", 0.0); - } - } - program { name: "title_hide_trans"; - signal: "elm,action,title,hide"; - source: "elm"; - script { - new st[32]; - new Float:vl; - get_state(PART:"title_bg", st, 32, vl); - if (!strcmp(st, "default")) { - run_program(PROGRAM:"title_hide_trans2"); - } - } - } - program { name: "title_hide_trans2"; - action: STATE_SET "hide_trans" 0.0; - target: "title_bg"; - transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; - after: "title_hide_trans3"; - } - program { name: "title_hide_trans3"; - script { - run_program(PROGRAM:"title_hide"); - } - after: "title_trans_finished"; - } - program { name: "title_trans_finished"; - action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; - } - program { name: "title_show"; - signal: "elm,state,title,show"; - source: "elm"; - script { - set_state(PART:"title_bg", "default", 0.0); - set_state(PART:"title_clip", "default", 0.0); - run_program(PROGRAM:"title_text_fade_out"); - } - } - program { name: "title_show_trans"; - signal: "elm,action,title,show"; - source: "elm"; - script { - new st[32]; - new Float:vl; - get_state(PART:"title_bg", st, 32, vl); - if (!strcmp(st, "hide")) { - set_state(PART:"title_bg", "hide_trans", 0.0); - set_state(PART:"title_clip", "default", 0.0); - run_program(PROGRAM:"title_show_trans2"); - } - } - } - program { name: "title_show_trans2"; - action: STATE_SET "default" 0.0; - target: "title_bg"; - transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; - after: "title_trans_finished"; - } - program { name: "title_label_show"; - signal: "elm,state,title_label,show"; - source: "elm"; - script { - run_program(PROGRAM:"title_text_fade_out"); - } - } - program { name: "title_label_hide"; - signal: "elm,state,title_label,hide"; - source: "elm"; - } - program { name: "title_expand_show"; - signal: "elm,state,title_expand,show"; - source: ""; - script { - set_state(PART:"title_expand", "show", 0.0); - } - } - program { name: "title_expand_hide"; - signal: "elm,state,title_expand,hide"; - source: ""; - script { - set_state(PART:"title_expand", "default", 0.0); - } - } - program { name: "hidden_btn_show_trans"; - signal: "elm,action,title_expand,show"; - source: ""; - action: STATE_SET "show" 0.0; - target: "title_expand"; - transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; - } - program { name: "title_expand_hide_trans"; - signal: "elm,action,title_expand,hide"; - source: ""; - action: STATE_SET "default" 0.0; - target: "title_expand"; - transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; - } - program { name: "title_clicked"; - signal: "mouse,clicked,1"; - source: "click_event_area"; - action: SIGNAL_EMIT "elm,action,title,clicked" ""; - } - program { - name: "mirrored_on"; - signal: "edje,state,rtl"; - source: "edje"; - script { - set_int(g_mirrored, 1); - run_program(PROGRAM:"title_text_fade_out"); - } - } - program { - name: "mirrored_off"; - signal: "edje,state,ltr"; - source: "edje"; - script { - set_int(g_mirrored, 0); - run_program(PROGRAM:"title_text_fade_out"); - } - } - program { - name: "title_text_fade_out"; - script { - if (get_int(g_text_fade_out_calc_timer)) { - cancel_timer(g_text_fade_out_calc_timer); - set_int(g_text_fade_out_calc_timer, 0); - } - set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0)); - } - } - } -} - -////////////////////////////////////////////////////////////////////////////////// -// Customizing panel for send button. -////////////////////////////////////////////////////////////////////////////////// - -// ***************************** Panel*****************************************/ -#define PANEL_LEFT_PADDING_SIZE_INC 8 -#define PANEL_RIGHT_PADDING_SIZE_INC 6 -#define PANEL_LEFT_IMAGE_SIZE_INC 29 36 -#define PANEL_RIGHT_IMAGE_SIZE_INC 16 36 -#define PANEL_RIGHT_CUE_SIZE_INC 32 158 -#define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158 -#define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140 -#define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140 -#define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200 -#define PANEL_LAYOUT_SIZE_INC 360 360 - -images { - image, "./b_more_option.png" COMP; - image, "./b_more_option_ef.png" COMP; - image, "./b_more_option_bg.png" COMP; - image, "./b_ic_press_full_circle_bg.png" COMP; -} - -group { name: "elm/panel/right1/default"; - script { - public mouse_down = 0; - public mouse_click = 0; - public multi_down = 0; - public click_cnt = 0; - public event_down = 0; - public cue_hide = 0; - public timer0(val) { - if(val == 1) - run_program(PROGRAM:"change_opacity"); - else if(val == 2) - run_program(PROGRAM:"change_opacity2"); - } - } - parts { - part { name: "bg"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_LAYOUT_SIZE_INC; - max: PANEL_LAYOUT_SIZE_INC; - //color_class: "transparent"; - color: 0 0 0 0; - } - } - part { name: "cue.padding"; - type: SPACER; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.relative: 1.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - align: 1.0 0.5; - min: PANEL_RIGHT_PADDING_SIZE_INC 0; - max: PANEL_RIGHT_PADDING_SIZE_INC -1; - fixed: 1 0; - } - } - part { name: "cue"; - description { state: "default" 0.0; - min: PANEL_RIGHT_IMAGE_SIZE_INC; - max: PANEL_RIGHT_IMAGE_SIZE_INC; - fixed: 1 0; - image.normal: "./b_more_option.png"; - color: 128 128 128 128; - rel1.to: "cue.padding"; - rel1.relative: 0.0 0.0; - rel2.to: "cue.padding"; - rel2.relative: 0.0 1.0; - align: 1.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - } - part { name: "cue_ef"; - description { state: "default" 0.0; - min: PANEL_RIGHT_IMAGE_SIZE_INC; - max: PANEL_RIGHT_IMAGE_SIZE_INC; - fixed: 1 1; - image.normal: "./b_more_option_ef.png"; - color: 128 128 128 128; - rel1.to: "cue"; - rel2.to: "cue"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "effect_bg"; - scale: 1; - clip_to: "effect_bg_clip"; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 1.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - image.normal: "./b_ic_press_full_circle_bg.png"; - color: 128 128 128 128; - map.on: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 0.8; - zoom.y: 0.8; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "start_persp" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 1.0; - zoom.y: 1.0; - } - } - } - part { name: "effect_bg_clip"; - scale: 1; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 1.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - color: 255 255 255 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "effect_bg2"; - scale: 1; - clip_to: "effect_bg_clip2"; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 1.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - image.normal: "./b_ic_press_full_circle_bg.png"; - //color_class: "transparent"; - color: 0 0 0 0; - map.on: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 0.8; - zoom.y: 0.8; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "start_persp" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 1.0; - zoom.y: 1.0; - } - } - } - part { name: "effect_bg_clip2"; - scale: 1; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 1.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - color: 255 255 255 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "cue.event"; - type: RECT; - repeat_events: 0; - description { state: "default" 0.0; - min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; - max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; - fixed: 1 0; - //color_class: "transparent"; - color: 0 0 0 0; - rel1.to: "bg"; - rel1.relative: 1.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - align: 1.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "cue.release.event"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; - max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; - fixed: 1 0; - //color_class: "transparent"; - color: 0 0 0 0; - rel1.to: "bg"; - rel1.relative: 1.0 0.0; - rel2.to: "bg"; - rel2.relative: 1.0 1.0; - align: 1.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "base"; - repeat_events: 0; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.offset: -1 -1; - rel2.to: "bg"; - rel2.offset: 0 0; - visible: 0; - fixed: 1 1; - image.normal: "./b_more_option_bg.png"; - color: 128 128 128 128; - map { - on: 1; - zoom { - x: 1.35; - y: 1.35; - } - color[0]: 0 0 0 0; - color[1]: 0 0 0 0; - color[2]: 0 0 0 0; - color[3]: 0 0 0 0; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - map { - zoom { - x: 1.0; - y: 1.0; - } - color[0]: 255 255 255 255; - color[1]: 255 255 255 255; - color[2]: 255 255 255 255; - color[3]: 255 255 255 255; - } - } - } - part { name: "elm.swallow.content"; - type: SWALLOW; - description { state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - visible: 0; - fixed: 1 1; - map { - on: 1; - zoom { - x: 1.35; - y: 1.35; - } - color[0]: 0 0 0 0; - color[1]: 0 0 0 0; - color[2]: 0 0 0 0; - color[3]: 0 0 0 0; - } - } - description { state: "show" 0.0; - inherit: "default" 0.0; - visible: 1; - map { - zoom { - x: 1.0; - y: 1.0; - } - color[0]: 255 255 255 255; - color[1]: 255 255 255 255; - color[2]: 255 255 255 255; - color[3]: 255 255 255 255; - } - } - } - } - programs { - program { name: "pressed"; - signal: "mouse,down,1*"; - source: "cue.event"; - script { - if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) - { - set_int(mouse_down, 1); - set_int(event_down, 1); - run_program(PROGRAM:"button_press1"); - } - } - } - program { name: "button_press1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"effect_bg", st, 30, vl); - if (strcmp(st, "disabled")) { - emit("elm,action,press", ""); - run_program(PROGRAM:"haptic"); - if(get_int(click_cnt) == 0) { - set_state(PART:"effect_bg", "pressed", 0.0); - set_state(PART:"effect_bg_clip", "pressed", 0.0); - run_program(PROGRAM:"start_persp"); - timer(0.3, "timer0", 1); - } - else if(get_int(click_cnt) == 1) { - set_state(PART:"effect_bg2", "pressed", 0.0); - set_state(PART:"effect_bg_clip2", "pressed", 0.0); - run_program(PROGRAM:"start_persp2"); - timer(0.3, "timer0", 2); - } - } - } - } - program { name: "unpressed"; - signal: "mouse,up,1"; - source: "cue.event"; - script { - if (get_int(mouse_down) == 1) { - set_int(mouse_down, 0); - run_program(PROGRAM:"button_unpress1"); - } - } - } - program { name: "button_unpress1"; - script { - new st[31]; - new Float:vl; - get_state(PART:"effect_bg", st, 30, vl); - if (strcmp(st, "disabled")) { - if(get_int(click_cnt) == 0) - set_int(click_cnt, 1); - else - set_int(click_cnt, 0); - } - } - } - program { name: "release.event_clicked"; - signal: "mouse,clicked,*"; - source: "cue.release.event"; - script { - if (get_int(event_down) == 1) { - set_int(event_down, 0); - emit("cue,clicked", "elm"); - run_program(PROGRAM:"panel_toggle"); - run_program(PROGRAM:"play_sample"); - } - } - } - program { - name: "play_sample"; - action: RUN_PLUGIN "touch_sound"; - } - program { name: "panel_toggle"; - action: SIGNAL_EMIT "elm,action,panel,toggle" "elm"; - } - program { - name: "haptic"; - action: RUN_PLUGIN "haptic_tap"; - } - program { name: "disable"; - signal: "elm,state,disabled"; - source: "elm"; - script { - if (get_int(cue_hide) == 0) - set_state(PART:"cue", "disabled", 0.0); - set_state(PART:"effect_bg", "disabled", 0.0); - set_state(PART:"cue.event", "hidden", 0.0); - set_state(PART:"cue.release.event", "hidden", 0.0); - } - } - program { name: "enable"; - signal: "elm,state,enabled"; - source: "elm"; - script { - if (get_int(cue_hide) == 1) { - set_state(PART:"cue", "hidden", 0.0); - set_state(PART:"cue.event", "hidden", 0.0); - set_state(PART:"cue.release.event", "hidden", 0.0); - } - else { - set_state(PART:"cue", "default", 0.0); - set_state(PART:"cue.event", "default", 0.0); - set_state(PART:"cue.release.event", "default", 0.0); - } - set_state(PART:"effect_bg", "default", 0.0); - } - } - program { name: "multi_down"; - signal: "elm,action,multi,down"; - source: "elm"; - script { - set_int(multi_down, 1); - } - } - program { name: "multi_up"; - signal: "elm,action,multi,up"; - source: "elm"; - script { - set_int(multi_down, 0); - } - } - program { name: "start_persp"; - action: STATE_SET "start_persp" 0.0; - transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; - target: "effect_bg"; - } - program { name: "change_opacity"; - action: STATE_SET "default" 0.0; - transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; - target: "effect_bg_clip"; - } - program { name: "start_persp2"; - action: STATE_SET "start_persp" 0.0; - transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; - target: "effect_bg2"; - } - program { name: "change_opacity2"; - action: STATE_SET "default" 0.0; - transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; - target: "effect_bg_clip2"; - } - program { - signal: "elm,action,show"; - source: "elm"; - action: STATE_SET "show" 0.0; - transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; - target: "elm.swallow.content"; - target: "base"; - after: "active,finished"; - } - program { - signal: "elm,action,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; - target: "elm.swallow.content"; - target: "base"; - after: "inactive,finished"; - } - program { name: "active,finished"; - action: SIGNAL_EMIT "elm,state,active,finished" "elm"; - } - program { name: "inactive,finished"; - action: SIGNAL_EMIT "elm,state,inactive,finished" "elm"; - } - program { name: "cue,hide"; - signal: "cue,hide"; - source: "elm"; - script { - set_int(cue_hide, 1); - set_state(PART:"cue", "hidden", 0.0); - set_state(PART:"cue_ef", "hidden", 0.0); - set_state(PART:"cue.event", "hidden", 0.0); - set_state(PART:"cue.release.event", "hidden", 0.0); - } - } - program { name: "cue,show"; - signal: "cue,show"; - source: "elm"; - script { - set_int(cue_hide, 0); - set_state(PART:"cue", "default", 0.0); - set_state(PART:"cue_ef", "default", 0.0); - set_state(PART:"cue.event", "default", 0.0); - set_state(PART:"cue.release.event", "default", 0.0); - } - } - } -} - -group { name: "elm/panel/left1/default"; - inherit: "elm/panel/right1/default"; - parts { - part { name: "cue.padding"; - type: SPACER; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - min: PANEL_RIGHT_PADDING_SIZE_INC 0; - max: PANEL_RIGHT_PADDING_SIZE_INC -1; - fixed: 1 0; - } - } - part { name: "cue"; - description { state: "default" 0.0; - min: PANEL_RIGHT_IMAGE_SIZE_INC; - max: PANEL_RIGHT_IMAGE_SIZE_INC; - fixed: 1 0; - image.normal: "./b_more_option.png"; - color: 128 128 128 128; - rel1.to: "cue.padding"; - rel1.relative: 1.0 0.0; - rel2.to: "cue.padding"; - rel2.relative: 1.0 1.0; - align: 0.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - } - } - part { name: "cue_ef"; - description { state: "default" 0.0; - min: PANEL_RIGHT_IMAGE_SIZE_INC; - max: PANEL_RIGHT_IMAGE_SIZE_INC; - fixed: 1 1; - image.normal: "./b_more_option_ef.png"; - color: 128 128 128 128; - rel1.to: "cue"; - rel2.to: "cue"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "effect_bg"; - scale: 1; - clip_to: "effect_bg_clip"; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - image.normal: "./b_ic_press_full_circle_bg.png"; - color: 128 128 128 128; - map.on: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 0.8; - zoom.y: 0.8; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "start_persp" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 1.0; - zoom.y: 1.0; - } - } - } - part { name: "effect_bg_clip"; - scale: 1; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - color: 255 255 255 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "effect_bg2"; - scale: 1; - clip_to: "effect_bg_clip2"; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - image.normal: "./b_ic_press_full_circle_bg.png"; - //color_class: "transparent"; - color: 0 0 0 0; - map.on: 1; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 0.8; - zoom.y: 0.8; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - description { state: "start_persp" 0.0; - inherit: "default" 0.0; - color: 128 128 128 128; - map { - zoom.x: 1.0; - zoom.y: 1.0; - } - } - } - part { name: "effect_bg_clip2"; - scale: 1; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.5 0.5; - fixed: 1 0; - color: 255 255 255 0; - } - description { state: "pressed" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - } - } - part { name: "cue.event"; - type: RECT; - description { state: "default" 0.0; - min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; - max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; - fixed: 1 0; - //color_class: "transparent"; - color: 0 0 0 0; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "cue.release.event"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; - max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; - fixed: 1 0; - //color_class: "transparent"; - color: 0 0 0 0; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - } -} - -group { name: "elm/panel/left_sending/default"; - inherit: "elm/panel/left1/default"; - parts { - part { name: "cue.padding"; - type: SPACER; - description { state: "default" 0.0; - rel1.to: "bg"; - rel1.relative: 0.0 0.0; - rel2.to: "bg"; - rel2.relative: 0.0 1.0; - align: 0.0 0.5; - min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0; - max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1; - fixed: 1 0; - } - } - part { name: "cue"; - description { state: "default" 0.0; - min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; - max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; - fixed: 1 0; - image.normal: "./b_stt_send_icon.png"; - color: 128 128 128 128; - rel1.to: "cue.padding"; - rel1.relative: 1.0 0.0; - rel2.to: "cue.padding"; - rel2.relative: 1.0 1.0; - align: 0.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "AO015L2D";//"B052L1D"; - } - } - part { name: "cue_ef"; - description { state: "default" 0.0; - min: PANEL_RIGHT_IMAGE_SIZE_INC; - max: PANEL_RIGHT_IMAGE_SIZE_INC; - fixed: 1 1; - visible: 0; - image.normal: "./b_more_option_ef.png"; - color: 128 128 128 128; - rel1.to: "cue"; - rel2.to: "cue"; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - } -} - -group { name: "elm/panel/left_confirm/default"; - inherit: "elm/panel/left_sending/default"; - parts { - part { name: "cue"; - description { state: "default" 0.0; - min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; - max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; - fixed: 1 0; - image.normal: "./b_stt_confirm_icon.png"; - color: 128 128 128 128; - rel1.to: "cue.padding"; - rel1.relative: 1.0 0.0; - rel2.to: "cue.padding"; - rel2.relative: 1.0 1.0; - align: 0.0 0.5; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color_class: "AO015L2D";//"B052L1D"; - } - } - } -} - -} diff --git a/res/images/Delta_w_mode_emoticon_ic.png b/res/images/Delta_w_mode_emoticon_ic.png deleted file mode 100644 index 8511eb6..0000000 Binary files a/res/images/Delta_w_mode_emoticon_ic.png and /dev/null differ diff --git a/res/images/b_stt_confirm_icon.png b/res/images/b_stt_confirm_icon.png deleted file mode 100644 index 5ea22f4..0000000 Binary files a/res/images/b_stt_confirm_icon.png and /dev/null differ diff --git a/res/images/b_stt_send_icon.png b/res/images/b_stt_send_icon.png deleted file mode 100644 index 46e2a35..0000000 Binary files a/res/images/b_stt_send_icon.png and /dev/null differ diff --git a/res/images/bubble_ic_emoticons.png b/res/images/bubble_ic_emoticons.png deleted file mode 100644 index 0bb0f4e..0000000 Binary files a/res/images/bubble_ic_emoticons.png and /dev/null differ diff --git a/res/images/bubble_ic_stt.png b/res/images/bubble_ic_stt.png deleted file mode 100644 index 6c870c5..0000000 Binary files a/res/images/bubble_ic_stt.png and /dev/null differ diff --git a/res/images/bubble_ic_templates.png b/res/images/bubble_ic_templates.png deleted file mode 100644 index 5059090..0000000 Binary files a/res/images/bubble_ic_templates.png and /dev/null differ diff --git a/res/images/emoticons/page_icon_bg.png b/res/images/emoticons/page_icon_bg.png deleted file mode 100644 index 83feb06..0000000 Binary files a/res/images/emoticons/page_icon_bg.png and /dev/null differ diff --git a/res/images/emoticons/u1f408.png b/res/images/emoticons/u1f408.png deleted file mode 100644 index 0022a79..0000000 Binary files a/res/images/emoticons/u1f408.png and /dev/null differ diff --git a/res/images/emoticons/u1f414.png b/res/images/emoticons/u1f414.png deleted file mode 100644 index 745cb04..0000000 Binary files a/res/images/emoticons/u1f414.png and /dev/null differ diff --git a/res/images/emoticons/u1f415.png b/res/images/emoticons/u1f415.png deleted file mode 100644 index 00a2c74..0000000 Binary files a/res/images/emoticons/u1f415.png and /dev/null differ diff --git a/res/images/emoticons/u1f42f.png b/res/images/emoticons/u1f42f.png deleted file mode 100644 index cf8d6b5..0000000 Binary files a/res/images/emoticons/u1f42f.png and /dev/null differ diff --git a/res/images/emoticons/u1f433.png b/res/images/emoticons/u1f433.png deleted file mode 100644 index 05f9ee5..0000000 Binary files a/res/images/emoticons/u1f433.png and /dev/null differ diff --git a/res/images/emoticons/u1f43c.png b/res/images/emoticons/u1f43c.png deleted file mode 100644 index a2ffdd6..0000000 Binary files a/res/images/emoticons/u1f43c.png and /dev/null differ diff --git a/res/images/emoticons/u1f43d.png b/res/images/emoticons/u1f43d.png deleted file mode 100644 index 3db9c3f..0000000 Binary files a/res/images/emoticons/u1f43d.png and /dev/null differ diff --git a/res/images/emoticons/u1f44c.png b/res/images/emoticons/u1f44c.png deleted file mode 100644 index 2ca9856..0000000 Binary files a/res/images/emoticons/u1f44c.png and /dev/null differ diff --git a/res/images/emoticons/u1f44d.png b/res/images/emoticons/u1f44d.png deleted file mode 100644 index e0fc867..0000000 Binary files a/res/images/emoticons/u1f44d.png and /dev/null differ diff --git a/res/images/emoticons/u1f44e.png b/res/images/emoticons/u1f44e.png deleted file mode 100644 index 61ba959..0000000 Binary files a/res/images/emoticons/u1f44e.png and /dev/null differ diff --git a/res/images/emoticons/u1f495.png b/res/images/emoticons/u1f495.png deleted file mode 100644 index ae1c96c..0000000 Binary files a/res/images/emoticons/u1f495.png and /dev/null differ diff --git a/res/images/emoticons/u1f604.png b/res/images/emoticons/u1f604.png deleted file mode 100644 index b63f4ae..0000000 Binary files a/res/images/emoticons/u1f604.png and /dev/null differ diff --git a/res/images/emoticons/u1f606.png b/res/images/emoticons/u1f606.png deleted file mode 100644 index e015089..0000000 Binary files a/res/images/emoticons/u1f606.png and /dev/null differ diff --git a/res/images/emoticons/u1f60a.png b/res/images/emoticons/u1f60a.png deleted file mode 100644 index 8b2c482..0000000 Binary files a/res/images/emoticons/u1f60a.png and /dev/null differ diff --git a/res/images/emoticons/u1f60d.png b/res/images/emoticons/u1f60d.png deleted file mode 100644 index ea2c643..0000000 Binary files a/res/images/emoticons/u1f60d.png and /dev/null differ diff --git a/res/images/emoticons/u1f61a.png b/res/images/emoticons/u1f61a.png deleted file mode 100644 index d7a1f37..0000000 Binary files a/res/images/emoticons/u1f61a.png and /dev/null differ diff --git a/res/images/emoticons/u1f61c.png b/res/images/emoticons/u1f61c.png deleted file mode 100644 index e865de4..0000000 Binary files a/res/images/emoticons/u1f61c.png and /dev/null differ diff --git a/res/images/emoticons/u1f620.png b/res/images/emoticons/u1f620.png deleted file mode 100644 index fd9b4f1..0000000 Binary files a/res/images/emoticons/u1f620.png and /dev/null differ diff --git a/res/images/emoticons/u1f621.png b/res/images/emoticons/u1f621.png deleted file mode 100644 index 3bab8c6..0000000 Binary files a/res/images/emoticons/u1f621.png and /dev/null differ diff --git a/res/images/emoticons/u1f622.png b/res/images/emoticons/u1f622.png deleted file mode 100644 index c99193d..0000000 Binary files a/res/images/emoticons/u1f622.png and /dev/null differ diff --git a/res/images/emoticons/u1f624.png b/res/images/emoticons/u1f624.png deleted file mode 100644 index 57f7def..0000000 Binary files a/res/images/emoticons/u1f624.png and /dev/null differ diff --git a/res/images/emoticons/u1f625.png b/res/images/emoticons/u1f625.png deleted file mode 100644 index 2c08125..0000000 Binary files a/res/images/emoticons/u1f625.png and /dev/null differ diff --git a/res/images/emoticons/u1f62a.png b/res/images/emoticons/u1f62a.png deleted file mode 100644 index 1d267cb..0000000 Binary files a/res/images/emoticons/u1f62a.png and /dev/null differ diff --git a/res/images/emoticons/u1f62b.png b/res/images/emoticons/u1f62b.png deleted file mode 100644 index b840d3d..0000000 Binary files a/res/images/emoticons/u1f62b.png and /dev/null differ diff --git a/res/images/emoticons/u1f631.png b/res/images/emoticons/u1f631.png deleted file mode 100644 index 9530095..0000000 Binary files a/res/images/emoticons/u1f631.png and /dev/null differ diff --git a/res/images/emoticons/u1f632.png b/res/images/emoticons/u1f632.png deleted file mode 100644 index f796a95..0000000 Binary files a/res/images/emoticons/u1f632.png and /dev/null differ diff --git a/res/images/emoticons/u1f637.png b/res/images/emoticons/u1f637.png deleted file mode 100644 index 17574f0..0000000 Binary files a/res/images/emoticons/u1f637.png and /dev/null differ diff --git a/res/images/emoticons/w_emoticions_center_bg.png b/res/images/emoticons/w_emoticions_center_bg.png deleted file mode 100644 index 262f03d..0000000 Binary files a/res/images/emoticons/w_emoticions_center_bg.png and /dev/null differ diff --git a/res/images/emoticons/w_emoticions_center_stroke.png b/res/images/emoticons/w_emoticions_center_stroke.png deleted file mode 100644 index 3c16c89..0000000 Binary files a/res/images/emoticons/w_emoticions_center_stroke.png and /dev/null differ diff --git a/res/images/prompt_ic_languages.png b/res/images/prompt_ic_languages.png deleted file mode 100644 index d998dca..0000000 Binary files a/res/images/prompt_ic_languages.png and /dev/null differ diff --git a/res/images/toast_check_icon.png b/res/images/toast_check_icon.png deleted file mode 100644 index 213a2f7..0000000 Binary files a/res/images/toast_check_icon.png and /dev/null differ diff --git a/res/images/w_list_add_ic.png b/res/images/w_list_add_ic.png deleted file mode 100644 index 83e4829..0000000 Binary files a/res/images/w_list_add_ic.png and /dev/null differ diff --git a/res/images/w_mode_emoticon_ic.png b/res/images/w_mode_emoticon_ic.png deleted file mode 100644 index e44bf87..0000000 Binary files a/res/images/w_mode_emoticon_ic.png and /dev/null differ diff --git a/res/images/w_mode_keyboard_ic.png b/res/images/w_mode_keyboard_ic.png deleted file mode 100644 index 10bb4fd..0000000 Binary files a/res/images/w_mode_keyboard_ic.png and /dev/null differ diff --git a/res/images/w_mode_location_ic.png b/res/images/w_mode_location_ic.png deleted file mode 100644 index fbf6b87..0000000 Binary files a/res/images/w_mode_location_ic.png and /dev/null differ diff --git a/res/images/w_mode_stt_ic.png b/res/images/w_mode_stt_ic.png deleted file mode 100644 index 0761a5c..0000000 Binary files a/res/images/w_mode_stt_ic.png and /dev/null differ diff --git a/res/images/w_sip_number_btn_ic.png b/res/images/w_sip_number_btn_ic.png deleted file mode 100644 index c600dcc..0000000 Binary files a/res/images/w_sip_number_btn_ic.png and /dev/null differ diff --git a/res/mobile/edje/w-input-selector.edc b/res/mobile/edje/w-input-selector.edc new file mode 100644 index 0000000..c00e082 --- /dev/null +++ b/res/mobile/edje/w-input-selector.edc @@ -0,0 +1,808 @@ +#define FONT_NAME "GP45_ArabCJK_TouchWiz" + +#define BTN_W 120 +#define BTN_H 120 +#define BTN_PAD_W 1 +#define BTN_PAD_H 1 + +collections { + base_scale: 1.3; + group { name: "main"; + parts { + part { name: "background"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 255; + } + } + + part { name: "txt_title"; + type: TEXT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 0.35; to: background; } + text { font: FONT_NAME; size: 35; } + color: 0 140 239 255; + fixed: 1 1; + } + } + + part { name: "btn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 1.0; to: background; } + min: BTN_W BTN_H; + max: BTN_W BTN_H; + align: 0 0.5; + fixed: 1 1; + } + } + + part { name: "padding"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_x: "btn1"; + relative: 1.0 0.0; + } + rel2 { + to_y: "btn1"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: BTN_PAD_W BTN_H; + max: BTN_PAD_W BTN_H; + fixed: 1 1; + } + } + + part { name: "btn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding"; + relative: 1.0 0.0; + } + rel2 { + to_y: "padding"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: (BTN_W - BTN_PAD_W) BTN_H; + max: (BTN_W - BTN_PAD_W) BTN_H; + fixed: 1 1; + } + } + part { name: "padding2"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_x: "btn2"; + relative: 1.0 0.0; + } + rel2 { + to_y: "btn2"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: BTN_PAD_W BTN_H; + max: BTN_PAD_W BTN_H; + fixed: 1 1; + } + } + + part { name: "btn3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding2"; + relative: 1.0 0.0; + } + rel2 { + to_y: "padding2"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: (BTN_W - BTN_PAD_W) BTN_H; + max: (BTN_W - BTN_PAD_W) BTN_H; + fixed: 1 1; + } + } + + part { name: "template_list"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 1.0; to: background; } + align: 0.0 0.0; + } + } + } + } + +#define LIST_BUTTON_PADDING_LEFT_SIZE_INC 0 +#define LIST_BUTTON_PADDING_RIGHT_SIZE_INC 0 +#define LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC 1 +#define LIST_BUTTON_PADDING_BOTTOM_SIZE_INC 1 +#define BUTTON_2BUTTON_WIDTH_INC 180 +#define BUTTON_2BUTTON_RIGHT_WIDTH_INC 179 +#define LIST_BUTTON_PADDING_CENTER_SIZE_INC 1 + +#define PART(TYPE, NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: TYPE; \ + DESCRIPION \ + } + +#define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_TB( TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_FROM_L( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel2.relative: 0.0 1.0; \ + PARAM \ + } + +#define DESC_FROM_R( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + PARAM \ + } + +#define DESC_FROM_T( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 0 1; \ + align: 0.5 0.0; \ + rel2.relative: 1.0 0.0; \ + PARAM \ + } + +#define DESC_FROM_B( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + PARAM \ + } + +#define DESC_L( LEFT, PARAM ) \ + description { state: "default" 0.0; \ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + PARAM \ + } + + + +#define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \ + PART(SWALLOW, "elm.swallow.pad", \ + mouse_events: 0; \ + DESC_FROM_L( ; ) \ + ) \ + PART(SWALLOW, "elm.swallow.colorbar", \ + mouse_events: 0; \ + DESC_L("elm.swallow.pad", ) \ + ) \ + PART(SPACER, "elm.padding.left", \ + scale: 0; \ + DESC_L("elm.swallow.pad", \ + min: LEFT_SIZE 0; \ + max: LEFT_SIZE -1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.right", \ + scale: 0; \ + DESC_FROM_R( \ + min: RIGHT_SIZE 0; \ + max: RIGHT_SIZE -1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.top", \ + scale: 0; \ + DESC_FROM_T( \ + min: 0 TOP_SIZE; \ + max: -1 TOP_SIZE; \ + ) \ + ) \ + PART(SPACER, "elm.padding.bottom", \ + scale: 0; \ + DESC_FROM_B( \ + min: 0 BOTTOM_SIZE; \ + max: -1 BOTTOM_SIZE; \ + ) \ + ) + +#define PROGRAM_LIST_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_DISABLE( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_SELECT( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + TARGET \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_HIGHLIGHT( TARGET ) \ + program { name: "highlighted"; \ + signal: "elm,state,highlighted"; \ + source: "elm"; \ + action: STATE_SET "highlighted" 0.0; \ + TARGET \ + transition: LINEAR 1.0; \ + } \ + program { name: "unhighlighted"; \ + signal: "elm,state,unhighlighted"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + transition: LINEAR 1.0; \ + } + +#define PROGRAMS_LIST_BUTTON( TARGET ) \ + programs { \ + PROGRAM_LIST_DEFAULT( TARGET \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + PROGRAM_LIST_DISABLE( TARGET \ + ) \ + PROGRAM_LIST_SELECT( TARGET \ + ) \ + PROGRAM_LIST_HIGHLIGHT( TARGET ) \ + PROGRAM_LIST_SOUND \ + } + +#define PROGRAM_LIST_SOUND \ + program { name: "play_sound"; \ + signal: "elm,state,clicked"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"play_sample"); \ + } \ + } \ + program { \ + name: "play_sample"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + + +#define BUTTON_HEIGHT_INC 122 + +#define PART_LIST_BG \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 1; \ + } \ + ) + + + +// 3 button + group { + name: "elm/genlist/item/3button_flat/default"; + alias: "elm/genlist/item/3button_flat_recent/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area"; + data.item: "vi_effect" "on"; + data.item: "dim" "off"; + data.item: "focus_bg" "off"; + + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + + part { + name: "elm.icon.1"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.1.touch_area"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + } + } + + part { + name: "elm.icon.2"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + } + + } + part { + name: "elm.icon.2.touch_area"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + } + + } + + + part { + name: "elm.icon.3"; // right icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.3.touch_area"; // right icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + } + } + + } + } + +//2button + group { + name: "elm/genlist/item/2button_flat/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.1.touch_area elm.icon.2.touch_area"; + data.item: "vi_effect" "on"; + data.item: "dim" "off"; + data.item: "focus_bg" "off"; + + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + + part { + name: "elm.icon.1"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.1.touch_area"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + } + } + + part { + name: "elm.icon.2"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + } + + } + part { + name: "elm.icon.2.touch_area"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + } + + } + } + } + + group { name: "elm/button/base/ime/transparent"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 130; + color_class: "AO015"; + visible: 0; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015D"; + } + } + part { + name: "padding_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + } + part { + name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + } + } + part { + name: "icon_rect"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 134 61; + max: 134 61; + fixed: 1 1; + } + } + } + } + + group { + name: "elm/genlist/item/2button/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.1 elm.icon.2 elm.swallow.center_check"; + data.item: "vi_effect" "off"; + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + part { name: "elm.icon.1.touch_area"; + type: SWALLOW; + repeat_events, 0; + description { + state: "default" 0.0; + color: 255 0 0 100; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;} + } + } + part { name: "elm.icon.2.touch_area"; + type: SWALLOW; + repeat_events, 0; + description { + state: "default" 0.0; + color: 0 0 255 100; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -6 -5;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +6 +5;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -9 -8;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +9 +8;} + } + } + part { name: "elm.icon.1"; + type: SWALLOW; + repeat_events, 1; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0; + fixed: 1 1; + min: 114 114; + max: 114 114; + rel1 { relative: 112/360 0; to: "base"; offset: 0 35;} + rel2 { relative: 112/360 0; to: "base"; offset: 0 35;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + min: 114+(198-114)/2 114+(198-114)/2; + max: 114+(198-114)/2 114+(198-114)/2; + rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + min: 198 198; + max: 198 198; + rel1 { relative: 128/360 0; to: "base"; offset: 0 12;} + rel2 { relative: 128/360 0; to: "base"; offset: 0 12;} + } + } + part { name: "elm.icon.2"; + type: SWALLOW; + repeat_events, 1; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0; + fixed: 1 1; + min: 114 114; + max: 114 114; + rel1 { relative: 249/360 0; to: "base"; offset: 0 35;} + rel2 { relative: 249/360 0; to: "base"; offset: 0 35;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + min: 114+(198-114)/2 114+(99-114)/2; + max: 114+(198-114)/2 114+(198-114)/2; + rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + min: 198 198; + max: 198 198; + rel1 { relative: 297/360 0; to: "base"; offset: 0 12;} + rel2 { relative: 297/360 0; to: "base"; offset: 0 12;} + } + } + + PART(SPACER, "elm.padding.fake", + DESC_TB("elm.padding.top","elm.padding.bottom", + min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; + max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; + fixed: 1 0; + ) + ) + PART(SPACER, "elm.padding.center", + DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom", + min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; + max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; + fixed: 1 0; + ) + ) + PART(SWALLOW, "elm.swallow.center_check", + description { state: "default" 0.0; + align: 0.5 0.5; + } + ) + } +} diff --git a/res/mobile/edje/w-input-stt-button.edc b/res/mobile/edje/w-input-stt-button.edc new file mode 100644 index 0000000..c8865f4 --- /dev/null +++ b/res/mobile/edje/w-input-stt-button.edc @@ -0,0 +1,288 @@ +/* + * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#define NORMAL_BG_IMAGE "B09_voice_input_panel.png" + +#define PROGRESSING_DELAY 0.03 +#define PROGRESS_BG_DESC1( param_name, param_num ) \ +description \ +{ \ + state, "pulse" 0.#param_num; \ + inherit, "default" 0.0; \ + image.normal, "B09_"#param_name"_"#param_num".png"; \ +} + +#define LISTEN_BG_DESC( param_name, param_num ) \ +description \ +{ \ + state, "wave" 0.#param_num; \ + inherit, "default" 0.0; \ + image.normal, "B09_"#param_name"_"#param_num".png"; \ +} + +#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 112 112 +#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13 +#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14 + +#define BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC 0 2 +#define BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 +#define BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC 0 -2 +#define BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 + +#define BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC 0 0 0 255 +#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 +#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 21 22 25 255 + +#define BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC 250 250 250 255 +#define BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC 250 250 250 255 +#define BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC 166 167 169 255 + + +/////////////////////////////////////////////////////////////////////////////////////// + + +//============================================================================ +//============================================================================ + +/** + * Resources + * + */ + +/** + * Macro + * + */ +#define BTN_IMAGE() \ +part \ +{ \ + name, "button_image"; \ + mouse_events, 1; \ + scale, 1; \ + description \ + { \ + state, "default" 0.0; \ + } \ + description \ + { \ + state, "clicked" 0.0; \ + inherit, "default" 0.0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ + description \ + { \ + state, "focused" 0.0; \ + inherit, "default" 0.0; \ + } \ +} + +#define OVER() \ +part \ +{ \ + name, "over2"; \ + type, RECT; \ + mouse_events, 1; \ + repeat_events, 1; \ + ignore_flags, ON_HOLD; \ + description \ + { \ + state, "default" 0.0; \ + color, 0 0 0 0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 0; \ + } \ +} \ +part \ +{ \ + name, "over3"; \ + type, RECT; \ + mouse_events, 1; \ + repeat_events, 1; \ + description \ + { \ + state, "default" 0.0; \ + color, 0 0 0 0; \ + } \ + description \ + { \ + state, "clicked" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ +} + +#define DISABLER() \ +part \ +{ \ + name, "disabler"; \ + type, RECT; \ + description \ + { \ + state, "default" 0.0; \ + color, 255 255 255 0; \ + visible, 0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ +} + +#define PROG_FOCUS \ +program \ +{ \ + name, "focused"; \ + signal, "elm,action,focus"; \ + source, "elm"; \ + action, STATE_SET "focused" 0.0; \ + target, "button_image"; \ +} \ +program \ +{ \ + name, "unfocused"; \ + signal, "elm,action,unfocus"; \ + source, "elm"; \ + action, STATE_SET "default" 0.0; \ + target, "button_image"; \ +} + +#define PROG_ENABLE \ +program \ +{ \ + name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "button_image"; \ + target: "over2"; \ + target: "disabler"; \ +} \ +program \ +{ \ + name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "over2"; \ + target: "disabler"; \ +} + +#define PROG_CLICK \ +program \ +{ \ + name: "button_click"; \ + signal: "mouse,down,1"; \ + source: "over2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_click_anim"; \ +} \ +program \ +{ \ + name: "button_click_anim"; \ + action: STATE_SET "clicked" 0.0; \ + target: "button_image"; \ +} \ +program \ +{ \ + name: "button_unclick"; \ + signal: "mouse,up,1"; \ + source: "over2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + after: "button_unclick_anim"; \ +} \ +program \ +{ \ + name: "button_unclick_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ +} \ +program \ +{ \ + name: "button_mouseout_clicked"; \ + signal: "mouse,out"; \ + source: "over2"; \ + script \ + { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"button_image", st, 30, vl); \ + if (!strcmp(st, "clicked")) \ + { \ + set_state(PART:"button_image", "visible", 0.0); \ + } \ + } \ +} \ +program \ +{ \ + name: "button_click2"; \ + signal: "mouse,down,1"; \ + source: "over3"; \ + action: STATE_SET "clicked" 0.0; \ + target: "over3"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ +} \ +program \ +{ \ + name: "button_unclick2"; \ + signal: "mouse,up,1"; \ + source: "over3"; \ + action: STATE_SET "default" 0.0; \ + target: "over3"; \ +} \ +program \ +{ \ + name: "button_unclick3"; \ + signal: "mouse,up,1"; \ + source: "over2"; \ +} + +#define VIC_BUTTON() \ +group \ +{ \ + name, "elm/button/base/vic/micbutton"; \ + parts \ + { \ + BTN_IMAGE() \ + OVER() \ + DISABLER() \ + } \ + programs \ + { \ + PROG_CLICK \ + PROG_ENABLE \ + PROG_FOCUS \ + } \ +} + +collections +{ + VIC_BUTTON() +} diff --git a/res/mobile/edje/w-input-stt.edc b/res/mobile/edje/w-input-stt.edc new file mode 100644 index 0000000..082731d --- /dev/null +++ b/res/mobile/edje/w-input-stt.edc @@ -0,0 +1,3507 @@ +#include "w-input-stt-button.edc" + +#define VOICE_CANDIDATE_AREA_HEIGHT 56 +#define BUTTON_TEXT_SIZE_INC 85 + +collections +{ + base_scale: 1.3; + + plugins { + plugin { + name: "touch_sound"; + source: "feedback"; + param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP"; + /* 2014.06.11 updated from libsvi(feedback) + Above plugin will run below external function: + int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern); + + param1: feedback_type_e + FEEDBACK_TYPE_NONE = 0, + FEEDBACK_TYPE_SOUND = 1, + FEEDBACK_TYPE_VIBRATION, + FEEDBACK_TYPE_LED, + FEEDBACK_TYPE_END + + * param2 enumeration: + FEEDBACK_PATTERN_TAP = 0, + FEEDBACK_PATTERN_SIP, + FEEDBACK_PATTERN_SIP_BACKSPACE, + FEEDBACK_PATTERN_SIP_FUNCTION, + FEEDBACK_PATTERN_SIP_FJKEY, + ... + + * Fore information, please refer the libsvi libraries. + * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi + * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi + */ + } + plugin { + name: "haptic_tap"; + source: "feedback"; + param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP"; + } + } + + images { + // MIC + image, "./bg/B13_mic_bg.png" COMP; + image, "./icon/B13_mic.png" COMP; + image, "./icon/B13_mic_Que.png" COMP; + image, "./icon/B13_mic_Que_01.png" COMP; + image, "./icon/B13_mic_procecessing_bg.png" COMP; + image, "./text_downdrop.#.png" COMP; + image, "./text_downdrop_press.#.png" COMP; + + image, "./input_ic_voice_mic.png" COMP; + image, "./w_sip_mask_bg.png" COMP; + image, "./tw_bottom_btn_bg.png" COMP; + + image, "./w_mode_ic_bg.png" COMP; + + image, "./b_stt_text_fade_out.png" COMP; + image, "./b_stt_icon_btn.png" COMP; + image, "./b_stt_confirm_icon.png" COMP; + image, "./b_stt_send_icon.png" COMP; + } + + color_classes + { + color_class + { + name: "AO013"; + color: 68 71 77 100; + } + color_class + { + name: "AO014"; + color: 0 0 0 100; + } + color_class + { + name: "AO014P"; + color: 0 0 0 100; + } + color_class + { + name: "AO014D"; + color: 0 0 0 35; + } + color_class + { + name: "AO015L1"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L1P"; + color: 0 0 0 50; + } + color_class + { + name: "AO015L1D"; + color: 0 0 0 40; + } + color_class + { + name: "AO0151"; + color: 0 0 0 100; + } + color_class + { + name: "AO0151P"; + color: 0 0 0 50; + } + color_class + { + name: "AO0151D"; + color: 0 0 0 20; + } + color_class + { + name: "AO0152"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L2"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L2P"; + color: 0 0 0 50; + } + color_class + { + name: "AO015L2D"; + color: 0 0 0 40; + } + color_class + { + name: "AO015L3"; + color: 0 0 0 100; + } + color_class + { + name: "AO01151"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L1"; + color: 0 0 255 255; + } + color_class + { + name: "AO01153L1P"; + color: 61 61 61 100; + } + color_class + { + name: "AO01153L1D"; + color: 163 163 163 100; + } + color_class + { + name: "AO01154L1"; + color: 97 12 117 255; + } + color_class + { + name: "AO01154L1P"; + color: 41 41 41 100; + } + color_class + { + name: "AO01154L1D"; + color: 110 110 110 100; + } + color_class + { + name: "AO01155L1"; + color: 255 0 0 255; + } + color_class + { + name: "AO01155L1P"; + color: 33 33 33 100; + } + color_class + { + name: "AO01155L1D"; + color: 122 122 122 100; + } + color_class + { + name: "AO01153L2"; + color: 18 18 18 30; + } + color_class + { + name: "AO01153L3"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L3P"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L3D"; + color: 0 0 0 40; + } + color_class + { + name: "AO0116"; + color: 0 0 0 100; + } + color_class + { + name: "AO0116P"; + color: 0 0 0 50; + } + color_class + { + name: "AO0116D"; + color: 0 0 0 30; + } + color_class + { + name: "AO01161"; + color: 64 64 64 100; + } + color_class + { + name: "AO01161P"; + color: 38 38 38 100; + } + color_class + { + name: "AO01161D"; + color: 26 26 26 100; + } + color_class + { + name: "AO0117"; + color: 0 0 0 100; + } + color_class + { + name: "AO0118"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119P"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119D"; + color: 0 0 0 5; + } + color_class + { + name: "AO031"; + color: 0 0 0 100; + } + color_class + { + name: "AO031P"; + color: 0 0 0 40; + } + color_class + { + name: "AO031L1"; + color: 0 0 0 41; + } + color_class + { + name: "AO031L1P"; + color: 0 0 0 70; + } + color_class + { + name: "AO0331"; + color: 0 0 0 50; + } + color_class + { + name: "AO0332"; + color: 0 0 0 100; + } + color_class + { + name: "AO034"; + color: 102 102 102 100; + } + color_class + { + name: "AO034P"; + color: 0 0 0 100; + } + color_class + { + name: "AO034D"; + color: 0 0 0 30; + } + color_class + { + name: "AO035"; + color: 5 5 5 100; + } + color_class + { + name: "AO0351"; + color: 0 0 0 15; + } + color_class + { + name: "AO036"; + color: 0 0 0 100; + } + color_class + { + name: "AO0361"; + color: 0 0 0 50; + } + color_class + { + name: "AO037"; + color: 10 10 10 100; + } + color_class + { + name: "AO037P"; + color: 0 0 0 100; + } + color_class + { + name: "AO037S"; + color: 0 0 0 100; + } + color_class + { + name: "AO038"; + color: 0 0 0 100; + } + color_class + { + name: "AO038P"; + color: 0 0 0 50; + } + color_class + { + name: "AO038D"; + color: 0 0 0 40; + } + color_class + { + name: "AT0113"; + color: 0 0 0 100; + } + color_class + { + name: "AT0113P"; + color: 0 0 0 100; + } + color_class + { + name: "AT0113D"; + color: 0 0 0 70; + } + color_class + { + name: "AT0113S"; + color: 0 0 0 100; + } + color_class + { + name: "AT0114"; +# color: 0 0 0 100; + color: 128 128 128 100; + } + color_class + { + name: "AT0114D"; + color: 0 0 0 5; + } + color_class + { + name: "AT02111"; + color: 0 0 0 100; + } + color_class + { + name: "AT02112"; + color: 0 0 0 100; + } + color_class + { + name: "AT02113"; + color: 10 10 10 100; + } + color_class + { + name: "AT021"; + color: 0 0 0 100; + } + color_class + { + name: "AT022"; + color: 0 0 0 100; + } + color_class + { + name: "AT023"; + color: 0 0 0 100; + } + color_class + { + name: "AT023P"; + color: 0 0 0 50; + } + color_class + { + name: "AT023D"; + color: 0 0 0 40; + } + } + + styles + { + style { name, "textblock_style"; + base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; + tag, "br" "\n"; + tag, "ps" "ps"; + tag, "hilight" "+ font=Tizen:style=Bold"; + tag, "b" "+ font=Tizen:style=Bold"; + tag, "tab" "\t"; + } + style { name, "textblock_style_bottom"; + base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; + tag, "br" "\n"; + tag, "ps" "ps"; + tag, "hilight" "+ font=Tizen:style=Bold"; + tag, "b" "+ font=Tizen:style=Bold"; + tag, "tab" "\t"; + } + style { name: "button_general_text_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; + } + style { name: "button_general_text_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#888888 ellipsis=0.0 wrap=mixed"; + } + style { name: "button_general_text_normal"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; + } + } + + group + { + name, "mic_control"; + parts + { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + visible: 1; + color_class, "AO0118"; + } + } + part + { + name, "top_block"; + type, SPACER; + scale, 1; + description + { + state, "default" 0.0; + min, 360 (360-103); + align, 0.5 0; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 0.0; + to, "bg"; + } + } + } + + part + { + name, "text_area"; + type, SWALLOW; + description + { + state, "default" 0.0; + align, 0.5 1; + min, 282 (360-103); + max, 282 (360-103); + + rel1 + { + relative, 39/360 1; + to, "top_block"; + offset, 0 -1; + } + rel2 + { + relative, 321/360 1; + to, "top_block"; + offset, 0 -1; + } + } + } + part + { + name, "left_panel_area"; + type, SWALLOW; + description + { + state, "default" 0.0; + align, 0.5 0.5; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 1.0; + to, "bg"; + } + } + } + + + part + { + name, "background"; + type, IMAGE; + scale, 1; + description + { + state, "default" 0.0; + min, 360 100; + max, 360 100; + rel1 + { + relative, 0 260/360; + to, "bg"; + } + rel2 + { + relative, 1 1; + to, "bg"; + } + image.normal, "./tw_bottom_btn_bg.png"; + color: 128 128 128 128; + } + description + { + state, "pressed" 0.0; + inherit, "default" 0.0; + color: 128 128 128 128; + } + description + { + state, "dim" 0.0; + inherit, "default" 0.0; + color: 128 128 128 128; + } + } + + part + { + name, "EFFECT_BG_AREA"; + type, SPACER; + description + { + state, "default" 0.0; + min, 0 64; + max, 360 64; + align, 0.5 1; + rel1 + { + relative, 0 1; + to, "bg"; + offset, 0 -1; + } + rel2 + { + relative, 1 1; + to, "bg"; + offset, 0 -1; + } + } + + description + { + state, "hide" 0.0; + min, 0 64; + max, 360 64; + align, 0.5 1; + rel1 + { + relative, 0 (360+64)/360; + to, "bg"; + offset, 0 +13; + } + rel2 + { + relative, 1 (360+64)/360; + to, "bg"; + offset, 0 +13; + } + + } + + } + + part + { + name, "EFFECT_BG"; + type, SWALLOW; + description + { + state, "default" 0.0; + visible, 0; + rel1 + { + relative, 0 0; + to, "EFFECT_BG_AREA"; + } + rel2 + { + relative, 1 1; + to, "EFFECT_BG_AREA"; + } + } + description + { + state, "default" 0.1; + inherit, "default" 0.0; + visible, 1; + } + } + + + part + { + name, "MIC_ICON"; + type, IMAGE; + scale, 1; + description + { + state, "default" 0.0; + min, 50 50; + max, 50 50; + rel1 + { + relative, 155/360 26/100; + to, "background"; + } + rel2 + { + relative, 205/360 76/100; + to, "background"; + } + image.normal, "./input_ic_voice_mic.png"; + } + description + { + state, "recording" 0.0; + inherit, "default" 0.0; + visible, 0; + } + description + { + state, "processing" 0.0; + inherit, "default" 0.0; + visible, 0; + } + description + { + state, "message" 0.0; + inherit, "default" 0.0; + rel1 + { + relative, 155/360 41/100; + to, "background"; + } + rel2 + { + relative, 205/360 91/100; + to, "background"; + } + visible, 1; + } + } + + + + //Part for mic button + part + { + name, "MIC"; + type, SWALLOW; + scale, 1; + description + { + state, "default" 0.0; + visible, 1; + min, 290 100; + max, 290 100; + rel1 + { + relative, 35/360 0.0; + to, "background"; + } + rel2 + { + relative, 325/360 1.0; + to, "background"; + } + } + } + part + { + name, "PROGRESS_BAR"; + type, SWALLOW; + scale, 1; + description + { + state, "default" 0.0; + min, 50 50; + max, 50 50; + visible, 0; + rel1 + { + relative, 155/360 27/100; + to, "background"; + } + rel2 + { + relative, 205/360 77/100; + to, "background"; + } + } + description + { + state, "message" 0.0; + inherit, "default" 0.0; + } + description + { + state, "processing" 0.0; + inherit, "default" 0.0; + visible, 1; + } + } + + part + { + name, "guide_text_block"; + type, SPACER; + description + { + state, "default" 0.0; + align, 0.5 0; + rel1 + { + relative, 39/360 140/360; + to, "bg"; + } + rel2 + { + relative, (360-39)/360 (140+42)/360; + to, "bg"; + } + } + description + { + state, "bottom" 0.0; + align, 0.5 0; + rel1 + { + relative, 74/360 (360-91)/360; + to, "bg"; + } + rel2 + { + relative, (360-74)/360 (360-57)/360; + to, "bg"; + } + } + } + + part + { + name, "elm.text"; + type, TEXTBLOCK; + mouse_events, 0; + scale, 1; + description + { + state, "default" 0.0; + visible, 1; + align, 0.5 0.6; + rel1.to, "guide_text_block"; + rel2.to, "guide_text_block"; + text + { + fit: 1 1; + style, "textblock_style"; + } + color, 120 120 120 120; + } + description + { + state, "bottom" 0.0; + inherit, "default" 0.0; + text + { + fit: 1 1; + style, "textblock_style_bottom"; + } + color, 120 120 120 120; + } + } + } + + programs + { + program + { + name, "initial_view"; + signal, "mouse,clicked,1"; + source, "background"; + in, 0 0.3; + after, "emit_signal1"; + } + + program + { + name, "emit_signal1"; + action, SIGNAL_EMIT "idle,state,pulse,visible" ""; + } + + program + { + name, "listening"; + signal, "elm,state,listening"; + source, "elm"; + action, STATE_SET "recording" 0.0; + target, "MIC_ICON"; + } + + program + { + name, "start_processing"; + signal, "elm,state,processing"; + source, "elm"; + action, STATE_SET "processing" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + transition, DECELERATE 0.3; + } + + program + { + name, "idle"; + signal, "elm,state,init"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + transition, DECELERATE 0.3; + } + program + { + name, "idle_message"; + signal, "elm,state,init_message"; + source, "elm"; + action, STATE_SET "message" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + } + + program + { + name, "text_show"; + signal, "idle,state,text,visible"; + source, "elm"; + action, STATE_SET "expand" 0.0; + target, "elm.text"; + } + + program + { + name, "text_hide"; + signal, "idle,state,text,hidden"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "elm.text"; + } + program + { + name, "show_effect_part"; + signal, "elm,state,eq,show"; + source, "eq"; + action, STATE_SET "default" 0.1; + target, "EFFECT_BG"; + } + + program + { + name, "hide_effect_part"; + signal, "elm,state,eq,hide"; + source, "eq"; + action, STATE_SET "default" 0.0; + target, "EFFECT_BG"; + } + + program + { + name, "guide_text_up"; + signal, "idle,state,guide_text,up"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "guide_text_block"; + } + program + { + name, "guide_text_bottom"; + signal, "idle,state,guide_text,bottom"; + source, "elm"; + action, STATE_SET "bottom" 0.0; + target, "guide_text_block"; + } + + + } + } + + group + { + name: "option_more_index"; + parts + { + part + { + name: "bg"; + type: SPACER; + scale: 1; + description + { + state: "default" 0.0; + min: 360 360; + max: -1 360; + } + } + part + { + name: "scroller"; + type: SWALLOW; + scale: 1; + description + { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part + { + name: "controller"; + type: SWALLOW; + scale: 1; + description + { + state: "default" 0.0; + align: 0.5 0.0; + min: 360 40; + max: 360 40; + fixed: 0 1; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 0.0; + } + } + } + } + + group + { + name, "language_list"; + parts + { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + min, 358 0; + max, 358 223; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + color, 8 8 8 255; + } + } + part + { + name, "list"; + type, SWALLOW; + scale, 1; + repeat_events, 0; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 1.0; + to, "bg"; + } + } + } + } + } + + group{ + name: "layout_textblock"; + + script { + public timer_cb(val) { + run_program(PROGRAM:"do_scroll"); + } + + } + parts { + part + { + name, "bg"; + type, SPACER; + scale, 1; + description + { + state, "default" 0.0; + min, 282 39; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + scale: 1; + type: SWALLOW; + description { state: "default" 0.0; + min: 282 39; + color, 120 120 120 120; + } + } + } + programs { + program + { + name, "scroll"; + signal, "scrolling"; + source, "entry"; + script { + timer(3/10, "timer_cb", 0); + } + } + program + { + name, "do_scroll"; + action, SIGNAL_EMIT "do_scroll" "entry"; + } + } + } + + group{ name: "entry_focused_layout"; + parts { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + visible: 1; + color, 120 120 120 120; + } + } + part { name: "padding_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + min: 0 20; + fixed: 1 1; + } + } + part { name: "padding_left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + min: 73 0; + fixed: 1 1; + } + } + part { name: "padding_right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + min: 73 0; + fixed: 1 1; + } + } + part { + name: "contents"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";} + min:0 42; + max: -1 42; + align: 0.5 0; + } + } + } + } + + + +#define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50 + group + { + name: "elm/progressbar/horizontal/voice_input/process/small"; + images { + image: "style/tw_loading_small_00.png" COMP; + image: "style/tw_loading_small_01.png" COMP; + image: "style/tw_loading_small_02.png" COMP; + image: "style/tw_loading_small_03.png" COMP; + image: "style/tw_loading_small_04.png" COMP; + image: "style/tw_loading_small_05.png" COMP; + image: "style/tw_loading_small_06.png" COMP; + image: "style/tw_loading_small_07.png" COMP; + image: "style/tw_loading_small_08.png" COMP; + image: "style/tw_loading_small_09.png" COMP; + image: "style/tw_loading_small_10.png" COMP; + image: "style/tw_loading_small_11.png" COMP; + image: "style/tw_loading_small_12.png" COMP; + image: "style/tw_loading_small_13.png" COMP; + image: "style/tw_loading_small_14.png" COMP; + image: "style/tw_loading_small_15.png" COMP; + image: "style/tw_loading_small_16.png" COMP; + image: "style/tw_loading_small_17.png" COMP; + image: "style/tw_loading_small_18.png" COMP; + image: "style/tw_loading_small_19.png" COMP; + image: "style/tw_loading_small_20.png" COMP; + image: "style/tw_loading_small_21.png" COMP; + image: "style/tw_loading_small_22.png" COMP; + image: "style/tw_loading_small_23.png" COMP; + image: "style/tw_loading_small_24.png" COMP; + image: "style/tw_loading_small_25.png" COMP; + image: "style/tw_loading_small_26.png" COMP; + image: "style/tw_loading_small_27.png" COMP; + image: "style/tw_loading_small_28.png" COMP; + image: "style/tw_loading_small_29.png" COMP; + image: "style/tw_loading_small_30.png" COMP; + image: "style/tw_loading_small_31.png" COMP; + image: "style/tw_loading_small_32.png" COMP; + image: "style/tw_loading_small_33.png" COMP; + image: "style/tw_loading_small_34.png" COMP; + image: "style/tw_loading_small_35.png" COMP; + image: "style/tw_loading_small_36.png" COMP; + image: "style/tw_loading_small_37.png" COMP; + image: "style/tw_loading_small_38.png" COMP; + image: "style/tw_loading_small_39.png" COMP; + image: "style/tw_loading_small_40.png" COMP; + image: "style/tw_loading_small_41.png" COMP; + image: "style/tw_loading_small_42.png" COMP; + image: "style/tw_loading_small_43.png" COMP; + image: "style/tw_loading_small_44.png" COMP; + image: "style/tw_loading_small_45.png" COMP; + image: "style/tw_loading_small_46.png" COMP; + image: "style/tw_loading_small_47.png" COMP; + image: "style/tw_loading_small_48.png" COMP; + image: "style/tw_loading_small_49.png" COMP; + image: "style/tw_loading_small_50.png" COMP; + image: "style/tw_loading_small_51.png" COMP; + image: "style/tw_loading_small_52.png" COMP; + image: "style/tw_loading_small_53.png" COMP; + image: "style/tw_loading_small_54.png" COMP; + image: "style/tw_loading_small_55.png" COMP; + image: "style/tw_loading_small_56.png" COMP; + image: "style/tw_loading_small_57.png" COMP; + image: "style/tw_loading_small_58.png" COMP; + image: "style/tw_loading_small_59.png" COMP; + image: "style/tw_loading_small_60.png" COMP; + image: "style/tw_loading_small_61.png" COMP; + image: "style/tw_loading_small_62.png" COMP; + image: "style/tw_loading_small_63.png" COMP; + image: "style/tw_loading_small_64.png" COMP; + } + parts { + part { + name: "access"; + type: RECT; + description + { + state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { + name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { + name: "bar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; + max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; + fixed, 1 1; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "style/tw_loading_small_00.png"; + image.tween: "style/tw_loading_small_01.png"; + image.tween: "style/tw_loading_small_02.png"; + image.tween: "style/tw_loading_small_03.png"; + image.tween: "style/tw_loading_small_04.png"; + image.tween: "style/tw_loading_small_05.png"; + image.tween: "style/tw_loading_small_06.png"; + image.tween: "style/tw_loading_small_07.png"; + image.tween: "style/tw_loading_small_08.png"; + image.tween: "style/tw_loading_small_09.png"; + image.tween: "style/tw_loading_small_10.png"; + image.tween: "style/tw_loading_small_11.png"; + image.tween: "style/tw_loading_small_12.png"; + image.tween: "style/tw_loading_small_13.png"; + image.tween: "style/tw_loading_small_14.png"; + image.tween: "style/tw_loading_small_15.png"; + image.tween: "style/tw_loading_small_16.png"; + image.tween: "style/tw_loading_small_17.png"; + image.tween: "style/tw_loading_small_18.png"; + image.tween: "style/tw_loading_small_19.png"; + image.tween: "style/tw_loading_small_20.png"; + image.tween: "style/tw_loading_small_21.png"; + image.tween: "style/tw_loading_small_22.png"; + image.tween: "style/tw_loading_small_23.png"; + image.tween: "style/tw_loading_small_24.png"; + image.tween: "style/tw_loading_small_25.png"; + image.tween: "style/tw_loading_small_26.png"; + image.tween: "style/tw_loading_small_27.png"; + image.tween: "style/tw_loading_small_28.png"; + image.tween: "style/tw_loading_small_29.png"; + image.tween: "style/tw_loading_small_30.png"; + image.tween: "style/tw_loading_small_31.png"; + image.tween: "style/tw_loading_small_32.png"; + image.tween: "style/tw_loading_small_33.png"; + image.tween: "style/tw_loading_small_34.png"; + image.tween: "style/tw_loading_small_35.png"; + image.tween: "style/tw_loading_small_36.png"; + image.tween: "style/tw_loading_small_37.png"; + image.tween: "style/tw_loading_small_38.png"; + image.tween: "style/tw_loading_small_39.png"; + image.tween: "style/tw_loading_small_40.png"; + image.tween: "style/tw_loading_small_41.png"; + image.tween: "style/tw_loading_small_42.png"; + image.tween: "style/tw_loading_small_43.png"; + image.tween: "style/tw_loading_small_44.png"; + image.tween: "style/tw_loading_small_45.png"; + image.tween: "style/tw_loading_small_46.png"; + image.tween: "style/tw_loading_small_47.png"; + image.tween: "style/tw_loading_small_48.png"; + image.tween: "style/tw_loading_small_48.png"; + image.tween: "style/tw_loading_small_49.png"; + image.tween: "style/tw_loading_small_50.png"; + image.tween: "style/tw_loading_small_51.png"; + image.tween: "style/tw_loading_small_52.png"; + image.tween: "style/tw_loading_small_53.png"; + image.tween: "style/tw_loading_small_54.png"; + image.tween: "style/tw_loading_small_55.png"; + image.tween: "style/tw_loading_small_56.png"; + image.tween: "style/tw_loading_small_57.png"; + image.tween: "style/tw_loading_small_58.png"; + image.tween: "style/tw_loading_small_59.png"; + image.tween: "style/tw_loading_small_60.png"; + image.tween: "style/tw_loading_small_61.png"; + image.tween: "style/tw_loading_small_62.png"; + image.tween: "style/tw_loading_small_63.png"; + image.tween: "style/tw_loading_small_64.png"; + color: 128 128 128 128; + } + } + } + programs { + program { + name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { + name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "bar"; + } + } + } + + +#define BUTTON_PADDING_SIZE_INC 20 0 +#define BUTTON_HEIGHT_INC 122 +#define BUTTON_ICON_SIZE_INC 60 60 + group { name: "elm/button/base/default"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_HEIGHT_INC; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W011P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + fixed: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "elm.swallow.content.clip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "icon_rect"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + max: 1 0; + style: "button_general_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_press"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "F022L1i"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F022L1iD"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + //run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + } + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + + group { name: "elm/button/base/ime_transparent"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 112; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + } + + group { name: "elm/button/base/ime_button"; + alias: "elm/button/base/ime_button_stt"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01153L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "elm.swallow.content.clip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 1.0 1.0; to: "bg";} + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.swallow.content.clip", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.swallow.content.clip", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + } + } + + group { name: "elm/button/base/ime_button_emoticon"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01154L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01154L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_keyboard"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01155L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01155L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_template"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 76 76; + max: 76 76; + color_class: "AO01161"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01161P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO01161D"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "AO01153L3"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L3P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L3D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_stt_confirm"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO015L2"; + visible: 0; + image.normal: "./b_stt_icon_btn.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "AO015L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D"; + } + } + } + } + + group { name: "elm/button/base/touch_area"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color: 0 0 0 0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + programs { + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + } + } + + group { name: "elm/button/base/emoticon"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + //visible: 1; + //color: 255 0 0 100; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + //visible: 1; + //color: 0 255 0 100; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + min: 1 0; + style: "button_general_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_press"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +#define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop +#define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time +#define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time +#define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time +#define ACTIONBAR_PADDING_SIZE_INC 64 +#define ACTIONBAR_HEIGHT_INC 115 +#define ACTIONBAR_TEXT_SIZE_INC 39 +#define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51 +#define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25 +#define ACTIONBAR_TEX_SLIDING_SPEED 0.006 +#define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8 +#define HIDDEN_BUTTON_HEIGHT_INC 88 + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T0212"; + +styles { + style { name: "action_bar_title"; + base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012"; + STYLE_TAG_MATCH + } +} + +group { name: "elm_naviframe_item_basic_customized"; + data.item: "tizen_zoom" 1; + script { + public g_mirrored = 0; //Mirrored on/off status + public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer + + public g_duration_1st; + public g_duration_2nd; + public g_timer_id; + public g_anim_id; + public g_sliding_start; + + public title_text_fade_out() { + new x, y, w, h, w2; + + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_bg", x, y, w2, h); + } + + public init() { + slide_stop(); + set_float(g_duration_1st, 0); + set_float(g_duration_2nd, 0); + set_int(g_timer_id, 0); + set_int(g_anim_id, 0); + set_int(g_sliding_start, 0); + } + public slide_first_anim(val, Float:pos) { + set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0); + if (pos >= 1.0) { + cancel_anim(get_int(g_anim_id)); + set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1)); + } + } + public slide_second_anim(val, Float:pos) { + set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0); + if (pos >= 1.0) + slide_stop(); + } + public slide_first() { + check_size(); + if (get_int(g_sliding_start)) { + set_state(PART:"elm.text.title", "slide", 0.0); + get_duration(); + set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1)); + } + } + public slide_start() { + set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1)); + } + public slide_stop() { + cancel_anim(get_int(g_anim_id)); + set_state(PART:"elm.text.title", "default", 0.0); + set_int(g_sliding_start, 0); + } + public check_size() { + new x, y, w, w1, h; + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_clip", x, y, w1, h); + if (w >= w1) { + set_int(g_sliding_start, 1); + } + else { + set_int(g_sliding_start, 0); + } + } + public get_duration() { + new x, y, w, w1, h; + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_clip", x, y, w1, h); + set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED); + set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED); + } + } + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "title_expand"; + type: RECT; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 HIDDEN_BUTTON_HEIGHT_INC; + max: -1 HIDDEN_BUTTON_HEIGHT_INC; + fixed: 1 1; + align: 0.5 1.0; + visible: 0; + color: 255 255 255 0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + visible: 1; + } + } + part { name: "title_clip"; + type: RECT; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 1; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 ACTIONBAR_HEIGHT_INC; + max: -1 ACTIONBAR_HEIGHT_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color: 255 255 255 0; + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; } + rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; } + fixed: 0 1; + } + } + part { name: "title_text_clip"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale: 1; + clip_to: "title_text_clip"; + description { state: "default" 0.0; + text { + min: 0 1; + max: 1 1; + ellipsis: -1.0; +// fade_ellipsis: 1.0; + style: "action_bar_title"; + } + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "title_text_bg"; rel2.to: "title_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "left_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + description { state: "slide_1" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "left_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + description { state: "slide_2" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "right_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_PADDING_SIZE_INC 0; + max: ACTIONBAR_PADDING_SIZE_INC -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_PADDING_SIZE_INC 0; + max: ACTIONBAR_PADDING_SIZE_INC -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; + max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; + rel1 {relative: 0.0 0.0; to: "title_bg"; } + rel2 {relative: 1.0 0.0; to: "title_bg"; } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; + max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; + rel1 {relative: 0.0 1.0; to: "title_bg"; } + rel2 {relative: 1.0 1.0; to: "title_bg"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; } + rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; } + } + } + part { name: "elm.swallow.circle_bg"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; } + } + part { name: "elm.swallow.circle"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; } + } + part { name: "button_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 100; + max: -1 100; + rel1 {relative: 0.0 1.0; to: "base"; } + rel2 {relative: 1.0 1.0; to: "base"; } + } + } + } + programs { + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + set_state(PART:"clipper", "default", 0.0); + init(); + slide_start(); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + set_state(PART:"clipper", "hide", 0.0); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"title_clip", "hide", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "default")) { + run_program(PROGRAM:"title_hide_trans2"); + } + } + } + program { name: "title_hide_trans2"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans3"; + } + program { name: "title_hide_trans3"; + script { + run_program(PROGRAM:"title_hide"); + } + after: "title_trans_finished"; + } + program { name: "title_trans_finished"; + action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clip", "default", 0.0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "hide")) { + set_state(PART:"title_bg", "hide_trans", 0.0); + set_state(PART:"title_clip", "default", 0.0); + run_program(PROGRAM:"title_show_trans2"); + } + } + } + program { name: "title_show_trans2"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_trans_finished"; + } + program { name: "title_label_show"; + signal: "elm,state,title_label,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_label_hide"; + signal: "elm,state,title_label,hide"; + source: "elm"; + } + program { name: "title_expand_show"; + signal: "elm,state,title_expand,show"; + source: ""; + script { + set_state(PART:"title_expand", "show", 0.0); + } + } + program { name: "title_expand_hide"; + signal: "elm,state,title_expand,hide"; + source: ""; + script { + set_state(PART:"title_expand", "default", 0.0); + } + } + program { name: "hidden_btn_show_trans"; + signal: "elm,action,title_expand,show"; + source: ""; + action: STATE_SET "show" 0.0; + target: "title_expand"; + transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; + } + program { name: "title_expand_hide_trans"; + signal: "elm,action,title_expand,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "title_expand"; + transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(g_mirrored, 1); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(g_mirrored, 0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "title_text_fade_out"; + script { + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0)); + } + } + } +} + +////////////////////////////////////////////////////////////////////////////////// +// Customizing panel for send button. +////////////////////////////////////////////////////////////////////////////////// + +// ***************************** Panel*****************************************/ +#define PANEL_LEFT_PADDING_SIZE_INC 8 +#define PANEL_RIGHT_PADDING_SIZE_INC 6 +#define PANEL_LEFT_IMAGE_SIZE_INC 29 36 +#define PANEL_RIGHT_IMAGE_SIZE_INC 16 36 +#define PANEL_RIGHT_CUE_SIZE_INC 32 158 +#define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158 +#define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140 +#define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140 +#define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200 +#define PANEL_LAYOUT_SIZE_INC 360 360 + +images { + image, "./b_more_option.png" COMP; + image, "./b_more_option_ef.png" COMP; + image, "./b_more_option_bg.png" COMP; + image, "./b_ic_press_full_circle_bg.png" COMP; +} + +group { name: "elm/panel/right1/default"; + script { + public mouse_down = 0; + public mouse_click = 0; + public multi_down = 0; + public click_cnt = 0; + public event_down = 0; + public cue_hide = 0; + public timer0(val) { + if(val == 1) + run_program(PROGRAM:"change_opacity"); + else if(val == 2) + run_program(PROGRAM:"change_opacity2"); + } + } + parts { + part { name: "bg"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_LAYOUT_SIZE_INC; + max: PANEL_LAYOUT_SIZE_INC; + //color_class: "transparent"; + color: 0 0 0 0; + } + } + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + min: PANEL_RIGHT_PADDING_SIZE_INC 0; + max: PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_more_option.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 0.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "effect_bg"; + scale: 1; + clip_to: "effect_bg_clip"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + color: 128 128 128 128; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "effect_bg2"; + scale: 1; + clip_to: "effect_bg_clip2"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + //color_class: "transparent"; + color: 0 0 0 0; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip2"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "cue.event"; + type: RECT; + repeat_events: 0; + description { state: "default" 0.0; + min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "cue.release.event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + repeat_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + visible: 0; + fixed: 1 1; + image.normal: "./b_more_option_bg.png"; + color: 128 128 128 128; + map { + on: 1; + zoom { + x: 1.35; + y: 1.35; + } + color[0]: 0 0 0 0; + color[1]: 0 0 0 0; + color[2]: 0 0 0 0; + color[3]: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + zoom { + x: 1.0; + y: 1.0; + } + color[0]: 255 255 255 255; + color[1]: 255 255 255 255; + color[2]: 255 255 255 255; + color[3]: 255 255 255 255; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 0; + fixed: 1 1; + map { + on: 1; + zoom { + x: 1.35; + y: 1.35; + } + color[0]: 0 0 0 0; + color[1]: 0 0 0 0; + color[2]: 0 0 0 0; + color[3]: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + zoom { + x: 1.0; + y: 1.0; + } + color[0]: 255 255 255 255; + color[1]: 255 255 255 255; + color[2]: 255 255 255 255; + color[3]: 255 255 255 255; + } + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "cue.event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_int(event_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"effect_bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,press", ""); + run_program(PROGRAM:"haptic"); + if(get_int(click_cnt) == 0) { + set_state(PART:"effect_bg", "pressed", 0.0); + set_state(PART:"effect_bg_clip", "pressed", 0.0); + run_program(PROGRAM:"start_persp"); + timer(0.3, "timer0", 1); + } + else if(get_int(click_cnt) == 1) { + set_state(PART:"effect_bg2", "pressed", 0.0); + set_state(PART:"effect_bg_clip2", "pressed", 0.0); + run_program(PROGRAM:"start_persp2"); + timer(0.3, "timer0", 2); + } + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "cue.event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"effect_bg", st, 30, vl); + if (strcmp(st, "disabled")) { + if(get_int(click_cnt) == 0) + set_int(click_cnt, 1); + else + set_int(click_cnt, 0); + } + } + } + program { name: "release.event_clicked"; + signal: "mouse,clicked,*"; + source: "cue.release.event"; + script { + if (get_int(event_down) == 1) { + set_int(event_down, 0); + emit("cue,clicked", "elm"); + run_program(PROGRAM:"panel_toggle"); + run_program(PROGRAM:"play_sample"); + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "panel_toggle"; + action: SIGNAL_EMIT "elm,action,panel,toggle" "elm"; + } + program { + name: "haptic"; + action: RUN_PLUGIN "haptic_tap"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(cue_hide) == 0) + set_state(PART:"cue", "disabled", 0.0); + set_state(PART:"effect_bg", "disabled", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(cue_hide) == 1) { + set_state(PART:"cue", "hidden", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + else { + set_state(PART:"cue", "default", 0.0); + set_state(PART:"cue.event", "default", 0.0); + set_state(PART:"cue.release.event", "default", 0.0); + } + set_state(PART:"effect_bg", "default", 0.0); + } + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "start_persp"; + action: STATE_SET "start_persp" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg"; + } + program { name: "change_opacity"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg_clip"; + } + program { name: "start_persp2"; + action: STATE_SET "start_persp" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg2"; + } + program { name: "change_opacity2"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg_clip2"; + } + program { + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; + target: "elm.swallow.content"; + target: "base"; + after: "active,finished"; + } + program { + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; + target: "elm.swallow.content"; + target: "base"; + after: "inactive,finished"; + } + program { name: "active,finished"; + action: SIGNAL_EMIT "elm,state,active,finished" "elm"; + } + program { name: "inactive,finished"; + action: SIGNAL_EMIT "elm,state,inactive,finished" "elm"; + } + program { name: "cue,hide"; + signal: "cue,hide"; + source: "elm"; + script { + set_int(cue_hide, 1); + set_state(PART:"cue", "hidden", 0.0); + set_state(PART:"cue_ef", "hidden", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + } + program { name: "cue,show"; + signal: "cue,show"; + source: "elm"; + script { + set_int(cue_hide, 0); + set_state(PART:"cue", "default", 0.0); + set_state(PART:"cue_ef", "default", 0.0); + set_state(PART:"cue.event", "default", 0.0); + set_state(PART:"cue.release.event", "default", 0.0); + } + } + } +} + +group { name: "elm/panel/left1/default"; + inherit: "elm/panel/right1/default"; + parts { + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: PANEL_RIGHT_PADDING_SIZE_INC 0; + max: PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_more_option.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "effect_bg"; + scale: 1; + clip_to: "effect_bg_clip"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + color: 128 128 128 128; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "effect_bg2"; + scale: 1; + clip_to: "effect_bg_clip2"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + //color_class: "transparent"; + color: 0 0 0 0; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip2"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "cue.event"; + type: RECT; + description { state: "default" 0.0; + min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "cue.release.event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "elm/panel/left_sending/default"; + inherit: "elm/panel/left1/default"; + parts { + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0; + max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_stt_send_icon.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D";//"B052L1D"; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + visible: 0; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "elm/panel/left_confirm/default"; + inherit: "elm/panel/left_sending/default"; + parts { + part { name: "cue"; + description { state: "default" 0.0; + min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_stt_confirm_icon.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D";//"B052L1D"; + } + } + } +} + +} diff --git a/res/mobile/images/Delta_w_mode_emoticon_ic.png b/res/mobile/images/Delta_w_mode_emoticon_ic.png new file mode 100644 index 0000000..8511eb6 Binary files /dev/null and b/res/mobile/images/Delta_w_mode_emoticon_ic.png differ diff --git a/res/mobile/images/b_stt_confirm_icon.png b/res/mobile/images/b_stt_confirm_icon.png new file mode 100644 index 0000000..5ea22f4 Binary files /dev/null and b/res/mobile/images/b_stt_confirm_icon.png differ diff --git a/res/mobile/images/b_stt_send_icon.png b/res/mobile/images/b_stt_send_icon.png new file mode 100644 index 0000000..46e2a35 Binary files /dev/null and b/res/mobile/images/b_stt_send_icon.png differ diff --git a/res/mobile/images/bubble_ic_emoticons.png b/res/mobile/images/bubble_ic_emoticons.png new file mode 100644 index 0000000..0bb0f4e Binary files /dev/null and b/res/mobile/images/bubble_ic_emoticons.png differ diff --git a/res/mobile/images/bubble_ic_stt.png b/res/mobile/images/bubble_ic_stt.png new file mode 100644 index 0000000..6c870c5 Binary files /dev/null and b/res/mobile/images/bubble_ic_stt.png differ diff --git a/res/mobile/images/bubble_ic_templates.png b/res/mobile/images/bubble_ic_templates.png new file mode 100644 index 0000000..5059090 Binary files /dev/null and b/res/mobile/images/bubble_ic_templates.png differ diff --git a/res/mobile/images/emoticons/page_icon_bg.png b/res/mobile/images/emoticons/page_icon_bg.png new file mode 100644 index 0000000..83feb06 Binary files /dev/null and b/res/mobile/images/emoticons/page_icon_bg.png differ diff --git a/res/mobile/images/emoticons/u1f408.png b/res/mobile/images/emoticons/u1f408.png new file mode 100644 index 0000000..0022a79 Binary files /dev/null and b/res/mobile/images/emoticons/u1f408.png differ diff --git a/res/mobile/images/emoticons/u1f414.png b/res/mobile/images/emoticons/u1f414.png new file mode 100644 index 0000000..745cb04 Binary files /dev/null and b/res/mobile/images/emoticons/u1f414.png differ diff --git a/res/mobile/images/emoticons/u1f415.png b/res/mobile/images/emoticons/u1f415.png new file mode 100644 index 0000000..00a2c74 Binary files /dev/null and b/res/mobile/images/emoticons/u1f415.png differ diff --git a/res/mobile/images/emoticons/u1f42f.png b/res/mobile/images/emoticons/u1f42f.png new file mode 100644 index 0000000..cf8d6b5 Binary files /dev/null and b/res/mobile/images/emoticons/u1f42f.png differ diff --git a/res/mobile/images/emoticons/u1f433.png b/res/mobile/images/emoticons/u1f433.png new file mode 100644 index 0000000..05f9ee5 Binary files /dev/null and b/res/mobile/images/emoticons/u1f433.png differ diff --git a/res/mobile/images/emoticons/u1f43c.png b/res/mobile/images/emoticons/u1f43c.png new file mode 100644 index 0000000..a2ffdd6 Binary files /dev/null and b/res/mobile/images/emoticons/u1f43c.png differ diff --git a/res/mobile/images/emoticons/u1f43d.png b/res/mobile/images/emoticons/u1f43d.png new file mode 100644 index 0000000..3db9c3f Binary files /dev/null and b/res/mobile/images/emoticons/u1f43d.png differ diff --git a/res/mobile/images/emoticons/u1f44c.png b/res/mobile/images/emoticons/u1f44c.png new file mode 100644 index 0000000..2ca9856 Binary files /dev/null and b/res/mobile/images/emoticons/u1f44c.png differ diff --git a/res/mobile/images/emoticons/u1f44d.png b/res/mobile/images/emoticons/u1f44d.png new file mode 100644 index 0000000..e0fc867 Binary files /dev/null and b/res/mobile/images/emoticons/u1f44d.png differ diff --git a/res/mobile/images/emoticons/u1f44e.png b/res/mobile/images/emoticons/u1f44e.png new file mode 100644 index 0000000..61ba959 Binary files /dev/null and b/res/mobile/images/emoticons/u1f44e.png differ diff --git a/res/mobile/images/emoticons/u1f495.png b/res/mobile/images/emoticons/u1f495.png new file mode 100644 index 0000000..ae1c96c Binary files /dev/null and b/res/mobile/images/emoticons/u1f495.png differ diff --git a/res/mobile/images/emoticons/u1f604.png b/res/mobile/images/emoticons/u1f604.png new file mode 100644 index 0000000..b63f4ae Binary files /dev/null and b/res/mobile/images/emoticons/u1f604.png differ diff --git a/res/mobile/images/emoticons/u1f606.png b/res/mobile/images/emoticons/u1f606.png new file mode 100644 index 0000000..e015089 Binary files /dev/null and b/res/mobile/images/emoticons/u1f606.png differ diff --git a/res/mobile/images/emoticons/u1f60a.png b/res/mobile/images/emoticons/u1f60a.png new file mode 100644 index 0000000..8b2c482 Binary files /dev/null and b/res/mobile/images/emoticons/u1f60a.png differ diff --git a/res/mobile/images/emoticons/u1f60d.png b/res/mobile/images/emoticons/u1f60d.png new file mode 100644 index 0000000..ea2c643 Binary files /dev/null and b/res/mobile/images/emoticons/u1f60d.png differ diff --git a/res/mobile/images/emoticons/u1f61a.png b/res/mobile/images/emoticons/u1f61a.png new file mode 100644 index 0000000..d7a1f37 Binary files /dev/null and b/res/mobile/images/emoticons/u1f61a.png differ diff --git a/res/mobile/images/emoticons/u1f61c.png b/res/mobile/images/emoticons/u1f61c.png new file mode 100644 index 0000000..e865de4 Binary files /dev/null and b/res/mobile/images/emoticons/u1f61c.png differ diff --git a/res/mobile/images/emoticons/u1f620.png b/res/mobile/images/emoticons/u1f620.png new file mode 100644 index 0000000..fd9b4f1 Binary files /dev/null and b/res/mobile/images/emoticons/u1f620.png differ diff --git a/res/mobile/images/emoticons/u1f621.png b/res/mobile/images/emoticons/u1f621.png new file mode 100644 index 0000000..3bab8c6 Binary files /dev/null and b/res/mobile/images/emoticons/u1f621.png differ diff --git a/res/mobile/images/emoticons/u1f622.png b/res/mobile/images/emoticons/u1f622.png new file mode 100644 index 0000000..c99193d Binary files /dev/null and b/res/mobile/images/emoticons/u1f622.png differ diff --git a/res/mobile/images/emoticons/u1f624.png b/res/mobile/images/emoticons/u1f624.png new file mode 100644 index 0000000..57f7def Binary files /dev/null and b/res/mobile/images/emoticons/u1f624.png differ diff --git a/res/mobile/images/emoticons/u1f625.png b/res/mobile/images/emoticons/u1f625.png new file mode 100644 index 0000000..2c08125 Binary files /dev/null and b/res/mobile/images/emoticons/u1f625.png differ diff --git a/res/mobile/images/emoticons/u1f62a.png b/res/mobile/images/emoticons/u1f62a.png new file mode 100644 index 0000000..1d267cb Binary files /dev/null and b/res/mobile/images/emoticons/u1f62a.png differ diff --git a/res/mobile/images/emoticons/u1f62b.png b/res/mobile/images/emoticons/u1f62b.png new file mode 100644 index 0000000..b840d3d Binary files /dev/null and b/res/mobile/images/emoticons/u1f62b.png differ diff --git a/res/mobile/images/emoticons/u1f631.png b/res/mobile/images/emoticons/u1f631.png new file mode 100644 index 0000000..9530095 Binary files /dev/null and b/res/mobile/images/emoticons/u1f631.png differ diff --git a/res/mobile/images/emoticons/u1f632.png b/res/mobile/images/emoticons/u1f632.png new file mode 100644 index 0000000..f796a95 Binary files /dev/null and b/res/mobile/images/emoticons/u1f632.png differ diff --git a/res/mobile/images/emoticons/u1f637.png b/res/mobile/images/emoticons/u1f637.png new file mode 100644 index 0000000..17574f0 Binary files /dev/null and b/res/mobile/images/emoticons/u1f637.png differ diff --git a/res/mobile/images/emoticons/w_emoticions_center_bg.png b/res/mobile/images/emoticons/w_emoticions_center_bg.png new file mode 100644 index 0000000..262f03d Binary files /dev/null and b/res/mobile/images/emoticons/w_emoticions_center_bg.png differ diff --git a/res/mobile/images/emoticons/w_emoticions_center_stroke.png b/res/mobile/images/emoticons/w_emoticions_center_stroke.png new file mode 100644 index 0000000..3c16c89 Binary files /dev/null and b/res/mobile/images/emoticons/w_emoticions_center_stroke.png differ diff --git a/res/mobile/images/prompt_ic_languages.png b/res/mobile/images/prompt_ic_languages.png new file mode 100644 index 0000000..d998dca Binary files /dev/null and b/res/mobile/images/prompt_ic_languages.png differ diff --git a/res/mobile/images/toast_check_icon.png b/res/mobile/images/toast_check_icon.png new file mode 100644 index 0000000..213a2f7 Binary files /dev/null and b/res/mobile/images/toast_check_icon.png differ diff --git a/res/mobile/images/w_list_add_ic.png b/res/mobile/images/w_list_add_ic.png new file mode 100644 index 0000000..83e4829 Binary files /dev/null and b/res/mobile/images/w_list_add_ic.png differ diff --git a/res/mobile/images/w_mode_emoticon_ic.png b/res/mobile/images/w_mode_emoticon_ic.png new file mode 100644 index 0000000..e44bf87 Binary files /dev/null and b/res/mobile/images/w_mode_emoticon_ic.png differ diff --git a/res/mobile/images/w_mode_keyboard_ic.png b/res/mobile/images/w_mode_keyboard_ic.png new file mode 100644 index 0000000..10bb4fd Binary files /dev/null and b/res/mobile/images/w_mode_keyboard_ic.png differ diff --git a/res/mobile/images/w_mode_location_ic.png b/res/mobile/images/w_mode_location_ic.png new file mode 100644 index 0000000..fbf6b87 Binary files /dev/null and b/res/mobile/images/w_mode_location_ic.png differ diff --git a/res/mobile/images/w_mode_stt_ic.png b/res/mobile/images/w_mode_stt_ic.png new file mode 100644 index 0000000..0761a5c Binary files /dev/null and b/res/mobile/images/w_mode_stt_ic.png differ diff --git a/res/mobile/images/w_sip_number_btn_ic.png b/res/mobile/images/w_sip_number_btn_ic.png new file mode 100644 index 0000000..c600dcc Binary files /dev/null and b/res/mobile/images/w_sip_number_btn_ic.png differ diff --git a/res/mobile/images/wi_drawing_icon.png b/res/mobile/images/wi_drawing_icon.png new file mode 100644 index 0000000..f31f256 Binary files /dev/null and b/res/mobile/images/wi_drawing_icon.png differ diff --git a/res/tv/edje/w-input-selector.edc b/res/tv/edje/w-input-selector.edc new file mode 100644 index 0000000..c00e082 --- /dev/null +++ b/res/tv/edje/w-input-selector.edc @@ -0,0 +1,808 @@ +#define FONT_NAME "GP45_ArabCJK_TouchWiz" + +#define BTN_W 120 +#define BTN_H 120 +#define BTN_PAD_W 1 +#define BTN_PAD_H 1 + +collections { + base_scale: 1.3; + group { name: "main"; + parts { + part { name: "background"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 255; + } + } + + part { name: "txt_title"; + type: TEXT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 0.35; to: background; } + text { font: FONT_NAME; size: 35; } + color: 0 140 239 255; + fixed: 1 1; + } + } + + part { name: "btn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 1.0; to: background; } + min: BTN_W BTN_H; + max: BTN_W BTN_H; + align: 0 0.5; + fixed: 1 1; + } + } + + part { name: "padding"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_x: "btn1"; + relative: 1.0 0.0; + } + rel2 { + to_y: "btn1"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: BTN_PAD_W BTN_H; + max: BTN_PAD_W BTN_H; + fixed: 1 1; + } + } + + part { name: "btn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding"; + relative: 1.0 0.0; + } + rel2 { + to_y: "padding"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: (BTN_W - BTN_PAD_W) BTN_H; + max: (BTN_W - BTN_PAD_W) BTN_H; + fixed: 1 1; + } + } + part { name: "padding2"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_x: "btn2"; + relative: 1.0 0.0; + } + rel2 { + to_y: "btn2"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: BTN_PAD_W BTN_H; + max: BTN_PAD_W BTN_H; + fixed: 1 1; + } + } + + part { name: "btn3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding2"; + relative: 1.0 0.0; + } + rel2 { + to_y: "padding2"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: (BTN_W - BTN_PAD_W) BTN_H; + max: (BTN_W - BTN_PAD_W) BTN_H; + fixed: 1 1; + } + } + + part { name: "template_list"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 1.0; to: background; } + align: 0.0 0.0; + } + } + } + } + +#define LIST_BUTTON_PADDING_LEFT_SIZE_INC 0 +#define LIST_BUTTON_PADDING_RIGHT_SIZE_INC 0 +#define LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC 1 +#define LIST_BUTTON_PADDING_BOTTOM_SIZE_INC 1 +#define BUTTON_2BUTTON_WIDTH_INC 180 +#define BUTTON_2BUTTON_RIGHT_WIDTH_INC 179 +#define LIST_BUTTON_PADDING_CENTER_SIZE_INC 1 + +#define PART(TYPE, NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: TYPE; \ + DESCRIPION \ + } + +#define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_TB( TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_FROM_L( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel2.relative: 0.0 1.0; \ + PARAM \ + } + +#define DESC_FROM_R( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + PARAM \ + } + +#define DESC_FROM_T( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 0 1; \ + align: 0.5 0.0; \ + rel2.relative: 1.0 0.0; \ + PARAM \ + } + +#define DESC_FROM_B( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + PARAM \ + } + +#define DESC_L( LEFT, PARAM ) \ + description { state: "default" 0.0; \ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + PARAM \ + } + + + +#define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \ + PART(SWALLOW, "elm.swallow.pad", \ + mouse_events: 0; \ + DESC_FROM_L( ; ) \ + ) \ + PART(SWALLOW, "elm.swallow.colorbar", \ + mouse_events: 0; \ + DESC_L("elm.swallow.pad", ) \ + ) \ + PART(SPACER, "elm.padding.left", \ + scale: 0; \ + DESC_L("elm.swallow.pad", \ + min: LEFT_SIZE 0; \ + max: LEFT_SIZE -1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.right", \ + scale: 0; \ + DESC_FROM_R( \ + min: RIGHT_SIZE 0; \ + max: RIGHT_SIZE -1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.top", \ + scale: 0; \ + DESC_FROM_T( \ + min: 0 TOP_SIZE; \ + max: -1 TOP_SIZE; \ + ) \ + ) \ + PART(SPACER, "elm.padding.bottom", \ + scale: 0; \ + DESC_FROM_B( \ + min: 0 BOTTOM_SIZE; \ + max: -1 BOTTOM_SIZE; \ + ) \ + ) + +#define PROGRAM_LIST_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_DISABLE( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_SELECT( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + TARGET \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_HIGHLIGHT( TARGET ) \ + program { name: "highlighted"; \ + signal: "elm,state,highlighted"; \ + source: "elm"; \ + action: STATE_SET "highlighted" 0.0; \ + TARGET \ + transition: LINEAR 1.0; \ + } \ + program { name: "unhighlighted"; \ + signal: "elm,state,unhighlighted"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + transition: LINEAR 1.0; \ + } + +#define PROGRAMS_LIST_BUTTON( TARGET ) \ + programs { \ + PROGRAM_LIST_DEFAULT( TARGET \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + PROGRAM_LIST_DISABLE( TARGET \ + ) \ + PROGRAM_LIST_SELECT( TARGET \ + ) \ + PROGRAM_LIST_HIGHLIGHT( TARGET ) \ + PROGRAM_LIST_SOUND \ + } + +#define PROGRAM_LIST_SOUND \ + program { name: "play_sound"; \ + signal: "elm,state,clicked"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"play_sample"); \ + } \ + } \ + program { \ + name: "play_sample"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + + +#define BUTTON_HEIGHT_INC 122 + +#define PART_LIST_BG \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 1; \ + } \ + ) + + + +// 3 button + group { + name: "elm/genlist/item/3button_flat/default"; + alias: "elm/genlist/item/3button_flat_recent/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area"; + data.item: "vi_effect" "on"; + data.item: "dim" "off"; + data.item: "focus_bg" "off"; + + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + + part { + name: "elm.icon.1"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.1.touch_area"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + } + } + + part { + name: "elm.icon.2"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + } + + } + part { + name: "elm.icon.2.touch_area"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + } + + } + + + part { + name: "elm.icon.3"; // right icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.3.touch_area"; // right icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + } + } + + } + } + +//2button + group { + name: "elm/genlist/item/2button_flat/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.1.touch_area elm.icon.2.touch_area"; + data.item: "vi_effect" "on"; + data.item: "dim" "off"; + data.item: "focus_bg" "off"; + + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + + part { + name: "elm.icon.1"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.1.touch_area"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + } + } + + part { + name: "elm.icon.2"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + } + + } + part { + name: "elm.icon.2.touch_area"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + } + + } + } + } + + group { name: "elm/button/base/ime/transparent"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 130; + color_class: "AO015"; + visible: 0; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015D"; + } + } + part { + name: "padding_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + } + part { + name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + } + } + part { + name: "icon_rect"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 134 61; + max: 134 61; + fixed: 1 1; + } + } + } + } + + group { + name: "elm/genlist/item/2button/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.1 elm.icon.2 elm.swallow.center_check"; + data.item: "vi_effect" "off"; + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + part { name: "elm.icon.1.touch_area"; + type: SWALLOW; + repeat_events, 0; + description { + state: "default" 0.0; + color: 255 0 0 100; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;} + } + } + part { name: "elm.icon.2.touch_area"; + type: SWALLOW; + repeat_events, 0; + description { + state: "default" 0.0; + color: 0 0 255 100; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -6 -5;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +6 +5;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -9 -8;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +9 +8;} + } + } + part { name: "elm.icon.1"; + type: SWALLOW; + repeat_events, 1; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0; + fixed: 1 1; + min: 114 114; + max: 114 114; + rel1 { relative: 112/360 0; to: "base"; offset: 0 35;} + rel2 { relative: 112/360 0; to: "base"; offset: 0 35;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + min: 114+(198-114)/2 114+(198-114)/2; + max: 114+(198-114)/2 114+(198-114)/2; + rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + min: 198 198; + max: 198 198; + rel1 { relative: 128/360 0; to: "base"; offset: 0 12;} + rel2 { relative: 128/360 0; to: "base"; offset: 0 12;} + } + } + part { name: "elm.icon.2"; + type: SWALLOW; + repeat_events, 1; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0; + fixed: 1 1; + min: 114 114; + max: 114 114; + rel1 { relative: 249/360 0; to: "base"; offset: 0 35;} + rel2 { relative: 249/360 0; to: "base"; offset: 0 35;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + min: 114+(198-114)/2 114+(99-114)/2; + max: 114+(198-114)/2 114+(198-114)/2; + rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + min: 198 198; + max: 198 198; + rel1 { relative: 297/360 0; to: "base"; offset: 0 12;} + rel2 { relative: 297/360 0; to: "base"; offset: 0 12;} + } + } + + PART(SPACER, "elm.padding.fake", + DESC_TB("elm.padding.top","elm.padding.bottom", + min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; + max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; + fixed: 1 0; + ) + ) + PART(SPACER, "elm.padding.center", + DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom", + min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; + max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; + fixed: 1 0; + ) + ) + PART(SWALLOW, "elm.swallow.center_check", + description { state: "default" 0.0; + align: 0.5 0.5; + } + ) + } +} diff --git a/res/tv/edje/w-input-stt-button.edc b/res/tv/edje/w-input-stt-button.edc new file mode 100644 index 0000000..c8865f4 --- /dev/null +++ b/res/tv/edje/w-input-stt-button.edc @@ -0,0 +1,288 @@ +/* + * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#define NORMAL_BG_IMAGE "B09_voice_input_panel.png" + +#define PROGRESSING_DELAY 0.03 +#define PROGRESS_BG_DESC1( param_name, param_num ) \ +description \ +{ \ + state, "pulse" 0.#param_num; \ + inherit, "default" 0.0; \ + image.normal, "B09_"#param_name"_"#param_num".png"; \ +} + +#define LISTEN_BG_DESC( param_name, param_num ) \ +description \ +{ \ + state, "wave" 0.#param_num; \ + inherit, "default" 0.0; \ + image.normal, "B09_"#param_name"_"#param_num".png"; \ +} + +#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 112 112 +#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13 +#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14 + +#define BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC 0 2 +#define BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 +#define BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC 0 -2 +#define BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 + +#define BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC 0 0 0 255 +#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 +#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 21 22 25 255 + +#define BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC 250 250 250 255 +#define BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC 250 250 250 255 +#define BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC 166 167 169 255 + + +/////////////////////////////////////////////////////////////////////////////////////// + + +//============================================================================ +//============================================================================ + +/** + * Resources + * + */ + +/** + * Macro + * + */ +#define BTN_IMAGE() \ +part \ +{ \ + name, "button_image"; \ + mouse_events, 1; \ + scale, 1; \ + description \ + { \ + state, "default" 0.0; \ + } \ + description \ + { \ + state, "clicked" 0.0; \ + inherit, "default" 0.0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ + description \ + { \ + state, "focused" 0.0; \ + inherit, "default" 0.0; \ + } \ +} + +#define OVER() \ +part \ +{ \ + name, "over2"; \ + type, RECT; \ + mouse_events, 1; \ + repeat_events, 1; \ + ignore_flags, ON_HOLD; \ + description \ + { \ + state, "default" 0.0; \ + color, 0 0 0 0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 0; \ + } \ +} \ +part \ +{ \ + name, "over3"; \ + type, RECT; \ + mouse_events, 1; \ + repeat_events, 1; \ + description \ + { \ + state, "default" 0.0; \ + color, 0 0 0 0; \ + } \ + description \ + { \ + state, "clicked" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ +} + +#define DISABLER() \ +part \ +{ \ + name, "disabler"; \ + type, RECT; \ + description \ + { \ + state, "default" 0.0; \ + color, 255 255 255 0; \ + visible, 0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ +} + +#define PROG_FOCUS \ +program \ +{ \ + name, "focused"; \ + signal, "elm,action,focus"; \ + source, "elm"; \ + action, STATE_SET "focused" 0.0; \ + target, "button_image"; \ +} \ +program \ +{ \ + name, "unfocused"; \ + signal, "elm,action,unfocus"; \ + source, "elm"; \ + action, STATE_SET "default" 0.0; \ + target, "button_image"; \ +} + +#define PROG_ENABLE \ +program \ +{ \ + name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "button_image"; \ + target: "over2"; \ + target: "disabler"; \ +} \ +program \ +{ \ + name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "over2"; \ + target: "disabler"; \ +} + +#define PROG_CLICK \ +program \ +{ \ + name: "button_click"; \ + signal: "mouse,down,1"; \ + source: "over2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_click_anim"; \ +} \ +program \ +{ \ + name: "button_click_anim"; \ + action: STATE_SET "clicked" 0.0; \ + target: "button_image"; \ +} \ +program \ +{ \ + name: "button_unclick"; \ + signal: "mouse,up,1"; \ + source: "over2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + after: "button_unclick_anim"; \ +} \ +program \ +{ \ + name: "button_unclick_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ +} \ +program \ +{ \ + name: "button_mouseout_clicked"; \ + signal: "mouse,out"; \ + source: "over2"; \ + script \ + { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"button_image", st, 30, vl); \ + if (!strcmp(st, "clicked")) \ + { \ + set_state(PART:"button_image", "visible", 0.0); \ + } \ + } \ +} \ +program \ +{ \ + name: "button_click2"; \ + signal: "mouse,down,1"; \ + source: "over3"; \ + action: STATE_SET "clicked" 0.0; \ + target: "over3"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ +} \ +program \ +{ \ + name: "button_unclick2"; \ + signal: "mouse,up,1"; \ + source: "over3"; \ + action: STATE_SET "default" 0.0; \ + target: "over3"; \ +} \ +program \ +{ \ + name: "button_unclick3"; \ + signal: "mouse,up,1"; \ + source: "over2"; \ +} + +#define VIC_BUTTON() \ +group \ +{ \ + name, "elm/button/base/vic/micbutton"; \ + parts \ + { \ + BTN_IMAGE() \ + OVER() \ + DISABLER() \ + } \ + programs \ + { \ + PROG_CLICK \ + PROG_ENABLE \ + PROG_FOCUS \ + } \ +} + +collections +{ + VIC_BUTTON() +} diff --git a/res/tv/edje/w-input-stt.edc b/res/tv/edje/w-input-stt.edc new file mode 100644 index 0000000..082731d --- /dev/null +++ b/res/tv/edje/w-input-stt.edc @@ -0,0 +1,3507 @@ +#include "w-input-stt-button.edc" + +#define VOICE_CANDIDATE_AREA_HEIGHT 56 +#define BUTTON_TEXT_SIZE_INC 85 + +collections +{ + base_scale: 1.3; + + plugins { + plugin { + name: "touch_sound"; + source: "feedback"; + param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP"; + /* 2014.06.11 updated from libsvi(feedback) + Above plugin will run below external function: + int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern); + + param1: feedback_type_e + FEEDBACK_TYPE_NONE = 0, + FEEDBACK_TYPE_SOUND = 1, + FEEDBACK_TYPE_VIBRATION, + FEEDBACK_TYPE_LED, + FEEDBACK_TYPE_END + + * param2 enumeration: + FEEDBACK_PATTERN_TAP = 0, + FEEDBACK_PATTERN_SIP, + FEEDBACK_PATTERN_SIP_BACKSPACE, + FEEDBACK_PATTERN_SIP_FUNCTION, + FEEDBACK_PATTERN_SIP_FJKEY, + ... + + * Fore information, please refer the libsvi libraries. + * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi + * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi + */ + } + plugin { + name: "haptic_tap"; + source: "feedback"; + param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP"; + } + } + + images { + // MIC + image, "./bg/B13_mic_bg.png" COMP; + image, "./icon/B13_mic.png" COMP; + image, "./icon/B13_mic_Que.png" COMP; + image, "./icon/B13_mic_Que_01.png" COMP; + image, "./icon/B13_mic_procecessing_bg.png" COMP; + image, "./text_downdrop.#.png" COMP; + image, "./text_downdrop_press.#.png" COMP; + + image, "./input_ic_voice_mic.png" COMP; + image, "./w_sip_mask_bg.png" COMP; + image, "./tw_bottom_btn_bg.png" COMP; + + image, "./w_mode_ic_bg.png" COMP; + + image, "./b_stt_text_fade_out.png" COMP; + image, "./b_stt_icon_btn.png" COMP; + image, "./b_stt_confirm_icon.png" COMP; + image, "./b_stt_send_icon.png" COMP; + } + + color_classes + { + color_class + { + name: "AO013"; + color: 68 71 77 100; + } + color_class + { + name: "AO014"; + color: 0 0 0 100; + } + color_class + { + name: "AO014P"; + color: 0 0 0 100; + } + color_class + { + name: "AO014D"; + color: 0 0 0 35; + } + color_class + { + name: "AO015L1"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L1P"; + color: 0 0 0 50; + } + color_class + { + name: "AO015L1D"; + color: 0 0 0 40; + } + color_class + { + name: "AO0151"; + color: 0 0 0 100; + } + color_class + { + name: "AO0151P"; + color: 0 0 0 50; + } + color_class + { + name: "AO0151D"; + color: 0 0 0 20; + } + color_class + { + name: "AO0152"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L2"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L2P"; + color: 0 0 0 50; + } + color_class + { + name: "AO015L2D"; + color: 0 0 0 40; + } + color_class + { + name: "AO015L3"; + color: 0 0 0 100; + } + color_class + { + name: "AO01151"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L1"; + color: 0 0 255 255; + } + color_class + { + name: "AO01153L1P"; + color: 61 61 61 100; + } + color_class + { + name: "AO01153L1D"; + color: 163 163 163 100; + } + color_class + { + name: "AO01154L1"; + color: 97 12 117 255; + } + color_class + { + name: "AO01154L1P"; + color: 41 41 41 100; + } + color_class + { + name: "AO01154L1D"; + color: 110 110 110 100; + } + color_class + { + name: "AO01155L1"; + color: 255 0 0 255; + } + color_class + { + name: "AO01155L1P"; + color: 33 33 33 100; + } + color_class + { + name: "AO01155L1D"; + color: 122 122 122 100; + } + color_class + { + name: "AO01153L2"; + color: 18 18 18 30; + } + color_class + { + name: "AO01153L3"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L3P"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L3D"; + color: 0 0 0 40; + } + color_class + { + name: "AO0116"; + color: 0 0 0 100; + } + color_class + { + name: "AO0116P"; + color: 0 0 0 50; + } + color_class + { + name: "AO0116D"; + color: 0 0 0 30; + } + color_class + { + name: "AO01161"; + color: 64 64 64 100; + } + color_class + { + name: "AO01161P"; + color: 38 38 38 100; + } + color_class + { + name: "AO01161D"; + color: 26 26 26 100; + } + color_class + { + name: "AO0117"; + color: 0 0 0 100; + } + color_class + { + name: "AO0118"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119P"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119D"; + color: 0 0 0 5; + } + color_class + { + name: "AO031"; + color: 0 0 0 100; + } + color_class + { + name: "AO031P"; + color: 0 0 0 40; + } + color_class + { + name: "AO031L1"; + color: 0 0 0 41; + } + color_class + { + name: "AO031L1P"; + color: 0 0 0 70; + } + color_class + { + name: "AO0331"; + color: 0 0 0 50; + } + color_class + { + name: "AO0332"; + color: 0 0 0 100; + } + color_class + { + name: "AO034"; + color: 102 102 102 100; + } + color_class + { + name: "AO034P"; + color: 0 0 0 100; + } + color_class + { + name: "AO034D"; + color: 0 0 0 30; + } + color_class + { + name: "AO035"; + color: 5 5 5 100; + } + color_class + { + name: "AO0351"; + color: 0 0 0 15; + } + color_class + { + name: "AO036"; + color: 0 0 0 100; + } + color_class + { + name: "AO0361"; + color: 0 0 0 50; + } + color_class + { + name: "AO037"; + color: 10 10 10 100; + } + color_class + { + name: "AO037P"; + color: 0 0 0 100; + } + color_class + { + name: "AO037S"; + color: 0 0 0 100; + } + color_class + { + name: "AO038"; + color: 0 0 0 100; + } + color_class + { + name: "AO038P"; + color: 0 0 0 50; + } + color_class + { + name: "AO038D"; + color: 0 0 0 40; + } + color_class + { + name: "AT0113"; + color: 0 0 0 100; + } + color_class + { + name: "AT0113P"; + color: 0 0 0 100; + } + color_class + { + name: "AT0113D"; + color: 0 0 0 70; + } + color_class + { + name: "AT0113S"; + color: 0 0 0 100; + } + color_class + { + name: "AT0114"; +# color: 0 0 0 100; + color: 128 128 128 100; + } + color_class + { + name: "AT0114D"; + color: 0 0 0 5; + } + color_class + { + name: "AT02111"; + color: 0 0 0 100; + } + color_class + { + name: "AT02112"; + color: 0 0 0 100; + } + color_class + { + name: "AT02113"; + color: 10 10 10 100; + } + color_class + { + name: "AT021"; + color: 0 0 0 100; + } + color_class + { + name: "AT022"; + color: 0 0 0 100; + } + color_class + { + name: "AT023"; + color: 0 0 0 100; + } + color_class + { + name: "AT023P"; + color: 0 0 0 50; + } + color_class + { + name: "AT023D"; + color: 0 0 0 40; + } + } + + styles + { + style { name, "textblock_style"; + base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; + tag, "br" "\n"; + tag, "ps" "ps"; + tag, "hilight" "+ font=Tizen:style=Bold"; + tag, "b" "+ font=Tizen:style=Bold"; + tag, "tab" "\t"; + } + style { name, "textblock_style_bottom"; + base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; + tag, "br" "\n"; + tag, "ps" "ps"; + tag, "hilight" "+ font=Tizen:style=Bold"; + tag, "b" "+ font=Tizen:style=Bold"; + tag, "tab" "\t"; + } + style { name: "button_general_text_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; + } + style { name: "button_general_text_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#888888 ellipsis=0.0 wrap=mixed"; + } + style { name: "button_general_text_normal"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; + } + } + + group + { + name, "mic_control"; + parts + { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + visible: 1; + color_class, "AO0118"; + } + } + part + { + name, "top_block"; + type, SPACER; + scale, 1; + description + { + state, "default" 0.0; + min, 360 (360-103); + align, 0.5 0; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 0.0; + to, "bg"; + } + } + } + + part + { + name, "text_area"; + type, SWALLOW; + description + { + state, "default" 0.0; + align, 0.5 1; + min, 282 (360-103); + max, 282 (360-103); + + rel1 + { + relative, 39/360 1; + to, "top_block"; + offset, 0 -1; + } + rel2 + { + relative, 321/360 1; + to, "top_block"; + offset, 0 -1; + } + } + } + part + { + name, "left_panel_area"; + type, SWALLOW; + description + { + state, "default" 0.0; + align, 0.5 0.5; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 1.0; + to, "bg"; + } + } + } + + + part + { + name, "background"; + type, IMAGE; + scale, 1; + description + { + state, "default" 0.0; + min, 360 100; + max, 360 100; + rel1 + { + relative, 0 260/360; + to, "bg"; + } + rel2 + { + relative, 1 1; + to, "bg"; + } + image.normal, "./tw_bottom_btn_bg.png"; + color: 128 128 128 128; + } + description + { + state, "pressed" 0.0; + inherit, "default" 0.0; + color: 128 128 128 128; + } + description + { + state, "dim" 0.0; + inherit, "default" 0.0; + color: 128 128 128 128; + } + } + + part + { + name, "EFFECT_BG_AREA"; + type, SPACER; + description + { + state, "default" 0.0; + min, 0 64; + max, 360 64; + align, 0.5 1; + rel1 + { + relative, 0 1; + to, "bg"; + offset, 0 -1; + } + rel2 + { + relative, 1 1; + to, "bg"; + offset, 0 -1; + } + } + + description + { + state, "hide" 0.0; + min, 0 64; + max, 360 64; + align, 0.5 1; + rel1 + { + relative, 0 (360+64)/360; + to, "bg"; + offset, 0 +13; + } + rel2 + { + relative, 1 (360+64)/360; + to, "bg"; + offset, 0 +13; + } + + } + + } + + part + { + name, "EFFECT_BG"; + type, SWALLOW; + description + { + state, "default" 0.0; + visible, 0; + rel1 + { + relative, 0 0; + to, "EFFECT_BG_AREA"; + } + rel2 + { + relative, 1 1; + to, "EFFECT_BG_AREA"; + } + } + description + { + state, "default" 0.1; + inherit, "default" 0.0; + visible, 1; + } + } + + + part + { + name, "MIC_ICON"; + type, IMAGE; + scale, 1; + description + { + state, "default" 0.0; + min, 50 50; + max, 50 50; + rel1 + { + relative, 155/360 26/100; + to, "background"; + } + rel2 + { + relative, 205/360 76/100; + to, "background"; + } + image.normal, "./input_ic_voice_mic.png"; + } + description + { + state, "recording" 0.0; + inherit, "default" 0.0; + visible, 0; + } + description + { + state, "processing" 0.0; + inherit, "default" 0.0; + visible, 0; + } + description + { + state, "message" 0.0; + inherit, "default" 0.0; + rel1 + { + relative, 155/360 41/100; + to, "background"; + } + rel2 + { + relative, 205/360 91/100; + to, "background"; + } + visible, 1; + } + } + + + + //Part for mic button + part + { + name, "MIC"; + type, SWALLOW; + scale, 1; + description + { + state, "default" 0.0; + visible, 1; + min, 290 100; + max, 290 100; + rel1 + { + relative, 35/360 0.0; + to, "background"; + } + rel2 + { + relative, 325/360 1.0; + to, "background"; + } + } + } + part + { + name, "PROGRESS_BAR"; + type, SWALLOW; + scale, 1; + description + { + state, "default" 0.0; + min, 50 50; + max, 50 50; + visible, 0; + rel1 + { + relative, 155/360 27/100; + to, "background"; + } + rel2 + { + relative, 205/360 77/100; + to, "background"; + } + } + description + { + state, "message" 0.0; + inherit, "default" 0.0; + } + description + { + state, "processing" 0.0; + inherit, "default" 0.0; + visible, 1; + } + } + + part + { + name, "guide_text_block"; + type, SPACER; + description + { + state, "default" 0.0; + align, 0.5 0; + rel1 + { + relative, 39/360 140/360; + to, "bg"; + } + rel2 + { + relative, (360-39)/360 (140+42)/360; + to, "bg"; + } + } + description + { + state, "bottom" 0.0; + align, 0.5 0; + rel1 + { + relative, 74/360 (360-91)/360; + to, "bg"; + } + rel2 + { + relative, (360-74)/360 (360-57)/360; + to, "bg"; + } + } + } + + part + { + name, "elm.text"; + type, TEXTBLOCK; + mouse_events, 0; + scale, 1; + description + { + state, "default" 0.0; + visible, 1; + align, 0.5 0.6; + rel1.to, "guide_text_block"; + rel2.to, "guide_text_block"; + text + { + fit: 1 1; + style, "textblock_style"; + } + color, 120 120 120 120; + } + description + { + state, "bottom" 0.0; + inherit, "default" 0.0; + text + { + fit: 1 1; + style, "textblock_style_bottom"; + } + color, 120 120 120 120; + } + } + } + + programs + { + program + { + name, "initial_view"; + signal, "mouse,clicked,1"; + source, "background"; + in, 0 0.3; + after, "emit_signal1"; + } + + program + { + name, "emit_signal1"; + action, SIGNAL_EMIT "idle,state,pulse,visible" ""; + } + + program + { + name, "listening"; + signal, "elm,state,listening"; + source, "elm"; + action, STATE_SET "recording" 0.0; + target, "MIC_ICON"; + } + + program + { + name, "start_processing"; + signal, "elm,state,processing"; + source, "elm"; + action, STATE_SET "processing" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + transition, DECELERATE 0.3; + } + + program + { + name, "idle"; + signal, "elm,state,init"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + transition, DECELERATE 0.3; + } + program + { + name, "idle_message"; + signal, "elm,state,init_message"; + source, "elm"; + action, STATE_SET "message" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + } + + program + { + name, "text_show"; + signal, "idle,state,text,visible"; + source, "elm"; + action, STATE_SET "expand" 0.0; + target, "elm.text"; + } + + program + { + name, "text_hide"; + signal, "idle,state,text,hidden"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "elm.text"; + } + program + { + name, "show_effect_part"; + signal, "elm,state,eq,show"; + source, "eq"; + action, STATE_SET "default" 0.1; + target, "EFFECT_BG"; + } + + program + { + name, "hide_effect_part"; + signal, "elm,state,eq,hide"; + source, "eq"; + action, STATE_SET "default" 0.0; + target, "EFFECT_BG"; + } + + program + { + name, "guide_text_up"; + signal, "idle,state,guide_text,up"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "guide_text_block"; + } + program + { + name, "guide_text_bottom"; + signal, "idle,state,guide_text,bottom"; + source, "elm"; + action, STATE_SET "bottom" 0.0; + target, "guide_text_block"; + } + + + } + } + + group + { + name: "option_more_index"; + parts + { + part + { + name: "bg"; + type: SPACER; + scale: 1; + description + { + state: "default" 0.0; + min: 360 360; + max: -1 360; + } + } + part + { + name: "scroller"; + type: SWALLOW; + scale: 1; + description + { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part + { + name: "controller"; + type: SWALLOW; + scale: 1; + description + { + state: "default" 0.0; + align: 0.5 0.0; + min: 360 40; + max: 360 40; + fixed: 0 1; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 0.0; + } + } + } + } + + group + { + name, "language_list"; + parts + { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + min, 358 0; + max, 358 223; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + color, 8 8 8 255; + } + } + part + { + name, "list"; + type, SWALLOW; + scale, 1; + repeat_events, 0; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 1.0; + to, "bg"; + } + } + } + } + } + + group{ + name: "layout_textblock"; + + script { + public timer_cb(val) { + run_program(PROGRAM:"do_scroll"); + } + + } + parts { + part + { + name, "bg"; + type, SPACER; + scale, 1; + description + { + state, "default" 0.0; + min, 282 39; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + scale: 1; + type: SWALLOW; + description { state: "default" 0.0; + min: 282 39; + color, 120 120 120 120; + } + } + } + programs { + program + { + name, "scroll"; + signal, "scrolling"; + source, "entry"; + script { + timer(3/10, "timer_cb", 0); + } + } + program + { + name, "do_scroll"; + action, SIGNAL_EMIT "do_scroll" "entry"; + } + } + } + + group{ name: "entry_focused_layout"; + parts { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + visible: 1; + color, 120 120 120 120; + } + } + part { name: "padding_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + min: 0 20; + fixed: 1 1; + } + } + part { name: "padding_left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + min: 73 0; + fixed: 1 1; + } + } + part { name: "padding_right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + min: 73 0; + fixed: 1 1; + } + } + part { + name: "contents"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";} + min:0 42; + max: -1 42; + align: 0.5 0; + } + } + } + } + + + +#define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50 + group + { + name: "elm/progressbar/horizontal/voice_input/process/small"; + images { + image: "style/tw_loading_small_00.png" COMP; + image: "style/tw_loading_small_01.png" COMP; + image: "style/tw_loading_small_02.png" COMP; + image: "style/tw_loading_small_03.png" COMP; + image: "style/tw_loading_small_04.png" COMP; + image: "style/tw_loading_small_05.png" COMP; + image: "style/tw_loading_small_06.png" COMP; + image: "style/tw_loading_small_07.png" COMP; + image: "style/tw_loading_small_08.png" COMP; + image: "style/tw_loading_small_09.png" COMP; + image: "style/tw_loading_small_10.png" COMP; + image: "style/tw_loading_small_11.png" COMP; + image: "style/tw_loading_small_12.png" COMP; + image: "style/tw_loading_small_13.png" COMP; + image: "style/tw_loading_small_14.png" COMP; + image: "style/tw_loading_small_15.png" COMP; + image: "style/tw_loading_small_16.png" COMP; + image: "style/tw_loading_small_17.png" COMP; + image: "style/tw_loading_small_18.png" COMP; + image: "style/tw_loading_small_19.png" COMP; + image: "style/tw_loading_small_20.png" COMP; + image: "style/tw_loading_small_21.png" COMP; + image: "style/tw_loading_small_22.png" COMP; + image: "style/tw_loading_small_23.png" COMP; + image: "style/tw_loading_small_24.png" COMP; + image: "style/tw_loading_small_25.png" COMP; + image: "style/tw_loading_small_26.png" COMP; + image: "style/tw_loading_small_27.png" COMP; + image: "style/tw_loading_small_28.png" COMP; + image: "style/tw_loading_small_29.png" COMP; + image: "style/tw_loading_small_30.png" COMP; + image: "style/tw_loading_small_31.png" COMP; + image: "style/tw_loading_small_32.png" COMP; + image: "style/tw_loading_small_33.png" COMP; + image: "style/tw_loading_small_34.png" COMP; + image: "style/tw_loading_small_35.png" COMP; + image: "style/tw_loading_small_36.png" COMP; + image: "style/tw_loading_small_37.png" COMP; + image: "style/tw_loading_small_38.png" COMP; + image: "style/tw_loading_small_39.png" COMP; + image: "style/tw_loading_small_40.png" COMP; + image: "style/tw_loading_small_41.png" COMP; + image: "style/tw_loading_small_42.png" COMP; + image: "style/tw_loading_small_43.png" COMP; + image: "style/tw_loading_small_44.png" COMP; + image: "style/tw_loading_small_45.png" COMP; + image: "style/tw_loading_small_46.png" COMP; + image: "style/tw_loading_small_47.png" COMP; + image: "style/tw_loading_small_48.png" COMP; + image: "style/tw_loading_small_49.png" COMP; + image: "style/tw_loading_small_50.png" COMP; + image: "style/tw_loading_small_51.png" COMP; + image: "style/tw_loading_small_52.png" COMP; + image: "style/tw_loading_small_53.png" COMP; + image: "style/tw_loading_small_54.png" COMP; + image: "style/tw_loading_small_55.png" COMP; + image: "style/tw_loading_small_56.png" COMP; + image: "style/tw_loading_small_57.png" COMP; + image: "style/tw_loading_small_58.png" COMP; + image: "style/tw_loading_small_59.png" COMP; + image: "style/tw_loading_small_60.png" COMP; + image: "style/tw_loading_small_61.png" COMP; + image: "style/tw_loading_small_62.png" COMP; + image: "style/tw_loading_small_63.png" COMP; + image: "style/tw_loading_small_64.png" COMP; + } + parts { + part { + name: "access"; + type: RECT; + description + { + state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { + name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { + name: "bar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; + max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; + fixed, 1 1; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "style/tw_loading_small_00.png"; + image.tween: "style/tw_loading_small_01.png"; + image.tween: "style/tw_loading_small_02.png"; + image.tween: "style/tw_loading_small_03.png"; + image.tween: "style/tw_loading_small_04.png"; + image.tween: "style/tw_loading_small_05.png"; + image.tween: "style/tw_loading_small_06.png"; + image.tween: "style/tw_loading_small_07.png"; + image.tween: "style/tw_loading_small_08.png"; + image.tween: "style/tw_loading_small_09.png"; + image.tween: "style/tw_loading_small_10.png"; + image.tween: "style/tw_loading_small_11.png"; + image.tween: "style/tw_loading_small_12.png"; + image.tween: "style/tw_loading_small_13.png"; + image.tween: "style/tw_loading_small_14.png"; + image.tween: "style/tw_loading_small_15.png"; + image.tween: "style/tw_loading_small_16.png"; + image.tween: "style/tw_loading_small_17.png"; + image.tween: "style/tw_loading_small_18.png"; + image.tween: "style/tw_loading_small_19.png"; + image.tween: "style/tw_loading_small_20.png"; + image.tween: "style/tw_loading_small_21.png"; + image.tween: "style/tw_loading_small_22.png"; + image.tween: "style/tw_loading_small_23.png"; + image.tween: "style/tw_loading_small_24.png"; + image.tween: "style/tw_loading_small_25.png"; + image.tween: "style/tw_loading_small_26.png"; + image.tween: "style/tw_loading_small_27.png"; + image.tween: "style/tw_loading_small_28.png"; + image.tween: "style/tw_loading_small_29.png"; + image.tween: "style/tw_loading_small_30.png"; + image.tween: "style/tw_loading_small_31.png"; + image.tween: "style/tw_loading_small_32.png"; + image.tween: "style/tw_loading_small_33.png"; + image.tween: "style/tw_loading_small_34.png"; + image.tween: "style/tw_loading_small_35.png"; + image.tween: "style/tw_loading_small_36.png"; + image.tween: "style/tw_loading_small_37.png"; + image.tween: "style/tw_loading_small_38.png"; + image.tween: "style/tw_loading_small_39.png"; + image.tween: "style/tw_loading_small_40.png"; + image.tween: "style/tw_loading_small_41.png"; + image.tween: "style/tw_loading_small_42.png"; + image.tween: "style/tw_loading_small_43.png"; + image.tween: "style/tw_loading_small_44.png"; + image.tween: "style/tw_loading_small_45.png"; + image.tween: "style/tw_loading_small_46.png"; + image.tween: "style/tw_loading_small_47.png"; + image.tween: "style/tw_loading_small_48.png"; + image.tween: "style/tw_loading_small_48.png"; + image.tween: "style/tw_loading_small_49.png"; + image.tween: "style/tw_loading_small_50.png"; + image.tween: "style/tw_loading_small_51.png"; + image.tween: "style/tw_loading_small_52.png"; + image.tween: "style/tw_loading_small_53.png"; + image.tween: "style/tw_loading_small_54.png"; + image.tween: "style/tw_loading_small_55.png"; + image.tween: "style/tw_loading_small_56.png"; + image.tween: "style/tw_loading_small_57.png"; + image.tween: "style/tw_loading_small_58.png"; + image.tween: "style/tw_loading_small_59.png"; + image.tween: "style/tw_loading_small_60.png"; + image.tween: "style/tw_loading_small_61.png"; + image.tween: "style/tw_loading_small_62.png"; + image.tween: "style/tw_loading_small_63.png"; + image.tween: "style/tw_loading_small_64.png"; + color: 128 128 128 128; + } + } + } + programs { + program { + name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { + name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "bar"; + } + } + } + + +#define BUTTON_PADDING_SIZE_INC 20 0 +#define BUTTON_HEIGHT_INC 122 +#define BUTTON_ICON_SIZE_INC 60 60 + group { name: "elm/button/base/default"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_HEIGHT_INC; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W011P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + fixed: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "elm.swallow.content.clip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "icon_rect"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + max: 1 0; + style: "button_general_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_press"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "F022L1i"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F022L1iD"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + //run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + } + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + + group { name: "elm/button/base/ime_transparent"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 112; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + } + + group { name: "elm/button/base/ime_button"; + alias: "elm/button/base/ime_button_stt"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01153L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "elm.swallow.content.clip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 1.0 1.0; to: "bg";} + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.swallow.content.clip", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.swallow.content.clip", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + } + } + + group { name: "elm/button/base/ime_button_emoticon"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01154L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01154L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_keyboard"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01155L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01155L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_template"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 76 76; + max: 76 76; + color_class: "AO01161"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01161P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO01161D"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "AO01153L3"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L3P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L3D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_stt_confirm"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO015L2"; + visible: 0; + image.normal: "./b_stt_icon_btn.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "AO015L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D"; + } + } + } + } + + group { name: "elm/button/base/touch_area"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color: 0 0 0 0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + programs { + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + } + } + + group { name: "elm/button/base/emoticon"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + //visible: 1; + //color: 255 0 0 100; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + //visible: 1; + //color: 0 255 0 100; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + min: 1 0; + style: "button_general_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_press"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +#define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop +#define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time +#define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time +#define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time +#define ACTIONBAR_PADDING_SIZE_INC 64 +#define ACTIONBAR_HEIGHT_INC 115 +#define ACTIONBAR_TEXT_SIZE_INC 39 +#define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51 +#define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25 +#define ACTIONBAR_TEX_SLIDING_SPEED 0.006 +#define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8 +#define HIDDEN_BUTTON_HEIGHT_INC 88 + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T0212"; + +styles { + style { name: "action_bar_title"; + base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012"; + STYLE_TAG_MATCH + } +} + +group { name: "elm_naviframe_item_basic_customized"; + data.item: "tizen_zoom" 1; + script { + public g_mirrored = 0; //Mirrored on/off status + public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer + + public g_duration_1st; + public g_duration_2nd; + public g_timer_id; + public g_anim_id; + public g_sliding_start; + + public title_text_fade_out() { + new x, y, w, h, w2; + + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_bg", x, y, w2, h); + } + + public init() { + slide_stop(); + set_float(g_duration_1st, 0); + set_float(g_duration_2nd, 0); + set_int(g_timer_id, 0); + set_int(g_anim_id, 0); + set_int(g_sliding_start, 0); + } + public slide_first_anim(val, Float:pos) { + set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0); + if (pos >= 1.0) { + cancel_anim(get_int(g_anim_id)); + set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1)); + } + } + public slide_second_anim(val, Float:pos) { + set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0); + if (pos >= 1.0) + slide_stop(); + } + public slide_first() { + check_size(); + if (get_int(g_sliding_start)) { + set_state(PART:"elm.text.title", "slide", 0.0); + get_duration(); + set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1)); + } + } + public slide_start() { + set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1)); + } + public slide_stop() { + cancel_anim(get_int(g_anim_id)); + set_state(PART:"elm.text.title", "default", 0.0); + set_int(g_sliding_start, 0); + } + public check_size() { + new x, y, w, w1, h; + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_clip", x, y, w1, h); + if (w >= w1) { + set_int(g_sliding_start, 1); + } + else { + set_int(g_sliding_start, 0); + } + } + public get_duration() { + new x, y, w, w1, h; + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_clip", x, y, w1, h); + set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED); + set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED); + } + } + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "title_expand"; + type: RECT; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 HIDDEN_BUTTON_HEIGHT_INC; + max: -1 HIDDEN_BUTTON_HEIGHT_INC; + fixed: 1 1; + align: 0.5 1.0; + visible: 0; + color: 255 255 255 0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + visible: 1; + } + } + part { name: "title_clip"; + type: RECT; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 1; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 ACTIONBAR_HEIGHT_INC; + max: -1 ACTIONBAR_HEIGHT_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color: 255 255 255 0; + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; } + rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; } + fixed: 0 1; + } + } + part { name: "title_text_clip"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale: 1; + clip_to: "title_text_clip"; + description { state: "default" 0.0; + text { + min: 0 1; + max: 1 1; + ellipsis: -1.0; +// fade_ellipsis: 1.0; + style: "action_bar_title"; + } + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "title_text_bg"; rel2.to: "title_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "left_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + description { state: "slide_1" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "left_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + description { state: "slide_2" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "right_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_PADDING_SIZE_INC 0; + max: ACTIONBAR_PADDING_SIZE_INC -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_PADDING_SIZE_INC 0; + max: ACTIONBAR_PADDING_SIZE_INC -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; + max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; + rel1 {relative: 0.0 0.0; to: "title_bg"; } + rel2 {relative: 1.0 0.0; to: "title_bg"; } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; + max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; + rel1 {relative: 0.0 1.0; to: "title_bg"; } + rel2 {relative: 1.0 1.0; to: "title_bg"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; } + rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; } + } + } + part { name: "elm.swallow.circle_bg"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; } + } + part { name: "elm.swallow.circle"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; } + } + part { name: "button_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 100; + max: -1 100; + rel1 {relative: 0.0 1.0; to: "base"; } + rel2 {relative: 1.0 1.0; to: "base"; } + } + } + } + programs { + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + set_state(PART:"clipper", "default", 0.0); + init(); + slide_start(); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + set_state(PART:"clipper", "hide", 0.0); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"title_clip", "hide", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "default")) { + run_program(PROGRAM:"title_hide_trans2"); + } + } + } + program { name: "title_hide_trans2"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans3"; + } + program { name: "title_hide_trans3"; + script { + run_program(PROGRAM:"title_hide"); + } + after: "title_trans_finished"; + } + program { name: "title_trans_finished"; + action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clip", "default", 0.0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "hide")) { + set_state(PART:"title_bg", "hide_trans", 0.0); + set_state(PART:"title_clip", "default", 0.0); + run_program(PROGRAM:"title_show_trans2"); + } + } + } + program { name: "title_show_trans2"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_trans_finished"; + } + program { name: "title_label_show"; + signal: "elm,state,title_label,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_label_hide"; + signal: "elm,state,title_label,hide"; + source: "elm"; + } + program { name: "title_expand_show"; + signal: "elm,state,title_expand,show"; + source: ""; + script { + set_state(PART:"title_expand", "show", 0.0); + } + } + program { name: "title_expand_hide"; + signal: "elm,state,title_expand,hide"; + source: ""; + script { + set_state(PART:"title_expand", "default", 0.0); + } + } + program { name: "hidden_btn_show_trans"; + signal: "elm,action,title_expand,show"; + source: ""; + action: STATE_SET "show" 0.0; + target: "title_expand"; + transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; + } + program { name: "title_expand_hide_trans"; + signal: "elm,action,title_expand,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "title_expand"; + transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(g_mirrored, 1); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(g_mirrored, 0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "title_text_fade_out"; + script { + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0)); + } + } + } +} + +////////////////////////////////////////////////////////////////////////////////// +// Customizing panel for send button. +////////////////////////////////////////////////////////////////////////////////// + +// ***************************** Panel*****************************************/ +#define PANEL_LEFT_PADDING_SIZE_INC 8 +#define PANEL_RIGHT_PADDING_SIZE_INC 6 +#define PANEL_LEFT_IMAGE_SIZE_INC 29 36 +#define PANEL_RIGHT_IMAGE_SIZE_INC 16 36 +#define PANEL_RIGHT_CUE_SIZE_INC 32 158 +#define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158 +#define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140 +#define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140 +#define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200 +#define PANEL_LAYOUT_SIZE_INC 360 360 + +images { + image, "./b_more_option.png" COMP; + image, "./b_more_option_ef.png" COMP; + image, "./b_more_option_bg.png" COMP; + image, "./b_ic_press_full_circle_bg.png" COMP; +} + +group { name: "elm/panel/right1/default"; + script { + public mouse_down = 0; + public mouse_click = 0; + public multi_down = 0; + public click_cnt = 0; + public event_down = 0; + public cue_hide = 0; + public timer0(val) { + if(val == 1) + run_program(PROGRAM:"change_opacity"); + else if(val == 2) + run_program(PROGRAM:"change_opacity2"); + } + } + parts { + part { name: "bg"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_LAYOUT_SIZE_INC; + max: PANEL_LAYOUT_SIZE_INC; + //color_class: "transparent"; + color: 0 0 0 0; + } + } + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + min: PANEL_RIGHT_PADDING_SIZE_INC 0; + max: PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_more_option.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 0.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "effect_bg"; + scale: 1; + clip_to: "effect_bg_clip"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + color: 128 128 128 128; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "effect_bg2"; + scale: 1; + clip_to: "effect_bg_clip2"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + //color_class: "transparent"; + color: 0 0 0 0; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip2"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "cue.event"; + type: RECT; + repeat_events: 0; + description { state: "default" 0.0; + min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "cue.release.event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + repeat_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + visible: 0; + fixed: 1 1; + image.normal: "./b_more_option_bg.png"; + color: 128 128 128 128; + map { + on: 1; + zoom { + x: 1.35; + y: 1.35; + } + color[0]: 0 0 0 0; + color[1]: 0 0 0 0; + color[2]: 0 0 0 0; + color[3]: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + zoom { + x: 1.0; + y: 1.0; + } + color[0]: 255 255 255 255; + color[1]: 255 255 255 255; + color[2]: 255 255 255 255; + color[3]: 255 255 255 255; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 0; + fixed: 1 1; + map { + on: 1; + zoom { + x: 1.35; + y: 1.35; + } + color[0]: 0 0 0 0; + color[1]: 0 0 0 0; + color[2]: 0 0 0 0; + color[3]: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + zoom { + x: 1.0; + y: 1.0; + } + color[0]: 255 255 255 255; + color[1]: 255 255 255 255; + color[2]: 255 255 255 255; + color[3]: 255 255 255 255; + } + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "cue.event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_int(event_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"effect_bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,press", ""); + run_program(PROGRAM:"haptic"); + if(get_int(click_cnt) == 0) { + set_state(PART:"effect_bg", "pressed", 0.0); + set_state(PART:"effect_bg_clip", "pressed", 0.0); + run_program(PROGRAM:"start_persp"); + timer(0.3, "timer0", 1); + } + else if(get_int(click_cnt) == 1) { + set_state(PART:"effect_bg2", "pressed", 0.0); + set_state(PART:"effect_bg_clip2", "pressed", 0.0); + run_program(PROGRAM:"start_persp2"); + timer(0.3, "timer0", 2); + } + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "cue.event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"effect_bg", st, 30, vl); + if (strcmp(st, "disabled")) { + if(get_int(click_cnt) == 0) + set_int(click_cnt, 1); + else + set_int(click_cnt, 0); + } + } + } + program { name: "release.event_clicked"; + signal: "mouse,clicked,*"; + source: "cue.release.event"; + script { + if (get_int(event_down) == 1) { + set_int(event_down, 0); + emit("cue,clicked", "elm"); + run_program(PROGRAM:"panel_toggle"); + run_program(PROGRAM:"play_sample"); + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "panel_toggle"; + action: SIGNAL_EMIT "elm,action,panel,toggle" "elm"; + } + program { + name: "haptic"; + action: RUN_PLUGIN "haptic_tap"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(cue_hide) == 0) + set_state(PART:"cue", "disabled", 0.0); + set_state(PART:"effect_bg", "disabled", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(cue_hide) == 1) { + set_state(PART:"cue", "hidden", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + else { + set_state(PART:"cue", "default", 0.0); + set_state(PART:"cue.event", "default", 0.0); + set_state(PART:"cue.release.event", "default", 0.0); + } + set_state(PART:"effect_bg", "default", 0.0); + } + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "start_persp"; + action: STATE_SET "start_persp" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg"; + } + program { name: "change_opacity"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg_clip"; + } + program { name: "start_persp2"; + action: STATE_SET "start_persp" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg2"; + } + program { name: "change_opacity2"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg_clip2"; + } + program { + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; + target: "elm.swallow.content"; + target: "base"; + after: "active,finished"; + } + program { + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; + target: "elm.swallow.content"; + target: "base"; + after: "inactive,finished"; + } + program { name: "active,finished"; + action: SIGNAL_EMIT "elm,state,active,finished" "elm"; + } + program { name: "inactive,finished"; + action: SIGNAL_EMIT "elm,state,inactive,finished" "elm"; + } + program { name: "cue,hide"; + signal: "cue,hide"; + source: "elm"; + script { + set_int(cue_hide, 1); + set_state(PART:"cue", "hidden", 0.0); + set_state(PART:"cue_ef", "hidden", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + } + program { name: "cue,show"; + signal: "cue,show"; + source: "elm"; + script { + set_int(cue_hide, 0); + set_state(PART:"cue", "default", 0.0); + set_state(PART:"cue_ef", "default", 0.0); + set_state(PART:"cue.event", "default", 0.0); + set_state(PART:"cue.release.event", "default", 0.0); + } + } + } +} + +group { name: "elm/panel/left1/default"; + inherit: "elm/panel/right1/default"; + parts { + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: PANEL_RIGHT_PADDING_SIZE_INC 0; + max: PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_more_option.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "effect_bg"; + scale: 1; + clip_to: "effect_bg_clip"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + color: 128 128 128 128; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "effect_bg2"; + scale: 1; + clip_to: "effect_bg_clip2"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + //color_class: "transparent"; + color: 0 0 0 0; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip2"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "cue.event"; + type: RECT; + description { state: "default" 0.0; + min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "cue.release.event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "elm/panel/left_sending/default"; + inherit: "elm/panel/left1/default"; + parts { + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0; + max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_stt_send_icon.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D";//"B052L1D"; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + visible: 0; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "elm/panel/left_confirm/default"; + inherit: "elm/panel/left_sending/default"; + parts { + part { name: "cue"; + description { state: "default" 0.0; + min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_stt_confirm_icon.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D";//"B052L1D"; + } + } + } +} + +} diff --git a/res/tv/images/Delta_w_mode_emoticon_ic.png b/res/tv/images/Delta_w_mode_emoticon_ic.png new file mode 100644 index 0000000..8511eb6 Binary files /dev/null and b/res/tv/images/Delta_w_mode_emoticon_ic.png differ diff --git a/res/tv/images/b_stt_confirm_icon.png b/res/tv/images/b_stt_confirm_icon.png new file mode 100644 index 0000000..5ea22f4 Binary files /dev/null and b/res/tv/images/b_stt_confirm_icon.png differ diff --git a/res/tv/images/b_stt_send_icon.png b/res/tv/images/b_stt_send_icon.png new file mode 100644 index 0000000..46e2a35 Binary files /dev/null and b/res/tv/images/b_stt_send_icon.png differ diff --git a/res/tv/images/bubble_ic_emoticons.png b/res/tv/images/bubble_ic_emoticons.png new file mode 100644 index 0000000..0bb0f4e Binary files /dev/null and b/res/tv/images/bubble_ic_emoticons.png differ diff --git a/res/tv/images/bubble_ic_stt.png b/res/tv/images/bubble_ic_stt.png new file mode 100644 index 0000000..6c870c5 Binary files /dev/null and b/res/tv/images/bubble_ic_stt.png differ diff --git a/res/tv/images/bubble_ic_templates.png b/res/tv/images/bubble_ic_templates.png new file mode 100644 index 0000000..5059090 Binary files /dev/null and b/res/tv/images/bubble_ic_templates.png differ diff --git a/res/tv/images/emoticons/page_icon_bg.png b/res/tv/images/emoticons/page_icon_bg.png new file mode 100644 index 0000000..83feb06 Binary files /dev/null and b/res/tv/images/emoticons/page_icon_bg.png differ diff --git a/res/tv/images/emoticons/u1f408.png b/res/tv/images/emoticons/u1f408.png new file mode 100644 index 0000000..0022a79 Binary files /dev/null and b/res/tv/images/emoticons/u1f408.png differ diff --git a/res/tv/images/emoticons/u1f414.png b/res/tv/images/emoticons/u1f414.png new file mode 100644 index 0000000..745cb04 Binary files /dev/null and b/res/tv/images/emoticons/u1f414.png differ diff --git a/res/tv/images/emoticons/u1f415.png b/res/tv/images/emoticons/u1f415.png new file mode 100644 index 0000000..00a2c74 Binary files /dev/null and b/res/tv/images/emoticons/u1f415.png differ diff --git a/res/tv/images/emoticons/u1f42f.png b/res/tv/images/emoticons/u1f42f.png new file mode 100644 index 0000000..cf8d6b5 Binary files /dev/null and b/res/tv/images/emoticons/u1f42f.png differ diff --git a/res/tv/images/emoticons/u1f433.png b/res/tv/images/emoticons/u1f433.png new file mode 100644 index 0000000..05f9ee5 Binary files /dev/null and b/res/tv/images/emoticons/u1f433.png differ diff --git a/res/tv/images/emoticons/u1f43c.png b/res/tv/images/emoticons/u1f43c.png new file mode 100644 index 0000000..a2ffdd6 Binary files /dev/null and b/res/tv/images/emoticons/u1f43c.png differ diff --git a/res/tv/images/emoticons/u1f43d.png b/res/tv/images/emoticons/u1f43d.png new file mode 100644 index 0000000..3db9c3f Binary files /dev/null and b/res/tv/images/emoticons/u1f43d.png differ diff --git a/res/tv/images/emoticons/u1f44c.png b/res/tv/images/emoticons/u1f44c.png new file mode 100644 index 0000000..2ca9856 Binary files /dev/null and b/res/tv/images/emoticons/u1f44c.png differ diff --git a/res/tv/images/emoticons/u1f44d.png b/res/tv/images/emoticons/u1f44d.png new file mode 100644 index 0000000..e0fc867 Binary files /dev/null and b/res/tv/images/emoticons/u1f44d.png differ diff --git a/res/tv/images/emoticons/u1f44e.png b/res/tv/images/emoticons/u1f44e.png new file mode 100644 index 0000000..61ba959 Binary files /dev/null and b/res/tv/images/emoticons/u1f44e.png differ diff --git a/res/tv/images/emoticons/u1f495.png b/res/tv/images/emoticons/u1f495.png new file mode 100644 index 0000000..ae1c96c Binary files /dev/null and b/res/tv/images/emoticons/u1f495.png differ diff --git a/res/tv/images/emoticons/u1f604.png b/res/tv/images/emoticons/u1f604.png new file mode 100644 index 0000000..b63f4ae Binary files /dev/null and b/res/tv/images/emoticons/u1f604.png differ diff --git a/res/tv/images/emoticons/u1f606.png b/res/tv/images/emoticons/u1f606.png new file mode 100644 index 0000000..e015089 Binary files /dev/null and b/res/tv/images/emoticons/u1f606.png differ diff --git a/res/tv/images/emoticons/u1f60a.png b/res/tv/images/emoticons/u1f60a.png new file mode 100644 index 0000000..8b2c482 Binary files /dev/null and b/res/tv/images/emoticons/u1f60a.png differ diff --git a/res/tv/images/emoticons/u1f60d.png b/res/tv/images/emoticons/u1f60d.png new file mode 100644 index 0000000..ea2c643 Binary files /dev/null and b/res/tv/images/emoticons/u1f60d.png differ diff --git a/res/tv/images/emoticons/u1f61a.png b/res/tv/images/emoticons/u1f61a.png new file mode 100644 index 0000000..d7a1f37 Binary files /dev/null and b/res/tv/images/emoticons/u1f61a.png differ diff --git a/res/tv/images/emoticons/u1f61c.png b/res/tv/images/emoticons/u1f61c.png new file mode 100644 index 0000000..e865de4 Binary files /dev/null and b/res/tv/images/emoticons/u1f61c.png differ diff --git a/res/tv/images/emoticons/u1f620.png b/res/tv/images/emoticons/u1f620.png new file mode 100644 index 0000000..fd9b4f1 Binary files /dev/null and b/res/tv/images/emoticons/u1f620.png differ diff --git a/res/tv/images/emoticons/u1f621.png b/res/tv/images/emoticons/u1f621.png new file mode 100644 index 0000000..3bab8c6 Binary files /dev/null and b/res/tv/images/emoticons/u1f621.png differ diff --git a/res/tv/images/emoticons/u1f622.png b/res/tv/images/emoticons/u1f622.png new file mode 100644 index 0000000..c99193d Binary files /dev/null and b/res/tv/images/emoticons/u1f622.png differ diff --git a/res/tv/images/emoticons/u1f624.png b/res/tv/images/emoticons/u1f624.png new file mode 100644 index 0000000..57f7def Binary files /dev/null and b/res/tv/images/emoticons/u1f624.png differ diff --git a/res/tv/images/emoticons/u1f625.png b/res/tv/images/emoticons/u1f625.png new file mode 100644 index 0000000..2c08125 Binary files /dev/null and b/res/tv/images/emoticons/u1f625.png differ diff --git a/res/tv/images/emoticons/u1f62a.png b/res/tv/images/emoticons/u1f62a.png new file mode 100644 index 0000000..1d267cb Binary files /dev/null and b/res/tv/images/emoticons/u1f62a.png differ diff --git a/res/tv/images/emoticons/u1f62b.png b/res/tv/images/emoticons/u1f62b.png new file mode 100644 index 0000000..b840d3d Binary files /dev/null and b/res/tv/images/emoticons/u1f62b.png differ diff --git a/res/tv/images/emoticons/u1f631.png b/res/tv/images/emoticons/u1f631.png new file mode 100644 index 0000000..9530095 Binary files /dev/null and b/res/tv/images/emoticons/u1f631.png differ diff --git a/res/tv/images/emoticons/u1f632.png b/res/tv/images/emoticons/u1f632.png new file mode 100644 index 0000000..f796a95 Binary files /dev/null and b/res/tv/images/emoticons/u1f632.png differ diff --git a/res/tv/images/emoticons/u1f637.png b/res/tv/images/emoticons/u1f637.png new file mode 100644 index 0000000..17574f0 Binary files /dev/null and b/res/tv/images/emoticons/u1f637.png differ diff --git a/res/tv/images/emoticons/w_emoticions_center_bg.png b/res/tv/images/emoticons/w_emoticions_center_bg.png new file mode 100644 index 0000000..262f03d Binary files /dev/null and b/res/tv/images/emoticons/w_emoticions_center_bg.png differ diff --git a/res/tv/images/emoticons/w_emoticions_center_stroke.png b/res/tv/images/emoticons/w_emoticions_center_stroke.png new file mode 100644 index 0000000..3c16c89 Binary files /dev/null and b/res/tv/images/emoticons/w_emoticions_center_stroke.png differ diff --git a/res/tv/images/prompt_ic_languages.png b/res/tv/images/prompt_ic_languages.png new file mode 100644 index 0000000..d998dca Binary files /dev/null and b/res/tv/images/prompt_ic_languages.png differ diff --git a/res/tv/images/toast_check_icon.png b/res/tv/images/toast_check_icon.png new file mode 100644 index 0000000..213a2f7 Binary files /dev/null and b/res/tv/images/toast_check_icon.png differ diff --git a/res/tv/images/w_list_add_ic.png b/res/tv/images/w_list_add_ic.png new file mode 100644 index 0000000..83e4829 Binary files /dev/null and b/res/tv/images/w_list_add_ic.png differ diff --git a/res/tv/images/w_mode_emoticon_ic.png b/res/tv/images/w_mode_emoticon_ic.png new file mode 100644 index 0000000..e44bf87 Binary files /dev/null and b/res/tv/images/w_mode_emoticon_ic.png differ diff --git a/res/tv/images/w_mode_keyboard_ic.png b/res/tv/images/w_mode_keyboard_ic.png new file mode 100644 index 0000000..10bb4fd Binary files /dev/null and b/res/tv/images/w_mode_keyboard_ic.png differ diff --git a/res/tv/images/w_mode_location_ic.png b/res/tv/images/w_mode_location_ic.png new file mode 100644 index 0000000..fbf6b87 Binary files /dev/null and b/res/tv/images/w_mode_location_ic.png differ diff --git a/res/tv/images/w_mode_stt_ic.png b/res/tv/images/w_mode_stt_ic.png new file mode 100644 index 0000000..0761a5c Binary files /dev/null and b/res/tv/images/w_mode_stt_ic.png differ diff --git a/res/tv/images/w_sip_number_btn_ic.png b/res/tv/images/w_sip_number_btn_ic.png new file mode 100644 index 0000000..c600dcc Binary files /dev/null and b/res/tv/images/w_sip_number_btn_ic.png differ diff --git a/res/tv/images/wi_drawing_icon.png b/res/tv/images/wi_drawing_icon.png new file mode 100644 index 0000000..f31f256 Binary files /dev/null and b/res/tv/images/wi_drawing_icon.png differ diff --git a/res/wearable/edje/w-input-selector.edc b/res/wearable/edje/w-input-selector.edc new file mode 100755 index 0000000..c00e082 --- /dev/null +++ b/res/wearable/edje/w-input-selector.edc @@ -0,0 +1,808 @@ +#define FONT_NAME "GP45_ArabCJK_TouchWiz" + +#define BTN_W 120 +#define BTN_H 120 +#define BTN_PAD_W 1 +#define BTN_PAD_H 1 + +collections { + base_scale: 1.3; + group { name: "main"; + parts { + part { name: "background"; + type: RECT; + description { + state: "default" 0.0; + color: 0 0 0 255; + } + } + + part { name: "txt_title"; + type: TEXT; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 0.35; to: background; } + text { font: FONT_NAME; size: 35; } + color: 0 140 239 255; + fixed: 1 1; + } + } + + part { name: "btn1"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 1.0; to: background; } + min: BTN_W BTN_H; + max: BTN_W BTN_H; + align: 0 0.5; + fixed: 1 1; + } + } + + part { name: "padding"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_x: "btn1"; + relative: 1.0 0.0; + } + rel2 { + to_y: "btn1"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: BTN_PAD_W BTN_H; + max: BTN_PAD_W BTN_H; + fixed: 1 1; + } + } + + part { name: "btn2"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding"; + relative: 1.0 0.0; + } + rel2 { + to_y: "padding"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: (BTN_W - BTN_PAD_W) BTN_H; + max: (BTN_W - BTN_PAD_W) BTN_H; + fixed: 1 1; + } + } + part { name: "padding2"; + type: SPACER; + scale: 1; + mouse_events: 0; + description { state: "default" 0.0; + rel1 { + to_x: "btn2"; + relative: 1.0 0.0; + } + rel2 { + to_y: "btn2"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: BTN_PAD_W BTN_H; + max: BTN_PAD_W BTN_H; + fixed: 1 1; + } + } + + part { name: "btn3"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { + to_x: "padding2"; + relative: 1.0 0.0; + } + rel2 { + to_y: "padding2"; + relative: 1.0 1.0; + } + align: 0.0 1.0; + min: (BTN_W - BTN_PAD_W) BTN_H; + max: (BTN_W - BTN_PAD_W) BTN_H; + fixed: 1 1; + } + } + + part { name: "template_list"; + type: SWALLOW; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: background; } + rel2 { relative: 1.0 1.0; to: background; } + align: 0.0 0.0; + } + } + } + } + +#define LIST_BUTTON_PADDING_LEFT_SIZE_INC 0 +#define LIST_BUTTON_PADDING_RIGHT_SIZE_INC 0 +#define LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC 1 +#define LIST_BUTTON_PADDING_BOTTOM_SIZE_INC 1 +#define BUTTON_2BUTTON_WIDTH_INC 180 +#define BUTTON_2BUTTON_RIGHT_WIDTH_INC 179 +#define LIST_BUTTON_PADDING_CENTER_SIZE_INC 1 + +#define PART(TYPE, NAME, DESCRIPION) \ + part { name: NAME; \ + scale: 1; \ + type: TYPE; \ + DESCRIPION \ + } + +#define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + align: 0 0.5; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_x: LEFT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_TB( TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + align: 0.5 0.5; \ + rel1 { \ + relative: 0 1; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 1 0; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \ + description { state: "default" 0.0; \ + rel1 { \ + relative: 1 1; \ + to_x: LEFT; \ + to_y: TOP; \ + } \ + rel2 { \ + relative: 0 0; \ + to_x: RIGHT; \ + to_y: BOTTOM; \ + } \ + PARAM \ + } + +#define DESC_FROM_L( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 0.0 0.5; \ + rel2.relative: 0.0 1.0; \ + PARAM \ + } + +#define DESC_FROM_R( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 1 0; \ + align: 1.0 0.5; \ + rel1.relative: 1 0; \ + PARAM \ + } + +#define DESC_FROM_T( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 0 1; \ + align: 0.5 0.0; \ + rel2.relative: 1.0 0.0; \ + PARAM \ + } + +#define DESC_FROM_B( PARAM ) \ + description { state: "default" 0.0; \ + fixed: 0 1; \ + rel1.relative: 0.0 1.0; \ + align: 0.5 1.0; \ + PARAM \ + } + +#define DESC_L( LEFT, PARAM ) \ + description { state: "default" 0.0; \ + align: 0 0.5; \ + fixed: 1 0; \ + rel1 { \ + relative: 1 0; \ + to_x: LEFT; \ + } \ + rel2 { \ + relative: 1 1; \ + to_x: LEFT; \ + } \ + PARAM \ + } + + + +#define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \ + PART(SWALLOW, "elm.swallow.pad", \ + mouse_events: 0; \ + DESC_FROM_L( ; ) \ + ) \ + PART(SWALLOW, "elm.swallow.colorbar", \ + mouse_events: 0; \ + DESC_L("elm.swallow.pad", ) \ + ) \ + PART(SPACER, "elm.padding.left", \ + scale: 0; \ + DESC_L("elm.swallow.pad", \ + min: LEFT_SIZE 0; \ + max: LEFT_SIZE -1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.right", \ + scale: 0; \ + DESC_FROM_R( \ + min: RIGHT_SIZE 0; \ + max: RIGHT_SIZE -1; \ + ) \ + ) \ + PART(SPACER, "elm.padding.top", \ + scale: 0; \ + DESC_FROM_T( \ + min: 0 TOP_SIZE; \ + max: -1 TOP_SIZE; \ + ) \ + ) \ + PART(SPACER, "elm.padding.bottom", \ + scale: 0; \ + DESC_FROM_B( \ + min: 0 BOTTOM_SIZE; \ + max: -1 BOTTOM_SIZE; \ + ) \ + ) + +#define PROGRAM_LIST_DEFAULT( TARGET ) \ + program { name: "default"; \ + signal: "elm,state,default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_DISABLE( TARGET ) \ + program { name: "enabled"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } \ + program { name: "disabled"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_SELECT( TARGET ) \ + program { name: "selected"; \ + signal: "elm,state,selected"; \ + source: "elm"; \ + action: STATE_SET "selected" 0.0; \ + TARGET \ + } \ + program { name: "unselected"; \ + signal: "elm,state,unselected"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + } + +#define PROGRAM_LIST_HIGHLIGHT( TARGET ) \ + program { name: "highlighted"; \ + signal: "elm,state,highlighted"; \ + source: "elm"; \ + action: STATE_SET "highlighted" 0.0; \ + TARGET \ + transition: LINEAR 1.0; \ + } \ + program { name: "unhighlighted"; \ + signal: "elm,state,unhighlighted"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + TARGET \ + transition: LINEAR 1.0; \ + } + +#define PROGRAMS_LIST_BUTTON( TARGET ) \ + programs { \ + PROGRAM_LIST_DEFAULT( TARGET \ + target: "elm.padding.left"; \ + target: "elm.padding.right"; \ + ) \ + PROGRAM_LIST_DISABLE( TARGET \ + ) \ + PROGRAM_LIST_SELECT( TARGET \ + ) \ + PROGRAM_LIST_HIGHLIGHT( TARGET ) \ + PROGRAM_LIST_SOUND \ + } + +#define PROGRAM_LIST_SOUND \ + program { name: "play_sound"; \ + signal: "elm,state,clicked"; \ + source: "elm"; \ + script { \ + run_program(PROGRAM:"play_sample"); \ + } \ + } \ + program { \ + name: "play_sample"; \ + action: RUN_PLUGIN "touch_sound"; \ + } + + +#define BUTTON_HEIGHT_INC 122 + +#define PART_LIST_BG \ + PART(RECT, "bg", \ + description { state: "default" 0.0; \ + color: 0 0 0 0; \ + visible: 1; \ + } \ + ) + + + +// 3 button + group { + name: "elm/genlist/item/3button_flat/default"; + alias: "elm/genlist/item/3button_flat_recent/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area"; + data.item: "vi_effect" "on"; + data.item: "dim" "off"; + data.item: "focus_bg" "off"; + + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + + part { + name: "elm.icon.1"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.1.touch_area"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;} + } + } + + part { + name: "elm.icon.2"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + } + + } + part { + name: "elm.icon.2.touch_area"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;} + } + + } + + + part { + name: "elm.icon.3"; // right icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.3.touch_area"; // right icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;} + } + } + + } + } + +//2button + group { + name: "elm/genlist/item/2button_flat/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.1.touch_area elm.icon.2.touch_area"; + data.item: "vi_effect" "on"; + data.item: "dim" "off"; + data.item: "focus_bg" "off"; + + + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + + part { + name: "elm.icon.1"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + } + } + part { + name: "elm.icon.1.touch_area"; // left icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;} + } + } + + part { + name: "elm.icon.2"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 100 100; + max: 100 100; + rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + } + + } + part { + name: "elm.icon.2.touch_area"; // center icon + type: SWALLOW; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + min: 120 120; + max: 120 120; + rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;} + } + + } + } + } + + group { name: "elm/button/base/ime/transparent"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: 0 130; + color_class: "AO015"; + visible: 0; + } + description { + state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015P"; + } + description { + state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015D"; + } + } + part { + name: "padding_left_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + } + } + part { + name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + } + } + part { + name: "icon_rect"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + min: 134 61; + max: 134 61; + fixed: 1 1; + } + } + } + } + + group { + name: "elm/genlist/item/2button/default"; + data.item: "treesize" 0; + data.item: "flips" "elm.flip.icon elm.flip.content"; + data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.1 elm.icon.2 elm.swallow.center_check"; + data.item: "vi_effect" "off"; + parts { + PART_LIST_BG + PART_LIST_PADDINGS( + LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC, + LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC + ) + PART(SWALLOW, "base", + DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom", + min: 360 0; + fixed: 1 0; + visible: 1; + ) + ) + part { name: "elm.icon.1.touch_area"; + type: SWALLOW; + repeat_events, 0; + description { + state: "default" 0.0; + color: 255 0 0 100; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;} + rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;} + } + } + part { name: "elm.icon.2.touch_area"; + type: SWALLOW; + repeat_events, 0; + description { + state: "default" 0.0; + color: 0 0 255 100; + visible: 1; + align: 0.5 0.5; + fixed: 1 1; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -6 -5;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +6 +5;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -9 -8;} + rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +9 +8;} + } + } + part { name: "elm.icon.1"; + type: SWALLOW; + repeat_events, 1; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0; + fixed: 1 1; + min: 114 114; + max: 114 114; + rel1 { relative: 112/360 0; to: "base"; offset: 0 35;} + rel2 { relative: 112/360 0; to: "base"; offset: 0 35;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + min: 114+(198-114)/2 114+(198-114)/2; + max: 114+(198-114)/2 114+(198-114)/2; + rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + min: 198 198; + max: 198 198; + rel1 { relative: 128/360 0; to: "base"; offset: 0 12;} + rel2 { relative: 128/360 0; to: "base"; offset: 0 12;} + } + } + part { name: "elm.icon.2"; + type: SWALLOW; + repeat_events, 1; + description { + state: "default" 0.0; + visible: 1; + align: 0.5 0; + fixed: 1 1; + min: 114 114; + max: 114 114; + rel1 { relative: 249/360 0; to: "base"; offset: 0 35;} + rel2 { relative: 249/360 0; to: "base"; offset: 0 35;} + } + description { + state: "default" 0.1; + inherit: "default" 0.0; + min: 114+(198-114)/2 114+(99-114)/2; + max: 114+(198-114)/2 114+(198-114)/2; + rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;} + } + description { + state: "default" 0.9; + inherit: "default" 0.0; + min: 198 198; + max: 198 198; + rel1 { relative: 297/360 0; to: "base"; offset: 0 12;} + rel2 { relative: 297/360 0; to: "base"; offset: 0 12;} + } + } + + PART(SPACER, "elm.padding.fake", + DESC_TB("elm.padding.top","elm.padding.bottom", + min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; + max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; + fixed: 1 0; + ) + ) + PART(SPACER, "elm.padding.center", + DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom", + min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0; + max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1; + fixed: 1 0; + ) + ) + PART(SWALLOW, "elm.swallow.center_check", + description { state: "default" 0.0; + align: 0.5 0.5; + } + ) + } +} diff --git a/res/wearable/edje/w-input-stt-button.edc b/res/wearable/edje/w-input-stt-button.edc new file mode 100644 index 0000000..c8865f4 --- /dev/null +++ b/res/wearable/edje/w-input-stt-button.edc @@ -0,0 +1,288 @@ +/* + * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#define NORMAL_BG_IMAGE "B09_voice_input_panel.png" + +#define PROGRESSING_DELAY 0.03 +#define PROGRESS_BG_DESC1( param_name, param_num ) \ +description \ +{ \ + state, "pulse" 0.#param_num; \ + inherit, "default" 0.0; \ + image.normal, "B09_"#param_name"_"#param_num".png"; \ +} + +#define LISTEN_BG_DESC( param_name, param_num ) \ +description \ +{ \ + state, "wave" 0.#param_num; \ + inherit, "default" 0.0; \ + image.normal, "B09_"#param_name"_"#param_num".png"; \ +} + +#define BUTTON_CIRCLE_STYLE_BG_MIN_MAX_INC 112 112 +#define BUTTON_CIRCLE_STYLE_IMAGE_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_CONTENT_MIN_MAX_INC 45 45 +#define BUTTON_CIRCLE_STYLE_LEFT_PADDING_MIN_MAX_INC 13 13 +#define BUTTON_CIRCLE_STYLE_RIGHT_PADDING_MIN_MAX_INC 14 14 + +#define BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC 0 2 +#define BUTTON_CIRCLE_STYLE_NORMAL_BOTTOM_OFFSET_INC -1 1 +#define BUTTON_CIRCLE_STYLE_PRESSED_TOP_OFFSET_INC 0 -2 +#define BUTTON_CIRCLE_STYLE_PRESSED_BOTTOM_OFFSET_INC -1 -3 + +#define BUTTON_CIRCLE_STYLE_CLIPPER_DEFAULT_COLOR_INC 0 0 0 255 +#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_PRESSED_COLOR_INC 0 0 0 255 +#define BUTTON_CIRCLE_STYLE_ICON_CLIPPER_DISABLED_COLOR_INC 21 22 25 255 + +#define BUTTON_CIRCLE_STYLE_NORMAL_COLOR_INC 250 250 250 255 +#define BUTTON_CIRCLE_STYLE_PRESSED_COLOR_INC 250 250 250 255 +#define BUTTON_CIRCLE_STYLE_DISABLED_COLOR_INC 166 167 169 255 + + +/////////////////////////////////////////////////////////////////////////////////////// + + +//============================================================================ +//============================================================================ + +/** + * Resources + * + */ + +/** + * Macro + * + */ +#define BTN_IMAGE() \ +part \ +{ \ + name, "button_image"; \ + mouse_events, 1; \ + scale, 1; \ + description \ + { \ + state, "default" 0.0; \ + } \ + description \ + { \ + state, "clicked" 0.0; \ + inherit, "default" 0.0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ + description \ + { \ + state, "focused" 0.0; \ + inherit, "default" 0.0; \ + } \ +} + +#define OVER() \ +part \ +{ \ + name, "over2"; \ + type, RECT; \ + mouse_events, 1; \ + repeat_events, 1; \ + ignore_flags, ON_HOLD; \ + description \ + { \ + state, "default" 0.0; \ + color, 0 0 0 0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 0; \ + } \ +} \ +part \ +{ \ + name, "over3"; \ + type, RECT; \ + mouse_events, 1; \ + repeat_events, 1; \ + description \ + { \ + state, "default" 0.0; \ + color, 0 0 0 0; \ + } \ + description \ + { \ + state, "clicked" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ +} + +#define DISABLER() \ +part \ +{ \ + name, "disabler"; \ + type, RECT; \ + description \ + { \ + state, "default" 0.0; \ + color, 255 255 255 0; \ + visible, 0; \ + } \ + description \ + { \ + state, "disabled" 0.0; \ + inherit, "default" 0.0; \ + visible, 1; \ + } \ +} + +#define PROG_FOCUS \ +program \ +{ \ + name, "focused"; \ + signal, "elm,action,focus"; \ + source, "elm"; \ + action, STATE_SET "focused" 0.0; \ + target, "button_image"; \ +} \ +program \ +{ \ + name, "unfocused"; \ + signal, "elm,action,unfocus"; \ + source, "elm"; \ + action, STATE_SET "default" 0.0; \ + target, "button_image"; \ +} + +#define PROG_ENABLE \ +program \ +{ \ + name: "disable"; \ + signal: "elm,state,disabled"; \ + source: "elm"; \ + action: STATE_SET "disabled" 0.0; \ + target: "button_image"; \ + target: "over2"; \ + target: "disabler"; \ +} \ +program \ +{ \ + name: "enable"; \ + signal: "elm,state,enabled"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ + target: "over2"; \ + target: "disabler"; \ +} + +#define PROG_CLICK \ +program \ +{ \ + name: "button_click"; \ + signal: "mouse,down,1"; \ + source: "over2"; \ + action: SIGNAL_EMIT "elm,action,press" ""; \ + after: "button_click_anim"; \ +} \ +program \ +{ \ + name: "button_click_anim"; \ + action: STATE_SET "clicked" 0.0; \ + target: "button_image"; \ +} \ +program \ +{ \ + name: "button_unclick"; \ + signal: "mouse,up,1"; \ + source: "over2"; \ + action: SIGNAL_EMIT "elm,action,unpress" ""; \ + after: "button_unclick_anim"; \ +} \ +program \ +{ \ + name: "button_unclick_anim"; \ + action: STATE_SET "default" 0.0; \ + target: "button_image"; \ +} \ +program \ +{ \ + name: "button_mouseout_clicked"; \ + signal: "mouse,out"; \ + source: "over2"; \ + script \ + { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"button_image", st, 30, vl); \ + if (!strcmp(st, "clicked")) \ + { \ + set_state(PART:"button_image", "visible", 0.0); \ + } \ + } \ +} \ +program \ +{ \ + name: "button_click2"; \ + signal: "mouse,down,1"; \ + source: "over3"; \ + action: STATE_SET "clicked" 0.0; \ + target: "over3"; \ + action: SIGNAL_EMIT "elm,action,click" ""; \ +} \ +program \ +{ \ + name: "button_unclick2"; \ + signal: "mouse,up,1"; \ + source: "over3"; \ + action: STATE_SET "default" 0.0; \ + target: "over3"; \ +} \ +program \ +{ \ + name: "button_unclick3"; \ + signal: "mouse,up,1"; \ + source: "over2"; \ +} + +#define VIC_BUTTON() \ +group \ +{ \ + name, "elm/button/base/vic/micbutton"; \ + parts \ + { \ + BTN_IMAGE() \ + OVER() \ + DISABLER() \ + } \ + programs \ + { \ + PROG_CLICK \ + PROG_ENABLE \ + PROG_FOCUS \ + } \ +} + +collections +{ + VIC_BUTTON() +} diff --git a/res/wearable/edje/w-input-stt.edc b/res/wearable/edje/w-input-stt.edc new file mode 100755 index 0000000..082731d --- /dev/null +++ b/res/wearable/edje/w-input-stt.edc @@ -0,0 +1,3507 @@ +#include "w-input-stt-button.edc" + +#define VOICE_CANDIDATE_AREA_HEIGHT 56 +#define BUTTON_TEXT_SIZE_INC 85 + +collections +{ + base_scale: 1.3; + + plugins { + plugin { + name: "touch_sound"; + source: "feedback"; + param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP"; + /* 2014.06.11 updated from libsvi(feedback) + Above plugin will run below external function: + int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern); + + param1: feedback_type_e + FEEDBACK_TYPE_NONE = 0, + FEEDBACK_TYPE_SOUND = 1, + FEEDBACK_TYPE_VIBRATION, + FEEDBACK_TYPE_LED, + FEEDBACK_TYPE_END + + * param2 enumeration: + FEEDBACK_PATTERN_TAP = 0, + FEEDBACK_PATTERN_SIP, + FEEDBACK_PATTERN_SIP_BACKSPACE, + FEEDBACK_PATTERN_SIP_FUNCTION, + FEEDBACK_PATTERN_SIP_FJKEY, + ... + + * Fore information, please refer the libsvi libraries. + * git: slp-info.sec.samsung.net:29418/magnolia/framework/system/libsvi + * web: http://slp-info.sec.samsung.net/gerrit/plugins/gitiles/magnolia/framework/system/libsvi + */ + } + plugin { + name: "haptic_tap"; + source: "feedback"; + param: "FEEDBACK_TYPE_VIBRATION FEEDBACK_PATTERN_TAP"; + } + } + + images { + // MIC + image, "./bg/B13_mic_bg.png" COMP; + image, "./icon/B13_mic.png" COMP; + image, "./icon/B13_mic_Que.png" COMP; + image, "./icon/B13_mic_Que_01.png" COMP; + image, "./icon/B13_mic_procecessing_bg.png" COMP; + image, "./text_downdrop.#.png" COMP; + image, "./text_downdrop_press.#.png" COMP; + + image, "./input_ic_voice_mic.png" COMP; + image, "./w_sip_mask_bg.png" COMP; + image, "./tw_bottom_btn_bg.png" COMP; + + image, "./w_mode_ic_bg.png" COMP; + + image, "./b_stt_text_fade_out.png" COMP; + image, "./b_stt_icon_btn.png" COMP; + image, "./b_stt_confirm_icon.png" COMP; + image, "./b_stt_send_icon.png" COMP; + } + + color_classes + { + color_class + { + name: "AO013"; + color: 68 71 77 100; + } + color_class + { + name: "AO014"; + color: 0 0 0 100; + } + color_class + { + name: "AO014P"; + color: 0 0 0 100; + } + color_class + { + name: "AO014D"; + color: 0 0 0 35; + } + color_class + { + name: "AO015L1"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L1P"; + color: 0 0 0 50; + } + color_class + { + name: "AO015L1D"; + color: 0 0 0 40; + } + color_class + { + name: "AO0151"; + color: 0 0 0 100; + } + color_class + { + name: "AO0151P"; + color: 0 0 0 50; + } + color_class + { + name: "AO0151D"; + color: 0 0 0 20; + } + color_class + { + name: "AO0152"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L2"; + color: 0 0 0 100; + } + color_class + { + name: "AO015L2P"; + color: 0 0 0 50; + } + color_class + { + name: "AO015L2D"; + color: 0 0 0 40; + } + color_class + { + name: "AO015L3"; + color: 0 0 0 100; + } + color_class + { + name: "AO01151"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L1"; + color: 0 0 255 255; + } + color_class + { + name: "AO01153L1P"; + color: 61 61 61 100; + } + color_class + { + name: "AO01153L1D"; + color: 163 163 163 100; + } + color_class + { + name: "AO01154L1"; + color: 97 12 117 255; + } + color_class + { + name: "AO01154L1P"; + color: 41 41 41 100; + } + color_class + { + name: "AO01154L1D"; + color: 110 110 110 100; + } + color_class + { + name: "AO01155L1"; + color: 255 0 0 255; + } + color_class + { + name: "AO01155L1P"; + color: 33 33 33 100; + } + color_class + { + name: "AO01155L1D"; + color: 122 122 122 100; + } + color_class + { + name: "AO01153L2"; + color: 18 18 18 30; + } + color_class + { + name: "AO01153L3"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L3P"; + color: 0 0 0 100; + } + color_class + { + name: "AO01153L3D"; + color: 0 0 0 40; + } + color_class + { + name: "AO0116"; + color: 0 0 0 100; + } + color_class + { + name: "AO0116P"; + color: 0 0 0 50; + } + color_class + { + name: "AO0116D"; + color: 0 0 0 30; + } + color_class + { + name: "AO01161"; + color: 64 64 64 100; + } + color_class + { + name: "AO01161P"; + color: 38 38 38 100; + } + color_class + { + name: "AO01161D"; + color: 26 26 26 100; + } + color_class + { + name: "AO0117"; + color: 0 0 0 100; + } + color_class + { + name: "AO0118"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119P"; + color: 0 0 0 100; + } + color_class + { + name: "AO0119D"; + color: 0 0 0 5; + } + color_class + { + name: "AO031"; + color: 0 0 0 100; + } + color_class + { + name: "AO031P"; + color: 0 0 0 40; + } + color_class + { + name: "AO031L1"; + color: 0 0 0 41; + } + color_class + { + name: "AO031L1P"; + color: 0 0 0 70; + } + color_class + { + name: "AO0331"; + color: 0 0 0 50; + } + color_class + { + name: "AO0332"; + color: 0 0 0 100; + } + color_class + { + name: "AO034"; + color: 102 102 102 100; + } + color_class + { + name: "AO034P"; + color: 0 0 0 100; + } + color_class + { + name: "AO034D"; + color: 0 0 0 30; + } + color_class + { + name: "AO035"; + color: 5 5 5 100; + } + color_class + { + name: "AO0351"; + color: 0 0 0 15; + } + color_class + { + name: "AO036"; + color: 0 0 0 100; + } + color_class + { + name: "AO0361"; + color: 0 0 0 50; + } + color_class + { + name: "AO037"; + color: 10 10 10 100; + } + color_class + { + name: "AO037P"; + color: 0 0 0 100; + } + color_class + { + name: "AO037S"; + color: 0 0 0 100; + } + color_class + { + name: "AO038"; + color: 0 0 0 100; + } + color_class + { + name: "AO038P"; + color: 0 0 0 50; + } + color_class + { + name: "AO038D"; + color: 0 0 0 40; + } + color_class + { + name: "AT0113"; + color: 0 0 0 100; + } + color_class + { + name: "AT0113P"; + color: 0 0 0 100; + } + color_class + { + name: "AT0113D"; + color: 0 0 0 70; + } + color_class + { + name: "AT0113S"; + color: 0 0 0 100; + } + color_class + { + name: "AT0114"; +# color: 0 0 0 100; + color: 128 128 128 100; + } + color_class + { + name: "AT0114D"; + color: 0 0 0 5; + } + color_class + { + name: "AT02111"; + color: 0 0 0 100; + } + color_class + { + name: "AT02112"; + color: 0 0 0 100; + } + color_class + { + name: "AT02113"; + color: 10 10 10 100; + } + color_class + { + name: "AT021"; + color: 0 0 0 100; + } + color_class + { + name: "AT022"; + color: 0 0 0 100; + } + color_class + { + name: "AT023"; + color: 0 0 0 100; + } + color_class + { + name: "AT023P"; + color: 0 0 0 50; + } + color_class + { + name: "AT023D"; + color: 0 0 0 40; + } + } + + styles + { + style { name, "textblock_style"; + base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; + tag, "br" "\n"; + tag, "ps" "ps"; + tag, "hilight" "+ font=Tizen:style=Bold"; + tag, "b" "+ font=Tizen:style=Bold"; + tag, "tab" "\t"; + } + style { name, "textblock_style_bottom"; + base, "font=Tizen:style=Regular font_size=36 align=center color=#FFFFFF text_class=text_class wrap=word ellipsis=1.0"; + tag, "br" "\n"; + tag, "ps" "ps"; + tag, "hilight" "+ font=Tizen:style=Bold"; + tag, "b" "+ font=Tizen:style=Bold"; + tag, "tab" "\t"; + } + style { name: "button_general_text_dim"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; + } + style { name: "button_general_text_press"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#888888 ellipsis=0.0 wrap=mixed"; + } + style { name: "button_general_text_normal"; + base: "font=Tizen:style=Regular font_size="BUTTON_TEXT_SIZE_INC" align=center color=#FFFFFF ellipsis=0.0 wrap=mixed"; + } + } + + group + { + name, "mic_control"; + parts + { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + visible: 1; + color_class, "AO0118"; + } + } + part + { + name, "top_block"; + type, SPACER; + scale, 1; + description + { + state, "default" 0.0; + min, 360 (360-103); + align, 0.5 0; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 0.0; + to, "bg"; + } + } + } + + part + { + name, "text_area"; + type, SWALLOW; + description + { + state, "default" 0.0; + align, 0.5 1; + min, 282 (360-103); + max, 282 (360-103); + + rel1 + { + relative, 39/360 1; + to, "top_block"; + offset, 0 -1; + } + rel2 + { + relative, 321/360 1; + to, "top_block"; + offset, 0 -1; + } + } + } + part + { + name, "left_panel_area"; + type, SWALLOW; + description + { + state, "default" 0.0; + align, 0.5 0.5; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 1.0; + to, "bg"; + } + } + } + + + part + { + name, "background"; + type, IMAGE; + scale, 1; + description + { + state, "default" 0.0; + min, 360 100; + max, 360 100; + rel1 + { + relative, 0 260/360; + to, "bg"; + } + rel2 + { + relative, 1 1; + to, "bg"; + } + image.normal, "./tw_bottom_btn_bg.png"; + color: 128 128 128 128; + } + description + { + state, "pressed" 0.0; + inherit, "default" 0.0; + color: 128 128 128 128; + } + description + { + state, "dim" 0.0; + inherit, "default" 0.0; + color: 128 128 128 128; + } + } + + part + { + name, "EFFECT_BG_AREA"; + type, SPACER; + description + { + state, "default" 0.0; + min, 0 64; + max, 360 64; + align, 0.5 1; + rel1 + { + relative, 0 1; + to, "bg"; + offset, 0 -1; + } + rel2 + { + relative, 1 1; + to, "bg"; + offset, 0 -1; + } + } + + description + { + state, "hide" 0.0; + min, 0 64; + max, 360 64; + align, 0.5 1; + rel1 + { + relative, 0 (360+64)/360; + to, "bg"; + offset, 0 +13; + } + rel2 + { + relative, 1 (360+64)/360; + to, "bg"; + offset, 0 +13; + } + + } + + } + + part + { + name, "EFFECT_BG"; + type, SWALLOW; + description + { + state, "default" 0.0; + visible, 0; + rel1 + { + relative, 0 0; + to, "EFFECT_BG_AREA"; + } + rel2 + { + relative, 1 1; + to, "EFFECT_BG_AREA"; + } + } + description + { + state, "default" 0.1; + inherit, "default" 0.0; + visible, 1; + } + } + + + part + { + name, "MIC_ICON"; + type, IMAGE; + scale, 1; + description + { + state, "default" 0.0; + min, 50 50; + max, 50 50; + rel1 + { + relative, 155/360 26/100; + to, "background"; + } + rel2 + { + relative, 205/360 76/100; + to, "background"; + } + image.normal, "./input_ic_voice_mic.png"; + } + description + { + state, "recording" 0.0; + inherit, "default" 0.0; + visible, 0; + } + description + { + state, "processing" 0.0; + inherit, "default" 0.0; + visible, 0; + } + description + { + state, "message" 0.0; + inherit, "default" 0.0; + rel1 + { + relative, 155/360 41/100; + to, "background"; + } + rel2 + { + relative, 205/360 91/100; + to, "background"; + } + visible, 1; + } + } + + + + //Part for mic button + part + { + name, "MIC"; + type, SWALLOW; + scale, 1; + description + { + state, "default" 0.0; + visible, 1; + min, 290 100; + max, 290 100; + rel1 + { + relative, 35/360 0.0; + to, "background"; + } + rel2 + { + relative, 325/360 1.0; + to, "background"; + } + } + } + part + { + name, "PROGRESS_BAR"; + type, SWALLOW; + scale, 1; + description + { + state, "default" 0.0; + min, 50 50; + max, 50 50; + visible, 0; + rel1 + { + relative, 155/360 27/100; + to, "background"; + } + rel2 + { + relative, 205/360 77/100; + to, "background"; + } + } + description + { + state, "message" 0.0; + inherit, "default" 0.0; + } + description + { + state, "processing" 0.0; + inherit, "default" 0.0; + visible, 1; + } + } + + part + { + name, "guide_text_block"; + type, SPACER; + description + { + state, "default" 0.0; + align, 0.5 0; + rel1 + { + relative, 39/360 140/360; + to, "bg"; + } + rel2 + { + relative, (360-39)/360 (140+42)/360; + to, "bg"; + } + } + description + { + state, "bottom" 0.0; + align, 0.5 0; + rel1 + { + relative, 74/360 (360-91)/360; + to, "bg"; + } + rel2 + { + relative, (360-74)/360 (360-57)/360; + to, "bg"; + } + } + } + + part + { + name, "elm.text"; + type, TEXTBLOCK; + mouse_events, 0; + scale, 1; + description + { + state, "default" 0.0; + visible, 1; + align, 0.5 0.6; + rel1.to, "guide_text_block"; + rel2.to, "guide_text_block"; + text + { + fit: 1 1; + style, "textblock_style"; + } + color, 120 120 120 120; + } + description + { + state, "bottom" 0.0; + inherit, "default" 0.0; + text + { + fit: 1 1; + style, "textblock_style_bottom"; + } + color, 120 120 120 120; + } + } + } + + programs + { + program + { + name, "initial_view"; + signal, "mouse,clicked,1"; + source, "background"; + in, 0 0.3; + after, "emit_signal1"; + } + + program + { + name, "emit_signal1"; + action, SIGNAL_EMIT "idle,state,pulse,visible" ""; + } + + program + { + name, "listening"; + signal, "elm,state,listening"; + source, "elm"; + action, STATE_SET "recording" 0.0; + target, "MIC_ICON"; + } + + program + { + name, "start_processing"; + signal, "elm,state,processing"; + source, "elm"; + action, STATE_SET "processing" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + transition, DECELERATE 0.3; + } + + program + { + name, "idle"; + signal, "elm,state,init"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + transition, DECELERATE 0.3; + } + program + { + name, "idle_message"; + signal, "elm,state,init_message"; + source, "elm"; + action, STATE_SET "message" 0.0; + target, "PROGRESS_BAR"; + target, "MIC_ICON"; + } + + program + { + name, "text_show"; + signal, "idle,state,text,visible"; + source, "elm"; + action, STATE_SET "expand" 0.0; + target, "elm.text"; + } + + program + { + name, "text_hide"; + signal, "idle,state,text,hidden"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "elm.text"; + } + program + { + name, "show_effect_part"; + signal, "elm,state,eq,show"; + source, "eq"; + action, STATE_SET "default" 0.1; + target, "EFFECT_BG"; + } + + program + { + name, "hide_effect_part"; + signal, "elm,state,eq,hide"; + source, "eq"; + action, STATE_SET "default" 0.0; + target, "EFFECT_BG"; + } + + program + { + name, "guide_text_up"; + signal, "idle,state,guide_text,up"; + source, "elm"; + action, STATE_SET "default" 0.0; + target, "guide_text_block"; + } + program + { + name, "guide_text_bottom"; + signal, "idle,state,guide_text,bottom"; + source, "elm"; + action, STATE_SET "bottom" 0.0; + target, "guide_text_block"; + } + + + } + } + + group + { + name: "option_more_index"; + parts + { + part + { + name: "bg"; + type: SPACER; + scale: 1; + description + { + state: "default" 0.0; + min: 360 360; + max: -1 360; + } + } + part + { + name: "scroller"; + type: SWALLOW; + scale: 1; + description + { + state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + part + { + name: "controller"; + type: SWALLOW; + scale: 1; + description + { + state: "default" 0.0; + align: 0.5 0.0; + min: 360 40; + max: 360 40; + fixed: 0 1; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 0.0; + } + } + } + } + + group + { + name, "language_list"; + parts + { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + min, 358 0; + max, 358 223; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + color, 8 8 8 255; + } + } + part + { + name, "list"; + type, SWALLOW; + scale, 1; + repeat_events, 0; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + to, "bg"; + } + rel2 + { + relative, 1.0 1.0; + to, "bg"; + } + } + } + } + } + + group{ + name: "layout_textblock"; + + script { + public timer_cb(val) { + run_program(PROGRAM:"do_scroll"); + } + + } + parts { + part + { + name, "bg"; + type, SPACER; + scale, 1; + description + { + state, "default" 0.0; + min, 282 39; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + } + } + part { name: "elm.swallow.content"; + scale: 1; + type: SWALLOW; + description { state: "default" 0.0; + min: 282 39; + color, 120 120 120 120; + } + } + } + programs { + program + { + name, "scroll"; + signal, "scrolling"; + source, "entry"; + script { + timer(3/10, "timer_cb", 0); + } + } + program + { + name, "do_scroll"; + action, SIGNAL_EMIT "do_scroll" "entry"; + } + } + } + + group{ name: "entry_focused_layout"; + parts { + part + { + name, "bg"; + type, RECT; + scale, 1; + description + { + state, "default" 0.0; + rel1 + { + relative, 0.0 0.0; + } + rel2 + { + relative, 1.0 1.0; + } + visible: 1; + color, 120 120 120 120; + } + } + part { name: "padding_top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 1.0 0.0; + min: 0 20; + fixed: 1 1; + } + } + part { name: "padding_left"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 0.0 0.0; + rel1.relative: 0.0 0.0; + rel2.relative: 0.0 1.0; + min: 73 0; + fixed: 1 1; + } + } + part { name: "padding_right"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + align: 1.0 0.0; + rel1.relative: 1.0 0.0; + rel2.relative: 1.0 1.0; + min: 73 0; + fixed: 1 1; + } + } + part { + name: "contents"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 1.0 1.0; to_x: "padding_left"; to_y: "padding_top"; } + rel2 { relative: 0.0 1.0; to_x: "padding_right"; to_y: "padding_top";} + min:0 42; + max: -1 42; + align: 0.5 0; + } + } + } + } + + + +#define PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC 50 + group + { + name: "elm/progressbar/horizontal/voice_input/process/small"; + images { + image: "style/tw_loading_small_00.png" COMP; + image: "style/tw_loading_small_01.png" COMP; + image: "style/tw_loading_small_02.png" COMP; + image: "style/tw_loading_small_03.png" COMP; + image: "style/tw_loading_small_04.png" COMP; + image: "style/tw_loading_small_05.png" COMP; + image: "style/tw_loading_small_06.png" COMP; + image: "style/tw_loading_small_07.png" COMP; + image: "style/tw_loading_small_08.png" COMP; + image: "style/tw_loading_small_09.png" COMP; + image: "style/tw_loading_small_10.png" COMP; + image: "style/tw_loading_small_11.png" COMP; + image: "style/tw_loading_small_12.png" COMP; + image: "style/tw_loading_small_13.png" COMP; + image: "style/tw_loading_small_14.png" COMP; + image: "style/tw_loading_small_15.png" COMP; + image: "style/tw_loading_small_16.png" COMP; + image: "style/tw_loading_small_17.png" COMP; + image: "style/tw_loading_small_18.png" COMP; + image: "style/tw_loading_small_19.png" COMP; + image: "style/tw_loading_small_20.png" COMP; + image: "style/tw_loading_small_21.png" COMP; + image: "style/tw_loading_small_22.png" COMP; + image: "style/tw_loading_small_23.png" COMP; + image: "style/tw_loading_small_24.png" COMP; + image: "style/tw_loading_small_25.png" COMP; + image: "style/tw_loading_small_26.png" COMP; + image: "style/tw_loading_small_27.png" COMP; + image: "style/tw_loading_small_28.png" COMP; + image: "style/tw_loading_small_29.png" COMP; + image: "style/tw_loading_small_30.png" COMP; + image: "style/tw_loading_small_31.png" COMP; + image: "style/tw_loading_small_32.png" COMP; + image: "style/tw_loading_small_33.png" COMP; + image: "style/tw_loading_small_34.png" COMP; + image: "style/tw_loading_small_35.png" COMP; + image: "style/tw_loading_small_36.png" COMP; + image: "style/tw_loading_small_37.png" COMP; + image: "style/tw_loading_small_38.png" COMP; + image: "style/tw_loading_small_39.png" COMP; + image: "style/tw_loading_small_40.png" COMP; + image: "style/tw_loading_small_41.png" COMP; + image: "style/tw_loading_small_42.png" COMP; + image: "style/tw_loading_small_43.png" COMP; + image: "style/tw_loading_small_44.png" COMP; + image: "style/tw_loading_small_45.png" COMP; + image: "style/tw_loading_small_46.png" COMP; + image: "style/tw_loading_small_47.png" COMP; + image: "style/tw_loading_small_48.png" COMP; + image: "style/tw_loading_small_49.png" COMP; + image: "style/tw_loading_small_50.png" COMP; + image: "style/tw_loading_small_51.png" COMP; + image: "style/tw_loading_small_52.png" COMP; + image: "style/tw_loading_small_53.png" COMP; + image: "style/tw_loading_small_54.png" COMP; + image: "style/tw_loading_small_55.png" COMP; + image: "style/tw_loading_small_56.png" COMP; + image: "style/tw_loading_small_57.png" COMP; + image: "style/tw_loading_small_58.png" COMP; + image: "style/tw_loading_small_59.png" COMP; + image: "style/tw_loading_small_60.png" COMP; + image: "style/tw_loading_small_61.png" COMP; + image: "style/tw_loading_small_62.png" COMP; + image: "style/tw_loading_small_63.png" COMP; + image: "style/tw_loading_small_64.png" COMP; + } + parts { + part { + name: "access"; + type: RECT; + description + { + state: "default" 0.0; + fixed: 1 1; + color: 0 0 0 0; + } + } + part { + name: "elm.background.progressbar"; + mouse_events: 0; + scale: 1; + type: RECT; + description { + state: "default" 0.0; + } + } + part { + name: "bar"; + mouse_events: 0; + scale: 1; + clip_to: "elm.background.progressbar"; + description { + state: "default" 0.0; + min: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; + max: PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC PROGRESSBAR_ACTIVITY_SMALL_SIZE_INC; + fixed, 1 1; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "style/tw_loading_small_00.png"; + image.tween: "style/tw_loading_small_01.png"; + image.tween: "style/tw_loading_small_02.png"; + image.tween: "style/tw_loading_small_03.png"; + image.tween: "style/tw_loading_small_04.png"; + image.tween: "style/tw_loading_small_05.png"; + image.tween: "style/tw_loading_small_06.png"; + image.tween: "style/tw_loading_small_07.png"; + image.tween: "style/tw_loading_small_08.png"; + image.tween: "style/tw_loading_small_09.png"; + image.tween: "style/tw_loading_small_10.png"; + image.tween: "style/tw_loading_small_11.png"; + image.tween: "style/tw_loading_small_12.png"; + image.tween: "style/tw_loading_small_13.png"; + image.tween: "style/tw_loading_small_14.png"; + image.tween: "style/tw_loading_small_15.png"; + image.tween: "style/tw_loading_small_16.png"; + image.tween: "style/tw_loading_small_17.png"; + image.tween: "style/tw_loading_small_18.png"; + image.tween: "style/tw_loading_small_19.png"; + image.tween: "style/tw_loading_small_20.png"; + image.tween: "style/tw_loading_small_21.png"; + image.tween: "style/tw_loading_small_22.png"; + image.tween: "style/tw_loading_small_23.png"; + image.tween: "style/tw_loading_small_24.png"; + image.tween: "style/tw_loading_small_25.png"; + image.tween: "style/tw_loading_small_26.png"; + image.tween: "style/tw_loading_small_27.png"; + image.tween: "style/tw_loading_small_28.png"; + image.tween: "style/tw_loading_small_29.png"; + image.tween: "style/tw_loading_small_30.png"; + image.tween: "style/tw_loading_small_31.png"; + image.tween: "style/tw_loading_small_32.png"; + image.tween: "style/tw_loading_small_33.png"; + image.tween: "style/tw_loading_small_34.png"; + image.tween: "style/tw_loading_small_35.png"; + image.tween: "style/tw_loading_small_36.png"; + image.tween: "style/tw_loading_small_37.png"; + image.tween: "style/tw_loading_small_38.png"; + image.tween: "style/tw_loading_small_39.png"; + image.tween: "style/tw_loading_small_40.png"; + image.tween: "style/tw_loading_small_41.png"; + image.tween: "style/tw_loading_small_42.png"; + image.tween: "style/tw_loading_small_43.png"; + image.tween: "style/tw_loading_small_44.png"; + image.tween: "style/tw_loading_small_45.png"; + image.tween: "style/tw_loading_small_46.png"; + image.tween: "style/tw_loading_small_47.png"; + image.tween: "style/tw_loading_small_48.png"; + image.tween: "style/tw_loading_small_48.png"; + image.tween: "style/tw_loading_small_49.png"; + image.tween: "style/tw_loading_small_50.png"; + image.tween: "style/tw_loading_small_51.png"; + image.tween: "style/tw_loading_small_52.png"; + image.tween: "style/tw_loading_small_53.png"; + image.tween: "style/tw_loading_small_54.png"; + image.tween: "style/tw_loading_small_55.png"; + image.tween: "style/tw_loading_small_56.png"; + image.tween: "style/tw_loading_small_57.png"; + image.tween: "style/tw_loading_small_58.png"; + image.tween: "style/tw_loading_small_59.png"; + image.tween: "style/tw_loading_small_60.png"; + image.tween: "style/tw_loading_small_61.png"; + image.tween: "style/tw_loading_small_62.png"; + image.tween: "style/tw_loading_small_63.png"; + image.tween: "style/tw_loading_small_64.png"; + color: 128 128 128 128; + } + } + } + programs { + program { + name: "start_pulse"; + signal: "elm,state,pulse,start"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + transition: LINEAR 1.8; + after: "start_pulse"; + } + program { + name: "stop_pulse"; + signal: "elm,state,pulse,stop"; + source: "elm"; + action: ACTION_STOP; + target: "start_pulse"; + after: "init_pulse"; + } + program { name: "init_pulse"; + action: STATE_SET "default" 0.0; + target: "bar"; + } + } + } + + +#define BUTTON_PADDING_SIZE_INC 20 0 +#define BUTTON_HEIGHT_INC 122 +#define BUTTON_ICON_SIZE_INC 60 60 + group { name: "elm/button/base/default"; + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 BUTTON_HEIGHT_INC; + color_class: "W011"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "W011P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: BUTTON_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: BUTTON_PADDING_SIZE_INC; + fixed: 1 1; + } + } + part { name: "icon_rect"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + min: 0 0; + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + fixed: 1 1; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + clip_to: "elm.swallow.content.clip"; + scale: 1; + description { state: "default" 0.0; + visible: 0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 1.0 0.0; + to_x: "padding_left_top"; + to_y: "padding_right_bottom"; + } + fixed: 1 0; + } + description { state: "visible" 0.0; + fixed: 1 1; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + align: 1.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "elm.text"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to_x: "elm.text"; + to_y: "padding_right_bottom"; + } + } + description { state: "icononly" 0.0; + min: BUTTON_ICON_SIZE_INC; + max: BUTTON_ICON_SIZE_INC; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to_x: "icon_rect"; + to_y: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + max: 1 0; + style: "button_general_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_press"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "F022L1i"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "F022L1iD"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + //run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "icononly")) + { + set_state(PART:"elm.swallow.content", "visible", 0.0); + set_state(PART:"icon_rect", "visible", 0.0); + } + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) + set_state(PART:"elm.text", "default", 0.0); + else + set_state(PART:"elm.text", "disabled", 0.0); + } + } + program { name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + script { + new st[31]; + new Float:vl; + get_state(PART:"elm.swallow.content", st, 30, vl); + if (!strcmp(st, "visible")) + { + set_state(PART:"elm.swallow.content", "icononly", 0.0); + set_state(PART:"icon_rect", "default", 0.0); + } + set_state(PART:"elm.text", "default", 0.0); + } + } + program { name: "icon_show"; + signal: "elm,state,icon,visible"; + source: "elm"; + action: STATE_SET "visible" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "icon_hide"; + signal: "elm,state,icon,hidden"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.swallow.content"; + target: "icon_rect"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.swallow.content.clip"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } +} + + group { name: "elm/button/base/ime_transparent"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 112; + visible: 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + } + + group { name: "elm/button/base/ime_button"; + alias: "elm/button/base/ime_button_stt"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01153L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + clip_to: "elm.swallow.content.clip"; + description { state: "default" 0.0; + visible: 1; + align: 0.5 0.5; + rel1 { relative: 0.0 0.0; to: "bg";} + rel2 { relative: 1.0 1.0; to: "bg";} + fixed: 1 1; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description { state: "icononly" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.swallow.content.clip", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.swallow.content.clip", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + } + } + + group { name: "elm/button/base/ime_button_emoticon"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01154L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01154L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_keyboard"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO01155L1"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01155L1P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "W011D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_template"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 76 76; + max: 76 76; + color_class: "AO01161"; + visible: 1; + image.normal: "./w_mode_ic_bg.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01161P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO01161D"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "AO01153L3"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L3P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO01153L3D"; + } + } + } + } + + group { name: "elm/button/base/ime_button_stt_confirm"; + inherit: "elm/button/base/ime_button"; + parts { + part { name: "bg"; + type: IMAGE; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color_class: "AO015L2"; + visible: 0; + image.normal: "./b_stt_icon_btn.png"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D"; + } + } + part { name: "elm.swallow.content.clip"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color_class: "AO015L2"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2P"; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D"; + } + } + } + } + + group { name: "elm/button/base/touch_area"; + inherit: "elm/button/base/default"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + color: 0 0 0 0; + visible: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + } + programs { + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + } + } + + group { name: "elm/button/base/emoticon"; + + script { + public mouse_down = 0; + public multi_down = 0; + } + parts { + part { name: "bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: 0 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "padding_left_top"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.0; + rel2.relative: 0.0 0.0; + min: 0 0; + fixed: 1 1; + //visible: 1; + //color: 255 0 0 100; + } + } + part { name: "padding_right_bottom"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + align: 1.0 1.0; + rel1.relative: 1.0 1.0; + min: 0 0; + fixed: 1 1; + //visible: 1; + //color: 0 255 0 100; + } + } + part { name: "elm.text"; + type: TEXTBLOCK; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + fixed: 1 1; + rel1 { + relative: 1.0 1.0; + to: "padding_left_top"; + } + rel2 { + relative: 0.0 0.0; + to: "padding_right_bottom"; + } + text { + min: 1 0; + style: "button_general_text_normal"; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_dim"; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + text.style: "button_general_text_press"; + } + } + part { name: "event"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + color: 0 0 0 0; + rel1.to: "bg"; + rel2.to: "bg"; + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "pressed", 0.0); + set_state(PART:"elm.text", "pressed", 0.0); + emit("elm,action,press", ""); + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + set_state(PART:"bg", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + emit("elm,action,unpress", ""); + } + } + } + program { name: "touch_snd"; + signal: "mouse,clicked,1"; + source: "event"; + script { + new st[31]; + new Float:vl; + if (get_int(multi_down) == 0) { + get_state(PART:"bg", st, 30, vl); + if (strcmp(st, "disabled")) { + run_program(PROGRAM:"play_sample"); + emit("elm,action,click", ""); + } + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "elm.text"; + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + } + } + +#define NAVIFRAME_VIEW_TRANS_TIME 0.4 //time for push and pop +#define NAVIFRAME_TITLE_TRANS_TIME 0.5 //Title transition time +#define NAVIFRAME_TITLE_EXPAND_TRANS_TIME 0.5 //Title Expansion transition time +#define NAVIFRAME_TEXT_FADE_OUT_CALC_TIME 0.2 //Text fade out calculation time +#define ACTIONBAR_PADDING_SIZE_INC 64 +#define ACTIONBAR_HEIGHT_INC 115 +#define ACTIONBAR_TEXT_SIZE_INC 39 +#define ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC 51 +#define ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC 25 +#define ACTIONBAR_TEX_SLIDING_SPEED 0.006 +#define ACTIONBAR_TEX_SLIDING_START_WAITING_TIME 0.8 +#define HIDDEN_BUTTON_HEIGHT_INC 88 + +#define STYLE_TAG_MATCH \ + tag: "match" "+ color=#ffffff color_class=T0212"; + +styles { + style { name: "action_bar_title"; + base: "font=Tizen:style=Regular font_size="ACTIONBAR_TEXT_SIZE_INC" color=#FFFFFF color_class=T012 text_class=T012"; + STYLE_TAG_MATCH + } +} + +group { name: "elm_naviframe_item_basic_customized"; + data.item: "tizen_zoom" 1; + script { + public g_mirrored = 0; //Mirrored on/off status + public g_text_fade_out_calc_timer = 0; //Text fade out calculation timer + + public g_duration_1st; + public g_duration_2nd; + public g_timer_id; + public g_anim_id; + public g_sliding_start; + + public title_text_fade_out() { + new x, y, w, h, w2; + + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_bg", x, y, w2, h); + } + + public init() { + slide_stop(); + set_float(g_duration_1st, 0); + set_float(g_duration_2nd, 0); + set_int(g_timer_id, 0); + set_int(g_anim_id, 0); + set_int(g_sliding_start, 0); + } + public slide_first_anim(val, Float:pos) { + set_tween_state(PART:"elm.text.title", pos, "slide", 0.0, "slide_1", 0.0); + if (pos >= 1.0) { + cancel_anim(get_int(g_anim_id)); + set_int(g_anim_id, anim(get_float(g_duration_2nd), "slide_second_anim", 1)); + } + } + public slide_second_anim(val, Float:pos) { + set_tween_state(PART:"elm.text.title", pos, "slide_2", 0.0, "slide", 0.0); + if (pos >= 1.0) + slide_stop(); + } + public slide_first() { + check_size(); + if (get_int(g_sliding_start)) { + set_state(PART:"elm.text.title", "slide", 0.0); + get_duration(); + set_int(g_anim_id, anim(get_float(g_duration_1st), "slide_first_anim", 1)); + } + } + public slide_start() { + set_int(g_timer_id, timer(ACTIONBAR_TEX_SLIDING_START_WAITING_TIME, "slide_first", 1)); + } + public slide_stop() { + cancel_anim(get_int(g_anim_id)); + set_state(PART:"elm.text.title", "default", 0.0); + set_int(g_sliding_start, 0); + } + public check_size() { + new x, y, w, w1, h; + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_clip", x, y, w1, h); + if (w >= w1) { + set_int(g_sliding_start, 1); + } + else { + set_int(g_sliding_start, 0); + } + } + public get_duration() { + new x, y, w, w1, h; + get_geometry(PART:"elm.text.title", x, y, w, h); + get_geometry(PART:"title_text_clip", x, y, w1, h); + set_float(g_duration_1st, w * ACTIONBAR_TEX_SLIDING_SPEED); + set_float(g_duration_2nd, w1 * ACTIONBAR_TEX_SLIDING_SPEED); + } + } + parts { + part { name: "clipper"; + type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "hide" 0.0; + visible: 0; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "title_expand"; + type: RECT; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + min: 0 HIDDEN_BUTTON_HEIGHT_INC; + max: -1 HIDDEN_BUTTON_HEIGHT_INC; + fixed: 1 1; + align: 0.5 1.0; + visible: 0; + color: 255 255 255 0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_bg"; } + rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "title_bg"; } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + align: 0.5 0.0; + visible: 1; + } + } + part { name: "title_clip"; + type: RECT; + clip_to: "clipper"; + description { state: "default" 0.0; + visible: 1; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "title_bg"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: 0 ACTIONBAR_HEIGHT_INC; + max: -1 ACTIONBAR_HEIGHT_INC; + fixed: 0 1; + align: 0.5 0.0; + rel1 { relative: 0.0 0.0; to: "base"; } + rel2 { relative: 1.0 0.0; to: "base"; } + color: 255 255 255 0; + } + description { state: "hide_trans" 0.0; + inherit: "default" 0.0; + align: 0.5 1.0; + } + description { state: "hide" 0.0; + inherit: "default" 0.0; + min: 0 0; + max: -1 0; + } + } + part { name: "title_text_bg"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 1.0 1.0; to_x: "left_padding"; to_y: "top_padding"; } + rel2 { relative: 0.0 0.0; to: "right_padding"; to_y: "bottom_padding"; } + fixed: 0 1; + } + } + part { name: "title_text_clip"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + rel1.to: "title_text_bg"; + rel2.to: "title_text_bg"; + } + } + part { name: "elm.text.title"; + type: TEXTBLOCK; + scale: 1; + clip_to: "title_text_clip"; + description { state: "default" 0.0; + text { + min: 0 1; + max: 1 1; + ellipsis: -1.0; +// fade_ellipsis: 1.0; + style: "action_bar_title"; + } + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "title_text_bg"; rel2.to: "title_text_bg"; + } + description { state: "slide" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "left_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + description { state: "slide_1" 0.0; + inherit: "default" 0.0; + align: 1.0 0.5; + rel1 { + relative: 1.0 1.0; + to_x: "left_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 1.0 0.0; + to_x: "left_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + description { state: "slide_2" 0.0; + inherit: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 0.0 1.0; + to_x: "right_padding"; + to_y: "top_padding"; + } + rel2 { + relative: 0.0 0.0; + to_x: "right_padding"; + to_y: "bottom_padding"; + } + text.min: 1 1; + } + } + part { name: "left_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_PADDING_SIZE_INC 0; + max: ACTIONBAR_PADDING_SIZE_INC -1; + fixed: 1 0; + align: 0.0 0.5; + rel1 { relative: 0.0 0.0; to: "title_bg"; } + rel2 { relative: 0.0 1.0; to: "title_bg"; } + } + } + part { name: "right_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + min: ACTIONBAR_PADDING_SIZE_INC 0; + max: ACTIONBAR_PADDING_SIZE_INC -1; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 1.0 0.0; to: "title_bg"; } + rel2 { relative: 1.0 1.0; to: "title_bg"; } + } + } + part { name: "click_event_area"; + type: RECT; + ignore_flags: ON_HOLD; + description { state: "default" 0.0; + rel1 { to: "title_bg"; } + rel2 { to: "title_bg"; } + color: 0 0 0 0; + } + } + part { name: "access.title"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + rel1.to: "title_bg"; + rel2.to: "title_bg"; + color: 0 0 0 0; + } + } + part { name: "top_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 0.0; + min: 0 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; + max: -1 ACTIONBAR_TEXT_TOP_PADDING_SIZE_INC; + rel1 {relative: 0.0 0.0; to: "title_bg"; } + rel2 {relative: 1.0 0.0; to: "title_bg"; } + } + } + part { name: "bottom_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; + max: -1 ACTIONBAR_TEXT_BOTTOM_PADDING_SIZE_INC; + rel1 {relative: 0.0 1.0; to: "title_bg"; } + rel2 {relative: 1.0 1.0; to: "title_bg"; } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + scale: 1; + repeat_events: 0; + clip_to: "clipper"; + description { state: "default" 0.0; + rel1 { relative: 0.0 1.0; to_x: "base"; to_y: "title_expand"; } + rel2 { relative: 1.0 0.0; to_x: "base"; to_y: "button_padding"; } + } + } + part { name: "elm.swallow.circle_bg"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; } + } + part { name: "elm.swallow.circle"; + type: SWALLOW; + mouse_events: 0; + scale: 1; + clip_to: "clipper"; + description { state: "default" 0.0; } + } + part { name: "button_padding"; + type: SPACER; + scale: 1; + description { state: "default" 0.0; + fixed: 0 1; + align: 0.5 1.0; + min: 0 100; + max: -1 100; + rel1 {relative: 0.0 1.0; to: "base"; } + rel2 {relative: 1.0 1.0; to: "base"; } + } + } + } + programs { + program { name: "visible"; + signal: "elm,state,visible"; + source: "elm"; + script { + set_state(PART:"base", "default", 0.0); + set_state(PART:"clipper", "default", 0.0); + init(); + slide_start(); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "invisible"; + signal: "elm,state,invisible"; + source: "elm"; + script { + set_state(PART:"clipper", "hide", 0.0); + } + } + program { name: "title_hide"; + signal: "elm,state,title,hide"; + source: "elm"; + script { + set_state(PART:"title_bg", "hide", 0.0); + set_state(PART:"title_clip", "hide", 0.0); + } + } + program { name: "title_hide_trans"; + signal: "elm,action,title,hide"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "default")) { + run_program(PROGRAM:"title_hide_trans2"); + } + } + } + program { name: "title_hide_trans2"; + action: STATE_SET "hide_trans" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_hide_trans3"; + } + program { name: "title_hide_trans3"; + script { + run_program(PROGRAM:"title_hide"); + } + after: "title_trans_finished"; + } + program { name: "title_trans_finished"; + action: SIGNAL_EMIT "elm,action,title,transition,finished" ""; + } + program { name: "title_show"; + signal: "elm,state,title,show"; + source: "elm"; + script { + set_state(PART:"title_bg", "default", 0.0); + set_state(PART:"title_clip", "default", 0.0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_show_trans"; + signal: "elm,action,title,show"; + source: "elm"; + script { + new st[32]; + new Float:vl; + get_state(PART:"title_bg", st, 32, vl); + if (!strcmp(st, "hide")) { + set_state(PART:"title_bg", "hide_trans", 0.0); + set_state(PART:"title_clip", "default", 0.0); + run_program(PROGRAM:"title_show_trans2"); + } + } + } + program { name: "title_show_trans2"; + action: STATE_SET "default" 0.0; + target: "title_bg"; + transition: SIN_FAC NAVIFRAME_TITLE_TRANS_TIME 1.7; + after: "title_trans_finished"; + } + program { name: "title_label_show"; + signal: "elm,state,title_label,show"; + source: "elm"; + script { + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { name: "title_label_hide"; + signal: "elm,state,title_label,hide"; + source: "elm"; + } + program { name: "title_expand_show"; + signal: "elm,state,title_expand,show"; + source: ""; + script { + set_state(PART:"title_expand", "show", 0.0); + } + } + program { name: "title_expand_hide"; + signal: "elm,state,title_expand,hide"; + source: ""; + script { + set_state(PART:"title_expand", "default", 0.0); + } + } + program { name: "hidden_btn_show_trans"; + signal: "elm,action,title_expand,show"; + source: ""; + action: STATE_SET "show" 0.0; + target: "title_expand"; + transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; + } + program { name: "title_expand_hide_trans"; + signal: "elm,action,title_expand,hide"; + source: ""; + action: STATE_SET "default" 0.0; + target: "title_expand"; + transition: SIN_FAC NAVIFRAME_TITLE_EXPAND_TRANS_TIME 1.7; + } + program { name: "title_clicked"; + signal: "mouse,clicked,1"; + source: "click_event_area"; + action: SIGNAL_EMIT "elm,action,title,clicked" ""; + } + program { + name: "mirrored_on"; + signal: "edje,state,rtl"; + source: "edje"; + script { + set_int(g_mirrored, 1); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "mirrored_off"; + signal: "edje,state,ltr"; + source: "edje"; + script { + set_int(g_mirrored, 0); + run_program(PROGRAM:"title_text_fade_out"); + } + } + program { + name: "title_text_fade_out"; + script { + if (get_int(g_text_fade_out_calc_timer)) { + cancel_timer(g_text_fade_out_calc_timer); + set_int(g_text_fade_out_calc_timer, 0); + } + set_int(g_text_fade_out_calc_timer, timer(NAVIFRAME_TEXT_FADE_OUT_CALC_TIME, "title_text_fade_out", 0)); + } + } + } +} + +////////////////////////////////////////////////////////////////////////////////// +// Customizing panel for send button. +////////////////////////////////////////////////////////////////////////////////// + +// ***************************** Panel*****************************************/ +#define PANEL_LEFT_PADDING_SIZE_INC 8 +#define PANEL_RIGHT_PADDING_SIZE_INC 6 +#define PANEL_LEFT_IMAGE_SIZE_INC 29 36 +#define PANEL_RIGHT_IMAGE_SIZE_INC 16 36 +#define PANEL_RIGHT_CUE_SIZE_INC 32 158 +#define PANEL_RIGHT_CUE_IMAGE_SIZE_INC 158 158 +#define PANEL_RIGHT_EVENT_AREA_SIZE_INC 50 140 +#define PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC 100 140 +#define PANEL_RIGHT_CUE_EFFECT_SIZE_INC 200 200 +#define PANEL_LAYOUT_SIZE_INC 360 360 + +images { + image, "./b_more_option.png" COMP; + image, "./b_more_option_ef.png" COMP; + image, "./b_more_option_bg.png" COMP; + image, "./b_ic_press_full_circle_bg.png" COMP; +} + +group { name: "elm/panel/right1/default"; + script { + public mouse_down = 0; + public mouse_click = 0; + public multi_down = 0; + public click_cnt = 0; + public event_down = 0; + public cue_hide = 0; + public timer0(val) { + if(val == 1) + run_program(PROGRAM:"change_opacity"); + else if(val == 2) + run_program(PROGRAM:"change_opacity2"); + } + } + parts { + part { name: "bg"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_LAYOUT_SIZE_INC; + max: PANEL_LAYOUT_SIZE_INC; + //color_class: "transparent"; + color: 0 0 0 0; + } + } + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + min: PANEL_RIGHT_PADDING_SIZE_INC 0; + max: PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_more_option.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 0.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "effect_bg"; + scale: 1; + clip_to: "effect_bg_clip"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + color: 128 128 128 128; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "effect_bg2"; + scale: 1; + clip_to: "effect_bg_clip2"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + //color_class: "transparent"; + color: 0 0 0 0; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip2"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "cue.event"; + type: RECT; + repeat_events: 0; + description { state: "default" 0.0; + min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "cue.release.event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 1.0 0.0; + rel2.to: "bg"; + rel2.relative: 1.0 1.0; + align: 1.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "base"; + repeat_events: 0; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.offset: -1 -1; + rel2.to: "bg"; + rel2.offset: 0 0; + visible: 0; + fixed: 1 1; + image.normal: "./b_more_option_bg.png"; + color: 128 128 128 128; + map { + on: 1; + zoom { + x: 1.35; + y: 1.35; + } + color[0]: 0 0 0 0; + color[1]: 0 0 0 0; + color[2]: 0 0 0 0; + color[3]: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + zoom { + x: 1.0; + y: 1.0; + } + color[0]: 255 255 255 255; + color[1]: 255 255 255 255; + color[2]: 255 255 255 255; + color[3]: 255 255 255 255; + } + } + } + part { name: "elm.swallow.content"; + type: SWALLOW; + description { state: "default" 0.0; + rel1.to: "bg"; + rel2.to: "bg"; + visible: 0; + fixed: 1 1; + map { + on: 1; + zoom { + x: 1.35; + y: 1.35; + } + color[0]: 0 0 0 0; + color[1]: 0 0 0 0; + color[2]: 0 0 0 0; + color[3]: 0 0 0 0; + } + } + description { state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + map { + zoom { + x: 1.0; + y: 1.0; + } + color[0]: 255 255 255 255; + color[1]: 255 255 255 255; + color[2]: 255 255 255 255; + color[3]: 255 255 255 255; + } + } + } + } + programs { + program { name: "pressed"; + signal: "mouse,down,1*"; + source: "cue.event"; + script { + if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) + { + set_int(mouse_down, 1); + set_int(event_down, 1); + run_program(PROGRAM:"button_press1"); + } + } + } + program { name: "button_press1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"effect_bg", st, 30, vl); + if (strcmp(st, "disabled")) { + emit("elm,action,press", ""); + run_program(PROGRAM:"haptic"); + if(get_int(click_cnt) == 0) { + set_state(PART:"effect_bg", "pressed", 0.0); + set_state(PART:"effect_bg_clip", "pressed", 0.0); + run_program(PROGRAM:"start_persp"); + timer(0.3, "timer0", 1); + } + else if(get_int(click_cnt) == 1) { + set_state(PART:"effect_bg2", "pressed", 0.0); + set_state(PART:"effect_bg_clip2", "pressed", 0.0); + run_program(PROGRAM:"start_persp2"); + timer(0.3, "timer0", 2); + } + } + } + } + program { name: "unpressed"; + signal: "mouse,up,1"; + source: "cue.event"; + script { + if (get_int(mouse_down) == 1) { + set_int(mouse_down, 0); + run_program(PROGRAM:"button_unpress1"); + } + } + } + program { name: "button_unpress1"; + script { + new st[31]; + new Float:vl; + get_state(PART:"effect_bg", st, 30, vl); + if (strcmp(st, "disabled")) { + if(get_int(click_cnt) == 0) + set_int(click_cnt, 1); + else + set_int(click_cnt, 0); + } + } + } + program { name: "release.event_clicked"; + signal: "mouse,clicked,*"; + source: "cue.release.event"; + script { + if (get_int(event_down) == 1) { + set_int(event_down, 0); + emit("cue,clicked", "elm"); + run_program(PROGRAM:"panel_toggle"); + run_program(PROGRAM:"play_sample"); + } + } + } + program { + name: "play_sample"; + action: RUN_PLUGIN "touch_sound"; + } + program { name: "panel_toggle"; + action: SIGNAL_EMIT "elm,action,panel,toggle" "elm"; + } + program { + name: "haptic"; + action: RUN_PLUGIN "haptic_tap"; + } + program { name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + script { + if (get_int(cue_hide) == 0) + set_state(PART:"cue", "disabled", 0.0); + set_state(PART:"effect_bg", "disabled", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + } + program { name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + script { + if (get_int(cue_hide) == 1) { + set_state(PART:"cue", "hidden", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + else { + set_state(PART:"cue", "default", 0.0); + set_state(PART:"cue.event", "default", 0.0); + set_state(PART:"cue.release.event", "default", 0.0); + } + set_state(PART:"effect_bg", "default", 0.0); + } + } + program { name: "multi_down"; + signal: "elm,action,multi,down"; + source: "elm"; + script { + set_int(multi_down, 1); + } + } + program { name: "multi_up"; + signal: "elm,action,multi,up"; + source: "elm"; + script { + set_int(multi_down, 0); + } + } + program { name: "start_persp"; + action: STATE_SET "start_persp" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg"; + } + program { name: "change_opacity"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg_clip"; + } + program { name: "start_persp2"; + action: STATE_SET "start_persp" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg2"; + } + program { name: "change_opacity2"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.5 0.45 0.03 0.41 1.0; + target: "effect_bg_clip2"; + } + program { + signal: "elm,action,show"; + source: "elm"; + action: STATE_SET "show" 0.0; + transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; + target: "elm.swallow.content"; + target: "base"; + after: "active,finished"; + } + program { + signal: "elm,action,hide"; + source: "elm"; + action: STATE_SET "default" 0.0; + transition: CUBIC_BEZIER 0.25 0.25 0.46 0.45 1.0; + target: "elm.swallow.content"; + target: "base"; + after: "inactive,finished"; + } + program { name: "active,finished"; + action: SIGNAL_EMIT "elm,state,active,finished" "elm"; + } + program { name: "inactive,finished"; + action: SIGNAL_EMIT "elm,state,inactive,finished" "elm"; + } + program { name: "cue,hide"; + signal: "cue,hide"; + source: "elm"; + script { + set_int(cue_hide, 1); + set_state(PART:"cue", "hidden", 0.0); + set_state(PART:"cue_ef", "hidden", 0.0); + set_state(PART:"cue.event", "hidden", 0.0); + set_state(PART:"cue.release.event", "hidden", 0.0); + } + } + program { name: "cue,show"; + signal: "cue,show"; + source: "elm"; + script { + set_int(cue_hide, 0); + set_state(PART:"cue", "default", 0.0); + set_state(PART:"cue_ef", "default", 0.0); + set_state(PART:"cue.event", "default", 0.0); + set_state(PART:"cue.release.event", "default", 0.0); + } + } + } +} + +group { name: "elm/panel/left1/default"; + inherit: "elm/panel/right1/default"; + parts { + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: PANEL_RIGHT_PADDING_SIZE_INC 0; + max: PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_more_option.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "effect_bg"; + scale: 1; + clip_to: "effect_bg_clip"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + color: 128 128 128 128; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "effect_bg2"; + scale: 1; + clip_to: "effect_bg_clip2"; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + image.normal: "./b_ic_press_full_circle_bg.png"; + //color_class: "transparent"; + color: 0 0 0 0; + map.on: 1; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 0.8; + zoom.y: 0.8; + } + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + description { state: "start_persp" 0.0; + inherit: "default" 0.0; + color: 128 128 128 128; + map { + zoom.x: 1.0; + zoom.y: 1.0; + } + } + } + part { name: "effect_bg_clip2"; + scale: 1; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + max: PANEL_RIGHT_CUE_EFFECT_SIZE_INC; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.5 0.5; + fixed: 1 0; + color: 255 255 255 0; + } + description { state: "pressed" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + } + } + part { name: "cue.event"; + type: RECT; + description { state: "default" 0.0; + min: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "cue.release.event"; + type: RECT; + repeat_events: 1; + description { state: "default" 0.0; + min: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + max: PANEL_RIGHT_RELEASE_EVENT_AREA_SIZE_INC; + fixed: 1 0; + //color_class: "transparent"; + color: 0 0 0 0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "elm/panel/left_sending/default"; + inherit: "elm/panel/left1/default"; + parts { + part { name: "cue.padding"; + type: SPACER; + description { state: "default" 0.0; + rel1.to: "bg"; + rel1.relative: 0.0 0.0; + rel2.to: "bg"; + rel2.relative: 0.0 1.0; + align: 0.0 0.5; + min: 1 0;//PANEL_RIGHT_PADDING_SIZE_INC 0; + max: 1 -1;//PANEL_RIGHT_PADDING_SIZE_INC -1; + fixed: 1 0; + } + } + part { name: "cue"; + description { state: "default" 0.0; + min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_stt_send_icon.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D";//"B052L1D"; + } + } + part { name: "cue_ef"; + description { state: "default" 0.0; + min: PANEL_RIGHT_IMAGE_SIZE_INC; + max: PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 1; + visible: 0; + image.normal: "./b_more_option_ef.png"; + color: 128 128 128 128; + rel1.to: "cue"; + rel2.to: "cue"; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + } +} + +group { name: "elm/panel/left_confirm/default"; + inherit: "elm/panel/left_sending/default"; + parts { + part { name: "cue"; + description { state: "default" 0.0; + min: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + max: 39 200;//PANEL_RIGHT_IMAGE_SIZE_INC; + fixed: 1 0; + image.normal: "./b_stt_confirm_icon.png"; + color: 128 128 128 128; + rel1.to: "cue.padding"; + rel1.relative: 1.0 0.0; + rel2.to: "cue.padding"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + } + description { state: "hidden" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color_class: "AO015L2D";//"B052L1D"; + } + } + } +} + +} diff --git a/res/wearable/images/Delta_w_mode_emoticon_ic.png b/res/wearable/images/Delta_w_mode_emoticon_ic.png new file mode 100644 index 0000000..8511eb6 Binary files /dev/null and b/res/wearable/images/Delta_w_mode_emoticon_ic.png differ diff --git a/res/wearable/images/b_stt_confirm_icon.png b/res/wearable/images/b_stt_confirm_icon.png new file mode 100644 index 0000000..5ea22f4 Binary files /dev/null and b/res/wearable/images/b_stt_confirm_icon.png differ diff --git a/res/wearable/images/b_stt_send_icon.png b/res/wearable/images/b_stt_send_icon.png new file mode 100644 index 0000000..46e2a35 Binary files /dev/null and b/res/wearable/images/b_stt_send_icon.png differ diff --git a/res/wearable/images/bubble_ic_emoticons.png b/res/wearable/images/bubble_ic_emoticons.png new file mode 100644 index 0000000..0bb0f4e Binary files /dev/null and b/res/wearable/images/bubble_ic_emoticons.png differ diff --git a/res/wearable/images/bubble_ic_stt.png b/res/wearable/images/bubble_ic_stt.png new file mode 100644 index 0000000..6c870c5 Binary files /dev/null and b/res/wearable/images/bubble_ic_stt.png differ diff --git a/res/wearable/images/bubble_ic_templates.png b/res/wearable/images/bubble_ic_templates.png new file mode 100644 index 0000000..5059090 Binary files /dev/null and b/res/wearable/images/bubble_ic_templates.png differ diff --git a/res/wearable/images/emoticons/page_icon_bg.png b/res/wearable/images/emoticons/page_icon_bg.png new file mode 100644 index 0000000..83feb06 Binary files /dev/null and b/res/wearable/images/emoticons/page_icon_bg.png differ diff --git a/res/wearable/images/emoticons/u1f408.png b/res/wearable/images/emoticons/u1f408.png new file mode 100644 index 0000000..0022a79 Binary files /dev/null and b/res/wearable/images/emoticons/u1f408.png differ diff --git a/res/wearable/images/emoticons/u1f414.png b/res/wearable/images/emoticons/u1f414.png new file mode 100644 index 0000000..745cb04 Binary files /dev/null and b/res/wearable/images/emoticons/u1f414.png differ diff --git a/res/wearable/images/emoticons/u1f415.png b/res/wearable/images/emoticons/u1f415.png new file mode 100644 index 0000000..00a2c74 Binary files /dev/null and b/res/wearable/images/emoticons/u1f415.png differ diff --git a/res/wearable/images/emoticons/u1f42f.png b/res/wearable/images/emoticons/u1f42f.png new file mode 100644 index 0000000..cf8d6b5 Binary files /dev/null and b/res/wearable/images/emoticons/u1f42f.png differ diff --git a/res/wearable/images/emoticons/u1f433.png b/res/wearable/images/emoticons/u1f433.png new file mode 100644 index 0000000..05f9ee5 Binary files /dev/null and b/res/wearable/images/emoticons/u1f433.png differ diff --git a/res/wearable/images/emoticons/u1f43c.png b/res/wearable/images/emoticons/u1f43c.png new file mode 100644 index 0000000..a2ffdd6 Binary files /dev/null and b/res/wearable/images/emoticons/u1f43c.png differ diff --git a/res/wearable/images/emoticons/u1f43d.png b/res/wearable/images/emoticons/u1f43d.png new file mode 100644 index 0000000..3db9c3f Binary files /dev/null and b/res/wearable/images/emoticons/u1f43d.png differ diff --git a/res/wearable/images/emoticons/u1f44c.png b/res/wearable/images/emoticons/u1f44c.png new file mode 100644 index 0000000..2ca9856 Binary files /dev/null and b/res/wearable/images/emoticons/u1f44c.png differ diff --git a/res/wearable/images/emoticons/u1f44d.png b/res/wearable/images/emoticons/u1f44d.png new file mode 100644 index 0000000..e0fc867 Binary files /dev/null and b/res/wearable/images/emoticons/u1f44d.png differ diff --git a/res/wearable/images/emoticons/u1f44e.png b/res/wearable/images/emoticons/u1f44e.png new file mode 100644 index 0000000..61ba959 Binary files /dev/null and b/res/wearable/images/emoticons/u1f44e.png differ diff --git a/res/wearable/images/emoticons/u1f495.png b/res/wearable/images/emoticons/u1f495.png new file mode 100644 index 0000000..ae1c96c Binary files /dev/null and b/res/wearable/images/emoticons/u1f495.png differ diff --git a/res/wearable/images/emoticons/u1f604.png b/res/wearable/images/emoticons/u1f604.png new file mode 100644 index 0000000..b63f4ae Binary files /dev/null and b/res/wearable/images/emoticons/u1f604.png differ diff --git a/res/wearable/images/emoticons/u1f606.png b/res/wearable/images/emoticons/u1f606.png new file mode 100644 index 0000000..e015089 Binary files /dev/null and b/res/wearable/images/emoticons/u1f606.png differ diff --git a/res/wearable/images/emoticons/u1f60a.png b/res/wearable/images/emoticons/u1f60a.png new file mode 100644 index 0000000..8b2c482 Binary files /dev/null and b/res/wearable/images/emoticons/u1f60a.png differ diff --git a/res/wearable/images/emoticons/u1f60d.png b/res/wearable/images/emoticons/u1f60d.png new file mode 100644 index 0000000..ea2c643 Binary files /dev/null and b/res/wearable/images/emoticons/u1f60d.png differ diff --git a/res/wearable/images/emoticons/u1f61a.png b/res/wearable/images/emoticons/u1f61a.png new file mode 100644 index 0000000..d7a1f37 Binary files /dev/null and b/res/wearable/images/emoticons/u1f61a.png differ diff --git a/res/wearable/images/emoticons/u1f61c.png b/res/wearable/images/emoticons/u1f61c.png new file mode 100644 index 0000000..e865de4 Binary files /dev/null and b/res/wearable/images/emoticons/u1f61c.png differ diff --git a/res/wearable/images/emoticons/u1f620.png b/res/wearable/images/emoticons/u1f620.png new file mode 100644 index 0000000..fd9b4f1 Binary files /dev/null and b/res/wearable/images/emoticons/u1f620.png differ diff --git a/res/wearable/images/emoticons/u1f621.png b/res/wearable/images/emoticons/u1f621.png new file mode 100644 index 0000000..3bab8c6 Binary files /dev/null and b/res/wearable/images/emoticons/u1f621.png differ diff --git a/res/wearable/images/emoticons/u1f622.png b/res/wearable/images/emoticons/u1f622.png new file mode 100644 index 0000000..c99193d Binary files /dev/null and b/res/wearable/images/emoticons/u1f622.png differ diff --git a/res/wearable/images/emoticons/u1f624.png b/res/wearable/images/emoticons/u1f624.png new file mode 100644 index 0000000..57f7def Binary files /dev/null and b/res/wearable/images/emoticons/u1f624.png differ diff --git a/res/wearable/images/emoticons/u1f625.png b/res/wearable/images/emoticons/u1f625.png new file mode 100644 index 0000000..2c08125 Binary files /dev/null and b/res/wearable/images/emoticons/u1f625.png differ diff --git a/res/wearable/images/emoticons/u1f62a.png b/res/wearable/images/emoticons/u1f62a.png new file mode 100644 index 0000000..1d267cb Binary files /dev/null and b/res/wearable/images/emoticons/u1f62a.png differ diff --git a/res/wearable/images/emoticons/u1f62b.png b/res/wearable/images/emoticons/u1f62b.png new file mode 100644 index 0000000..b840d3d Binary files /dev/null and b/res/wearable/images/emoticons/u1f62b.png differ diff --git a/res/wearable/images/emoticons/u1f631.png b/res/wearable/images/emoticons/u1f631.png new file mode 100644 index 0000000..9530095 Binary files /dev/null and b/res/wearable/images/emoticons/u1f631.png differ diff --git a/res/wearable/images/emoticons/u1f632.png b/res/wearable/images/emoticons/u1f632.png new file mode 100644 index 0000000..f796a95 Binary files /dev/null and b/res/wearable/images/emoticons/u1f632.png differ diff --git a/res/wearable/images/emoticons/u1f637.png b/res/wearable/images/emoticons/u1f637.png new file mode 100644 index 0000000..17574f0 Binary files /dev/null and b/res/wearable/images/emoticons/u1f637.png differ diff --git a/res/wearable/images/emoticons/w_emoticions_center_bg.png b/res/wearable/images/emoticons/w_emoticions_center_bg.png new file mode 100644 index 0000000..262f03d Binary files /dev/null and b/res/wearable/images/emoticons/w_emoticions_center_bg.png differ diff --git a/res/wearable/images/emoticons/w_emoticions_center_stroke.png b/res/wearable/images/emoticons/w_emoticions_center_stroke.png new file mode 100644 index 0000000..3c16c89 Binary files /dev/null and b/res/wearable/images/emoticons/w_emoticions_center_stroke.png differ diff --git a/res/wearable/images/prompt_ic_languages.png b/res/wearable/images/prompt_ic_languages.png new file mode 100644 index 0000000..d998dca Binary files /dev/null and b/res/wearable/images/prompt_ic_languages.png differ diff --git a/res/wearable/images/toast_check_icon.png b/res/wearable/images/toast_check_icon.png new file mode 100644 index 0000000..213a2f7 Binary files /dev/null and b/res/wearable/images/toast_check_icon.png differ diff --git a/res/wearable/images/w_list_add_ic.png b/res/wearable/images/w_list_add_ic.png new file mode 100644 index 0000000..83e4829 Binary files /dev/null and b/res/wearable/images/w_list_add_ic.png differ diff --git a/res/wearable/images/w_mode_emoticon_ic.png b/res/wearable/images/w_mode_emoticon_ic.png new file mode 100644 index 0000000..e44bf87 Binary files /dev/null and b/res/wearable/images/w_mode_emoticon_ic.png differ diff --git a/res/wearable/images/w_mode_keyboard_ic.png b/res/wearable/images/w_mode_keyboard_ic.png new file mode 100644 index 0000000..10bb4fd Binary files /dev/null and b/res/wearable/images/w_mode_keyboard_ic.png differ diff --git a/res/wearable/images/w_mode_location_ic.png b/res/wearable/images/w_mode_location_ic.png new file mode 100644 index 0000000..fbf6b87 Binary files /dev/null and b/res/wearable/images/w_mode_location_ic.png differ diff --git a/res/wearable/images/w_mode_stt_ic.png b/res/wearable/images/w_mode_stt_ic.png new file mode 100644 index 0000000..0761a5c Binary files /dev/null and b/res/wearable/images/w_mode_stt_ic.png differ diff --git a/res/wearable/images/w_sip_number_btn_ic.png b/res/wearable/images/w_sip_number_btn_ic.png new file mode 100644 index 0000000..c600dcc Binary files /dev/null and b/res/wearable/images/w_sip_number_btn_ic.png differ diff --git a/res/wearable/images/wi_drawing_icon.png b/res/wearable/images/wi_drawing_icon.png new file mode 100644 index 0000000..f31f256 Binary files /dev/null and b/res/wearable/images/wi_drawing_icon.png differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt deleted file mode 100755 index 285de0a..0000000 --- a/src/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ - -PKG_CHECK_MODULES(DLOG REQUIRED dlog) -PKG_CHECK_MODULES(CAPI_APPFW_APPLICATION REQUIRED capi-appfw-application) -PKG_CHECK_MODULES(CAPI_APPFW_APP-CONTROL REQUIRED capi-appfw-app-control) -PKG_CHECK_MODULES(CAPI_APPFW_PREFERENCE REQUIRED capi-appfw-preference) -PKG_CHECK_MODULES(CAPI_MEDIA_WAV_PLAYER REQUIRED capi-media-wav-player) -PKG_CHECK_MODULES(CAPI_SYSTEM_DEVICE REQUIRED capi-system-device) -PKG_CHECK_MODULES(EINA REQUIRED eina) -PKG_CHECK_MODULES(ELEMENTARY REQUIRED elementary) -PKG_CHECK_MODULES(EFL_EXTENSION REQUIRED efl-extension) -PKG_CHECK_MODULES(FEEDBACK REQUIRED feedback) -PKG_CHECK_MODULES(STT REQUIRED stt) -PKG_CHECK_MODULES(VCONF REQUIRED vconf) -PKG_CHECK_MODULES(DB_UTIL_PKG REQUIRED db-util) -PKG_CHECK_MODULES(SQLITE3_PKG REQUIRED sqlite3) -pkg_check_modules(CAPI_MEDIA_AUDIO_IO REQUIRED capi-media-audio-io) -#PKG_CHECK_MODULES(GRAPHICS_EXTENSION REQUIRED graphics-extension) -#PKG_CHECK_MODULES(WNOTI_SERVICE REQUIRED wnoti-service2) -#PKG_CHECK_MODULES(SAP_CLIENT_STUB_API REQUIRED sap-client-stub-api) -PKG_CHECK_MODULES(SMARTREPLY REQUIRED smartreply) -PKG_CHECK_MODULES(CAPI_SYSTEM_INFO REQUIRED capi-system-info) - -SET(W_INPUT_SELECTOR inputdelegator) -FILE(GLOB W_INPUT_SELECTOR_SRCS *.cpp) - -INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_SOURCE_DIR}/inc - ${DLOG_INCLUDE_DIRS} - ${CAPI_APPFW_APPLICATION_INCLUDE_DIRS} - ${CAPI_APPFW_APP-CONTROL_INCLUDE_DIRS} - ${CAPI_APPFW_PREFERENCE_INCLUDE_DIRS} - ${CAPI_MEDIA_WAV_PLAYER_INCLUDE_DIRS} - ${CAPI_SYSTEM_DEVICE_INCLUDE_DIRS} - ${EINA_INCLUDE_DIRS} - ${ELEMENTARY_INCLUDE_DIRS} - ${EFL_ASSIST_INCLUDE_DIRS} - ${EFL_EXTENSION_INCLUDE_DIRS} - ${GRAPHICS_EXTENSION_INCLUDE_DIRS} - ${FEEDBACK_INCLUDE_DIRS} - ${STT_INCLUDE_DIRS} - ${VCONF_INCLUDE_DIRS} - ${DB_UTIL_PKG_INCLUDE_DIRS} - ${SQLITE3_PKG_INCLUDE_DIRS} - ${DATA_CONTROL_INCLUDE_DIRS} - ${WNOTI_SERVICE_INCLUDE_DIRS} - ${SAP_CLIENT_STUB_API_INCLUDE_DIRS} - ${CAPI_MEDIA_AUDIO_IO_INCLUDE_DIRS} - ${SMARTREPLY_INCLUDE_DIRS} - ${CAPI_SYSTEM_INFO_INCLUDE_DIRS}) - - -LINK_DIRECTORIES(${DLOG_LIBRARY_DIRS} - ${CAPI_APPFW_APPLICATION_LIBRARY_DIRS} - ${CAPI_APPFW_APP-CONTROL_LIBRARY_DIRS} - ${CAPI_APPFW_PREFERENCE_LIBRARY_DIRS} - ${CAPI_MEDIA_WAV_PLAYER_LIBRARY_DIRS} - ${CAPI_SYSTEM_DEVICE_LIBRARY_DIRS} - ${EINA_LIBRARY_DIRS} - ${ELEMENTARY_LIBRARY_DIRS} - ${EFL_ASSIST_LIBRARY_DIRS} - ${EFL_EXTENSION_LIBRARY_DIRS} - ${GRAPHICS_EXTENSION_LIBRARY_DIRS} - ${FEEDBACK_LIBRARY_DIRS} - ${STT_LIBRARY_DIRS} - ${DB_UTIL_PKG_LIBRARY_DIRS} - ${SQLITE3_PKG_LIBRARY_DIRS} - ${VCONF_LIBRARY_DIRS} - ${WNOTI_SERVICE_LIBRARY_DIRS} - ${SAP_CLIENT_STUB_API_LIBRARY_DIRS} - ${CAPI_MEDIA_AUDIO_IO_LIBRARY_DIRS} - ${SMARTREPLY_LIBRARY_DIRS} - ${CAPI_SYSTEM_INFO_LIBRARY_DIRS} - ) - -ADD_EXECUTABLE(${W_INPUT_SELECTOR} - ${W_INPUT_SELECTOR_SRCS}) - -TARGET_LINK_LIBRARIES(${W_INPUT_SELECTOR} - ${DLOG_LIBRARIES} - ${CAPI_APPFW_APPLICATION_LIBRARIES} - ${CAPI_APPFW_APP-CONTROL_LIBRARIES} - ${CAPI_APPFW_PREFERENCE_LIBRARIES} - ${CAPI_MEDIA_WAV_PLAYER_LIBRARIES} - ${CAPI_SYSTEM_DEVICE_LIBRARIES} - ${EINA_LIBRARIES} - ${ELEMENTARY_LIBRARIES} - ${EFL_ASSIST_LIBRARIES} - ${EFL_EXTENSION_LIBRARIES} - ${FEEDBACK_LIBRARIES} - ${STT_LIBRARIES} - ${DB_UTIL_PKG_LIBRARIES} - ${SQLITE3_PKG_LIBRARIES} - ${VCONF_LIBRARIES} - ${CAPI_MEDIA_AUDIO_IO_LIBRARIES} - ${SMARTREPLY_LIBRARIES} - ${CAPI_SYSTEM_INFO_LIBRARIES} - ) - -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fPIE") -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -fPIE") -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -fPIE") -SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -fPIE") -SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -fPIE") -SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -g -fPIE") -SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie") - -INSTALL(TARGETS ${W_INPUT_SELECTOR} DESTINATION bin) - diff --git a/src/MoreOption.cpp b/src/MoreOption.cpp index 33a335e..2510f0b 100755 --- a/src/MoreOption.cpp +++ b/src/MoreOption.cpp @@ -16,6 +16,7 @@ #include "Debug.h" +#include #include #include #include @@ -28,6 +29,8 @@ #include "w-input-stt-ise.h" #include "w-input-stt-voice.h" +using namespace std; + extern Evas_Object *g_setting_window; MoreOption::MoreOption(Evas_Object *naviframe, void* voicedata) @@ -223,12 +226,11 @@ Evas_Object* MoreOption::AddLanguageIcon(Evas_Object *parent) { PRINTFUNC(DLOG_ERROR, "It's failed to add image."); } - std::string res_path; - char *tmp_path = app_get_resource_path(); - if (tmp_path) { - res_path = tmp_path; - free(tmp_path); - } + string res_path = get_resource_path(); + if (_WEARABLE) + res_path = res_path + "wearable/"; + else + res_path = res_path + "mobile/"; std::string image_path = res_path + "images/prompt_ic_languages.png"; diff --git a/src/w-input-selector.cpp b/src/w-input-selector.cpp index ab01284..3dacfb2 100755 --- a/src/w-input-selector.cpp +++ b/src/w-input-selector.cpp @@ -134,8 +134,13 @@ void init_customizing_theme(void) string stt_edj_path = get_resource_path(); string app_edj_path = get_resource_path(); - stt_edj_path = stt_edj_path + STT_EDJ_FILE; - app_edj_path = app_edj_path + APP_EDJ_FILE; + if(_WEARABLE) { + stt_edj_path = stt_edj_path + STT_EDJ_FILE_WEARABLE; + app_edj_path = app_edj_path + APP_EDJ_FILE_WEARABLE; + } else if(_MOBILE) { + stt_edj_path = stt_edj_path + STT_EDJ_FILE_MOBILE; + app_edj_path = app_edj_path + APP_EDJ_FILE_MOBILE; + } elm_theme_extension_add(NULL, stt_edj_path.c_str()); elm_theme_extension_add(NULL, app_edj_path.c_str()); @@ -255,6 +260,11 @@ static Evas_Object * __ise_gl_2button_content_get(void *data, Evas_Object *obj, Evas_Object* ic = elm_image_add(btn); elm_image_resizable_set(ic, EINA_TRUE, EINA_TRUE); string path = get_resource_path(); + if (_WEARABLE) + path = path + "wearable/"; + else + path = path + "mobile/"; + if (!strcmp(part, "elm.icon.1")) { string path_ic; if(!strcmp(first_input_type, "input_voice")) { @@ -334,6 +344,11 @@ static Evas_Object * __ise_gl_3button_content_get(void *data, Evas_Object *obj, Evas_Object* ic = elm_image_add(btn); elm_image_resizable_set(ic, EINA_TRUE, EINA_TRUE); string path = get_resource_path(); + if (_WEARABLE) + path = path + "wearable/"; + else + path = path + "mobile/"; + if (!strcmp(part, "elm.icon.1")) { elm_object_style_set(btn, "ime_button_stt"); string path_ic = path + "images/w_mode_stt_ic.png"; @@ -504,6 +519,10 @@ void show_popup_toast(const char *text, bool check_img) if (check_img) { string path = get_resource_path(); + if (_WEARABLE) + path = path + "wearable/"; + else + path = path + "mobile/"; string path_ic = path + "/images/toast_check_icon.png"; Evas_Object * img = elm_image_add(popup); elm_image_file_set(img, path_ic.c_str(), NULL); diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index 6e50198..925cd14 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -887,13 +887,14 @@ static inline void ea_naviframe_back(void *data, Evas_Object *obj, void *event_i ecore_event_handler_del(g_evt_key_down); g_evt_key_down = NULL; - +#ifdef _WEARABLE //Hide more option if(g_more_option_layout){ if(eext_more_option_opened_get(g_more_option_layout) == EINA_TRUE) { eext_more_option_opened_set(g_more_option_layout, EINA_FALSE); } } +#endif } static char *__get_genlist_title_label(void *data, Evas_Object *obj, const char *part) @@ -1388,8 +1389,10 @@ static void __stt_detailed_entry_del_cb(void *data, Evas *e, Evas_Object *obj, v static Evas_Object *create_text_detiled_view(Evas_Object *parent) { string edj_path = get_resource_path(); - edj_path = edj_path + STT_EDJ_FILE; - + if(_WEARABLE) + edj_path = edj_path + STT_EDJ_FILE_WEARABLE; + else + edj_path = edj_path + STT_EDJ_FILE_MOBILE; //layout Evas_Object *layout = elm_layout_add(parent); elm_layout_file_set(layout, edj_path.c_str(), "entry_focused_layout"); @@ -1534,7 +1537,10 @@ static Evas_Object *create_textblock(void* data) Evas_Object *circle_scroller = NULL; string edj_path = get_resource_path(); - edj_path = edj_path + STT_EDJ_FILE; + if(_WEARABLE) + edj_path = edj_path + STT_EDJ_FILE_WEARABLE; + else + edj_path = edj_path + STT_EDJ_FILE_MOBILE; scroller = elm_scroller_add(voicedata->layout_main); @@ -1638,7 +1644,10 @@ static Evas_Object *create_fullview(Evas_Object *parent, VoiceData *r_voicedata) voicedata->layout_main = layout_main; string edj_path = get_resource_path(); - edj_path = edj_path + STT_EDJ_FILE; + if(_WEARABLE) + edj_path = edj_path + STT_EDJ_FILE_WEARABLE; + else + edj_path = edj_path + STT_EDJ_FILE_MOBILE; if (vconf_get_bool(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, &is_screen_reader_on) == -1) { PRINTFUNC(DLOG_ERROR, "Cannot read value of screen reader from vconf"); @@ -1870,11 +1879,13 @@ void on_stt_pause(VoiceData *r_voicedata){ //Hide more option and language settings by interrupt scenario. close_setting_window_idler_cb(NULL); Evas_Object *mo_layout = voicedata->mo->getMoreOptionLayout(); +#ifdef _WEARABLE if(mo_layout){ if(eext_more_option_opened_get(mo_layout) == EINA_TRUE) { eext_more_option_opened_set(mo_layout, EINA_FALSE); } } +#endif } }