omni: add deep blue primary overlay
Change-Id: If1a01f62f46d01e9ed1ca5869103e2d0ca849418
diff --git a/themes/overlays/Android.mk b/themes/overlays/Android.mk
index 6e0a6d2..4c9f0d4 100644
--- a/themes/overlays/Android.mk
+++ b/themes/overlays/Android.mk
@@ -23,6 +23,7 @@
AccentColorGoldenShowerOverlay \
PrimaryColorOmniBlackOverlay \
PrimaryColorDarkBlueOverlay \
+ PrimaryColorDeepBlueOverlay \
AccentColorRedDevilOverlay
include $(BUILD_PHONY_PACKAGE)
diff --git a/themes/overlays/PrimaryColorDeepBlue/Android.mk b/themes/overlays/PrimaryColorDeepBlue/Android.mk
new file mode 100644
index 0000000..2e77d08
--- /dev/null
+++ b/themes/overlays/PrimaryColorDeepBlue/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 := PrimaryColorDeepBlue
+
+LOCAL_PRODUCT_MODULE := true
+
+LOCAL_SRC_FILES := $(call all-subdir-java-files)
+
+LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
+
+LOCAL_PACKAGE_NAME := PrimaryColorDeepBlueOverlay
+LOCAL_SDK_VERSION := current
+
+include $(BUILD_RRO_PACKAGE)
diff --git a/themes/overlays/PrimaryColorDeepBlue/AndroidManifest.xml b/themes/overlays/PrimaryColorDeepBlue/AndroidManifest.xml
new file mode 100644
index 0000000..1c6c36d
--- /dev/null
+++ b/themes/overlays/PrimaryColorDeepBlue/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.primary.deepblue"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <overlay android:targetPackage="android" android:category="android.theme.customization.primary_color" android:priority="2"/>
+
+ <application android:label="@string/primary_color_deep_blue" android:hasCode="false"/>
+</manifest>
diff --git a/themes/overlays/PrimaryColorDeepBlue/res/values-night/colors.xml b/themes/overlays/PrimaryColorDeepBlue/res/values-night/colors.xml
new file mode 100644
index 0000000..e65c2c1
--- /dev/null
+++ b/themes/overlays/PrimaryColorDeepBlue/res/values-night/colors.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+-->
+
+<!-- Colors specific to DeviceDefault themes. These are mostly pass-throughs to enable
+ overlaying new theme colors. -->
+<resources>
+ <color name="primary_device_default_settings">#152238</color> <!-- colorPrimary -->
+ <color name="primary_dark_device_default_settings">#0f1929</color> <!-- colorPrimaryDark-->
+ <color name="material_grey_800">#1b2b47</color> <!-- google elgoogleogoelo -->
+ <color name="material_grey_900">#152238</color> <!-- google elgoogleogoelo -->
+ <color name="primary_device_default">@color/primary_dark_device_default_settings</color> <!-- only for ThemePicker! -->
+</resources>
+
diff --git a/themes/overlays/PrimaryColorDeepBlue/res/values/colors.xml b/themes/overlays/PrimaryColorDeepBlue/res/values/colors.xml
new file mode 100644
index 0000000..5f47403
--- /dev/null
+++ b/themes/overlays/PrimaryColorDeepBlue/res/values/colors.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+-->
+
+<!-- Colors specific to DeviceDefault themes. These are mostly pass-throughs to enable
+ overlaying new theme colors. -->
+<resources>
+ <color name="primary_device_default">@*android:color/primary_device_default_settings_light</color> <!-- only for ThemePicker! -->
+</resources>
+
diff --git a/themes/overlays/PrimaryColorDeepBlue/res/values/strings.xml b/themes/overlays/PrimaryColorDeepBlue/res/values/strings.xml
new file mode 100644
index 0000000..412c52d
--- /dev/null
+++ b/themes/overlays/PrimaryColorDeepBlue/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="primary_color_deep_blue" translatable="false">Deep Blue</string>
+</resources>
+