Skip to content

Commit e254f20

Browse files
committed
added a few device art resources
1 parent 49541d8 commit e254f20

20 files changed

+385
-0
lines changed
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (C) 2013 The Android Open Source Project
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<devices>
17+
18+
<device id="pixel_2" name="Pixel 2">
19+
<orientation name="port" size="1370,2534" screenPos="140,280" screenSize="1080,1920" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
20+
<orientation name="land" size="2596,1258" screenPos="338,68" screenSize="1920,1080" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
21+
</device>
22+
23+
<device id="pixel_2_xl" name="Pixel 2 XL">
24+
<orientation name="port" size="1858,3456" screenPos="201,245" screenSize="1440,2880" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
25+
<orientation name="land" size="3477,1754" screenPos="305,108" screenSize="2880,1440" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
26+
</device>
27+
28+
<device id="pixel" name="Pixel">
29+
<orientation name="port" size="1370,2534" screenPos="139,285" screenSize="1080,1920" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
30+
<orientation name="land" size="2596,1258" screenPos="338,78" screenSize="1920,1080" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
31+
</device>
32+
33+
<device id="pixel_silver" name="Pixel Silver">
34+
<orientation name="port" size="1370,2534" screenPos="139,285" screenSize="1080,1920" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
35+
<orientation name="land" size="2596,1258" screenPos="338,78" screenSize="1920,1080" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
36+
</device>
37+
38+
<device id="pixel_xl" name="Pixel XL">
39+
<orientation name="port" size="1840,3297" screenPos="200,325" screenSize="1440,2560" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
40+
<orientation name="land" size="3427,1654" screenPos="393,92" screenSize="2560,1440" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
41+
</device>
42+
43+
<device id="pixel_xl_silver" name="Pixel XL Silver">
44+
<orientation name="port" size="1840,3297" screenPos="200,325" screenSize="1440,2560" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
45+
<orientation name="land" size="3427,1654" screenPos="393,92" screenSize="2560,1440" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
46+
</device>
47+
48+
<device id="pixel_c" name="Pixel C">
49+
<orientation name="port" size="2307,2971" screenPos="259,181" screenSize="1800,2560" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
50+
<orientation name="land" size="3096,2215" screenPos="269,188" screenSize="2560,1800" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
51+
</device>
52+
53+
<device id="nexus_5x" name="Nexus 5X">
54+
<orientation name="port" size="1370,2446" screenPos="147,233" screenSize="1080,1920" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
55+
<orientation name="land" size="2497,1234" screenPos="278,63" screenSize="1920,1080" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
56+
</device>
57+
58+
<device id="nexus_6p" name="Nexus 6P">
59+
<orientation name="port" size="1840,3251" screenPos="195,329" screenSize="1440,2560" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
60+
<orientation name="land" size="3427,1620" screenPos="442,71" screenSize="2560,1440" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
61+
</device>
62+
63+
<device id="watch_square" name="Watch Square">
64+
<orientation name="port" size="474,403" screenPos="100,38" screenSize="280,280" shadow="shadow.png" back="back.png" lights="fore.png" mask="mask.png"/>
65+
<orientation name="land" size="474,403" screenPos="100,38" screenSize="280,280" shadow="shadow.png" back="back.png" lights="fore.png" mask="mask.png"/>
66+
</device>
67+
68+
<device id="watch_round" name="Watch Round">
69+
<orientation name="port" size="370,424" screenPos="25,26" screenSize="320,320" shadow="shadow.png" back="back.png" lights="fore.png" mask="mask.png"/>
70+
<orientation name="land" size="370,424" screenPos="25,26" screenSize="320,320" shadow="shadow.png" back="back.png" lights="fore.png" mask="mask.png"/>
71+
</device>
72+
73+
<device id="tv_1080p" name="Android TV 1080p">
74+
<orientation name="land" size="2090,1255" screenPos="85,59" screenSize="1920,1080" shadow="shadow.png" back="back.png" lights="fore.png"/>
75+
</device>
76+
77+
<device id="tv_4k" name="Android TV 4K">
78+
<orientation name="land" size="4180,2510" screenPos="170,118" screenSize="3840,2160" shadow="shadow.png" back="back.png" lights="fore.png"/>
79+
</device>
80+
81+
<device id="tv_720p" name="Android TV 720p">
82+
<orientation name="land" size="1394,837" screenPos="57,39" screenSize="1280,720" shadow="shadow.png" back="back.png" lights="fore.png"/>
83+
</device>
84+
85+
<device id="nexus_9" name="Nexus 9">
86+
<orientation name="port" size="1978,2631" screenPos="219,264" screenSize="1536,2048" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
87+
<orientation name="land" size="2854,1785" screenPos="401,100" screenSize="2048,1536" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
88+
</device>
89+
90+
<device id="nexus_6" name="Nexus 6">
91+
<orientation name="port" size="1896,3054" screenPos="229,239" screenSize="1440,2560" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
92+
<orientation name="land" size="3142,1639" screenPos="318,76" screenSize="2560,1440" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
93+
</device>
94+
95+
<device id="nexus_5" name="Nexus 5">
96+
<orientation name="port" size="1370,2405" screenPos="144,195" screenSize="1080,1920" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
97+
<orientation name="land" size="2497,1235" screenPos="261,65" screenSize="1920,1080" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
98+
</device>
99+
100+
<device id="nexus_4" name="Nexus 4">
101+
<orientation name="port" size="958,1678" screenPos="94,187" screenSize="768,1280" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
102+
<orientation name="land" size="1799,885" screenPos="257,45" screenSize="1280,768" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
103+
</device>
104+
105+
<device id="nexus_7_2013" name="Nexus 7">
106+
<orientation name="port" size="1596,2571" screenPos="195,301" screenSize="1200,1920" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
107+
<orientation name="land" size="2772,1479" screenPos="423,120" screenSize="1920,1200" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
108+
</device>
109+
110+
<device id="nexus_7" name="Nexus 7 (2012)">
111+
<orientation name="port" size="1094,1689" screenPos="142,190" screenSize="800,1280" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
112+
<orientation name="land" size="1803,1045" screenPos="260,105" screenSize="1280,800" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
113+
</device>
114+
115+
<device id="nexus_10" name="Nexus 10">
116+
<orientation name="port" size="2330,3136" screenPos="366,266" screenSize="1600,2560" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
117+
<orientation name="land" size="3340,2176" screenPos="388,266" screenSize="2560,1600" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
118+
</device>
119+
120+
<device id="xoom" name="Motorola XOOM">
121+
<orientation name="port" size="1170,1471" screenPos="185,83" screenSize="800,1280" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
122+
<orientation name="land" size="1569,998" screenPos="152,89" screenSize="1280,800" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
123+
</device>
124+
125+
<device id="galaxy_nexus" name="Galaxy Nexus">
126+
<orientation name="port" size="1101,1709" screenPos="192,213" screenSize="720,1280" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
127+
<orientation name="land" size="1847,886" screenPos="304,68" screenSize="1280,720" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
128+
</device>
129+
130+
<device id="nexus_s" name="Nexus S">
131+
<orientation name="port" size="719,1139" screenPos="119,160" screenSize="480,800" shadow="port_shadow.webp" back="port_back.webp" lights="port_fore.webp"/>
132+
<orientation name="land" size="1210,586" screenPos="208,44" screenSize="800,480" shadow="land_shadow.webp" back="land_back.webp" lights="land_fore.webp"/>
133+
</device>
134+
135+
<device id="nexus_one" name="Nexus One">
136+
<orientation name="port" size="732,1178" screenPos="125,131" screenSize="480,800" shadow="port_shadow.webp" back="port_back.webp"/>
137+
<orientation name="land" size="1300,612" screenPos="200,52" screenSize="800,480" shadow="land_shadow.webp" back="land_back.webp"/>
138+
</device>
139+
140+
<device id="phone" name="Generic Phone">
141+
<orientation name="port" size="568,256" screenPos="113,93" screenSize="343,46" shadow="phone_shadow_simple_port.9.png" back="phone_back_simple_port.9.png"/>
142+
<orientation name="land" size="607,350" screenPos="141,36" screenSize="324,255" shadow="phone_shadow_simple_land.9.png" back="phone_back_simple_land.9.png"/>
143+
</device>
144+
145+
<device id="tablet" name="Generic Tablet">
146+
<orientation name="port" size="1310,313" screenPos="256,111" screenSize="802,55" shadow="tablet_shadow_simple_port.9.png" back="tablet_back_simple.9.png"/>
147+
<orientation name="land" size="1310,313" screenPos="256,111" screenSize="802,55" shadow="tablet_shadow_simple_land.9.png" back="tablet_back_simple.9.png"/>
148+
</device>
149+
150+
<device id="automotive_1024" name="Automotive">
151+
<orientation name="land" size="1461,1481" screenPos="218,124" screenSize="1024,768" back="back.png" lights="fore.png"/>
152+
</device>
153+
154+
</devices>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
parts {
2+
device {
3+
display {
4+
width 1080
5+
height 2160
6+
x 0
7+
y 0
8+
}
9+
}
10+
portrait {
11+
background {
12+
image port_back.webp
13+
}
14+
foreground {
15+
mask round_corners.webp
16+
}
17+
onion {
18+
image port_fore.webp
19+
}
20+
}
21+
}
22+
layouts {
23+
portrait {
24+
width 1194
25+
height 2532
26+
event EV_SW:0:1
27+
part1 {
28+
name portrait
29+
x 0
30+
y 0
31+
}
32+
part2 {
33+
name device
34+
x 54
35+
y 196
36+
}
37+
}
38+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
parts {
2+
device {
3+
display {
4+
width 1080
5+
height 2400
6+
x 0
7+
y 0
8+
}
9+
}
10+
portrait {
11+
background {
12+
image back.webp
13+
}
14+
foreground {
15+
mask mask.webp
16+
cutout hole
17+
}
18+
}
19+
}
20+
layouts {
21+
portrait {
22+
width 1209
23+
height 2553
24+
event EV_SW:0:1
25+
part1 {
26+
name portrait
27+
x 0
28+
y 0
29+
}
30+
part2 {
31+
name device
32+
x 60
33+
y 69
34+
}
35+
}
36+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
parts {
2+
device {
3+
display {
4+
width 1800
5+
height 2560
6+
x 0
7+
y 0
8+
}
9+
}
10+
portrait {
11+
background {
12+
image port_back.webp
13+
}
14+
onion {
15+
image port_fore.webp
16+
}
17+
}
18+
landscape {
19+
background {
20+
image land_back.webp
21+
}
22+
onion {
23+
image land_fore.webp
24+
}
25+
}
26+
}
27+
layouts {
28+
portrait {
29+
width 2307
30+
height 2971
31+
event EV_SW:0:1
32+
part1 {
33+
name portrait
34+
x 0
35+
y 0
36+
}
37+
part2 {
38+
name device
39+
x 259
40+
y 181
41+
}
42+
}
43+
landscape {
44+
width 3096
45+
height 2215
46+
event EV_SW:0:0
47+
part1 {
48+
name landscape
49+
x 0
50+
y 0
51+
}
52+
part2 {
53+
name device
54+
x 269
55+
y 1988
56+
rotation 3
57+
}
58+
}
59+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# skin-specific hardware values
2+
hw.rotaryInput=yes
3+
hw.sensors.heart_rate=yes
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
parts {
2+
portrait {
3+
background {
4+
image device_bezel.png
5+
}
6+
}
7+
8+
device {
9+
display {
10+
width 384
11+
height 384
12+
x 0
13+
y 0
14+
}
15+
}
16+
}
17+
18+
layouts {
19+
portrait {
20+
width 456
21+
height 456
22+
color 0x1f1f1f
23+
event EV_SW:0:1
24+
25+
part1 {
26+
name portrait
27+
x 0
28+
y 0
29+
}
30+
31+
part2 {
32+
name device
33+
x 36
34+
y 36
35+
}
36+
}
37+
}
38+
39+
keyboard {
40+
charmap qwerty2
41+
}
42+
43+
network {
44+
speed full
45+
delay none
46+
}
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# skin-specific hardware values
2+
hw.rotaryInput=yes
3+
hw.sensors.heart_rate=yes
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
parts {
2+
portrait {
3+
background {
4+
image device_bezel.png
5+
}
6+
}
7+
8+
device {
9+
display {
10+
width 360
11+
height 360
12+
x 0
13+
y 0
14+
}
15+
}
16+
}
17+
18+
layouts {
19+
portrait {
20+
width 432
21+
height 432
22+
color 0x1f1f1f
23+
event EV_SW:0:1
24+
25+
part1 {
26+
name portrait
27+
x 18
28+
y 18
29+
}
30+
31+
part2 {
32+
name device
33+
x 36
34+
y 36
35+
}
36+
}
37+
}
38+
39+
keyboard {
40+
charmap qwerty2
41+
}
42+
43+
network {
44+
speed full
45+
delay none
46+
}

0 commit comments

Comments
 (0)