diff --git a/overlay/packages/Android.mk b/overlay/packages/Android.mk index 2e0f9fed..00ff6127 100644 --- a/overlay/packages/Android.mk +++ b/overlay/packages/Android.mk @@ -19,7 +19,8 @@ LOCAL_MODULE := pa-overlays LOCAL_REQUIRED_MODULES := \ AccentColorPixelBlueOverlay \ AccentColorTealOverlay \ - FontGoogleSansOverlay + FontGoogleSansOverlay \ + FontSlateForOnePlusOverlay include $(BUILD_PHONY_PACKAGE) -include $(call first-makefiles-under,$(LOCAL_PATH)) \ No newline at end of file +include $(call first-makefiles-under,$(LOCAL_PATH)) diff --git a/overlay/packages/FontSlateForOnePlusOverlay/Android.mk b/overlay/packages/FontSlateForOnePlusOverlay/Android.mk new file mode 100644 index 00000000..4f5e2df9 --- /dev/null +++ b/overlay/packages/FontSlateForOnePlusOverlay/Android.mk @@ -0,0 +1,31 @@ +# +# Copyright 2019, 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 := FontSlateForOnePlus + +LOCAL_PRODUCT_MODULE := true + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := FontSlateForOnePlusOverlay +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/overlay/packages/FontSlateForOnePlusOverlay/AndroidManifest.xml b/overlay/packages/FontSlateForOnePlusOverlay/AndroidManifest.xml new file mode 100644 index 00000000..ba93e35e --- /dev/null +++ b/overlay/packages/FontSlateForOnePlusOverlay/AndroidManifest.xml @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/overlay/packages/FontSlateForOnePlusOverlay/res/values/config.xml b/overlay/packages/FontSlateForOnePlusOverlay/res/values/config.xml new file mode 100644 index 00000000..6a5c8755 --- /dev/null +++ b/overlay/packages/FontSlateForOnePlusOverlay/res/values/config.xml @@ -0,0 +1,31 @@ + + + + Slate + + + Slate-medium + + + Slate-book + + + Slate + + diff --git a/overlay/packages/FontSlateForOnePlusOverlay/res/values/strings.xml b/overlay/packages/FontSlateForOnePlusOverlay/res/values/strings.xml new file mode 100644 index 00000000..fc6045cf --- /dev/null +++ b/overlay/packages/FontSlateForOnePlusOverlay/res/values/strings.xml @@ -0,0 +1,21 @@ + + + + Slate For OnePlus + diff --git a/prebuilt/etc/fonts_customization.xml b/prebuilt/etc/fonts_customization.xml index db229423..c90581d6 100644 --- a/prebuilt/etc/fonts_customization.xml +++ b/prebuilt/etc/fonts_customization.xml @@ -8,4 +8,16 @@ GoogleSans-BoldItalic.ttf - \ No newline at end of file + + + SlateForOnePlus-Book.ttf + Roboto-LightItalic.ttf + SlateForOnePlus-Regular.ttf + Roboto-Italic.ttf + SlateForOnePlus-Medium.ttf + Roboto-MediumItalic.ttf + + + + + diff --git a/prebuilt/fonts/SlateForOnePlus-Book.ttf b/prebuilt/fonts/SlateForOnePlus-Book.ttf new file mode 100644 index 00000000..f399e030 Binary files /dev/null and b/prebuilt/fonts/SlateForOnePlus-Book.ttf differ diff --git a/prebuilt/fonts/SlateForOnePlus-Medium.ttf b/prebuilt/fonts/SlateForOnePlus-Medium.ttf new file mode 100644 index 00000000..0deaf0e7 Binary files /dev/null and b/prebuilt/fonts/SlateForOnePlus-Medium.ttf differ diff --git a/prebuilt/fonts/SlateForOnePlus-Regular.ttf b/prebuilt/fonts/SlateForOnePlus-Regular.ttf new file mode 100644 index 00000000..e8c4ce9f Binary files /dev/null and b/prebuilt/fonts/SlateForOnePlus-Regular.ttf differ