From efd1db011b7c85ffd590ec80f535d95070d4371e Mon Sep 17 00:00:00 2001 From: Yuli Huang Date: Mon, 12 Sep 2011 22:25:30 +0800 Subject: Fix b/4643148: Make PhotoEditor integrated into Gallery. 1. Move PhotoEditor code/resources into Gallery for single apk. 2. Change PhotoEditor package to com.android.gallery3d.photoeditor. 3. Rename PhotoEditor resources to avoid mess up Gallery resources. 4. Move Doodle effect from fix-effects to color-effects. 5. Update PhotoEditor bottom action-bar background. Change-Id: I1a2f7d27d89a14fe6a0435575b993ed8b75e6bf4 --- res/layout/photoeditor_color_seekbar.xml | 24 +++++++ res/layout/photoeditor_crop_view.xml | 20 ++++++ res/layout/photoeditor_doodle_view.xml | 20 ++++++ res/layout/photoeditor_effect_tool_panel.xml | 29 ++++++++ res/layout/photoeditor_effects_artistic.xml | 92 ++++++++++++++++++++++++ res/layout/photoeditor_effects_color.xml | 103 +++++++++++++++++++++++++++ res/layout/photoeditor_effects_exposure.xml | 62 ++++++++++++++++ res/layout/photoeditor_effects_fix.xml | 87 ++++++++++++++++++++++ res/layout/photoeditor_effects_gallery.xml | 30 ++++++++ res/layout/photoeditor_main.xml | 85 ++++++++++++++++++++++ res/layout/photoeditor_rotate_view.xml | 20 ++++++ res/layout/photoeditor_scale_seekbar.xml | 24 +++++++ res/layout/photoeditor_touch_view.xml | 20 ++++++ 13 files changed, 616 insertions(+) create mode 100644 res/layout/photoeditor_color_seekbar.xml create mode 100644 res/layout/photoeditor_crop_view.xml create mode 100644 res/layout/photoeditor_doodle_view.xml create mode 100644 res/layout/photoeditor_effect_tool_panel.xml create mode 100644 res/layout/photoeditor_effects_artistic.xml create mode 100644 res/layout/photoeditor_effects_color.xml create mode 100644 res/layout/photoeditor_effects_exposure.xml create mode 100644 res/layout/photoeditor_effects_fix.xml create mode 100644 res/layout/photoeditor_effects_gallery.xml create mode 100644 res/layout/photoeditor_main.xml create mode 100644 res/layout/photoeditor_rotate_view.xml create mode 100644 res/layout/photoeditor_scale_seekbar.xml create mode 100644 res/layout/photoeditor_touch_view.xml (limited to 'res/layout') diff --git a/res/layout/photoeditor_color_seekbar.xml b/res/layout/photoeditor_color_seekbar.xml new file mode 100644 index 000000000..fb9386992 --- /dev/null +++ b/res/layout/photoeditor_color_seekbar.xml @@ -0,0 +1,24 @@ + + + + diff --git a/res/layout/photoeditor_crop_view.xml b/res/layout/photoeditor_crop_view.xml new file mode 100644 index 000000000..151e6a678 --- /dev/null +++ b/res/layout/photoeditor_crop_view.xml @@ -0,0 +1,20 @@ + + + + diff --git a/res/layout/photoeditor_doodle_view.xml b/res/layout/photoeditor_doodle_view.xml new file mode 100644 index 000000000..d8e08683c --- /dev/null +++ b/res/layout/photoeditor_doodle_view.xml @@ -0,0 +1,20 @@ + + + + diff --git a/res/layout/photoeditor_effect_tool_panel.xml b/res/layout/photoeditor_effect_tool_panel.xml new file mode 100644 index 000000000..7fd92571c --- /dev/null +++ b/res/layout/photoeditor_effect_tool_panel.xml @@ -0,0 +1,29 @@ + + + + + + + diff --git a/res/layout/photoeditor_effects_artistic.xml b/res/layout/photoeditor_effects_artistic.xml new file mode 100644 index 000000000..f5eb63a87 --- /dev/null +++ b/res/layout/photoeditor_effects_artistic.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/photoeditor_effects_color.xml b/res/layout/photoeditor_effects_color.xml new file mode 100644 index 000000000..c078dfaa2 --- /dev/null +++ b/res/layout/photoeditor_effects_color.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/photoeditor_effects_exposure.xml b/res/layout/photoeditor_effects_exposure.xml new file mode 100644 index 000000000..5a4fb2949 --- /dev/null +++ b/res/layout/photoeditor_effects_exposure.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/photoeditor_effects_fix.xml b/res/layout/photoeditor_effects_fix.xml new file mode 100644 index 000000000..b77ffd132 --- /dev/null +++ b/res/layout/photoeditor_effects_fix.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/photoeditor_effects_gallery.xml b/res/layout/photoeditor_effects_gallery.xml new file mode 100644 index 000000000..16a2366a0 --- /dev/null +++ b/res/layout/photoeditor_effects_gallery.xml @@ -0,0 +1,30 @@ + + + + + + + + diff --git a/res/layout/photoeditor_main.xml b/res/layout/photoeditor_main.xml new file mode 100644 index 000000000..dd7551ff6 --- /dev/null +++ b/res/layout/photoeditor_main.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +