omni: add red devil overlay and red theme

Change-Id: If8837b7e74c77e226dcc80ac7dcffa65ab3ce592
diff --git a/themes/overlays/AccentColorRedDevilOverlay/Android.mk b/themes/overlays/AccentColorRedDevilOverlay/Android.mk
new file mode 100644
index 0000000..03f661e
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/Android.mk
@@ -0,0 +1,31 @@
+#
+#  Copyright 2018, The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_RRO_THEME := AccentColorRedDevil
+
+LOCAL_PRODUCT_MODULE := true
+
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
+
+LOCAL_PACKAGE_NAME := AccentColorRedDevilOverlay
+LOCAL_SDK_VERSION := current
+
+include $(BUILD_RRO_PACKAGE)
diff --git a/themes/overlays/AccentColorRedDevilOverlay/AndroidManifest.xml b/themes/overlays/AccentColorRedDevilOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..7957840
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/AndroidManifest.xml
@@ -0,0 +1,25 @@
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+          package="com.android.theme.color.reddevil"
+          android:versionCode="1"
+          android:versionName="1.0">
+    <overlay android:targetPackage="android" android:category="android.theme.customization.accent_color" android:priority="1"/>
+
+    <application android:label="@string/accent_color_red_devil" android:hasCode="false"/>
+</manifest>
diff --git a/themes/overlays/AccentColorRedDevilOverlay/res/values/colors_device_defaults.xml b/themes/overlays/AccentColorRedDevilOverlay/res/values/colors_device_defaults.xml
new file mode 100644
index 0000000..4b7568d
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/res/values/colors_device_defaults.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources>
+    <color name="accent_device_default_light">#ffe0141b</color>
+    <color name="accent_device_default_dark">#ffe5141b</color>
+</resources>
diff --git a/themes/overlays/AccentColorRedDevilOverlay/res/values/strings.xml b/themes/overlays/AccentColorRedDevilOverlay/res/values/strings.xml
new file mode 100644
index 0000000..43b2da4
--- /dev/null
+++ b/themes/overlays/AccentColorRedDevilOverlay/res/values/strings.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2018, The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+    <!-- Purple accent color name application label. [CHAR LIMIT=50] -->
+    <string name="accent_color_red_devil" translatable="false">Red Devil</string>
+</resources>
+
diff --git a/themes/overlays/Android.mk b/themes/overlays/Android.mk
index 7e0e95f..6e0a6d2 100644
--- a/themes/overlays/Android.mk
+++ b/themes/overlays/Android.mk
@@ -22,7 +22,8 @@
 	AccentColorOmniOverlay \
 	AccentColorGoldenShowerOverlay \
 	PrimaryColorOmniBlackOverlay \
-	PrimaryColorDarkBlueOverlay
+	PrimaryColorDarkBlueOverlay \
+	AccentColorRedDevilOverlay
 
 include $(BUILD_PHONY_PACKAGE)
 include $(CLEAR_VARS)
diff --git a/themes/overlaystub/res/drawable/red_wallpaper.jpg b/themes/overlaystub/res/drawable/red_wallpaper.jpg
new file mode 100644
index 0000000..d4f7b35
--- /dev/null
+++ b/themes/overlaystub/res/drawable/red_wallpaper.jpg
Binary files differ
diff --git a/themes/overlaystub/res/values/arrays.xml b/themes/overlaystub/res/values/arrays.xml
index fcb3981..b30f1bc 100644
--- a/themes/overlaystub/res/values/arrays.xml
+++ b/themes/overlaystub/res/values/arrays.xml
@@ -4,5 +4,6 @@
         <item>default</item>
         <item>omni</item>
         <item>space</item>
+        <item>red</item>
     </string-array>
 </resources>
diff --git a/themes/overlaystub/res/values/drawable.xml b/themes/overlaystub/res/values/drawable.xml
index 02e12a3..3afde97 100644
--- a/themes/overlaystub/res/values/drawable.xml
+++ b/themes/overlaystub/res/values/drawable.xml
@@ -4,5 +4,7 @@
     <item type="drawable" name="theme_wallpaper_thumbnail_omni">@drawable/omni_wallpaper</item>
     <item type="drawable" name="theme_wallpaper_space">@drawable/space_wallpaper</item>
     <item type="drawable" name="theme_wallpaper_thumbnail_space">@drawable/space_wallpaper</item>
+    <item type="drawable" name="theme_wallpaper_red">@drawable/red_wallpaper</item>
+    <item type="drawable" name="theme_wallpaper_thumbnail_red">@drawable/red_wallpaper</item>
 </resources>
 
diff --git a/themes/overlaystub/res/values/strings.xml b/themes/overlaystub/res/values/strings.xml
index e440656..1a93afa 100644
--- a/themes/overlaystub/res/values/strings.xml
+++ b/themes/overlaystub/res/values/strings.xml
@@ -46,4 +46,17 @@
     <string name="theme_wallpaper_title_space">Omni</string>
     <string name="theme_wallpaper_attribution_space">OmniROM</string>
     <string name="theme_wallpaper_action_space">https://www.omnirom.org/</string>
+
+    <string name="theme_name_red">Red</string>
+    <string name="theme_title_red">@string/theme_name_red</string>
+    <string name="theme_overlay_color_red">com.android.theme.color.reddevil</string>
+    <string name="theme_overlay_primary_red">com.android.theme.color.primary.omniblack</string>
+    <string name="theme_overlay_icon_android_red">com.android.theme.icon_pack.rounded.android</string>
+    <string name="theme_overlay_icon_launcher_red">com.android.theme.icon_pack.rounded.launcher</string>
+    <string name="theme_overlay_icon_settings_red">com.android.theme.icon_pack.rounded.settings</string>
+    <string name="theme_overlay_icon_sysui_red">com.android.theme.icon_pack.rounded.systemui</string>
+    <string name="theme_overlay_shape_red">com.android.theme.icon.roundedrect</string>
+    <string name="theme_wallpaper_title_red">Omni</string>
+    <string name="theme_wallpaper_attribution_red">OmniROM</string>
+    <string name="theme_wallpaper_action_red">https://www.omnirom.org/</string>
 </resources>