OSDN Git Service

Merge "fixing mode -> color mapping" into ub-camera-glacier
[android-x86/packages-apps-Camera2.git] / res / values / arrays.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3  * Copyright (C) 2008 The Android Open Source Project
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  -->
17
18 <resources>
19     <!-- Camera Preferences Video Quality entries -->
20     <string-array name="pref_video_quality_entries" translatable="false">
21         <item>@string/pref_camera_picturesize_entry_large</item>
22         <item>@string/pref_camera_picturesize_entry_medium</item>
23         <item>@string/pref_camera_picturesize_entry_small</item>
24    </string-array>
25
26     <string-array name="pref_video_quality_entryvalues" translatable="false">
27         <!-- Large size is the default. -->
28         <item>@string/pref_video_quality_default</item>
29         <!-- A medium size -->
30         <item>medium</item>
31         <!-- Small size. -->
32         <item>small</item>
33     </string-array>
34
35     <!-- Camera Preferences Picture size dialog box entries -->
36     <string-array name="pref_camera_picturesize_entries" translatable="false">
37         <item>@string/pref_camera_picturesize_entry_large</item>
38         <item>@string/pref_camera_picturesize_entry_medium</item>
39         <item>@string/pref_camera_picturesize_entry_small</item>
40     </string-array>
41
42     <!-- When launching the camera app first time, we will set the picture
43          size to the first one in the list that is also supported by the
44          driver -->
45     <string-array name="pref_camera_picturesize_entryvalues" translatable="false">
46         <item>@string/pref_camera_picturesize_default</item>
47         <item>medium</item>
48         <item>small</item>
49     </string-array>
50
51     <!-- Camera Preferences focus mode dialog box entries -->
52     <string-array name="pref_camera_focusmode_entries" translatable="false">
53         <item>@string/pref_camera_focusmode_entry_auto</item>
54         <item>@string/pref_camera_focusmode_entry_infinity</item>
55         <item>@string/pref_camera_focusmode_entry_macro</item>
56     </string-array>
57
58     <string-array name="pref_camera_focusmode_entryvalues" translatable="false">
59         <item>auto</item>
60         <item>infinity</item>
61         <item>macro</item>
62     </string-array>
63
64     <string-array name="pref_camera_focusmode_labels" translatable="false">
65         <item>@string/pref_camera_focusmode_label_auto</item>
66         <item>@string/pref_camera_focusmode_label_infinity</item>
67         <item>@string/pref_camera_focusmode_label_macro</item>
68     </string-array>
69
70     <!-- Camera Preferences flash mode dialog box entries -->
71     <string-array name="pref_camera_flashmode_entries" translatable="false">
72         <item>@string/pref_camera_flashmode_entry_off</item>
73         <item>@string/pref_camera_flashmode_entry_auto</item>
74         <item>@string/pref_camera_flashmode_entry_on</item>
75     </string-array>
76
77     <string-array name="pref_camera_flashmode_labels" translatable="false">
78         <item>@string/pref_camera_flashmode_label_off</item>
79         <item>@string/pref_camera_flashmode_label_auto</item>
80         <item>@string/pref_camera_flashmode_label_on</item>
81     </string-array>
82
83     <string-array name="pref_camera_flashmode_entryvalues" translatable="false">
84         <item>off</item>
85         <item>auto</item>
86         <item>on</item>
87     </string-array>
88
89     <string-array name="pref_camera_hdr_plus_flashmode_entryvalues" translatable="false">
90         <item>off</item>
91         <item>auto</item>
92         <item>on</item>
93     </string-array>
94
95     <array name="camera_flashmode_icons" translatable="false">
96         <item>@drawable/ic_flash_off</item>
97         <item>@drawable/ic_flash_auto</item>
98         <item>@drawable/ic_flash_on</item>
99     </array>
100
101     <array name="camera_flash_descriptions" translatable="false">
102       <item>@string/flash_off_desc</item>
103       <item>@string/flash_auto_desc</item>
104       <item>@string/flash_on_desc</item>
105     </array>
106
107     <array name="hdr_plus_flash_descriptions" translatable="false">
108       <item>@string/hdr_plus_flash_off_desc</item>
109       <item>@string/hdr_plus_flash_auto_desc</item>
110       <item>@string/hdr_plus_flash_on_desc</item>
111     </array>
112
113     <array name="camera_flashmode_largeicons" translatable="false">
114         <item>@drawable/ic_flash_off</item>
115         <item>@drawable/ic_flash_auto</item>
116         <item>@drawable/ic_flash_on</item>
117     </array>
118
119     <array name="camera_flashmode_indicator_icons" translatable="false">
120         <item>@drawable/ic_flash_off_indicator</item>
121         <item>@drawable/ic_flash_auto_indicator</item>
122         <item>@drawable/ic_flash_on_indicator</item>
123     </array>
124
125     <!-- Videocamera Preferences flash mode dialog box entries -->
126     <string-array name="pref_camera_video_flashmode_entries" translatable="false">
127         <item>@string/pref_camera_flashmode_entry_on</item>
128         <item>@string/pref_camera_flashmode_entry_off</item>
129     </string-array>
130
131     <string-array name="pref_camera_video_flashmode_labels" translatable="false">
132         <item>@string/pref_camera_flashmode_label_on</item>
133         <item>@string/pref_camera_flashmode_label_off</item>
134     </string-array>
135
136     <string-array name="pref_camera_video_flashmode_entryvalues" translatable="false">
137         <item>torch</item>
138         <item>off</item>
139     </string-array>
140
141     <array name="video_flashmode_icons" translatable="false">
142         <item>@drawable/ic_flash_on</item>
143         <item>@drawable/ic_flash_off</item>
144     </array>
145
146     <array name="video_flashmode_largeicons" translatable="false">
147         <item>@drawable/ic_flash_on</item>
148         <item>@drawable/ic_flash_off</item>
149     </array>
150
151     <array name="video_flash_descriptions" translatable="false">
152       <item>@string/torch_on_desc</item>
153       <item>@string/torch_off_desc</item>
154     </array>
155
156     <array name="video_flashmode_indicator_icons" translatable="false">
157         <item>@drawable/ic_flash_on_indicator</item>
158         <item>@drawable/ic_flash_off_indicator</item>
159     </array>
160
161     <string-array name="pref_camera_scenemode_entryvalues" translatable="false">
162         <item>auto</item>
163         <item>hdr</item>
164     </string-array>
165
166     <array name="camera_id_entries" translatable="false">
167         <item>@string/pref_camera_id_entry_back</item>
168         <item>@string/pref_camera_id_entry_front</item>
169     </array>
170
171     <array name="camera_id_entryvalues" translatable="false">
172         <item>@string/pref_camera_id_entry_back_value</item>
173         <item>@string/pref_camera_id_entry_front_value</item>
174     </array>
175
176     <array name="camera_id_labels" translatable="false">
177         <item>@string/pref_camera_id_label_back</item>
178         <item>@string/pref_camera_id_label_front</item>
179     </array>
180
181     <array name="camera_id_icons" translatable="false">
182         <item>@drawable/ic_switch_camera_back</item>
183         <item>@drawable/ic_switch_camera_front</item>
184     </array>
185
186     <array name="camera_id_descriptions" translatable="false">
187       <item>@string/camera_id_back_desc</item>
188       <item>@string/camera_id_front_desc</item>
189     </array>
190
191
192     <array name="camera_id_largeicons" translatable="false">
193         <item>@drawable/ic_switch_camera_back</item>
194         <item>@drawable/ic_switch_camera_front</item>
195     </array>
196
197     <string-array name="pref_video_effect_entries" translatable="false">
198         <item>@string/effect_none</item>
199         <item>@string/effect_goofy_face_squeeze</item>
200         <item>@string/effect_goofy_face_big_eyes</item>
201         <item>@string/effect_goofy_face_big_mouth</item>
202         <item>@string/effect_goofy_face_small_mouth</item>
203         <item>@string/effect_goofy_face_big_nose</item>
204         <item>@string/effect_goofy_face_small_eyes</item>
205         <item>@string/effect_backdropper_space</item>
206         <item>@string/effect_backdropper_sunset</item>
207         <item>@string/effect_backdropper_gallery</item>
208     </string-array>
209
210     <string-array name="pref_video_effect_entryvalues" translatable="false">
211         <item>@string/pref_video_effect_default</item>
212         <item>goofy_face/squeeze</item>
213         <item>goofy_face/big_eyes</item>
214         <item>goofy_face/big_mouth</item>
215         <item>goofy_face/small_mouth</item>
216         <item>goofy_face/big_nose</item>
217         <item>goofy_face/small_eyes</item>
218         <item>backdropper/file:///system/media/video/AndroidInSpace.480p.mp4</item>
219         <item>backdropper/file:///system/media/video/Sunset.480p.mp4</item>
220         <item>backdropper/gallery</item>
221     </string-array>
222
223     <array name="video_effect_icons" translatable="false">
224         <item>@drawable/ic_effects_holo_light</item>
225         <item>@drawable/ic_video_effects_faces_squeeze_holo_dark</item>
226         <item>@drawable/ic_video_effects_faces_big_eyes_holo_dark</item>
227         <item>@drawable/ic_video_effects_faces_big_mouth_holo_dark</item>
228         <item>@drawable/ic_video_effects_faces_small_mouth_holo_dark</item>
229         <item>@drawable/ic_video_effects_faces_big_nose_holo_dark</item>
230         <item>@drawable/ic_video_effects_faces_small_eyes_holo_dark</item>
231         <item>@drawable/ic_video_effects_background_intergalactic_holo</item>
232         <item>@drawable/ic_video_effects_background_fields_of_wheat_holo</item>
233         <item>@drawable/ic_video_effects_background_normal_holo_dark</item>
234     </array>
235
236     <string-array name="pref_camera_hdr_plus_entries" translatable="false">
237         <item>@string/setting_off</item>
238         <item>@string/setting_on</item>
239     </string-array>
240
241     <string-array name="pref_camera_hdr_plus_labels" translatable="false">
242         <item>@string/pref_camera_scenemode_entry_turn_hdr_plus_on</item>
243         <item>@string/pref_camera_scenemode_entry_turn_hdr_plus_off</item>
244     </string-array>
245
246     <array name="pref_camera_hdr_plus_icons" translatable="false">
247         <item>@drawable/ic_hdr_plus_off</item>
248         <item>@drawable/ic_hdr_plus_on</item>
249     </array>
250
251     <array name="hdr_plus_descriptions" translatable="false">
252       <item>@string/hdr_plus_off_desc</item>
253       <item>@string/hdr_plus_on_desc</item>
254     </array>
255
256     <array name="pref_camera_hdr_icons" translatable="false">
257         <item>@drawable/ic_hdr_off</item>
258         <item>@drawable/ic_hdr_on</item>
259     </array>
260
261     <array name="hdr_descriptions" translatable="false">
262       <item>@string/hdr_off_desc</item>
263       <item>@string/hdr_on_desc</item>
264     </array>
265
266     <array name="pref_camera_hdr_plus_indicator_icons" translatable="false">
267         <item>@drawable/ic_hdr_plus_off_indicator</item>
268         <item>@drawable/ic_hdr_plus_on_indicator</item>
269     </array>
270
271     <array name="pref_camera_hdr_indicator_icons" translatable="false">
272         <item>@drawable/ic_hdr_off_indicator</item>
273         <item>@drawable/ic_hdr_on_indicator</item>
274     </array>
275
276     <string-array name="pref_camera_hdr_plus_entryvalues" translatable="false">
277         <item>@string/setting_off_value</item>
278         <item>@string/setting_on_value</item>
279     </string-array>
280
281     <string-array name="pref_camera_hdr_entries" translatable="false">
282         <item>@string/setting_off</item>
283         <item>@string/setting_on</item>
284     </string-array>
285
286     <string-array name="pref_camera_hdr_labels" translatable="false">
287         <item>@string/pref_camera_scenemode_entry_turn_hdr_on</item>
288         <item>@string/pref_camera_scenemode_entry_turn_hdr_off</item>
289     </string-array>
290
291     <string-array name="pref_camera_hdr_entryvalues" translatable="false">
292         <item>@string/setting_off_value</item>
293         <item>@string/setting_on_value</item>
294     </string-array>
295
296     <string-array name="pref_camera_timer_sound_entries" translatable="false">
297         <item>@string/setting_off</item>
298         <item>@string/setting_on</item>
299     </string-array>
300
301     <string-array name="pref_camera_timer_sound_entryvalues" translatable="false">
302         <item>@string/setting_off_value</item>
303         <item>@string/setting_on_value</item>
304     </string-array>
305
306     <!-- Default focus mode setting.-->
307     <string-array name="pref_camera_focusmode_default_array" translatable="false">
308         <item>continuous-picture</item>
309         <item>auto</item>
310     </string-array>
311
312     <!-- Icons for exposure compensation -->
313     <array name="pref_camera_exposure_icons" translatable="false">
314         <item>@drawable/ic_exposure_n3</item>
315         <item>@drawable/ic_exposure_n2</item>
316         <item>@drawable/ic_exposure_n1</item>
317         <item>@drawable/ic_exposure_0</item>
318         <item>@drawable/ic_exposure_p1</item>
319         <item>@drawable/ic_exposure_p2</item>
320         <item>@drawable/ic_exposure_p3</item>
321     </array>
322
323     <!--  Labels for Countdown timer -->
324     <string-array name="pref_camera_countdown_labels">
325         <item>@string/pref_camera_countdown_label_off</item>
326         <item>@string/pref_camera_countdown_label_one</item>
327         <item>@string/pref_camera_countdown_label_three</item>
328         <item>@string/pref_camera_countdown_label_ten</item>
329         <item>@string/pref_camera_countdown_label_fifteen</item>
330     </string-array>
331
332     <string-array name="pref_camera_jpeg_quality_entryvalues">
333       <item>@string/pref_camera_jpeg_quality_normal</item>
334       <item>@string/pref_camera_jpeg_quality_fine</item>
335       <item>@string/pref_camera_jpeg_quality_superfine</item>
336     </string-array>
337
338     <string-array name="pref_camera_gridlines_entryvalues">
339       <item>@string/setting_off_value</item>
340       <item>@string/setting_on_value</item>
341     </string-array>
342
343     <array name="grid_lines_icons" translatable="false">
344       <item>@drawable/ic_grid_off</item>
345       <item>@drawable/ic_grid_on</item>
346     </array>
347
348     <array name="grid_lines_indicator_icons" translatable="false">
349       <item>@drawable/ic_grid_off_indicator</item>
350       <item>@drawable/ic_grid_on_indicator</item>
351     </array>
352
353     <array name="grid_lines_descriptions" translatable="false">
354       <item>@string/grid_lines_off_desc</item>
355       <item>@string/grid_lines_on_desc</item>
356     </array>
357
358     <array name="countdown_duration_descriptions" translatable="false">
359         <item>@string/countdown_timer_off</item>
360         <item>@string/countdown_timer_duration_3s</item>
361         <item>@string/countdown_timer_duration_10s</item>
362     </array>
363
364     <string-array name="pref_camera_pano_orientation_entryvalues">
365       <item>@string/pano_orientation_horizontal</item>
366       <item>@string/pano_orientation_vertical</item>
367       <item>@string/pano_orientation_wide</item>
368       <item>@string/pano_orientation_fisheye</item>
369     </string-array>
370
371     <array name="settings_toggle_icons" translatable="false">
372       <item>@drawable/ic_options_active</item>
373       <item>@drawable/ic_options</item>
374     </array>
375
376     <array name="settings_toggle_descriptions" translatable="false">
377       <item>@string/settings_open_desc</item>
378       <item>@string/settings_close_desc</item>
379     </array>
380
381     <array name="countdown_duration_icons" translatable="false">
382         <item>@drawable/ic_timer_off</item>
383         <item>@drawable/ic_timer_3s</item>
384         <item>@drawable/ic_timer_10s</item>
385     </array>
386
387     <array name="pref_camera_countdown_indicators" translatable="false">
388         <item>@drawable/ic_timer_off_indicator</item>
389         <item>@drawable/ic_timer_3s_indicator</item>
390         <item>@drawable/ic_timer_10s_indicator</item>
391     </array>
392
393     <integer-array name="pref_countdown_duration" translatable="false">
394         <item>0</item>
395         <item>3</item>
396         <item>10</item>
397     </integer-array>
398
399
400     <!--Index of camera modes. -->
401     <integer name="camera_mode_photo">0</integer>
402     <integer name="camera_mode_video">1</integer>
403     <integer name="camera_mode_refocus">2</integer>
404     <integer name="camera_mode_photosphere">3</integer>
405     <integer name="camera_mode_panorama">4</integer>
406     <integer name="camera_mode_gcam">5</integer>
407
408
409     <!-- Ordered list of all camera modes. -->
410     <integer-array name="camera_modes">
411         <item>@integer/camera_mode_photo</item>
412         <item>@integer/camera_mode_video</item>
413         <item>@integer/camera_mode_refocus</item>
414         <item>@integer/camera_mode_photosphere</item>
415         <item>@integer/camera_mode_panorama</item>
416         <item>@integer/camera_mode_gcam</item>
417     </integer-array>
418
419     <!-- An array of camera mode indices in the sequence of their appearance
420     in the mode drawer. -->
421     <integer-array name="camera_modes_in_nav_drawer_if_supported">
422         <item>@integer/camera_mode_photosphere</item>
423         <item>@integer/camera_mode_panorama</item>
424         <item>@integer/camera_mode_refocus</item>
425         <item>@integer/camera_mode_photo</item>
426         <item>@integer/camera_mode_video</item>
427     </integer-array>
428
429     <!-- Camera modes that each supported mode is nested in in nav drawer. -->
430     <integer-array name="camera_mode_nested_in_nav_drawer">
431         <item>@integer/camera_mode_photo</item>
432         <item>@integer/camera_mode_video</item>
433         <item>@integer/camera_mode_refocus</item>
434         <item>@integer/camera_mode_photosphere</item>
435         <item>@integer/camera_mode_panorama</item>
436         <item>@integer/camera_mode_photo</item>
437         <item>@integer/camera_mode_photo</item>
438     </integer-array>
439
440     <!-- An array of camera mode indices that should always be visible in mode drawer. -->
441     <integer-array name="camera_modes_always_visible">
442         <item>@integer/camera_mode_photo</item>
443     </integer-array>
444
445     <array name="camera_mode_theme_color">
446         <item>@color/camera_mode_color</item>
447         <item>@color/video_mode_color</item>
448         <item>@color/refocus_mode_color</item>
449         <item>@color/photosphere_mode_color</item>
450         <item>@color/panorama_mode_color</item>
451     </array>
452
453     <string-array name="camera_mode_text">
454         <item>@string/mode_camera</item>
455         <item>@string/mode_video</item>
456         <item>@string/mode_refocus</item>
457         <item>@string/mode_photosphere</item>
458         <item>@string/mode_panorama</item>
459         <item>""</item>
460         <item>""</item>
461     </string-array>
462
463     <string-array name="camera_mode_content_description">
464         <item>@string/mode_camera_desc</item>
465         <item>@string/mode_video_desc</item>
466         <item>@string/mode_refocus_desc</item>
467         <item>@string/mode_photosphere_desc</item>
468         <item>@string/mode_panorama_desc</item>
469         <item>""</item>
470         <item>""</item>
471     </string-array>
472
473     <array name="camera_mode_cover_icon">
474         <item>@drawable/ic_camera_blanket</item>
475         <item>@drawable/ic_video_blanket</item>
476         <item>@drawable/ic_refocus_blanket</item>
477         <item>@drawable/ic_photo_sphere_blanket</item>
478         <item>@drawable/ic_pano_blanket</item>
479         <item>@drawable/ic_camera_blanket</item>
480         <item>@drawable/ic_camera_blanket</item>
481     </array>
482
483     <array name="camera_mode_icon">
484         <item>@drawable/ic_camera_normal</item>
485         <item>@drawable/ic_video_normal</item>
486         <item>@drawable/ic_refocus_normal</item>
487         <item>@drawable/ic_photo_sphere_normal</item>
488         <item>@drawable/ic_panorama_normal</item>
489         <item>@drawable/ic_camera_normal</item>
490     </array>
491
492     <array name="camera_mode_shutter_icon">
493         <item>@drawable/ic_camera</item>
494         <item>@drawable/ic_video</item>
495         <item>@drawable/ic_refocus</item>
496         <item>@null</item>
497         <item>@drawable/ic_panorama</item>
498         <item>@drawable/ic_camera</item>
499     </array>
500
501     <!-- These must correspond in order to the entries in CameraProfile. -->
502     <array name="camcorder_profile_names">
503         <item>@string/pref_video_quality_entry_low</item>
504         <item>@string/pref_video_quality_entry_high</item>
505         <item>@string/pref_video_quality_entry_qcif_notrans</item>
506         <item>@string/pref_video_quality_entry_cif_notrans</item>
507         <item>@string/pref_video_quality_entry_480p_notrans</item>
508         <item>@string/pref_video_quality_entry_720p_notrans</item>
509         <item>@string/pref_video_quality_entry_1080p_notrans</item>
510         <item>@string/pref_video_quality_entry_qvga_notrans</item>
511     </array>
512
513     <array name="pref_default_boolean_entryvalues">
514         <item>@string/pref_boolean_false</item>
515         <item>@string/pref_boolean_true</item>
516     </array>
517 </resources>