72 lines
3.6 KiB
XML
72 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2015 The Android Open Source Project
|
|
Copyright (C) 2021-2023 KonstaKANG
|
|
|
|
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.
|
|
-->
|
|
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
|
|
<!--
|
|
Specifies configuration of displays in system telling its usage / type and assigned
|
|
occupant. DEFAULT_DISPLAY, if assigned here, should be always assigned to the DRIVER zone.
|
|
|
|
Some examples are:
|
|
<item>displayPort=0,displayType=MAIN,occupantZoneId=0,inputTypes=DPAD_KEYS|
|
|
NAVIGATE_KEYS|ROTARY_NAVIGATION</item>
|
|
<item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0,
|
|
inputTypes=DPAD_KEYS</item>
|
|
<item>displayPort=2,displayType=MAIN,occupantZoneId=1,
|
|
inputTypes=TOUCH_SCREEN</item>
|
|
<item>displayPort=3,displayType=MAIN,occupantZoneId=2,
|
|
inputTypes=TOUCH_SCREEN</item>
|
|
<item>displayUniqueId=virtual:com.example:MainD,displayType=MAIN,occupantZoneId=3,
|
|
inputTypes=TOUCH_SCREEN</item>
|
|
|
|
NOTE: each item should have displayPort or displayUniqueId, if it has both, displayPort
|
|
will be used.
|
|
displayPort: Unique Port id for the physical display.
|
|
displayUniqueId: Unique Id for the display.
|
|
The unique id of the virtual display will be the form of 'virtual:<PACKAGE>:<ID>'.
|
|
displayType: Display type for the display. Use * part from
|
|
CarOccupantZoneManager.DISPLAY_TYPE_* like MAIN, INSTRUMENT_CLUSTER and
|
|
etc.
|
|
occupantZoneId: occupantZoneId specified from config_occupant_zones.
|
|
inputTypes: supported input types for the corresponding display.
|
|
|
|
-->
|
|
<string-array translatable="false" name="config_occupant_display_mapping">
|
|
<item>displayPort=0,displayType=MAIN,occupantZoneId=0,inputTypes=TOUCH_SCREEN|DPAD_KEYS|NAVIGATE_KEYS|ROTARY_NAVIGATION</item>
|
|
<item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0,inputTypes=DPAD_KEYS</item>
|
|
</string-array>
|
|
|
|
<!-- Specifies notice UI that will be launched when user starts a car or do user
|
|
switching. It is recommended to use dialog with at least TYPE_APPLICATION_OVERLAY window
|
|
type to show the UI regardless of activity launches. Target package will be auto-granted
|
|
necessary permission for TYPE_APPLICATION_OVERLAY window type. The UI package should
|
|
resolve permission by itself to use any higher priority window type.
|
|
Setting this string to empty will disable the feature. -->
|
|
<string name="config_userNoticeUiService" translatable="false"></string>
|
|
|
|
<!-- A name of a camera device that provides the rearview through EVS service -->
|
|
<string name="config_evsRearviewCameraId" translatable="false">/dev/video0</string>
|
|
|
|
<!-- The camera Activity name for EVS, if defined, the Activity will be launched by
|
|
CarEvsService. -->
|
|
<string name="config_evsCameraActivity" translatable="false">
|
|
com.google.android.car.evs/com.google.android.car.evs.CarEvsCameraPreviewActivity
|
|
</string>
|
|
|
|
</resources>
|