summaryrefslogtreecommitdiffstats
path: root/res/layout/one_ui_layout.xml
diff options
context:
space:
mode:
authorJack Yoo <jyoo@codeaurora.org>2016-09-29 12:35:56 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-13 15:57:04 -0700
commit392d833321dd0d05aeb80bd33240394ea9ea5591 (patch)
tree550ea80b0cc4099604133c50a4ede73829117b50 /res/layout/one_ui_layout.xml
parentaa24e964a6c6f7849ba843a37df1387c0894d725 (diff)
downloadandroid_packages_apps_Snap-392d833321dd0d05aeb80bd33240394ea9ea5591.tar.gz
android_packages_apps_Snap-392d833321dd0d05aeb80bd33240394ea9ea5591.tar.bz2
android_packages_apps_Snap-392d833321dd0d05aeb80bd33240394ea9ea5591.zip
SnapdragonCamera: frame capture path
Frame the path for each capture. 1. ZSL image -> YUV reprocess -> filters -> framework jpeg encoding 2. Non-ZSL -> filters -> framework jpeg encoding 3. Optimizing bestpicture filter image saving 4. Adjusting roi according to the mirror Change-Id: I8989ec57beec3420e6f4311dff951af0a84f5ba9 CRs-Fixed: 1071798
Diffstat (limited to 'res/layout/one_ui_layout.xml')
-rw-r--r--res/layout/one_ui_layout.xml59
1 files changed, 35 insertions, 24 deletions
diff --git a/res/layout/one_ui_layout.xml b/res/layout/one_ui_layout.xml
index 3b4f0b334..e8162197a 100644
--- a/res/layout/one_ui_layout.xml
+++ b/res/layout/one_ui_layout.xml
@@ -85,40 +85,51 @@
android:id="@+id/ts_makeup_switcher"
style="@style/OneUIMenuButton" />
- <RelativeLayout
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/makeup_seekbar_layout"
android:visibility="gone">
- <com.android.camera.ui.RotateLayout
+ <Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:id="@+id/makeup_low_text">
- <TextView
+ android:id="@+id/seekbar_toggle"
+ android:text="@string/makeup_seekbar_low">
+ </Button>
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/seekbar_body">
+ <com.android.camera.ui.RotateLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/makeup_seekbar_low">
- </TextView>
- </com.android.camera.ui.RotateLayout>
- <SeekBar
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingLeft="100dp"
- android:paddingRight="100dp"
- android:id="@+id/makeup_seekbar"/>
- <com.android.camera.ui.RotateLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:id="@+id/makeup_high_text">
- <TextView
+ android:layout_alignParentLeft="true"
+ android:id="@+id/makeup_low_text">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/makeup_seekbar_low">
+ </TextView>
+ </com.android.camera.ui.RotateLayout>
+ <SeekBar
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="100dp"
+ android:paddingRight="100dp"
+ android:id="@+id/makeup_seekbar"/>
+ <com.android.camera.ui.RotateLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/makeup_seekbar_high">
- </TextView>
- </com.android.camera.ui.RotateLayout>
- </RelativeLayout>
+ android:layout_alignParentRight="true"
+ android:id="@+id/makeup_high_text">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/makeup_seekbar_high">
+ </TextView>
+ </com.android.camera.ui.RotateLayout>
+ </RelativeLayout>
+ </LinearLayout>
<LinearLayout
android:id="@+id/remaining_photos"