summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/capture_module.xml4
-rw-r--r--res/layout/photo_module.xml2
-rw-r--r--res/layout/video_module.xml6
-rw-r--r--res/values/qcomarrays.xml20
-rw-r--r--res/values/qcomstrings.xml26
-rw-r--r--res/xml/camera_preferences.xml15
6 files changed, 62 insertions, 11 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml
index c6adf0239..a68af5e08 100644
--- a/res/layout/capture_module.xml
+++ b/res/layout/capture_module.xml
@@ -40,8 +40,8 @@
<com.android.camera.ui.AutoFitSurfaceView
android:id="@+id/mdp_preview_content2"
- android:layout_width="100dp"
- android:layout_height="100dp" />
+ android:layout_width="300dp"
+ android:layout_height="300dp" />
</FrameLayout>
<View
diff --git a/res/layout/photo_module.xml b/res/layout/photo_module.xml
index 10017192b..9c5b2c0d0 100644
--- a/res/layout/photo_module.xml
+++ b/res/layout/photo_module.xml
@@ -65,7 +65,7 @@
android:id="@+id/autohdr_view"
android:layout_width="200dip"
android:layout_height="200dip"
- android:layout_marginTop="15dip"
+ android:layout_marginTop="50dip"
android:layout_marginLeft="15dip" />
</RelativeLayout>
<ImageView
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml
index 1c1db4444..20d7be1d2 100644
--- a/res/layout/video_module.xml
+++ b/res/layout/video_module.xml
@@ -26,8 +26,7 @@
<SurfaceView
android:id="@+id/mdp_preview_content"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone" />
+ android:layout_height="match_parent" />
</FrameLayout>
<FrameLayout
android:layout_width="match_parent"
@@ -43,8 +42,7 @@
android:id="@+id/preview_cover"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@android:color/black"
- android:visibility="gone" />
+ android:background="@android:color/black" />
<View
android:id="@+id/flash_overlay"
android:layout_width="match_parent"
diff --git a/res/values/qcomarrays.xml b/res/values/qcomarrays.xml
index a4c463735..d3218bdaf 100644
--- a/res/values/qcomarrays.xml
+++ b/res/values/qcomarrays.xml
@@ -863,5 +863,25 @@
<item>@string/pref_camera_dual_camera_value_bayer</item>
<item>@string/pref_camera_dual_camera_value_mono</item>
</string-array>
+
+ <string-array name="pref_camera_mono_preview_entries" translatable="true">
+ <item>@string/pref_camera_mono_preview_entry_on</item>
+ <item>@string/pref_camera_mono_preview_entry_off</item>
+ </string-array>
+
+ <string-array name="pref_camera_mono_preview_entryvalues" translatable="false">
+ <item>@string/pref_camera_mono_preview_value_on</item>
+ <item>@string/pref_camera_mono_preview_value_off</item>
+ </string-array>
+
+ <string-array name="pref_camera_clearsight_entries" translatable="true">
+ <item>@string/pref_camera_clearsight_entry_on</item>
+ <item>@string/pref_camera_clearsight_entry_off</item>
+ </string-array>
+
+ <string-array name="pref_camera_clearsight_entryvalues" translatable="false">
+ <item>@string/pref_camera_clearsight_value_on</item>
+ <item>@string/pref_camera_clearsight_value_off</item>
+ </string-array>
</resources>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 0e21bb5e6..ea90cf72a 100644
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -277,7 +277,7 @@
<string name="pref_camera_cds_default" translatable="false">on</string>
<!-- Default video cds mode setting-->
- <string name="pref_camera_video_cds_default" translatable="false">on</string>
+ <string name="pref_camera_video_cds_default" translatable="false">off</string>
<!-- Settings menu, setting title text for tnr mode-->
<string name="pref_camera_tnr_title">TNR mode</string>
@@ -289,7 +289,7 @@
<string name="pref_camera_tnr_default" translatable="false">off</string>
<!-- Default video tnr mode setting-->
- <string name="pref_camera_video_tnr_default" translatable="false">off</string>
+ <string name="pref_camera_video_tnr_default" translatable="false">on</string>
<!-- Default face detection setting. -->
<string name="pref_camera_facedetection_default" translatable="false">off</string>
@@ -953,9 +953,8 @@
<string name="pref_camera_camera2_value_enable">enable</string>
<string name="pref_camera_camera2_value_disable">disable</string>
-
<string name="pref_camera_dual_camera_title">Dual Camera Mode</string>
- <string name="pref_camera_dual_camera_default">bayer</string>
+ <string name="pref_camera_dual_camera_default">dual</string>
<string name="pref_camera_dual_camera_entry_dual">Dual-camera Linked</string>
<string name="pref_camera_dual_camera_entry_bayer">Single Bayer Camera</string>
<string name="pref_camera_dual_camera_entry_mono">Single Mono Camera</string>
@@ -963,5 +962,24 @@
<string name="pref_camera_dual_camera_value_dual">dual</string>
<string name="pref_camera_dual_camera_value_bayer">bayer</string>
<string name="pref_camera_dual_camera_value_mono">mono</string>
+
+ <string name="pref_camera_mono_preview_title">Mono Preview</string>
+ <string name="pref_camera_mono_preview_default">off</string>
+ <string name="pref_camera_mono_preview_entry_on">On</string>
+ <string name="pref_camera_mono_preview_entry_off">Off</string>
+
+ <string name="pref_camera_mono_preview_value_on">on</string>
+ <string name="pref_camera_mono_preview_value_off">off</string>
+
+ <string name="pref_camera_clearsight_title">ClearSight</string>
+ <string name="pref_camera_clearsight_default" translatable="false">off</string>
+ <string name="pref_camera_clearsight_entry_on">On</string>
+ <string name="pref_camera_clearsight_entry_off">Off</string>
+
+ <string name="pref_camera_clearsight_value_on" translatable="false">on</string>
+ <string name="pref_camera_clearsight_value_off" translatable="false">off</string>
+
+ <string name="clearsight_capture_success">ClearSight capture successful</string>
+ <string name="clearsight_capture_fail">ClearSight capture failed</string>
</resources>
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index 028ff4dbf..5fafb855b 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -379,4 +379,19 @@
camera:title="@string/pref_camera_dual_camera_title"
camera:entries="@array/pref_camera_dual_camera_entries"
camera:entryValues="@array/pref_camera_dual_camera_entryvalues" />
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera_mono_preview_default"
+ camera:entries="@array/pref_camera_mono_preview_entries"
+ camera:entryValues="@array/pref_camera_mono_preview_entryvalues"
+ camera:key="pref_camera_mono_preview_key"
+ camera:title="@string/pref_camera_mono_preview_title" />
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera_clearsight_default"
+ camera:entries="@array/pref_camera_clearsight_entries"
+ camera:entryValues="@array/pref_camera_clearsight_entryvalues"
+ camera:key="pref_camera_clearsight_key"
+ camera:title="@string/pref_camera_clearsight_title" />
+
</PreferenceGroup>