summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiWoong Kim <giwoong.kim@samsung.com>2014-04-25 19:47:25 +0900
committerGiWoong Kim <giwoong.kim@samsung.com>2014-05-08 16:53:41 +0900
commit25ef720242df3db56ff6d6ae7688ba1e83bc20cb (patch)
treebdfa6d5bde598d15007175548029a5939df7ca2f
parentef654b444890f859461b23a797ae9d66458d3072 (diff)
downloadqemu-25ef720242df3db56ff6d6ae7688ba1e83bc20cb.tar.gz
qemu-25ef720242df3db56ff6d6ae7688ba1e83bc20cb.tar.bz2
qemu-25ef720242df3db56ff6d6ae7688ba1e83bc20cb.zip
skin: add wearable skins
Change-Id: I236ecd160056355a1f3491c5eb564ebde8a4afd5 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
-rw-r--r--tizen/src/Makefile2
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default.dbi90
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_0.pngbin0 -> 16167 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_0_p.pngbin0 -> 15349 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_180.pngbin0 -> 15582 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_180_p.pngbin0 -> 15360 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90.pngbin0 -> 16102 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90_p.pngbin0 -> 15978 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90.pngbin0 -> 16094 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90_p.pngbin0 -> 15966 bytes
-rw-r--r--tizen/src/skin/client/skins/wearable-320x320-1btn/info.ini4
-rw-r--r--tizen/src/skin/client/skins/wearable-general-1btn/default.dbi45
-rw-r--r--tizen/src/skin/client/skins/wearable-general-1btn/info.ini4
13 files changed, 143 insertions, 2 deletions
diff --git a/tizen/src/Makefile b/tizen/src/Makefile
index 5d5824f9ca..fdc3c1553c 100644
--- a/tizen/src/Makefile
+++ b/tizen/src/Makefile
@@ -208,8 +208,6 @@ install_dibs: all_dibs
# resources and jar for skin
cp -pP skin/client/emulator-skin.jar $(DIBS_COMMON_DIR)/bin
#cp -pPR skin/client/skins $(DIBS_COMMON_DIR)
- #rm -rf $(DIBS_COMMON_DIR)/skins/mobile-480x800-3btn/
- #rm -rf $(DIBS_COMMON_DIR)/skins/mobile-720x1280-3btn/
ifndef CONFIG_USE_SHM
cp -pP skin/client/resource/images/blank-guide.png $(DIBS_COMMON_DIR)/images
endif
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default.dbi b/tizen/src/skin/client/skins/wearable-320x320-1btn/default.dbi
new file mode 100644
index 0000000000..90716520a0
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default.dbi
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EmulatorUI xmlns="http://www.tizen.org/emulator/skin/dbi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <dbi_version>2.2</dbi_version>
+ <rotations>
+ <rotation name="Portrait">
+ <display id="0">
+ <region left="26" top="60" width="320" height="320"/>
+ </display>
+ <imageList>
+ <mainImage>default_0.png</mainImage>
+ <keyPressedImage>default_0_p.png</keyPressedImage>
+ </imageList>
+ <keyMapList>
+ <keyMap>
+ <region left="372" top="116" width="12" height="80" update="true"/>
+ <eventInfo>
+ <keyCode>116</keyCode>
+ <keyName>Power</keyName>
+ </eventInfo>
+ <tooltip>Power</tooltip>
+ </keyMap>
+ </keyMapList>
+ </rotation>
+ <rotation name="Landscape">
+ <display id="0">
+ <region left="60" top="38" width="320" height="320"/>
+ </display>
+ <imageList>
+ <mainImage>default_L90.png</mainImage>
+ <keyPressedImage>default_L90_p.png</keyPressedImage>
+ </imageList>
+ <keyMapList>
+ <keyMap>
+ <region left="116" top="0" width="80" height="12" update="true"/>
+ <eventInfo>
+ <keyCode>116</keyCode>
+ <keyName>Power</keyName>
+ </eventInfo>
+ <tooltip>Power</tooltip>
+ </keyMap>
+ </keyMapList>
+ </rotation>
+ <rotation name="Reverse Portrait">
+ <display id="0">
+ <region left="38" top="60" width="320" height="320"/>
+ </display>
+ <imageList>
+ <mainImage>default_180.png</mainImage>
+ <keyPressedImage>default_180_p.png</keyPressedImage>
+ </imageList>
+ <keyMapList>
+ <keyMap>
+ <region left="0" top="244" width="12" height="80" update="true"/>
+ <eventInfo>
+ <keyCode>116</keyCode>
+ <keyName>Power</keyName>
+ </eventInfo>
+ <tooltip>Power</tooltip>
+ </keyMap>
+ </keyMapList>
+ </rotation>
+ <rotation name="Reverse Landscape">
+ <display id="0">
+ <region left="60" top="26" width="320" height="320"/>
+ </display>
+ <imageList>
+ <mainImage>default_R90.png</mainImage>
+ <keyPressedImage>default_R90_p.png</keyPressedImage>
+ </imageList>
+ <keyMapList>
+ <keyMap>
+ <region left="244" top="372" width="80" height="12" update="true"/>
+ <eventInfo>
+ <keyCode>116</keyCode>
+ <keyName>Power</keyName>
+ </eventInfo>
+ <tooltip>Power</tooltip>
+ </keyMap>
+ </keyMapList>
+ </rotation>
+ </rotations>
+ <hover>
+ <color B="255" G="255" R="255" />
+ </hover>
+ <popupMenu>
+ <scaleItem visible="false" />
+ <keywindowItem visible="false" />
+ <hostKeyboardItem visible="false" />
+ </popupMenu>
+</EmulatorUI>
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_0.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_0.png
new file mode 100644
index 0000000000..cd23252ee7
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_0.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_0_p.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_0_p.png
new file mode 100644
index 0000000000..4cfaf7874f
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_0_p.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_180.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_180.png
new file mode 100644
index 0000000000..c641763f50
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_180.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_180_p.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_180_p.png
new file mode 100644
index 0000000000..871720d0f3
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_180_p.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90.png
new file mode 100644
index 0000000000..e7f089b7a7
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90_p.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90_p.png
new file mode 100644
index 0000000000..4d00686f18
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_L90_p.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90.png
new file mode 100644
index 0000000000..349d8adb91
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90_p.png b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90_p.png
new file mode 100644
index 0000000000..c5b5e6d422
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/default_R90_p.png
Binary files differ
diff --git a/tizen/src/skin/client/skins/wearable-320x320-1btn/info.ini b/tizen/src/skin/client/skins/wearable-320x320-1btn/info.ini
new file mode 100644
index 0000000000..91e5967ba4
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-320x320-1btn/info.ini
@@ -0,0 +1,4 @@
+skin.name=Wearable 320x320
+resolution.width=320
+resolution.height=320
+manager.priority=1
diff --git a/tizen/src/skin/client/skins/wearable-general-1btn/default.dbi b/tizen/src/skin/client/skins/wearable-general-1btn/default.dbi
new file mode 100644
index 0000000000..c8aa1b1e58
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-general-1btn/default.dbi
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EmulatorUI xmlns="http://www.tizen.org/emulator/skin/dbi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <dbi_version>2.2</dbi_version>
+ <rotations>
+ <rotation name="Portrait">
+ <display id="0">
+ </display>
+ <keyMapList>
+ <keyMap>
+ <eventInfo>
+ <keyCode>116</keyCode>
+ <keyName>Power</keyName>
+ </eventInfo>
+ <tooltip>Power</tooltip>
+ </keyMap>
+ </keyMapList>
+ </rotation>
+ <rotation name="Landscape">
+ <display id="0">
+ </display>
+ </rotation>
+ <rotation name="Reverse Portrait">
+ <display id="0">
+ </display>
+ </rotation>
+ <rotation name="Reverse Landscape">
+ <display id="0">
+ </display>
+ </rotation>
+ </rotations>
+ <hover>
+ <color B="255" G="255" R="255" />
+ </hover>
+ <popupMenu>
+ <topmostItem visible="true" />
+ <rotateItem visible="true" />
+ <scaleItem visible="false" />
+ <keywindowItem visible="true" />
+ <hostKeyboardItem visible="false" />
+ <shellItem visible="true" />
+ </popupMenu>
+ <option>
+ <blankGuide visible="true" />
+ </option>
+</EmulatorUI>
diff --git a/tizen/src/skin/client/skins/wearable-general-1btn/info.ini b/tizen/src/skin/client/skins/wearable-general-1btn/info.ini
new file mode 100644
index 0000000000..5b2b2a9164
--- /dev/null
+++ b/tizen/src/skin/client/skins/wearable-general-1btn/info.ini
@@ -0,0 +1,4 @@
+skin.name=General purpose wearable
+resolution.width=320
+resolution.height=320
+manager.priority=2