summaryrefslogtreecommitdiff
path: root/artwork/resources
diff options
context:
space:
mode:
authorMohammad Saboorian <msab@google.com>2021-11-30 17:25:58 +0000
committerDiego Perez <diegoperez@google.com>2022-02-08 14:16:33 +0000
commitc878d237d44a0b701c15c087140af22d7ab7cc4f (patch)
tree12df14781e402e5974d2fc3fd31f1021ad65516c /artwork/resources
parentcc9fa844ba8201f31b5848596b98888a281ccab2 (diff)
downloadidea-c878d237d44a0b701c15c087140af22d7ab7cc4f.tar.gz
Add Wear OS Rectangular skin
Bug: 205970655 Test: SkinDefinitionTest Change-Id: Id38c9e44cf9016c168d0fef7b7a77eb0955f971a
Diffstat (limited to 'artwork/resources')
-rw-r--r--artwork/resources/device-art-resources/wearos_rect/device_bezel.pngbin0 -> 13019 bytes
-rw-r--r--artwork/resources/device-art-resources/wearos_rect/hardware.ini3
-rw-r--r--artwork/resources/device-art-resources/wearos_rect/layout46
3 files changed, 49 insertions, 0 deletions
diff --git a/artwork/resources/device-art-resources/wearos_rect/device_bezel.png b/artwork/resources/device-art-resources/wearos_rect/device_bezel.png
new file mode 100644
index 00000000000..25b2a87007e
--- /dev/null
+++ b/artwork/resources/device-art-resources/wearos_rect/device_bezel.png
Binary files differ
diff --git a/artwork/resources/device-art-resources/wearos_rect/hardware.ini b/artwork/resources/device-art-resources/wearos_rect/hardware.ini
new file mode 100644
index 00000000000..3f8ab78b83a
--- /dev/null
+++ b/artwork/resources/device-art-resources/wearos_rect/hardware.ini
@@ -0,0 +1,3 @@
+# skin-specific hardware values
+hw.rotaryInput=yes
+hw.sensors.heart_rate=yes
diff --git a/artwork/resources/device-art-resources/wearos_rect/layout b/artwork/resources/device-art-resources/wearos_rect/layout
new file mode 100644
index 00000000000..fce46f31892
--- /dev/null
+++ b/artwork/resources/device-art-resources/wearos_rect/layout
@@ -0,0 +1,46 @@
+parts {
+ portrait {
+ background {
+ image device_bezel.png
+ }
+ }
+
+ device {
+ display {
+ width 402
+ height 476
+ x 0
+ y 0
+ }
+ }
+}
+
+layouts {
+ portrait {
+ width 466
+ height 540
+ color 0x1f1f1f
+ event EV_SW:0:1
+
+ part1 {
+ name portrait
+ x 16
+ y 16
+ }
+
+ part2 {
+ name device
+ x 32
+ y 32
+ }
+ }
+}
+
+keyboard {
+ charmap qwerty2
+}
+
+network {
+ speed full
+ delay none
+}