mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-20 18:19:35 +00:00
vermeer: overlay: Configure Aperture
Change-Id: I66a519d9a0b33c11b8ade4039d00607c10e937ec
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
SPDX-FileCopyrightText: 2022 The LineageOS Project
|
SPDX-FileCopyrightText: 2025 The LineageOS Project
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
-->
|
-->
|
||||||
<resources>
|
<resources>
|
||||||
@@ -9,9 +9,24 @@
|
|||||||
|
|
||||||
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
|
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
|
||||||
<string-array name="config_ignoredAuxCameraIds">
|
<string-array name="config_ignoredAuxCameraIds">
|
||||||
|
<item>2</item>
|
||||||
|
<item>3</item>
|
||||||
|
<item>4</item>
|
||||||
|
<item>5</item>
|
||||||
<item>6</item>
|
<item>6</item>
|
||||||
|
<item>7</item>
|
||||||
|
<item>8</item>
|
||||||
|
<item>9</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Decide whether to ignore auxiliary cameras that
|
||||||
|
are logical (made of multiple physical sensors).
|
||||||
|
Set this to false if your camera HAL doesn't expose
|
||||||
|
one or more aux cameras as a standalone camera device.
|
||||||
|
Note that you will probably need to add
|
||||||
|
more camera IDs to ignoreCameraIds. -->
|
||||||
|
<bool name="config_ignoreLogicalAuxCameras">false</bool>
|
||||||
|
|
||||||
<!-- An array of triplets made of (camera ID, qualities, framerates).
|
<!-- An array of triplets made of (camera ID, qualities, framerates).
|
||||||
These video modes will be added to the available
|
These video modes will be added to the available
|
||||||
quality/framerate combinations of a camera device.
|
quality/framerate combinations of a camera device.
|
||||||
@@ -40,4 +55,11 @@
|
|||||||
<item>1</item> <item>sd|hd|fhd</item> <item>60</item> <!-- Front camera -->
|
<item>1</item> <item>sd|hd|fhd</item> <item>60</item> <!-- Front camera -->
|
||||||
<item>4</item> <item>sd|hd|fhd|uhd</item> <item>60</item> <!-- Wide camera -->
|
<item>4</item> <item>sd|hd|fhd|uhd</item> <item>60</item> <!-- Wide camera -->
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
<!-- 2x in-sensor zoom seemingly requires
|
||||||
|
org.codeaurora.qcamera3.sessionParameters.EnableInsensorZoom
|
||||||
|
and so is omitted. -->
|
||||||
|
<string-array name="config_logicalZoomRatios">
|
||||||
|
<item>0</item> <item>0.6</item> <item>0.64999998</item>
|
||||||
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
Reference in New Issue
Block a user