blob: 8aab5e9368afdcf3917b0f38915f45e655403446 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 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.
-->
<!-- Camera app resources that may need to be customized
for different hardware or product builds. -->
<resources>
<!-- Maximum recording length in milliseconds. 0 means unlimited. -->
<integer name="max_video_recording_length">0</integer>
<!-- The camera removes the focus modes by default when touch-to-focus
exists. Use this option to change that behavior -->
<bool name="wantsFocusModes">false</bool>
<!-- Always use preferred preview size path for effects recording instead
of the display resolution -->
<bool name="usePreferredPreviewSizeForEffects">false</bool>
<!-- Ignore preferred preview size and use best value from supported preview
sizesting both this and the above option true will always use values
from preview sizes for both -->
<bool name="ignorePreferredPreviewSizeForVideo">false</bool>
<!-- Disable face detection on the front camera -->
<bool name="noFaceDetectOnFrontCamera">false</bool>
<!-- Use ZSL mode for Qualcomm cameras -->
<bool name="enableZSL">false</bool>
<!-- Magic for enabling ZSL on Samsung cameras -->
<bool name="sendMagicSamsungZSLCommand">false</bool>
<!-- Decode YV16 format on Samsung HDR hardware -->
<bool name="needsSamsungHDRFormat">false</bool>
<!-- The camera HAL does its own preview state management during snaps -->
<bool name="previewStopsDuringSnapshot">false</bool>
<!-- Allows setting video size before recording starts -->
<bool name="needsEarlyVideoSize">false</bool>
<!-- Samsung Camcorder Mode -->
<bool name="needsSamsungCamMode">false</bool>
<!-- HTC Camcorder Mode -->
<bool name="needsHTCCamMode">false</bool>
<!-- Always use recording dimensions for preview -->
<bool name="useVideoSizeForPreview">false</bool>
<!-- Stay in continuous focus even if touch-to-focus is used
This option doesn't make sense if wantsFocusModes is on -->
<bool name="useContinuosFocusForTouch">false</bool>
<!-- A certain beefy device has issues with video snapshots -->
<bool name="useVideoSnapshotWorkaround">false</bool>
<!-- Video HDR mode. Aggressively crashes on some hardware -->
<bool name="enableVideoHDR">false</bool>
</resources>
|