diff options
author | Orlin Georgiev <orlin@google.com> | 2021-06-16 15:35:25 +0200 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-06-29 12:12:33 +0000 |
commit | ed71581334ce953ab2b8ee42f5f63ef74a1be8e6 (patch) | |
tree | e4601d8ca549cc2fd1ebb97f50f692473bcc8420 /artwork | |
parent | 9a63bad40325092cf86d8c5fa0bb12d4e85d58d9 (diff) | |
download | idea-ed71581334ce953ab2b8ee42f5f63ef74a1be8e6.tar.gz |
Add 4K resolution to TV emulator
4K is only supported on images from S (API 31) and above.
Bug: 189182666
Test: in AVD manager, under TV category, create a 4K system image
Change-Id: I4470022a35f614cb1778ec186d3fdbc21f09485a
Diffstat (limited to 'artwork')
-rw-r--r-- | artwork/resources/device-art-resources/device-art.xml | 4 | ||||
-rw-r--r-- | artwork/resources/device-art-resources/tv_4k/back.png | bin | 0 -> 190558 bytes | |||
-rw-r--r-- | artwork/resources/device-art-resources/tv_4k/fore.png | bin | 0 -> 399828 bytes | |||
-rw-r--r-- | artwork/resources/device-art-resources/tv_4k/layout | 31 | ||||
-rw-r--r-- | artwork/resources/device-art-resources/tv_4k/shadow.png | bin | 0 -> 61819 bytes |
5 files changed, 35 insertions, 0 deletions
diff --git a/artwork/resources/device-art-resources/device-art.xml b/artwork/resources/device-art-resources/device-art.xml index e2d983425dd..703c27effc0 100644 --- a/artwork/resources/device-art-resources/device-art.xml +++ b/artwork/resources/device-art-resources/device-art.xml @@ -74,6 +74,10 @@ <orientation name="land" size="2090,1255" screenPos="85,59" screenSize="1920,1080" shadow="shadow.png" back="back.png" lights="fore.png"/> </device> + <device id="tv_4k" name="Android TV 4K"> + <orientation name="land" size="4180,2510" screenPos="170,118" screenSize="3840,2160" shadow="shadow.png" back="back.png" lights="fore.png"/> + </device> + <device id="tv_720p" name="Android TV 720p"> <orientation name="land" size="1394,837" screenPos="57,39" screenSize="1280,720" shadow="shadow.png" back="back.png" lights="fore.png"/> </device> diff --git a/artwork/resources/device-art-resources/tv_4k/back.png b/artwork/resources/device-art-resources/tv_4k/back.png Binary files differnew file mode 100644 index 00000000000..4271827f1c0 --- /dev/null +++ b/artwork/resources/device-art-resources/tv_4k/back.png diff --git a/artwork/resources/device-art-resources/tv_4k/fore.png b/artwork/resources/device-art-resources/tv_4k/fore.png Binary files differnew file mode 100644 index 00000000000..0b593126858 --- /dev/null +++ b/artwork/resources/device-art-resources/tv_4k/fore.png diff --git a/artwork/resources/device-art-resources/tv_4k/layout b/artwork/resources/device-art-resources/tv_4k/layout new file mode 100644 index 00000000000..81826fd37ec --- /dev/null +++ b/artwork/resources/device-art-resources/tv_4k/layout @@ -0,0 +1,31 @@ +parts { + device { + display { + width 3840 + height 2160 + x 0 + y 0 + } + } + landscape { + background { + image back.png + } + } +} +layouts { + landscape { + width 4180 + height 2510 + part1 { + name landscape + x 0 + y 0 + } + part2 { + name device + x 170 + y 118 + } + } +} diff --git a/artwork/resources/device-art-resources/tv_4k/shadow.png b/artwork/resources/device-art-resources/tv_4k/shadow.png Binary files differnew file mode 100644 index 00000000000..644c9cb38cb --- /dev/null +++ b/artwork/resources/device-art-resources/tv_4k/shadow.png |