summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-12-07 00:04:00 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2023-12-07 00:04:00 +0000
commit14503790709594f72cd320449a05ed06877c1228 (patch)
tree2abece77e59ab936eb41fa0fcf5bb4db174f007e
parent255db26fe2160d926a3ea8287e3c457f06f0f90a (diff)
parent0a39f24be91480e154a3c06538c7881b035e69fe (diff)
downloadcar-14503790709594f72cd320449a05ed06877c1228.tar.gz
Merge "Add basic skins for 3 presets" into main
-rw-r--r--emulator/skins/automotive_landscape/layout38
-rw-r--r--emulator/skins/automotive_portrait/layout35
-rw-r--r--emulator/skins/automotive_ultrawide/layout35
3 files changed, 108 insertions, 0 deletions
diff --git a/emulator/skins/automotive_landscape/layout b/emulator/skins/automotive_landscape/layout
new file mode 100644
index 0000000..be1e1a8
--- /dev/null
+++ b/emulator/skins/automotive_landscape/layout
@@ -0,0 +1,38 @@
+# Copyright (C) 2023 The Android Open Source Project
+#
+# 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.
+#
+parts {
+ device {
+ display {
+ width 1408
+ height 792
+ }
+ }
+ landscape {
+ background {
+ image back.png
+ }
+ }
+}
+layouts {
+ landscape {
+ width 1500
+ height 837
+ part1 {
+ name device
+ x 50
+ y 30
+ }
+ }
+}
diff --git a/emulator/skins/automotive_portrait/layout b/emulator/skins/automotive_portrait/layout
new file mode 100644
index 0000000..a4c22b6
--- /dev/null
+++ b/emulator/skins/automotive_portrait/layout
@@ -0,0 +1,35 @@
+# Copyright (C) 2023 The Android Open Source Project
+#
+# 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.
+#
+parts {
+ device {
+ display {
+ width 1280
+ height 1606
+ x 0
+ y 0
+ }
+ }
+}
+layouts {
+ landscape {
+ width 1280
+ height 1650
+ part1 {
+ name device
+ x 0
+ y 0
+ }
+ }
+}
diff --git a/emulator/skins/automotive_ultrawide/layout b/emulator/skins/automotive_ultrawide/layout
new file mode 100644
index 0000000..6135b9f
--- /dev/null
+++ b/emulator/skins/automotive_ultrawide/layout
@@ -0,0 +1,35 @@
+# Copyright (C) 2023 The Android Open Source Project
+#
+# 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.
+#
+parts {
+ device {
+ display {
+ width 3904
+ height 1320
+ x 0
+ y 0
+ }
+ }
+}
+layouts {
+ landscape {
+ width 3904
+ height 1340
+ part1 {
+ name device
+ x 0
+ y 0
+ }
+ }
+}