summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/btn_default.9.pngbin0 -> 1214 bytes
-rw-r--r--res/drawable-hdpi/btn_default_disabled.9.pngbin0 -> 1210 bytes
-rw-r--r--res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.pngbin0 -> 421 bytes
-rw-r--r--res/drawable-hdpi/btn_default_focused_holo_dark.9.pngbin0 -> 457 bytes
-rw-r--r--res/drawable-hdpi/btn_default_pressed_holo_dark.9.pngbin0 -> 645 bytes
-rw-r--r--res/drawable-hdpi/default_screencolor_setting.pngbin0 -> 428934 bytes
-rw-r--r--res/drawable-hdpi/ic_down.pngbin0 -> 3163 bytes
-rw-r--r--res/drawable-hdpi/ic_down_pressed.pngbin0 -> 3466 bytes
-rw-r--r--res/drawable-hdpi/ic_more_default.pngbin0 -> 2835 bytes
-rw-r--r--res/drawable-hdpi/ic_more_pressed.pngbin0 -> 3119 bytes
-rw-r--r--res/drawable-hdpi/ic_new_default.pngbin0 -> 3109 bytes
-rw-r--r--res/drawable-hdpi/ic_new_dis.pngbin0 -> 2843 bytes
-rw-r--r--res/drawable-hdpi/ic_new_glow.pngbin0 -> 3831 bytes
-rw-r--r--res/drawable-hdpi/ic_new_pressed.pngbin0 -> 3075 bytes
-rw-r--r--res/drawable-hdpi/ic_previous_default.pngbin0 -> 3415 bytes
-rw-r--r--res/drawable-hdpi/ic_previous_dis.pngbin0 -> 3087 bytes
-rw-r--r--res/drawable-hdpi/ic_previous_glow.pngbin0 -> 4804 bytes
-rw-r--r--res/drawable-hdpi/ic_previous_pressed.pngbin0 -> 3268 bytes
-rw-r--r--res/drawable-hdpi/ic_up.pngbin0 -> 3168 bytes
-rw-r--r--res/drawable-hdpi/ic_up_pressed.pngbin0 -> 3473 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_in_holo_dark.pngbin0 -> 515 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_in_holo_light.pngbin0 -> 506 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_out_holo_dark.pngbin0 -> 379 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_out_holo_light.pngbin0 -> 406 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_slider.pngbin0 -> 2110 bytes
-rw-r--r--res/drawable-hdpi/scrubber_track_holo_dark.9.pngbin0 -> 167 bytes
-rw-r--r--res/drawable/down_button.xml33
-rw-r--r--res/drawable/ic_zoom_in.xml34
-rw-r--r--res/drawable/ic_zoom_out.xml34
-rw-r--r--res/drawable/more_button.xml33
-rw-r--r--res/drawable/new_button.xml33
-rw-r--r--res/drawable/new_glow_button.xml33
-rw-r--r--res/drawable/previous_button.xml33
-rw-r--r--res/drawable/previous_glow_button.xml33
-rw-r--r--res/drawable/screencolor_btn.xml44
-rw-r--r--res/drawable/seekbar_define_style.xml33
-rw-r--r--res/drawable/up_button.xml33
-rw-r--r--res/layout/custom_screencolor.xml287
-rw-r--r--res/layout/screen_color_item.xml93
-rw-r--r--res/layout/screencolor_settings.xml49
-rw-r--r--res/menu/screencolor_more.xml46
-rw-r--r--res/values/cm_arrays.xml7
-rw-r--r--res/values/cm_colors.xml2
-rw-r--r--res/values/cm_strings.xml16
-rwxr-xr-xres/values/config.xml36
-rw-r--r--res/xml/display_settings.xml13
46 files changed, 924 insertions, 1 deletions
diff --git a/res/drawable-hdpi/btn_default.9.png b/res/drawable-hdpi/btn_default.9.png
new file mode 100644
index 0000000..a82048e
--- /dev/null
+++ b/res/drawable-hdpi/btn_default.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_default_disabled.9.png b/res/drawable-hdpi/btn_default_disabled.9.png
new file mode 100644
index 0000000..45fa090
--- /dev/null
+++ b/res/drawable-hdpi/btn_default_disabled.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.png b/res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.png
new file mode 100644
index 0000000..13ab8f7
--- /dev/null
+++ b/res/drawable-hdpi/btn_default_disabled_focused_holo_dark.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_default_focused_holo_dark.9.png b/res/drawable-hdpi/btn_default_focused_holo_dark.9.png
new file mode 100644
index 0000000..fee599a
--- /dev/null
+++ b/res/drawable-hdpi/btn_default_focused_holo_dark.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_default_pressed_holo_dark.9.png b/res/drawable-hdpi/btn_default_pressed_holo_dark.9.png
new file mode 100644
index 0000000..baf7018
--- /dev/null
+++ b/res/drawable-hdpi/btn_default_pressed_holo_dark.9.png
Binary files differ
diff --git a/res/drawable-hdpi/default_screencolor_setting.png b/res/drawable-hdpi/default_screencolor_setting.png
new file mode 100644
index 0000000..90de65d
--- /dev/null
+++ b/res/drawable-hdpi/default_screencolor_setting.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_down.png b/res/drawable-hdpi/ic_down.png
new file mode 100644
index 0000000..f2ae375
--- /dev/null
+++ b/res/drawable-hdpi/ic_down.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_down_pressed.png b/res/drawable-hdpi/ic_down_pressed.png
new file mode 100644
index 0000000..4646056
--- /dev/null
+++ b/res/drawable-hdpi/ic_down_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_more_default.png b/res/drawable-hdpi/ic_more_default.png
new file mode 100644
index 0000000..b05d204
--- /dev/null
+++ b/res/drawable-hdpi/ic_more_default.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_more_pressed.png b/res/drawable-hdpi/ic_more_pressed.png
new file mode 100644
index 0000000..30ef4f3
--- /dev/null
+++ b/res/drawable-hdpi/ic_more_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_new_default.png b/res/drawable-hdpi/ic_new_default.png
new file mode 100644
index 0000000..24f96f3
--- /dev/null
+++ b/res/drawable-hdpi/ic_new_default.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_new_dis.png b/res/drawable-hdpi/ic_new_dis.png
new file mode 100644
index 0000000..2454ced
--- /dev/null
+++ b/res/drawable-hdpi/ic_new_dis.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_new_glow.png b/res/drawable-hdpi/ic_new_glow.png
new file mode 100644
index 0000000..201ec86
--- /dev/null
+++ b/res/drawable-hdpi/ic_new_glow.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_new_pressed.png b/res/drawable-hdpi/ic_new_pressed.png
new file mode 100644
index 0000000..4f0c46a
--- /dev/null
+++ b/res/drawable-hdpi/ic_new_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_previous_default.png b/res/drawable-hdpi/ic_previous_default.png
new file mode 100644
index 0000000..a84990e
--- /dev/null
+++ b/res/drawable-hdpi/ic_previous_default.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_previous_dis.png b/res/drawable-hdpi/ic_previous_dis.png
new file mode 100644
index 0000000..aea14f3
--- /dev/null
+++ b/res/drawable-hdpi/ic_previous_dis.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_previous_glow.png b/res/drawable-hdpi/ic_previous_glow.png
new file mode 100644
index 0000000..ec83882
--- /dev/null
+++ b/res/drawable-hdpi/ic_previous_glow.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_previous_pressed.png b/res/drawable-hdpi/ic_previous_pressed.png
new file mode 100644
index 0000000..75af0be
--- /dev/null
+++ b/res/drawable-hdpi/ic_previous_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_up.png b/res/drawable-hdpi/ic_up.png
new file mode 100644
index 0000000..2d51f39
--- /dev/null
+++ b/res/drawable-hdpi/ic_up.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_up_pressed.png b/res/drawable-hdpi/ic_up_pressed.png
new file mode 100644
index 0000000..ee03700
--- /dev/null
+++ b/res/drawable-hdpi/ic_up_pressed.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_in_holo_dark.png b/res/drawable-hdpi/ic_zoom_in_holo_dark.png
new file mode 100644
index 0000000..89b5f15
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_in_holo_light.png b/res/drawable-hdpi/ic_zoom_in_holo_light.png
new file mode 100644
index 0000000..9751ca3
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_out_holo_dark.png b/res/drawable-hdpi/ic_zoom_out_holo_dark.png
new file mode 100644
index 0000000..f4a2589
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_out_holo_light.png b/res/drawable-hdpi/ic_zoom_out_holo_light.png
new file mode 100644
index 0000000..ba094ac
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_slider.png b/res/drawable-hdpi/ic_zoom_slider.png
new file mode 100644
index 0000000..8427e4d
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_slider.png
Binary files differ
diff --git a/res/drawable-hdpi/scrubber_track_holo_dark.9.png b/res/drawable-hdpi/scrubber_track_holo_dark.9.png
new file mode 100644
index 0000000..0c0ccda
--- /dev/null
+++ b/res/drawable-hdpi/scrubber_track_holo_dark.9.png
Binary files differ
diff --git a/res/drawable/down_button.xml b/res/drawable/down_button.xml
new file mode 100644
index 0000000..29dbf42
--- /dev/null
+++ b/res/drawable/down_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_down_pressed" />
+ <item android:drawable="@drawable/ic_down" />
+</selector>
diff --git a/res/drawable/ic_zoom_in.xml b/res/drawable/ic_zoom_in.xml
new file mode 100644
index 0000000..3a10ff1
--- /dev/null
+++ b/res/drawable/ic_zoom_in.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_activated="true" android:drawable="@drawable/ic_zoom_in_holo_light" />
+ <item android:state_pressed="true" android:drawable="@drawable/ic_zoom_in_holo_light" />
+ <item android:drawable="@drawable/ic_zoom_in_holo_dark" />
+</selector>
diff --git a/res/drawable/ic_zoom_out.xml b/res/drawable/ic_zoom_out.xml
new file mode 100644
index 0000000..070cffd
--- /dev/null
+++ b/res/drawable/ic_zoom_out.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_activated="true" android:drawable="@drawable/ic_zoom_out_holo_light" />
+ <item android:state_pressed="true" android:drawable="@drawable/ic_zoom_out_holo_light" />
+ <item android:drawable="@drawable/ic_zoom_out_holo_dark" />
+</selector>
diff --git a/res/drawable/more_button.xml b/res/drawable/more_button.xml
new file mode 100644
index 0000000..bbad9d4
--- /dev/null
+++ b/res/drawable/more_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_more_pressed" />
+ <item android:drawable="@drawable/ic_more_default" />
+</selector>
diff --git a/res/drawable/new_button.xml b/res/drawable/new_button.xml
new file mode 100644
index 0000000..4ed9daf
--- /dev/null
+++ b/res/drawable/new_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_new_pressed" />
+ <item android:drawable="@drawable/ic_new_default" />
+</selector>
diff --git a/res/drawable/new_glow_button.xml b/res/drawable/new_glow_button.xml
new file mode 100644
index 0000000..506d8cf
--- /dev/null
+++ b/res/drawable/new_glow_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_new_pressed" />
+ <item android:drawable="@drawable/ic_new_glow" />
+</selector>
diff --git a/res/drawable/previous_button.xml b/res/drawable/previous_button.xml
new file mode 100644
index 0000000..ab7317b
--- /dev/null
+++ b/res/drawable/previous_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_previous_pressed" />
+ <item android:drawable="@drawable/ic_previous_default" />
+</selector>
diff --git a/res/drawable/previous_glow_button.xml b/res/drawable/previous_glow_button.xml
new file mode 100644
index 0000000..1e896c6
--- /dev/null
+++ b/res/drawable/previous_glow_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_previous_pressed" />
+ <item android:drawable="@drawable/ic_previous_glow" />
+</selector>
diff --git a/res/drawable/screencolor_btn.xml b/res/drawable/screencolor_btn.xml
new file mode 100644
index 0000000..d89ae58
--- /dev/null
+++ b/res/drawable/screencolor_btn.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_window_focused="false" android:state_enabled="true"
+ android:drawable="@drawable/btn_default" />
+ <item android:state_window_focused="false" android:state_enabled="false"
+ android:drawable="@drawable/btn_default_disabled" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/btn_default_pressed_holo_dark" />
+ <item android:state_focused="true" android:state_enabled="true"
+ android:drawable="@drawable/btn_default_focused_holo_dark" />
+ <item android:state_enabled="true"
+ android:drawable="@drawable/btn_default" />
+ <item android:state_focused="true"
+ android:drawable="@drawable/btn_default_disabled_focused_holo_dark" />
+ <item
+ android:drawable="@drawable/btn_default_disabled" />
+</selector>
diff --git a/res/drawable/seekbar_define_style.xml b/res/drawable/seekbar_define_style.xml
new file mode 100644
index 0000000..1d097b1
--- /dev/null
+++ b/res/drawable/seekbar_define_style.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+ <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+android:id/background" android:drawable="@drawable/scrubber_track_holo_dark" />
+ <item android:id="@+android:id/secondaryProgress" android:drawable="@drawable/scrubber_track_holo_dark" />
+ <item android:id="@+android:id/progress" android:drawable="@drawable/scrubber_track_holo_dark" />
+</layer-list>
diff --git a/res/drawable/up_button.xml b/res/drawable/up_button.xml
new file mode 100644
index 0000000..6f33a56
--- /dev/null
+++ b/res/drawable/up_button.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/ic_up_pressed" />
+ <item android:drawable="@drawable/ic_up" />
+</selector>
diff --git a/res/layout/custom_screencolor.xml b/res/layout/custom_screencolor.xml
new file mode 100644
index 0000000..7fc7cfd
--- /dev/null
+++ b/res/layout/custom_screencolor.xml
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/background_preview"
+ android:background="@drawable/default_screencolor_setting">
+
+ <LinearLayout
+ android:id="@+id/bottons_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_gravity="center_horizontal|bottom"
+ style="?android:attr/buttonBarStyle">
+ <Button
+ android:id="@+id/cancel"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center_vertical"
+ android:textColor="@android:color/white"
+ android:text="@string/screencolor_cancel"
+ android:background="@drawable/screencolor_btn"/>
+ <Button
+ android:id="@+id/save"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center_vertical"
+ android:textColor="@android:color/white"
+ android:text="@string/screencolor_save"
+ android:background="@drawable/screencolor_btn"/>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/controls_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@id/bottons_layout"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:background="@drawable/transparent_background">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center">
+ <ImageView
+ android:id="@+id/up_down"
+ android:layout_width="48dip"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:background="@drawable/down_button"/>
+ <ImageView
+ android:id="@+id/more"
+ android:layout_width="48dip"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="@drawable/more_button"/>
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/up_down"
+ android:layout_toLeftOf="@id/more"
+ android:gravity="center">
+ <Button
+ android:id="@+id/previous_btn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/previous_button"/>
+ <Button
+ android:id="@+id/new_btn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/new_button"/>
+ </LinearLayout>
+ </RelativeLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/preview_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@id/controls_layout"
+ android:paddingLeft="20dip"
+ android:paddingRight="20dip"
+ android:paddingBottom="10dip">
+ <LinearLayout android:id="@+id/screencolor_control"
+ android:orientation="vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <TextView android:id="@+id/hue"
+ android:layout_height="wrap_content"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:layout_width="match_parent"
+ android:textColor="@android:color/white"
+ android:text="@string/hue_str"/>
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip">
+ <ImageView
+ android:id="@+id/reduce_hue"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ic_zoom_out"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"/>
+ <ImageView
+ android:id="@+id/increase_hue"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/ic_zoom_in"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"/>
+ <SeekBar android:id="@+id/hcontrol"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:thumb="@drawable/ic_zoom_slider"
+ android:progressDrawable="@drawable/seekbar_define_style"
+ android:layout_toRightOf="@id/reduce_hue"
+ android:layout_toLeftOf="@id/increase_hue"
+ android:maxHeight="12px"
+ android:minHeight="12px"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:paddingRight="20dip"
+ android:paddingBottom="10dip"/>
+ </RelativeLayout>
+
+ <TextView android:id="@+id/saturation"
+ android:layout_height="wrap_content"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:layout_width="fill_parent"
+ android:textColor="@android:color/white"
+ android:text="@string/saturation_str"/>
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip">
+ <ImageView
+ android:id="@+id/reduce_saturation"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_zoom_out"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true" />
+ <ImageView
+ android:id="@+id/increase_saturation"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_zoom_in"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"/>
+ <SeekBar android:id="@+id/scontrol"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:thumb="@drawable/ic_zoom_slider"
+ android:progressDrawable="@drawable/seekbar_define_style"
+ android:layout_toRightOf="@id/reduce_saturation"
+ android:layout_toLeftOf="@id/increase_saturation"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:paddingRight="20dip"
+ android:paddingBottom="10dip"/>
+ </RelativeLayout>
+
+ <TextView android:id="@+id/contrast"
+ android:layout_height="wrap_content"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:layout_width="fill_parent"
+ android:textColor="@android:color/white"
+ android:text="@string/contrast_str"/>
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip">
+ <ImageView
+ android:id="@+id/reduce_contrast"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_zoom_out"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true" />
+ <ImageView
+ android:id="@+id/increase_contrast"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_zoom_in"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"/>
+ <SeekBar android:id="@+id/ccontrol"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:thumb="@drawable/ic_zoom_slider"
+ android:progressDrawable="@drawable/seekbar_define_style"
+ android:layout_toRightOf="@id/reduce_contrast"
+ android:layout_toLeftOf="@id/increase_contrast"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:paddingRight="20dip"
+ android:paddingBottom="10dip"/>
+ </RelativeLayout>
+
+ <TextView android:id="@+id/intensity"
+ android:layout_height="wrap_content"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:layout_width="fill_parent"
+ android:textColor="@android:color/white"
+ android:text="@string/intensity_str"/>
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:id="@+id/intensity_layout">
+ <ImageView
+ android:id="@+id/reduce_intensity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_zoom_out"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true" />
+ <ImageView
+ android:id="@+id/increase_intensity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_zoom_in"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"/>
+ <SeekBar android:id="@+id/icontrol"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:thumb="@drawable/ic_zoom_slider"
+ android:progressDrawable="@drawable/seekbar_define_style"
+ android:layout_toRightOf="@id/reduce_intensity"
+ android:layout_toLeftOf="@id/increase_intensity"
+ android:paddingLeft="20dip"
+ android:paddingTop="10dip"
+ android:paddingRight="20dip"
+ android:paddingBottom="10dip"/>
+ </RelativeLayout>
+ </LinearLayout>
+
+ </LinearLayout>
+
+</RelativeLayout>
diff --git a/res/layout/screen_color_item.xml b/res/layout/screen_color_item.xml
new file mode 100644
index 0000000..b55af06
--- /dev/null
+++ b/res/layout/screen_color_item.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:paddingTop="4dip"
+ android:paddingRight="10dip"
+ android:paddingBottom="4dip" >
+
+ <RelativeLayout
+ android:id="@+id/widget_frame"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_toStartOf="@+id/divider"
+ android:clickable="true"
+ android:focusable="true"
+ android:paddingLeft="10dip" >
+
+ <TextView
+ android:id="@android:id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toStartOf="@android:id/button1"
+ android:layout_toEndOf="@android:id/icon"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textAlignment="viewStart"
+ android:textColor="@android:color/white"
+ android:labelFor="@android:id/button2" />
+
+ <RadioButton
+ android:id="@android:id/button1"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentEnd="true"
+ android:layout_centerVertical="true"
+ android:duplicateParentState="true"
+ android:clickable="false"
+ android:focusable="false" />
+ </RelativeLayout>
+
+ <ImageView
+ android:id="@id/divider"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_centerVertical="true"
+ android:layout_toStartOf="@android:id/button2"
+ android:src="@drawable/nav_divider" />
+
+ <ImageView
+ android:id="@android:id/button2"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignBottom="@android:id/widget_frame"
+ android:layout_alignParentEnd="true"
+ android:layout_alignTop="@android:id/widget_frame"
+ android:layout_centerVertical="true"
+ android:background="?android:attr/selectableItemBackground"
+ android:clickable="true"
+ android:focusable="true"
+ android:src="@drawable/ic_bt_config" />
+
+</RelativeLayout>
diff --git a/res/layout/screencolor_settings.xml b/res/layout/screencolor_settings.xml
new file mode 100644
index 0000000..dd614a1
--- /dev/null
+++ b/res/layout/screencolor_settings.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/background_preview"
+ android:orientation="vertical"
+ android:gravity="bottom"
+ android:background="@drawable/default_screencolor_setting">
+
+
+ <ListView
+ android:id="@+id/mode_list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:layout_marginRight="20dip"
+ android:layout_marginBottom="20dip"
+ android:layout_gravity="bottom"
+ android:background="@drawable/transparent_background" >
+ </ListView>
+</LinearLayout>
diff --git a/res/menu/screencolor_more.xml b/res/menu/screencolor_more.xml
new file mode 100644
index 0000000..dc914b4
--- /dev/null
+++ b/res/menu/screencolor_more.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2014, The Linux Foundation. All Rights Reserved.
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/restore_preview"
+ android:title="@string/restore_preview"
+ />
+ <item
+ android:id="@+id/selectnewfile_menu"
+ android:title="@string/selectnewfile_menu"
+ />
+ <item
+ android:id="@+id/selectfile_menu"
+ android:title="@string/selectfile_menu"
+ />
+ <item
+ android:id="@+id/restore_default_str"
+ android:title="@string/restore_default_str"
+ />
+</menu>
diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml
index 2e4dac8..80b4ace 100644
--- a/res/values/cm_arrays.xml
+++ b/res/values/cm_arrays.xml
@@ -261,4 +261,11 @@
per-device overlay. Required to build on non-hardware tunable devices -->
<string-array name="gamma_descriptors" translatable="false">
</string-array>
+
+ <!-- Values for screen color -->
+ <string-array name="screen_color_setting">
+ <item>Standard</item>
+ <item>Vivid</item>
+ <item>Custom</item>
+ </string-array>
</resources>
diff --git a/res/values/cm_colors.xml b/res/values/cm_colors.xml
index 8542f5c..3d09dac 100644
--- a/res/values/cm_colors.xml
+++ b/res/values/cm_colors.xml
@@ -61,4 +61,6 @@ limitations under the License.
<!-- Personal Dictionary Add Icon -->
<drawable name="ic_menu_add_word">@drawable/ic_menu_add_dark</drawable>
+ <color name="screencolor_background">#50000000</color>
+ <drawable name="transparent_background">#00000000</drawable>
</resources>
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 58e94f6..c751d86 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -470,4 +470,20 @@
<string name="display_rotation_180_title">180 degrees</string>
<string name="display_rotation_270_title">270 degrees</string>
+ <!-- Display settings. Screen color. -->
+ <string name="screencolor">Screen color</string>
+ <string name="screencolor_summary">Tune screen Hue, Saturation, Contrast and Intensity</string>
+ <string name="custom_screencolor">Custom screen color</string>
+ <string name="screencolor_save">Save</string>
+ <string name="screencolor_cancel">Cancel</string>
+ <string name="previous_str">Previous</string>
+ <string name="new_str">New</string>
+ <string name="restore_preview">View default picture</string>
+ <string name="selectnewfile_menu">View new picture from Gallery</string>
+ <string name="selectfile_menu">View picture from Gallery</string>
+ <string name="restore_default_str">Reset</string>
+ <string name="hue_str">Hue: <xliff:g id="hue_value">%1$s</xliff:g></string>
+ <string name="saturation_str">Saturation: <xliff:g id="saturation_value">%1$s</xliff:g></string>
+ <string name="contrast_str">Contrast: <xliff:g id="contrast_value">%1$s</xliff:g></string>
+ <string name="intensity_str">Intensity: <xliff:g id="intensity_str_value">%1$s</xliff:g></string>
</resources>
diff --git a/res/values/config.xml b/res/values/config.xml
index 62e7e67..a02e775 100755
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -43,4 +43,40 @@
<!-- Config to enable/disable ppp number in APN editor -->
<bool name="config_ppp_enabled">false</bool>
+
+ <!-- This used to define screen color's Hue progress bar minimum value -->
+ <integer name="minimum_hue_value" translatable="false">0</integer>
+
+ <!-- This is used to define screen color's Hue progress bar maximum value-->
+ <integer name="maximum_hue_value" translatable="false">360</integer>
+
+ <!-- This is used to define screen color's Hue progress bar default value-->
+ <integer name="default_hue_value" translatable="false">180</integer>
+
+ <!-- This is used to define screen color's saturation progress bar minimum value-->
+ <integer name="minimum_saturation_value" translatable="false">0</integer>
+
+ <!-- This is used to define screen color's saturation progress bar maximum value-->
+ <integer name="maximum_saturation_value" translatable="false">360</integer>
+
+ <!-- This is used to define screen color's saturation progress bar default value-->
+ <integer name="default_saturation_value" translatable="false">180</integer>
+
+ <!-- This is used to define screen color's intensity progress bar minimum value-->
+ <integer name="minimum_intensity_value" translatable="false">0</integer>
+
+ <!-- This is used to define screen color's intensity progress bar maximum value-->
+ <integer name="maximum_intensity_value" translatable="false">400</integer>
+
+ <!-- This is used to define screen color's intensity progress bar default value-->
+ <integer name="default_intensity_value" translatable="false">200</integer>
+
+ <!-- This is used to define screen color's contrast progress bar minimum value-->
+ <integer name="minimum_contrast_value" translatable="false">0</integer>
+
+ <!-- This is used to define screen color's contrast progress bar default value-->
+ <integer name="default_contrast_value" translatable="false">180</integer>
+
+ <!-- This is used to define screen color's contrast progress bar maximum value-->
+ <integer name="maximum_contrast_value" translatable="false">360</integer>
</resources>
diff --git a/res/xml/display_settings.xml b/res/xml/display_settings.xml
index 08875cf..e4f6759 100644
--- a/res/xml/display_settings.xml
+++ b/res/xml/display_settings.xml
@@ -141,7 +141,6 @@
android:summary="@string/color_enhancement_summary"
android:defaultValue="true" />
-
<com.android.settings.hardware.DisplayColor
android:key="color_calibration"
android:title="@string/color_calibration_title"
@@ -156,4 +155,16 @@
android:summary="@string/gamma_tuning_summary_head"
android:persistent="false" />
</PreferenceCategory>
+
+ <PreferenceScreen
+ android:persistent="false"
+ android:key="screencolor_settings"
+ android:title="@string/screencolor"
+ android:summary="@string/screencolor_summary">
+ <intent
+ android:action="com.qualcomm.display.PPService"
+ android:targetPackage="com.android.settings"
+ android:targetClass="com.android.settings.ScreenColorSettings" />
+ </PreferenceScreen>
+
</PreferenceScreen>