summaryrefslogtreecommitdiff
path: root/lock_pwd/res/edje
diff options
context:
space:
mode:
Diffstat (limited to 'lock_pwd/res/edje')
-rwxr-xr-xlock_pwd/res/edje/CMakeLists.txt23
-rw-r--r--lock_pwd/res/edje/images/enter_pin_dot.pngbin0 -> 1023 bytes
-rw-r--r--lock_pwd/res/edje/images/event_close_bg.#.pngbin0 -> 3254 bytes
-rw-r--r--lock_pwd/res/edje/images/ls_back_02_nor.pngbin0 -> 3336 bytes
-rw-r--r--lock_pwd/res/edje/images/ls_back_02_press.pngbin0 -> 3333 bytes
-rw-r--r--lock_pwd/res/edje/images/ls_icon_call.pngbin0 -> 1538 bytes
-rw-r--r--lock_pwd/res/edje/images/ls_password_underline.#.pngbin0 -> 998 bytes
-rw-r--r--lock_pwd/res/edje/images/ls_pin_dot.pngbin0 -> 1200 bytes
-rwxr-xr-xlock_pwd/res/edje/lock_btn.edc395
-rwxr-xr-xlock_pwd/res/edje/lock_entry.edc486
-rwxr-xr-xlock_pwd/res/edje/lock_pwd.edc120
-rwxr-xr-xlock_pwd/res/edje/lock_pwd_complex.edc168
-rw-r--r--lock_pwd/res/edje/lock_pwd_control_panel.edc329
-rwxr-xr-xlock_pwd/res/edje/lock_pwd_simple.edc452
14 files changed, 1973 insertions, 0 deletions
diff --git a/lock_pwd/res/edje/CMakeLists.txt b/lock_pwd/res/edje/CMakeLists.txt
new file mode 100755
index 0000000..23de665
--- /dev/null
+++ b/lock_pwd/res/edje/CMakeLists.txt
@@ -0,0 +1,23 @@
+ADD_CUSTOM_TARGET(lock_btn.edj
+ COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/images
+ ${CMAKE_CURRENT_SOURCE_DIR}/lock_btn.edc ${CMAKE_BINARY_DIR}/lock_pwd/res/edje/lock_btn.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lock_btn.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} lock_btn.edj)
+INSTALL(FILES lock_btn.edj DESTINATION /usr/share/starter/lock_pwd/res/edje)
+
+ADD_CUSTOM_TARGET(lock_entry.edj
+ COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/images
+ ${CMAKE_CURRENT_SOURCE_DIR}/lock_entry.edc ${CMAKE_BINARY_DIR}/lock_pwd/res/edje/lock_entry.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lock_entry.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} lock_entry.edj)
+INSTALL(FILES lock_entry.edj DESTINATION /usr/share/starter/lock_pwd/res/edje)
+
+ADD_CUSTOM_TARGET(lock_pwd.edj
+ COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/images
+ ${CMAKE_CURRENT_SOURCE_DIR}/lock_pwd.edc ${CMAKE_BINARY_DIR}/lock_pwd/res/edje/lock_pwd.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lock_pwd.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} lock_pwd.edj)
+INSTALL(FILES lock_pwd.edj DESTINATION /usr/share/starter/lock_pwd/res/edje)
diff --git a/lock_pwd/res/edje/images/enter_pin_dot.png b/lock_pwd/res/edje/images/enter_pin_dot.png
new file mode 100644
index 0000000..467db33
--- /dev/null
+++ b/lock_pwd/res/edje/images/enter_pin_dot.png
Binary files differ
diff --git a/lock_pwd/res/edje/images/event_close_bg.#.png b/lock_pwd/res/edje/images/event_close_bg.#.png
new file mode 100644
index 0000000..047d7ca
--- /dev/null
+++ b/lock_pwd/res/edje/images/event_close_bg.#.png
Binary files differ
diff --git a/lock_pwd/res/edje/images/ls_back_02_nor.png b/lock_pwd/res/edje/images/ls_back_02_nor.png
new file mode 100644
index 0000000..7a8f607
--- /dev/null
+++ b/lock_pwd/res/edje/images/ls_back_02_nor.png
Binary files differ
diff --git a/lock_pwd/res/edje/images/ls_back_02_press.png b/lock_pwd/res/edje/images/ls_back_02_press.png
new file mode 100644
index 0000000..7426dfc
--- /dev/null
+++ b/lock_pwd/res/edje/images/ls_back_02_press.png
Binary files differ
diff --git a/lock_pwd/res/edje/images/ls_icon_call.png b/lock_pwd/res/edje/images/ls_icon_call.png
new file mode 100644
index 0000000..18bf92a
--- /dev/null
+++ b/lock_pwd/res/edje/images/ls_icon_call.png
Binary files differ
diff --git a/lock_pwd/res/edje/images/ls_password_underline.#.png b/lock_pwd/res/edje/images/ls_password_underline.#.png
new file mode 100644
index 0000000..9b6944b
--- /dev/null
+++ b/lock_pwd/res/edje/images/ls_password_underline.#.png
Binary files differ
diff --git a/lock_pwd/res/edje/images/ls_pin_dot.png b/lock_pwd/res/edje/images/ls_pin_dot.png
new file mode 100644
index 0000000..c01ca7c
--- /dev/null
+++ b/lock_pwd/res/edje/images/ls_pin_dot.png
Binary files differ
diff --git a/lock_pwd/res/edje/lock_btn.edc b/lock_pwd/res/edje/lock_btn.edc
new file mode 100755
index 0000000..20ecbbb
--- /dev/null
+++ b/lock_pwd/res/edje/lock_btn.edc
@@ -0,0 +1,395 @@
+/*
+ * Copyright (c) 2009-2014 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.
+ */
+
+
+styles {
+ style {
+ name: "unlock_text";
+ base: "font=Tizen:style=Regular color=#FFFFFFFF color_class=ATO017 font_size=10 text_class=ATO017 style=shadow shadow_color=#000000bf align: 0.5 0.0 wrap=word";
+ }
+}
+
+#define TEXT_BUTTON_CLASS "ATO007"
+
+
+collections {
+ base_scale: 2.6;
+ group {
+ name: "elm/button/base/emg_cal_btn";
+ parts {
+ part {
+ name: "elm.swallow.content";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ effect: "SHADOW";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ color: 255 255 255 255;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ text {
+ align: 0.0 0.5;
+ size: 28;
+ text_class: TEXT_BUTTON_CLASS;
+ }
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 120;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "mouse,clicked";
+ signal: "mouse,clicked,1";
+ source: "elm.swallow.content";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button,pressed";
+ signal: "mouse,down,1";
+ action: STATE_SET "pressed" 0.0;
+ source: "elm.swallow.content";
+ target: "elm.text";
+ }
+ program {
+ name: "button,unpressed";
+ signal: "mouse,up,1";
+ action: STATE_SET "default" 0.0;
+ source: "elm.swallow.content";
+ target: "elm.text";
+ }
+ }
+ }
+
+ group {
+ name: "elm/button/base/tizen_account_btn";
+ parts {
+ part {
+ name: "elm.swallow.content";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ effect: "SHADOW";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ color: 255 255 255 255;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ text {
+ style: "unlock_text";
+ }
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 120;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "mouse,clicked";
+ signal: "mouse,clicked,1";
+ source: "elm.swallow.content";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button,pressed";
+ signal: "mouse,down,1";
+ action: STATE_SET "pressed" 0.0;
+ source: "elm.swallow.content";
+ target: "elm.text";
+ }
+ program {
+ name: "button,unpressed";
+ signal: "mouse,up,1";
+ action: STATE_SET "default" 0.0;
+ source: "elm.swallow.content";
+ target: "elm.text";
+ }
+ }
+ }
+
+ group {
+ name: "elm/button/base/right_button";
+ parts {
+ part {
+ name: "elm.swallow.content";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ }
+ }
+ part {
+ name: "effect";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "pressed" 0.0;
+ //color_class: AO018;
+ visible: 1;
+ rel1.to: "elm.text";
+ rel1.offset: -3 0;
+ rel2.to: "elm.text";
+ rel2.offset: 3 0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ effect: "SHADOW";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.5;
+ text {
+ align: 1.0 0.5;
+ size: 32;
+ //text_class: "ATO007";
+ min: 1 0;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "mouse,clicked";
+ signal: "mouse,clicked,1";
+ source: "elm.swallow.content";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button,pressed";
+ signal: "mouse,down,1";
+ action: STATE_SET "pressed" 0.0;
+ source: "elm.swallow.content";
+ target: "effect";
+ }
+ program {
+ name: "button,unpressed";
+ signal: "mouse,up,1";
+ action: STATE_SET "default" 0.0;
+ source: "elm.swallow.content";
+ target: "effect";
+ }
+ }
+ }
+
+ group {
+ name: "elm/button/base/left_button";
+ parts {
+ part {
+ name: "elm.swallow.content";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "effect";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "pressed" 0.0;
+ color_class: AO018;
+ visible: 1;
+ rel1.to: "elm.text";
+ rel1.offset: -3 -3;
+ rel2.to: "elm.text";
+ rel2.offset: 3 3;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ effect: "SHADOW";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ color: 255 255 255 255;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ text {
+ align: 0.0 0.5;
+ size: 28;
+ //text_class: "ATO007";
+ min: 1 0;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "mouse,clicked";
+ signal: "mouse,clicked,1";
+ source: "elm.text";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button,pressed";
+ signal: "mouse,down,1";
+ action: STATE_SET "pressed" 0.0;
+ source: "elm.text";
+ target: "effect";
+ }
+ program {
+ name: "button,unpressed";
+ signal: "mouse,up,1";
+ action: STATE_SET "default" 0.0;
+ source: "elm.text";
+ target: "effect";
+ }
+ }
+ }
+
+ group {
+ name: "elm/button/base/center_button";
+ parts {
+ part {
+ name: "elm.swallow.content";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ effect: "SHADOW";
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ color: 255 255 255 255;
+ visible: 1;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ text {
+ align: 0.5 0.5;
+ size: 28;
+ //text_class: "ATO007";
+ }
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 128;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "mouse,clicked";
+ signal: "mouse,clicked,1";
+ source: "elm.swallow.content";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button,pressed";
+ signal: "mouse,down,1";
+ action: STATE_SET "pressed" 0.0;
+ source: "elm.swallow.content";
+ target: "elm.text";
+ }
+ program {
+ name: "button,unpressed";
+ signal: "mouse,up,1";
+ action: STATE_SET "default" 0.0;
+ source: "elm.swallow.content";
+ target: "elm.text";
+ }
+ }
+ }
+}
diff --git a/lock_pwd/res/edje/lock_entry.edc b/lock_pwd/res/edje/lock_entry.edc
new file mode 100755
index 0000000..f4b3cca
--- /dev/null
+++ b/lock_pwd/res/edje/lock_entry.edc
@@ -0,0 +1,486 @@
+/*
+ * Copyright (c) 2009-2014 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.
+ */
+
+collections {
+ base_scale : 2.6;
+
+ group {
+ name: "elm/entry/base-single/default";
+ data.item: "default_font_size" "43";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ styles {
+ style { name: "entry_single_textblock_style";
+ base: "font=Tizen:style=Roman font_size=43 align=center color=#FFFFFFFF wrap=none left_margin=1 right_margin=3 text_class=Tizen style=shadow shadow_color=#000000bf";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ style { name: "entry_single_textblock_disabled_style";
+ base: "font=Tizen:style=Roman font_size=43 color=00000080 wrap=none left_margin=1 right_margin=3 text_class=Tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link " "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "entry.swallow.background";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0 0; to: "elm.text"; }
+ rel2 { relative: 1 1; to: "elm.text"; }
+ }
+ }
+ }
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ multiline: 0;
+ source: "elm/entry/selection/default";
+ source2: "elm/entry/selection/block_handle";
+ source3: "elm/entry/selection/block_handle_top";
+ source4: "elm/entry/cursor/default";
+ source5: "elm/entry/anchor/default";
+ description {
+ state: "default" 0.0;
+ text {
+ style: "entry_single_textblock_style";
+ min: 1 1;
+ max: 0 1;
+ ellipsis: -1;
+ }
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+ group {
+ name: "elm/entry/base-password/lockscreen_complex_password_style";
+ data.item: "default_font_size" "43";
+ data.item: "min_font_size" "8";
+ data.item: "max_font_size" "60";
+ data {
+ item: context_menu_orientation "horizontal";
+ }
+ parts {
+ part {
+ name: "entry.swallow.background";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 { relative: 0 0; to: "elm.text"; }
+ rel2 { relative: 1 1; to: "elm.text"; }
+ }
+ }
+ }
+ parts {
+ part {
+ name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PASSWORD;
+ select_mode: BLOCK_HANDLE;
+ multiline: 0;
+ source: "elm/entry/selection/default";
+ source2: "elm/entry/selection/block_handle";
+ source3: "elm/entry/selection/block_handle_top";
+ source4: "elm/entry/cursor/default";
+ source5: "elm/entry/anchor/default";
+ description {
+ state: "default" 0.0;
+ text {
+ style: "entry_single_textblock_style";
+ repch: "•";
+ min: 1 1;
+ max: 0 0;
+ ellipsis: -1;
+ }
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program {
+ name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+ group {
+ name: "elm/entry/cursor/default";
+ parts {
+ part {
+ name: "clip2";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "clip";
+ rel2.to: "clip";
+ visible: 0;
+ }
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "clip";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip2";
+ description {
+ state: "default" 0.0;
+ rel1.offset: -10 0;
+ rel2.offset: 9 9;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "base";
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip";
+ description {
+ state: "default" 0.0;
+ min: 2 2;
+ align: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "glow";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "clip2";
+ description {
+ state: "default" 0.0;
+ min: 4 0;
+ fixed: 1 0;
+ align: 0.5 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 2;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 0 -2;
+ }
+ color: 42 137 194 255;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "show";
+ action: STATE_SET "hidden" 0.0;
+ in: 0.6 0.0;
+ target: "glow";
+ after: "show4";
+ }
+ program {
+ name: "show4";
+ action: STATE_SET "default" 0.0;
+ in: 0.6 0.0;
+ target: "glow";
+ after: "show";
+ }
+ program {
+ name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "clip2";
+ after: "show4";
+ }
+ program {
+ name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clip2";
+ after: "stop_glow";
+ }
+ program {
+ name: "stop_glow";
+ action: ACTION_STOP;
+ target: "show";
+ target: "show4";
+ }
+ }
+ }
+ group { name: "elm/entry/selection/default";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 138 183 223 128;
+ }
+ }
+ }
+ }
+ group {
+ name: "elm/entry/selection/block_handle";
+ data.item: "position" "BOTH";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ align: 0.5 0.25;
+ min: 50 80;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ min: 48 66;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ image {
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+ }
+ program {
+ name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "handle";
+ }
+ }
+ }
+ group {
+ name: "elm/entry/selection/block_handle_top";
+ data.item: "position" "BOTH";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ align: 0.5 0.75;
+ min: 50 80;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ min: 48 66;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ image {
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+ }
+ program {
+ name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "handle";
+ }
+ }
+ }
+ group {
+ name: "elm/entry/anchor/default";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 128 0 0 64;
+ }
+ }
+ }
+ }
+}
diff --git a/lock_pwd/res/edje/lock_pwd.edc b/lock_pwd/res/edje/lock_pwd.edc
new file mode 100755
index 0000000..0f974f3
--- /dev/null
+++ b/lock_pwd/res/edje/lock_pwd.edc
@@ -0,0 +1,120 @@
+/*
+ * Copyright (c) 2009-2014 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 WIN_WIDTH 720
+#define WIN_HEIGHT 1280
+
+#define INDICATOR_HEIGHT 52
+
+/* simple password */
+#define HELP_TEXT_AREA_HEIGHT 398
+#define KEYPAD_AREA_HEIGHT 592
+#define CONTROL_AREA_HEIGHT 184
+
+#define NUMBER_PANEL_DOT_WIDTH 32
+#define NUMBER_PANEL_DOT_HEIGHT NUMBER_PANEL_DOT_WIDTH
+#define NUMBER_PANEL_PADDING_LEFT 144
+#define NUMBER_PANEL_PADDING_RIGHT NUMBER_PANEL_PADDING_LEFT
+#define NUMBER_PANEL_WIDTH 96
+#define NUMBER_PANEL_HEIGHT NUMBER_PANEL_WIDTH
+#define NUMBER_PANEL_PADDING 16
+
+#define NUMBER_KEYPAD_PANEL_WIDTH WIN_WIDTH
+#define NUMBER_KEYPAD_PANEL_HEIGHT WIN_HEIGHT
+#define NUMBER_KEYPAD_BUTTON_WIDTH (WIN_WIDTH/3)
+#define NUMBER_KEYPAD_BUTTON_HEIGHT (KEYPAD_AREA_HEIGHT/4)
+#define NUMBER_KEYPAD_BUTTON_PAD_Y 10
+
+#define NUMBER_KEYPAD_REL_W(x) ((x)/NUMBER_KEYPAD_PANEL_WIDTH)
+#define NUMBER_KEYPAD_REL_H(y) ((y)/NUMBER_KEYPAD_PANEL_HEIGHT)
+#define NUMBER_KEYPAD_BUTTON_REL_W(x) ((x)/NUMBER_KEYPAD_BUTTON_WIDTH)
+#define NUMBER_KEYPAD_BUTTON_REL_H(y) ((y)/NUMBER_KEYPAD_BUTTON_HEIGHT)
+
+#define NUMBER_KEYPAD_NUM_SIZE 72
+#define NUMBER_KEYPAD_NUM_TEXT_SIZE 29
+
+/* simple password - button pressed color */
+#define LOCK_TEXT_COLOR 245 245 245 255
+#define LOCK_TEXT_COLOR2 0 0 0 0
+#define LOCK_TEXT_COLOR3 0 0 0 178
+#define BUTTON_PRESSED_COLOR 179 179 179 179
+
+/* complex password */
+#define LINE_COLOR "AO021"
+#define LINE_SHADOW_COLOR "AO017"
+#define INFO_FONT_COLOR "ATO033"
+#define PASS_FONT_COLOR "ATO035"
+#define PASS_FONT_SIZE 43
+#define INFO_FONT_SIZE 30
+
+#define IME_RESIZED 1
+#define IME_DOWN 2
+
+#define RETURN_TO_CALL_HEIGHT 46
+#define RETURN_TO_CALL_ICON_SIZE 46
+
+
+collections {
+ base_scale: 2.6;
+
+#include "lock_pwd_simple.edc"
+#include "lock_pwd_complex.edc"
+#include "lock_pwd_control_panel.edc"
+
+ group {
+ name: "lock_pwd";
+ parts {
+ part {
+ name: "bg";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+ part {
+ name: "sw.bg";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { to: "bg"; }
+ rel2 { to: "bg"; }
+ }
+ }
+ part {
+ name: "dim.bg";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 20 20 20 100;
+ rel1 { to: "bg"; }
+ rel2 { to: "bg"; }
+ }
+ }
+ part {
+ name: "sw.lock_pwd";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { to: "bg"; }
+ rel2 { to: "bg"; }
+ }
+ }
+ }
+ }
+
+}
diff --git a/lock_pwd/res/edje/lock_pwd_complex.edc b/lock_pwd/res/edje/lock_pwd_complex.edc
new file mode 100755
index 0000000..f484c47
--- /dev/null
+++ b/lock_pwd/res/edje/lock_pwd_complex.edc
@@ -0,0 +1,168 @@
+/*
+ * Copyright (c) 2009-2014 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.
+ */
+
+styles {
+ style {
+ name: "style_complex_title";
+ base: "font=Tizen:style=Regular color=#ffffffff color_class=ATO033 font_size=40 wrap=mixed align=center style=shadow shadow_color=#000000bf text_class=ATO033";
+ tag: "br" "\n";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
+ }
+}
+
+ group {
+ name: "lock-complex-password";
+ images {
+ image: "ls_password_underline.#.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "padding.top.title";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: WIN_WIDTH 153;
+ max: WIN_WIDTH 153;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ }
+ }
+ part {
+ name: "title";
+ type: TEXTBLOCK;
+ scale: 1;
+ effect: "SHADOW";
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to: "padding.top.title"; }
+ rel2 { relative: 1.0 1.0; to: "padding.top.title"; }
+ align: 0.5 0.0;
+ fixed: 1 1;
+ color_class: "ATO033";
+ text {
+ style: "style_simple_title";
+ min: 0 1;
+ align: 0.5 0.5;
+ text: "Enter PIN";
+ }
+ }
+ description {
+ state: "show_title" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "hide_title" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
+ name: "padding.top.entry";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.0; to: "bg"; }
+ min: WIN_WIDTH (INDICATOR_HEIGHT+232);
+ max: WIN_WIDTH (INDICATOR_HEIGHT+232);
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "entry";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 1.0; to : "padding.top.entry"; }
+ rel2 { relative: 1.0 1.0; to : "padding.top.entry"; }
+ min: (WIN_WIDTH-32-32) 70;
+ max: (WIN_WIDTH-32-32) 70;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ }
+ }
+ part {
+ name: "underline";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1 { relative: 0.0 1.0; to: "entry"; offset: 0 10;}
+ rel2 { relative: 1.0 1.0; to: "entry"; offset: 0 10;}
+ min: 0 4;
+ max: -1 4;
+ image.normal: "ls_password_underline.#.png";
+ }
+ }
+ /* Bottom : changed by IME height */
+ part {
+ name: "spacer.bottom";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: WIN_WIDTH CONTROL_AREA_HEIGHT;
+ max: WIN_WIDTH CONTROL_AREA_HEIGHT;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1 { relative: 0.0 1.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ }
+ }
+ part {
+ name: "control_panel";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 0.0; to: "spacer.bottom"; }
+ rel2 { relative: 1.0 1.0; to: "spacer.bottom"; }
+ }
+ }
+ } //parts
+ programs {
+ program {
+ name: "show.title";
+ signal: "show_title";
+ action: STATE_SET "show_title" 0.0;
+ source: "title";
+ target: "title";
+ }
+ program {
+ name: "hide.title";
+ signal: "hide_title";
+ action: STATE_SET "hide_title" 0.0;
+ source: "title";
+ target: "title";
+ }
+ } //programs
+ } //gorup
diff --git a/lock_pwd/res/edje/lock_pwd_control_panel.edc b/lock_pwd/res/edje/lock_pwd_control_panel.edc
new file mode 100644
index 0000000..c4415a5
--- /dev/null
+++ b/lock_pwd/res/edje/lock_pwd_control_panel.edc
@@ -0,0 +1,329 @@
+/*
+ * Copyright (c) 2009-2014 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.
+ */
+
+
+ styles {
+ style {
+ name: "btn_text_style";
+ base: "font=Tizen:style=Regular color=#FFFFFF font_size=32 wrap=none align=center";
+ }
+ }
+
+ group {
+ name: "lock-control-panel";
+ images {
+ image: "event_close_bg.#.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "padding.top";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.0; to: "bg"; }
+ }
+ }
+ part {
+ name: "padding.left";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 38/WIN_WIDTH 1.0; to: "bg"; }
+ }
+ }
+ part {
+ name: "padding.right";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: (WIN_WIDTH-50)/WIN_WIDTH 0.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ }
+ }
+ part {
+ name: "padding.bottom";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (CONTROL_AREA_HEIGHT-42)/CONTROL_AREA_HEIGHT; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ }
+ }
+
+ /* Return to Call*/
+ part {
+ name: "sw.btn.return_to_call";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 1.0;
+ min: 1 46;
+ rel1 { relative: 1.0 0.0; to_x: "padding.left"; to_y: "padding.btn"; }
+ rel2 { relative: 0.0 0.0; to_x: "btn.cancel"; to_y: "padding.btn"; }
+ }
+ }
+
+ part {
+ name: "padding.btn";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 1.0;
+ min: WIN_WIDTH 16;
+ max: WIN_WIDTH 16;
+ rel1 { relative: 0.0 0.0; to_x: "bg"; to_y: "sw.btn.plmn"; }
+ rel2 { relative: 1.0 0.0; to_x: "bg"; to_y: "sw.btn.plmn"; }
+ }
+ }
+
+ /* PLMN-SPN */
+ part {
+ name: "sw.btn.plmn";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 1.0;
+ min: 1 46;
+ rel1 { relative: 1.0 0.0; to_x: "padding.left"; to_y: "padding.bottom"; }
+ rel2 { relative: 0.0 0.0; to_x: "btn.cancel"; to_y: "padding.bottom"; }
+ }
+ }
+
+ /* Cancel */
+ part {
+ name: "rect.cancel.btn";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1 { to: "txt.cancel"; }
+ rel2 { to: "txt.cancel"; }
+ }
+ }
+ part {
+ name: "txt.cancel";
+ type: TEXTBLOCK;
+ scale: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1 { relative: 0.0 0.0; to_x: "padding.right"; to_y: "padding.bottom"; }
+ rel2 { relative: 0.0 0.0; to_x: "padding.right"; to_y: "padding.bottom"; }
+ text {
+ style: "btn_text_style";
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ text: "CANCEL";
+ }
+ }
+ }
+ part {
+ name: "btn.cancel";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1 { to: "txt.cancel"; offset: -10 0; }
+ rel2 { to: "txt.cancel"; offset: 10 0; }
+ image {
+ normal: "event_close_bg.#.png";
+ }
+ color: 100 100 100 100;
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ color: 50 50 50 50;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ color: 178 178 178 178;
+ }
+ }
+ part {
+ name: "btn.cancel.block";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { to: "btn.cancel"; }
+ rel2 { to: "btn.cancel"; }
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "btn,cancel,enable";
+ source: "prog";
+ action: STATE_SET "default" 0.0;
+ target: "btn.cancel.block";
+ target: "btn.cancel";
+ }
+ program {
+ signal: "btn,cancel,disable";
+ source: "prog";
+ action: STATE_SET "show" 0.0;
+ target: "btn.cancel.block";
+ target: "btn.cancel";
+ }
+ program {
+ name: "btn,cancel,press";
+ signal: "mouse,down,1";
+ source: "btn.cancel";
+ action: STATE_SET "press" 0.0;
+ target: "btn.cancel";
+ }
+ program {
+ name: "btn,cancel,release";
+ signal: "mouse,up,1";
+ source: "btn.cancel";
+ action: STATE_SET "default" 0.0;
+ target: "btn.cancel";
+ }
+ program {
+ name: "btn,cancel,clicked";
+ signal: "mouse,clicked,1";
+ source: "btn.cancel";
+ action: SIGNAL_EMIT "btn,cancel,clicked" "btn.cancel";
+ }
+ }
+ }
+
+ group {
+ name: "btn-return-to-call";
+ images {
+ image: "ls_icon_call.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "img.call.icon";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: RETURN_TO_CALL_ICON_SIZE RETURN_TO_CALL_ICON_SIZE;
+ max: RETURN_TO_CALL_ICON_SIZE RETURN_TO_CALL_ICON_SIZE;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 0.0 0.0; to: "bg"; }
+ image {
+ normal: "ls_icon_call.png";
+ }
+ }
+ }
+ part {
+ name: "padding.icon";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 10 RETURN_TO_CALL_HEIGHT;
+ max: 10 RETURN_TO_CALL_HEIGHT;
+ rel1 { relative: 1.0 0.0; to_x: "img.call.icon"; to_y: "bg"; }
+ rel2 { relative: 1.0 1.0; to_x: "img.call.icon"; to_y: "bg"; }
+ }
+ }
+ part {
+ name: "txt.return_to_call";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to_x: "padding.icon"; to_y: "bg"; }
+ rel2 { relative: 1.0 1.0; to_x: "padding.icon"; to_y: "bg"; }
+ text {
+ style: "btn_text_style";
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text: "Return to call";
+ }
+ }
+ }
+ part {
+ name: "btn.return_to_call";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ rel1 { relative: 0.0 0.0; to_x: "img.call.icon"; to_y: "bg"; }
+ rel2 { relative: 1.0 1.0; to_x: "txt.return_to_call"; to_y: "bg"; }
+ }
+ description {
+ state: "press" 0.0;
+ inherit: "default" 0.0;
+ color: 50 50 50 50;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "btn,return_to_call,press";
+ signal: "mouse,down,1";
+ source: "btn.return_to_call";
+ action: STATE_SET "press" 0.0;
+ target: "btn.return_to_call";
+ }
+ program {
+ name: "btn,return_to_call,release";
+ signal: "mouse,up,1";
+ source: "btn.return_to_call";
+ action: STATE_SET "default" 0.0;
+ target: "btn.return_to_call";
+ }
+ program {
+ name: "btn,return_to_call,clicked";
+ signal: "mouse,clicked,1";
+ source: "btn.return_to_call";
+ action: SIGNAL_EMIT "btn,return_to_call,clicked" "btn.return_to_call";
+ }
+ }
+ }
diff --git a/lock_pwd/res/edje/lock_pwd_simple.edc b/lock_pwd/res/edje/lock_pwd_simple.edc
new file mode 100755
index 0000000..759435b
--- /dev/null
+++ b/lock_pwd/res/edje/lock_pwd_simple.edc
@@ -0,0 +1,452 @@
+/*
+ * Copyright (c) 2009-2014 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 PART_KEYPAD_BUTTON_NUMBER(keypad_button, offx, offy, button_number, button_text) \
+ part { \
+ name: keypad_button; \
+ type: RECT; \
+ mouse_events: 1; \
+ repeat_events: 1; \
+ description { \
+ state: "default" 0.0; \
+ color: 0 0 0 0; \
+ fixed: 1 1; \
+ rel1 { relative: NUMBER_KEYPAD_REL_W(offx) NUMBER_KEYPAD_REL_H(WIN_HEIGHT-CONTROL_AREA_HEIGHT-KEYPAD_AREA_HEIGHT+offy); to:"bg";} \
+ rel2 { relative: NUMBER_KEYPAD_REL_W(offx+NUMBER_KEYPAD_BUTTON_WIDTH) NUMBER_KEYPAD_REL_H(WIN_HEIGHT-CONTROL_AREA_HEIGHT-KEYPAD_AREA_HEIGHT+offy+NUMBER_KEYPAD_BUTTON_HEIGHT); to:"bg"; } \
+ } \
+ description { \
+ state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ color: BUTTON_PRESSED_COLOR; \
+ } \
+ description { \
+ state: "hide" 0.0; \
+ visible: 0; \
+ } \
+ } \
+ part { \
+ name: keypad_button"_feedback"; \
+ type: RECT; \
+ repeat_events: 1; \
+ description { \
+ state: "default" 0.0; \
+ fixed: 1 1; \
+ color: BUTTON_PRESSED_COLOR; \
+ visible: 0; \
+ rel1.to: keypad_button; \
+ rel2.to: keypad_button; \
+ } \
+ description { \
+ state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { \
+ name: keypad_button"_number"; \
+ type: TEXT; \
+ scale: 1; \
+ effect: "SHADOW"; \
+ mouse_events: 0; \
+ repeat_events: 1; \
+ description { \
+ state: "default" 0.0; \
+ fixed: 1 1; \
+ align: 0.5 0.5; \
+ color_class: PASS_KEY_NUM_COLOR; \
+ visible: 1; \
+ rel1 { relative: 0.0 (17)/NUMBER_KEYPAD_BUTTON_HEIGHT; to: keypad_button;} \
+ rel2 { relative: 1.0 (17+81)/NUMBER_KEYPAD_BUTTON_HEIGHT; to: keypad_button;} \
+ text { \
+ align: 0.5 0.5; \
+ size: NUMBER_KEYPAD_NUM_SIZE; \
+ text: button_number; \
+ font: "Tizen:style=SNum-3L"; \
+ text_class: "tizen"; \
+ } \
+ } \
+ description { \
+ state: "hide" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ description { \
+ state: "center" 0.0; \
+ inherit: "default" 0.0; \
+ align: 0.5 0.5; \
+ rel1 { relative: 0.0 0.0; to: keypad_button;} \
+ rel2 { relative: 1.0 1.0; to: keypad_button;} \
+ text { \
+ align: 0.5 0.5; \
+ size: NUMBER_KEYPAD_NUM_SIZE; \
+ text: button_number; \
+ font: "Tizen:style=SNum-3L"; \
+ text_class: "tizen"; \
+ } \
+ } \
+ } \
+ part { \
+ name: keypad_button"_text"; \
+ type: TEXT; \
+ scale: 1; \
+ effect: "SHADOW"; \
+ mouse_events: 0; \
+ repeat_events: 1; \
+ description { \
+ state: "default" 0.0; \
+ visible: 1; \
+ fixed: 1 1; \
+ align: 0.5 0.5; \
+ color_class: PASS_KEY_SUB_COLOR; \
+ rel1 { relative: 0.0 (17+81)/NUMBER_KEYPAD_BUTTON_HEIGHT; to: keypad_button;} \
+ rel2 { relative: 1.0 (17+81+24)/NUMBER_KEYPAD_BUTTON_HEIGHT; to: keypad_button;} \
+ text { \
+ size: NUMBER_KEYPAD_NUM_TEXT_SIZE; \
+ text: button_text; \
+ align: 0.5 0.5; \
+ font: "Tizen:style=Regular"; \
+ text_class: "tizen"; \
+ } \
+ } \
+ description { \
+ state: "hide" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ }
+
+#define PROG_KEYPAD_BUTTON(keypad_button) \
+ program { \
+ name: "down_"keypad_button; \
+ signal: "mouse,down,*"; \
+ source: keypad_button; \
+ script { \
+ set_state(PART:keypad_button"_feedback", "pressed", 0.0); \
+ emit("keypad_down", keypad_button); \
+ } \
+ } \
+ program { \
+ name: "multi_down_"keypad_button; \
+ signal: "multi_down_"keypad_button; \
+ source: keypad_button; \
+ script { \
+ set_state(PART:keypad_button"_feedback", "pressed", 0.0); \
+ emit("keypad_down", keypad_button); \
+ } \
+ } \
+ program { \
+ name: "ani_"keypad_button; \
+ signal: "ani"; \
+ source: keypad_button; \
+ action: STATE_SET "default" 0.0; \
+ transition: SINUSOIDAL 0.05; \
+ target: keypad_button"_feedback"; \
+ } \
+ program { \
+ name: "up_"keypad_button; \
+ signal: "mouse,up,1"; \
+ source: keypad_button; \
+ script { \
+ emit("keypad_down_up", keypad_button); \
+ emit("ani", keypad_button); \
+ } \
+ } \
+ program { \
+ name: "multi_up_"keypad_button; \
+ signal: "multi_up_"keypad_button; \
+ source: keypad_button; \
+ script { \
+ emit("keypad_down_up", keypad_button); \
+ emit("ani", keypad_button); \
+ } \
+ } \
+ program { \
+ name: "clicked_"keypad_button; \
+ signal: "mouse,clicked,1"; \
+ source: keypad_button; \
+ script { \
+ emit("keypad_down_clicked", keypad_button); \
+ } \
+ } \
+ program { \
+ name: "multi_clicked_"keypad_button; \
+ signal: "multi_clicked_"keypad_button; \
+ source: keypad_button; \
+ script { \
+ emit("keypad_down_clicked", keypad_button); \
+ } \
+ } \
+
+#define PANEL_PART(idx) \
+ part { \
+ name: "panel"idx; \
+ type: TEXT; \
+ scale: 1; \
+ effect: "SHADOW"; \
+ description { \
+ state: "default" 0.0; \
+ fixed: 1 1; \
+ rel1 { relative: NUMBER_KEYPAD_REL_W(NUMBER_PANEL_PADDING_LEFT+(idx*(NUMBER_PANEL_WIDTH+NUMBER_PANEL_PADDING))) NUMBER_KEYPAD_REL_H(INDICATOR_HEIGHT+HELP_TEXT_AREA_HEIGHT-166+35); to: "bg"; } \
+ rel2 { relative: NUMBER_KEYPAD_REL_W(NUMBER_PANEL_PADDING_LEFT+(idx*(NUMBER_PANEL_WIDTH+NUMBER_PANEL_PADDING))+NUMBER_PANEL_WIDTH) NUMBER_KEYPAD_REL_H(INDICATOR_HEIGHT+HELP_TEXT_AREA_HEIGHT-166+35+NUMBER_PANEL_HEIGHT); to: "bg"; } \
+ text { \
+ size: 90; \
+ font: "Tizen:style=SNum-3L"; \
+ text_class: "tizen"; \
+ } \
+ visible: 0; \
+ } \
+ description { \
+ state: "show" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { \
+ name: "dot"idx; \
+ type: IMAGE; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ fixed: 1 1; \
+ min: NUMBER_PANEL_DOT_WIDTH NUMBER_PANEL_DOT_HEIGHT; \
+ max: NUMBER_PANEL_DOT_WIDTH NUMBER_PANEL_DOT_HEIGHT; \
+ rel1 { to: "panel"idx; } \
+ rel2 { to: "panel"idx; } \
+ image { \
+ normal: "ls_pin_dot.png"; \
+ } \
+ visible: 0; \
+ } \
+ description { \
+ state: "show" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+
+#define INPUT_PROGRAM(idx) \
+ program { \
+ name: "input_show"idx; \
+ action: STATE_SET "show" 0.0; \
+ source: "keyboard"; \
+ signal: "input_show"idx; \
+ target: "panel"idx; \
+ } \
+ program { \
+ name: "input_hide"idx; \
+ action: STATE_SET "default" 0.0; \
+ source: "keyboard"; \
+ signal: "input_hide"idx; \
+ target: "panel"idx; \
+ } \
+ program { \
+ name: "dot_show"idx; \
+ action: STATE_SET "show" 0.0; \
+ source: "keyboard"; \
+ signal: "dot_show"idx; \
+ target: "dot"idx; \
+ after: "input_hide"idx; \
+ } \
+ program { \
+ name: "dot_hide"idx; \
+ action: STATE_SET "default" 0.0; \
+ source: "keyboard"; \
+ signal: "dot_hide"idx; \
+ target: "dot"idx; \
+ after: "input_hide"idx; \
+ } \
+
+
+#define PART_DBG(part_name, R, G, B, A) \
+ part { \
+ name: part_name",dbg"; \
+ type: RECT; \
+ mouse_events: 1; \
+ repeat_events: 1; \
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: 0.0 0.0; to: part_name; } \
+ rel2 { relative: 1.0 1.0; to: part_name; } \
+ color: R G B A; \
+ } \
+ } \
+
+styles {
+ style {
+ name: "style_simple_title";
+ base: "font=Tizen:style=Regular color=#ffffffff color_class=ATO030 font_size=40 wrap=mixed align=center style=shadow shadow_color=#000000bf text_class=ATO030";
+ tag: "br" "\n";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
+ }
+}
+
+ group {
+ name: "lock-simple-password";
+ images {
+ image: "ls_pin_dot.png" COMP;
+ image: "ls_back_02_nor.png" COMP;
+ image: "ls_back_02_press.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: "title";
+ type: TEXTBLOCK;
+ scale: 1;
+ effect: "SHADOW";
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (INDICATOR_HEIGHT+HELP_TEXT_AREA_HEIGHT-166-25-54)/WIN_HEIGHT; to: "bg"; }
+ rel2 { relative: 1.0 (INDICATOR_HEIGHT+HELP_TEXT_AREA_HEIGHT-166-25)/WIN_HEIGHT; to: "bg"; }
+ fixed: 1 1;
+ color_class: "ATO033";
+ text {
+ style: "style_simple_title";
+ min: 0 1;
+ align: 0.5 0.5;
+ text: "Enter PIN";
+ }
+ }
+ description {
+ state: "show_title" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "hide_title" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ PANEL_PART(0)
+ PANEL_PART(1)
+ PANEL_PART(2)
+ PANEL_PART(3)
+
+ PART_KEYPAD_BUTTON_NUMBER("1", 0, 0, "1", "");
+ PART_KEYPAD_BUTTON_NUMBER("2", NUMBER_KEYPAD_BUTTON_WIDTH, 0, "2", "ABC");
+ PART_KEYPAD_BUTTON_NUMBER("3", 2*(NUMBER_KEYPAD_BUTTON_WIDTH), 0, "3", "DEF");
+ PART_KEYPAD_BUTTON_NUMBER("4", 0, NUMBER_KEYPAD_BUTTON_HEIGHT, "4", "GHI");
+ PART_KEYPAD_BUTTON_NUMBER("5", NUMBER_KEYPAD_BUTTON_WIDTH, NUMBER_KEYPAD_BUTTON_HEIGHT, "5", "JKL");
+ PART_KEYPAD_BUTTON_NUMBER("6", 2*(NUMBER_KEYPAD_BUTTON_WIDTH), NUMBER_KEYPAD_BUTTON_HEIGHT, "6", "MNO");
+ PART_KEYPAD_BUTTON_NUMBER("7", 0, 2*(NUMBER_KEYPAD_BUTTON_HEIGHT), "7", "PQRS");
+ PART_KEYPAD_BUTTON_NUMBER("8", NUMBER_KEYPAD_BUTTON_WIDTH, 2*(NUMBER_KEYPAD_BUTTON_HEIGHT), "8", "TUV");
+ PART_KEYPAD_BUTTON_NUMBER("9", 2*(NUMBER_KEYPAD_BUTTON_WIDTH), 2*(NUMBER_KEYPAD_BUTTON_HEIGHT), "9", "WXYZ");
+ PART_KEYPAD_BUTTON_NUMBER("0", NUMBER_KEYPAD_BUTTON_WIDTH, 3*(NUMBER_KEYPAD_BUTTON_HEIGHT), "0", "");
+
+ part {
+ name: "Backspace";
+ type: IMAGE;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: NUMBER_KEYPAD_REL_W(2*(NUMBER_KEYPAD_BUTTON_WIDTH)) NUMBER_KEYPAD_REL_H(WIN_HEIGHT-CONTROL_AREA_HEIGHT-KEYPAD_AREA_HEIGHT+3*(NUMBER_KEYPAD_BUTTON_HEIGHT)); to: "bg"; }
+ rel2 { relative: NUMBER_KEYPAD_REL_W(2*(NUMBER_KEYPAD_BUTTON_WIDTH)+NUMBER_KEYPAD_BUTTON_WIDTH) NUMBER_KEYPAD_REL_H(WIN_HEIGHT-CONTROL_AREA_HEIGHT-KEYPAD_AREA_HEIGHT+3*(NUMBER_KEYPAD_BUTTON_HEIGHT)+NUMBER_KEYPAD_BUTTON_HEIGHT); to: "bg"; }
+ fixed: 1 1;
+ image.normal: "ls_back_02_nor.png";
+ align: 0.5 0.5;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "ls_back_02_press.png";
+ }
+ }
+ part {
+ name: "Backspace_feedback";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { to: "Backspace"; }
+ rel2 { to: "Backspace"; }
+ visible: 0;
+ color: BUTTON_PRESSED_COLOR;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ /* Bottom */
+ part {
+ name: "control_panel";
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (WIN_HEIGHT-CONTROL_AREA_HEIGHT)/WIN_HEIGHT; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ }
+ }
+ }
+ programs {
+ program {
+ name: "init.layout";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"0_number", "center", 0.0);
+ }
+ }
+
+ INPUT_PROGRAM(0)
+ INPUT_PROGRAM(1)
+ INPUT_PROGRAM(2)
+ INPUT_PROGRAM(3)
+
+ PROG_KEYPAD_BUTTON("1")
+ PROG_KEYPAD_BUTTON("2")
+ PROG_KEYPAD_BUTTON("3")
+ PROG_KEYPAD_BUTTON("4")
+ PROG_KEYPAD_BUTTON("5")
+ PROG_KEYPAD_BUTTON("6")
+ PROG_KEYPAD_BUTTON("7")
+ PROG_KEYPAD_BUTTON("8")
+ PROG_KEYPAD_BUTTON("9")
+ PROG_KEYPAD_BUTTON("0")
+ PROG_KEYPAD_BUTTON("Backspace")
+ }
+ program {
+ name: "show.title";
+ signal: "show_title";
+ action: STATE_SET "show_title" 0.0;
+ source: "title";
+ target: "title";
+ }
+ program {
+ name: "hide.title";
+ signal: "hide_title";
+ action: STATE_SET "hide_title" 0.0;
+ source: "title";
+ target: "title";
+ }
+ }
+