Evolver: Init empty Evolver

Co-authored-by: Joey Huab <joey@evolution-x.org>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: xyyx <xyyx@mail.ru>
Co-authored-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
AnierinB
2024-05-01 00:49:14 +00:00
commit bb6637b96f
38 changed files with 1130 additions and 0 deletions

1
Android.mk Normal file
View File

@@ -0,0 +1 @@
LOCAL_PATH := $(call my-dir)

3
crowdin.yml Normal file
View File

@@ -0,0 +1,3 @@
files:
- source: /**/values/evolution_strings.xml
translation: /%original_path%-%android_code%/%original_file_name%

13
res/drawable/ic_about.xml Normal file
View File

@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M15,24c-0.2,0 -0.5,-0.1 -0.6,-0.2L4.1,14.7c-0.3,-0.2 -0.4,-0.6 -0.3,-1l0.9,-3.4c0.1,-0.4 0.5,-0.7 0.9,-0.7h10.1c0.3,0 0.6,0.1 0.7,0.4l2.8,3.4c0.2,0.3 0.3,0.7 0.1,1c-0.2,0.3 -0.5,0.5 -0.9,0.5h-5.8l3.8,3.4c0.3,0.2 0.4,0.6 0.3,0.9l-0.9,4c-0.1,0.3 -0.3,0.6 -0.6,0.7C15.2,24 15.1,24 15,24zM5.8,13.7l8.6,7.6l0.4,-1.9l-5.3,-4.7c-0.3,-0.3 -0.4,-0.7 -0.3,-1.1c0.1,-0.4 0.5,-0.6 0.9,-0.6h6.4l-1.2,-1.5H6.4L5.8,13.7z" />
<path
android:fillColor="#FFFFFFFF"
android:pathData="M17.6,7.4H8.9c-0.2,0 -0.5,-0.1 -0.7,-0.3L4.6,3.7C4.3,3.4 4.2,3 4.3,2.6C4.5,2.2 4.8,2 5.2,2h13.3c0.3,0 0.6,0.1 0.8,0.4c0.2,0.2 0.2,0.5 0.2,0.8l-0.9,3.4C18.4,7.1 18,7.4 17.6,7.4zM9.3,5.4h7.6l0.4,-1.5H7.6L9.3,5.4z" />
</vector>

View File

@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FFFFFF"
android:pathData="M4,2A2,2 0 0,0 2,4V14H4V4H14V2H4M8,6A2,2 0 0,0 6,8V18H8V8H18V6H8M20,12V20H12V12H20M20,10H12A2,2 0 0,0 10,12V20A2,2 0 0,0 12,22H20A2,2 0 0,0 22,20V12A2,2 0 0,0 20,10Z" />
</vector>

View File

@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FFFFFF"
android:pathData="M13,4 L13,6.67 L12,7.67 L11,6.67 L11,4 L13,4 M20,11 L20,13 L17.33,13 L16.33,12 L17.33,11 L20,11 M6.67,11 L7.67,12 L6.67,13 L4,13 L4,11 L6.67,11 M12,16.33 L13,17.33 L13,20 L11,20 L11,17.33 L12,16.33 M15,2 L9,2 L9,7.5 L12,10.5 L15,7.5 L15,2 Z M22,9 L16.5,9 L13.5,12 L16.5,15 L22,15 L22,9 Z M7.5,9 L2,9 L2,15 L7.5,15 L10.5,12 L7.5,9 Z M12,13.5 L9,16.5 L9,22 L15,22 L15,16.5 L12,13.5 Z" />
</vector>

View File

@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M19.6239,5.39C18.2217,4.7467 16.7181,4.2726 15.1459,4.0011C15.1173,3.9959 15.0887,4.009 15.0739,4.0352C14.8805,4.3791 14.6663,4.8278 14.5163,5.1805C12.8254,4.9274 11.1431,4.9274 9.4868,5.1805C9.3368,4.82 9.1148,4.3791 8.9205,4.0352C8.9058,4.0099 8.8772,3.9968 8.8485,4.0011C7.2772,4.2718 5.7736,4.7458 4.3705,5.39C4.3584,5.3953 4.348,5.404 4.3411,5.4154C1.4889,9.6764 0.7076,13.8326 1.0909,17.9374C1.0927,17.9574 1.1039,17.9766 1.1195,17.9889C3.0013,19.3708 4.8241,20.2097 6.613,20.7658C6.6416,20.7745 6.672,20.764 6.6902,20.7405C7.1134,20.1626 7.4906,19.5532 7.814,18.9125C7.8331,18.8749 7.8149,18.8304 7.7759,18.8156C7.1775,18.5886 6.6078,18.3119 6.0598,17.9976C6.0164,17.9723 6.0129,17.9103 6.0528,17.8806C6.1681,17.7942 6.2835,17.7043 6.3936,17.6135C6.4135,17.5969 6.4413,17.5934 6.4647,17.6039C10.0652,19.2477 13.9631,19.2477 17.521,17.6039C17.5445,17.5925 17.5722,17.596 17.593,17.6126C17.7032,17.7034 17.8185,17.7942 17.9347,17.8806C17.9746,17.9103 17.972,17.9723 17.9286,17.9976C17.3806,18.318 16.8108,18.5886 16.2116,18.8147C16.1726,18.8295 16.1553,18.8749 16.1744,18.9125C16.5047,19.5523 16.882,20.1617 17.2973,20.7396C17.3147,20.764 17.3459,20.7745 17.3745,20.7658C19.1721,20.2097 20.9949,19.3708 22.8766,17.9889C22.8931,17.9766 22.9035,17.9583 22.9053,17.9382C23.364,13.1927 22.1369,9.0705 19.6525,5.4162C19.6465,5.404 19.6361,5.3953 19.6239,5.39ZM8.3517,15.438C7.2677,15.438 6.3745,14.4428 6.3745,13.2207C6.3745,11.9985 7.2504,11.0033 8.3517,11.0033C9.4616,11.0033 10.3462,12.0072 10.3288,13.2207C10.3288,14.4428 9.453,15.438 8.3517,15.438ZM15.6619,15.438C14.5779,15.438 13.6847,14.4428 13.6847,13.2207C13.6847,11.9985 14.5606,11.0033 15.6619,11.0033C16.7718,11.0033 17.6563,12.0072 17.639,13.2207C17.639,14.4428 16.7718,15.438 15.6619,15.438Z"
android:fillColor="#FFFFFFFF"/>
</vector>

View File

@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M17,18L7,18L7,6L17,6L17,7L19,7L19,3C19,1.895 18.105,1 17,1L7,1C5.895,1 5,1.895 5,3L5,21C5,22.105 5.895,23 7,23L17,23C18.105,23 19,22.105 19,21L19,17L17,17L17,18ZM7,3L17,3L17,4L7,4L7,3ZM17,21L7,21L7,20L17,20L17,21ZM17.94,12.06L20,13L17.94,13.94L17,16L16.06,13.94L14,13L16.06,12.06L17,10L17.94,12.06ZM20.63,8.38L22,9L20.63,9.63L20,11L19.38,9.63L18,9L19.38,8.38L20,7L20.63,8.38Z"
android:strokeColor="#00000000"
android:fillType="nonZero"
android:fillColor="#000000"
android:strokeWidth="1"/>
</vector>

View File

@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z" />
</vector>

View File

@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M0,0 L24,0 L24,24 L0,24 L0,0 Z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M10,16 L14,16 C14.55,16,15,15.55,15,15 L15,12 C15,11.45,14.55,11,14,11 L14,10 C14,8.89,13.1,8,12,8 C10.89,8,10,8.9,10,10 L10,11 C9.45,11,9,11.45,9,12 L9,15 C9,15.55,9.45,16,10,16 Z M10.8,10 C10.8,9.34,11.34,8.8,12,8.8 S13.2,9.34,13.2,10 L13.2,11 L10.8,11 L10.8,10 Z M17,1 L7,1 C5.9,1,5,1.9,5,3 L5,21 C5,22.1,5.9,23,7,23 L17,23 C18.1,23,19,22.1,19,21 L19,3 C19,1.9,18.1,1,17,1 Z M17,19 L7,19 L7,5 L17,5 L17,19 Z" />
</vector>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M0,0 L24,0 L24,24 L0,24 L0,0 Z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M22.61,18.99 L13.53,9.91 C14.46,7.57,13.98,4.81,12.09,2.91 C9.79,0.61,6.21,0.4,3.66,2.26 L7.5,6.11 L6.08,7.52 L2.25,3.69 C0.39,6.23,0.6,9.82,2.9,12.11 C4.76,13.97,7.47,14.46,9.79,13.59 L18.9,22.7 C19.29,23.09,19.92,23.09,20.31,22.7 L22.61,20.4 C23.01,20.02,23.01,19.39,22.61,18.99 Z M19.61,20.59 L10.15,11.13 C9.54,11.58,8.86,11.85,8.15,11.95 C6.79,12.15,5.36,11.74,4.32,10.7 C3.37,9.76,2.93,8.5,3,7.26 L6.09,10.35 L10.33,6.11 L7.24,3.02 C8.48,2.95,9.73,3.39,10.68,4.33 C11.76,5.41,12.17,6.9,11.92,8.29 C11.8,9,11.5,9.66,11.04,10.25 L20.49,19.7 L19.61,20.59 Z" />
</vector>

View File

@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M0,0 L24,0 L24,24 L0,24 L0,0 Z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M12,22 C13.1,22,14,21.1,14,20 L10,20 C10,21.1,10.9,22,12,22 Z M18,16 L18,11 C18,7.93,16.37,5.36,13.5,4.68 L13.5,4 C13.5,3.17,12.83,2.5,12,2.5 S10.5,3.17,10.5,4 L10.5,4.68 C7.64,5.36,6,7.92,6,11 L6,16 L4,18 L4,19 L20,19 L20,18 L18,16 Z M16,17 L8,17 L8,11 C8,8.52,9.51,6.5,12,6.5 S16,8.52,16,11 L16,17 Z" />
</vector>

View File

@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M0,0 L24,0 L24,24 L0,24 L0,0 Z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M7,3 L7,6 L9,6 L9,4 L19,4 L19,20 L9,20 L9,18 L7,18 L7,21 C7,22.1,7.9,23,9,23 L19,23 C20.1,23,21,22.1,21,21 L21,3 C21,1.9,20.1,1,19,1 L9,1 C7.9,1,7,1.9,7,3 Z M9.5,15.5 C9.79,15.38,10.05,15.21,10.3,15.02 L10.28,15.05 L11.29,15.44 C11.52,15.53,11.78,15.44,11.9,15.22 L12.74,13.76 C12.86,13.55,12.81,13.27,12.62,13.12 L11.77,12.44 L11.75,12.47 C11.77,12.31,11.8,12.15,11.8,11.99 S11.77,11.67,11.75,11.51 L11.77,11.54 L12.62,10.86 C12.81,10.71,12.86,10.43,12.74,10.22 L11.9,8.76 C11.78,8.55,11.52,8.45,11.29,8.54 L10.28,8.93 L10.3,8.96 C10.05,8.79,9.79,8.62,9.5,8.5 L9.33,7.42 C9.3,7.18,9.09,7,8.84,7 L7.16,7 C6.91,7,6.7,7.18,6.67,7.42 L6.5,8.5 C6.21,8.62,5.95,8.79,5.7,8.98 L5.72,8.95 L4.7,8.56 C4.47,8.47,4.21,8.56,4.09,8.78 L3.25,10.24 C3.13,10.45,3.18,10.73,3.37,10.88 L4.22,11.56 L4.24,11.53 C4.22,11.68,4.19,11.84,4.19,12 S4.22,12.32,4.24,12.48 L4.22,12.45 L3.37,13.13 C3.18,13.28,3.13,13.56,3.25,13.77 L4.09,15.23 C4.21,15.44,4.47,15.54,4.7,15.45 L5.71,15.06 L5.7,15.02 C5.95,15.21,6.21,15.38,6.5,15.5 L6.67,16.57 C6.7,16.82,6.91,17,7.16,17 L8.84,17 C9.09,17,9.3,16.82,9.33,16.58 L9.5,15.5 Z M6,12 C6,10.9,6.9,10,8,10 S10,10.9,10,12 S9.1,14,8,14 S6,13.1,6,12 Z" />
</vector>

View File

@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M0,0 L24,0 L24,24 L0,24 L0,0 Z" />
<path
android:fillColor="#FFFFFF"
android:pathData="M16.66,4.52 L19.49,7.35 L16.66,10.18 L13.83,7.35 L16.66,4.52 M9,5 L9,9 L5,9 L5,5 L9,5 M19,15 L19,19 L15,19 L15,15 L19,15 M9,15 L9,19 L5,19 L5,15 L9,15 M16.66,1.69 L11,7.34 L16.66,13 L22.32,7.34 L16.66,1.69 Z M11,3 L3,3 L3,11 L11,11 L11,3 Z M21,13 L13,13 L13,21 L21,21 L21,13 Z M11,13 L3,13 L3,21 L11,21 L11,13 Z" />
</vector>

View File

@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FFFFFF"
android:pathData="M17.99,11.57 L20,11.57 L20,0 L0,20 L11.56,20 L11.56,18 L4.83,18 L17.99,4.83 L17.99,11.57 Z M23.77,20.32 L22.7,19.49 C22.72,19.33,22.74,19.17,22.74,19 C22.74,18.83,22.73,18.67,22.7,18.51 L23.76,17.68 C23.85,17.6,23.88,17.47,23.82,17.36 L22.82,15.63 C22.76,15.52,22.63,15.48,22.51,15.52 L21.27,16.02 C21.01,15.82,20.73,15.65,20.42,15.53 L20.23,14.21 C20.22,14.09,20.11,14,19.99,14 L17.99,14 C17.87,14,17.76,14.09,17.74,14.21 L17.55,15.53 C17.25,15.66,16.96,15.82,16.7,16.02 L15.46,15.52 C15.35,15.48,15.22,15.52,15.15,15.63 L14.15,17.36 C14.09,17.47,14.11,17.6,14.21,17.68 L15.27,18.51 C15.25,18.67,15.24,18.83,15.24,19 C15.24,19.17,15.25,19.33,15.27,19.49 L14.21,20.32 C14.12,20.4,14.09,20.53,14.15,20.64 L15.15,22.37 C15.21,22.48,15.34,22.52,15.46,22.48 L16.7,21.98 C16.96,22.18,17.24,22.35,17.55,22.47 L17.74,23.79 C17.76,23.91,17.86,24,17.99,24 L19.99,24 C20.11,24,20.22,23.91,20.24,23.79 L20.43,22.47 C20.73,22.34,21.02,22.18,21.27,21.98 L22.52,22.48 C22.63,22.52,22.76,22.48,22.83,22.37 L23.83,20.64 C23.89,20.53,23.86,20.4,23.77,20.32 Z M18.99,20.5 C18.16,20.5,17.49,19.83,17.49,19 S18.16,17.5,18.99,17.5 S20.49,18.17,20.49,19 S19.82,20.5,18.99,20.5 Z" />
</vector>

View File

@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24.0dp"
android:height="24.0dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0"
android:tint="?android:attr/colorControlNormal">
<path
android:fillColor="#FF000000"
android:pathData="M21,5V3h-2v6c0,0.6-0.4,1-1,1s-1-0.4-1-1V3h-2v10c0,0.6-0.4,1-1,1s-1-0.4-1-1V7c0-0.6-0.4-1-1-1s-1,0.4-1,1
v4c0,0.6-0.4,1-1,1s-1-0.4-1-1V8c0-0.6-0.4-1-1-1S7,7.4,7,8v8c0,0.6-0.4,1-1,1s-1-0.4-1-1V3H3v2H2v4h1v10c0,1.1,0.9,2,2,2h14
c1.1,0,2-0.9,2-2V9h1V5H21Z" />
</vector>

View File

@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?android:attr/colorControlNormal">
<path
android:pathData="M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z"
android:fillColor="#FFFFFFFF"/>
</vector>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Evolver -->
<string name="evolver_dashboard_title">Evolver</string>
<string name="evolver_dashboard_summary">Evolving like never before</string>
<!-- Categories -->
<string name="themes_title">Themes</string>
<string name="themes_summary">Monet, fonts, icons</string>
<string name="lock_screen_title">Lock screen</string>
<string name="lock_screen_summary">Interface, miscellaneous</string>
<string name="status_bar_title">Status bar</string>
<string name="status_bar_summary">Gestures, Icons, privacy indicators</string>
<string name="quick_settings_title">Quick settings</string>
<string name="quick_settings_summary">Interface, lock screen</string>
<string name="notifications_title">Notifications</string>
<string name="notifications_summary">Alerts, interface</string>
<string name="power_menu_title">Power menu</string>
<string name="power_menu_summary">Actions, lock screen</string>
<string name="buttons_title">Buttons</string>
<string name="buttons_summary">Power button, volume buttons</string>
<string name="miscellaneous_title">Miscellaneous</string>
<string name="miscellaneous_summary">Developer options, spoofing</string>
<string name="about_title">About</string>
<string name="about_summary">About Evolution X</string>
<!-- About -->
<string name="about_info">Evolution X aims to provide users with a Pixel-like feel at first glance, with additional features at your disposal</string>
<string name="about_website_title">Website</string>
<string name="about_website_summary">Feel free to drop by our website</string>
<string name="about_twitter_title" translatable="false">Twitter</string>
<string name="about_twitter_summary">Come see our tweets</string>
<string name="about_discord_title" translatable="false">Discord</string>
<string name="about_discord_summary">Visit our community chat</string>
<string name="about_github_title" translatable="false">GitHub</string>
<string name="about_github_summary">Check out our GitHub</string>
<string name="about_contributors_title">Contributors</string>
<string name="about_contributor_1_title" translatable="false">Joey Huab</string>
<string name="about_contributor_1_summary" translatable="false">Founder/Lead Developer</string>
<string name="about_contributor_2_title" translatable="false">Anierin Bliss</string>
<string name="about_contributor_2_summary" translatable="false">Co-Founder/Co-Developer</string>
<string name="about_contributor_3_title" translatable="false">Akito Mizukito</string>
<string name="about_contributor_3_summary" translatable="false">Co-Founder/Project Manager</string>
</resources>

View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/evolver_dashboard_title">
<!-- Themes -->
<Preference
android:key="themes"
android:title="@string/themes_title"
android:summary="@string/themes_summary"
android:icon="@drawable/ic_themes"
android:fragment="org.evolution.settings.fragments.themes.Themes" />
<!-- Lock screen -->
<Preference
android:key="lock_screen"
android:title="@string/lock_screen_title"
android:summary="@string/lock_screen_summary"
android:icon="@drawable/ic_lock_screen"
android:fragment="org.evolution.settings.fragments.lockscreen.LockScreen" />
<!-- Status bar -->
<Preference
android:key="status_bar"
android:title="@string/status_bar_title"
android:summary="@string/status_bar_summary"
android:icon="@drawable/ic_status_bar"
android:fragment="org.evolution.settings.fragments.statusbar.StatusBar" />
<!-- Quick settings -->
<Preference
android:key="quick_settings"
android:title="@string/quick_settings_title"
android:summary="@string/quick_settings_summary"
android:icon="@drawable/ic_quick_settings"
android:fragment="org.evolution.settings.fragments.quicksettings.QuickSettings" />
<!-- Notifications -->
<Preference
android:key="notifications"
android:title="@string/notifications_title"
android:summary="@string/notifications_summary"
android:icon="@drawable/ic_notifications"
android:fragment="org.evolution.settings.fragments.notifications.Notifications" />
<!-- Power menu -->
<Preference
android:key="power_menu"
android:title="@string/power_menu_title"
android:summary="@string/power_menu_summary"
android:icon="@drawable/ic_power_menu"
android:fragment="org.evolution.settings.fragments.powermenu.PowerMenu" />
<!-- Buttons -->
<Preference
android:key="buttons"
android:title="@string/buttons_title"
android:summary="@string/buttons_summary"
android:icon="@drawable/ic_buttons"
android:fragment="org.evolution.settings.fragments.buttons.Buttons" />
<!-- Miscellaneous -->
<Preference
android:key="miscellaneous"
android:title="@string/miscellaneous_title"
android:summary="@string/miscellaneous_summary"
android:icon="@drawable/ic_miscellaneous"
android:fragment="org.evolution.settings.fragments.miscellaneous.Miscellaneous" />
<!-- About -->
<Preference
android:key="about"
android:title="@string/about_title"
android:summary="@string/about_summary"
android:icon="@drawable/ic_about"
android:fragment="org.evolution.settings.fragments.about.About" />
</PreferenceScreen>

View File

@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/about_title">
<!-- Evolution X logo -->
<com.android.settingslib.widget.LayoutPreference
android:key="evolution_logo"
android:layout="@layout/evolution_logo"
android:clickable="false"
settings:controller="com.android.settings.deviceinfo.firmwareversion.EvolutionXLogoPreferenceController"/>
<!-- Info -->
<com.android.settingslib.widget.TopIntroPreference
android:title="@string/about_info" />
<!-- Website -->
<Preference
android:title="@string/about_website_title"
android:icon="@drawable/ic_about"
android:summary="@string/about_website_summary">
<intent
android:action="android.intent.action.VIEW"
android:data="https://evolution-x.org" />
</Preference>
<!-- Discord -->
<Preference
android:title="@string/about_discord_title"
android:icon="@drawable/ic_discord"
android:summary="@string/about_discord_summary">
<intent
android:action="android.intent.action.VIEW"
android:data="https://discord.gg/3qbSZHx" />
</Preference>
<!-- Twitter -->
<Preference
android:title="@string/about_twitter_title"
android:icon="@drawable/ic_twitter"
android:summary="@string/about_twitter_summary">
<intent
android:action="android.intent.action.VIEW"
android:data="https://twitter.com/EvolutionXROM" />
</Preference>
<!-- Github -->
<Preference
android:title="@string/about_github_title"
android:icon="@drawable/ic_github"
android:summary="@string/about_github_summary">
<intent
android:action="android.intent.action.VIEW"
android:data="https://github.com/Evolution-XYZ" />
</Preference>
<PreferenceCategory
android:key="contributors"
android:title="@string/about_contributors_title" />
<!-- Contributor 1 -->
<Preference
android:title="@string/about_contributor_1_title"
android:summary="@string/about_contributor_1_summary">
<intent
android:action="android.intent.action.VIEW"
android:data="https://linktr.ee/joeyhuab" />
</Preference>
<!-- Contributor 2 -->
<Preference
android:title="@string/about_contributor_2_title"
android:summary="@string/about_contributor_2_summary">
<intent
android:action="android.intent.action.VIEW"
android:data="https://t.me/AnierinB" />
</Preference>
<!-- Contributor 3 -->
<Preference
android:title="@string/about_contributor_3_title"
android:summary="@string/about_contributor_3_summary">
<intent
android:action="android.intent.action.VIEW"
android:data="https://t.me/RealAkito" />
</Preference>
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/buttons_title">
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/lock_screen_title">
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/miscellaneous_title">
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/notifications_title">
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/power_menu_title">
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/quick_settings_title">
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/status_bar_title">
</PreferenceScreen>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/themes_title">
</PreferenceScreen>

View File

@@ -0,0 +1,36 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.dashboard.DashboardFragment;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settingslib.search.SearchIndexable;
@SearchIndexable
public class EvolutionSettings extends DashboardFragment {
private static final String TAG = "EvolutionSettings";
@Override
protected int getPreferenceScreenResId() {
return R.xml.evolution_settings;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
@Override
protected String getLogTag() {
return TAG;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings);
}

View File

@@ -0,0 +1,24 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings;
import android.content.Context;
import com.android.settings.R;
import com.android.settings.core.BasePreferenceController;
public class TopLevelEvolutionSettingsPreferenceController extends BasePreferenceController {
public TopLevelEvolutionSettingsPreferenceController(Context context,
String preferenceKey) {
super(context, preferenceKey);
}
@Override
public int getAvailabilityStatus() {
return AVAILABLE;
}
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.about;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class About extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "About";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_about);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_about) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.buttons;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class Buttons extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "Buttons";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_buttons);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_buttons) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.lockscreen;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class LockScreen extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "LockScreen";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_lock_screen);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_lock_screen) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.miscellaneous;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class Miscellaneous extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "Miscellaneous";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_miscellaneous);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_miscellaneous) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.notifications;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class Notifications extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "Notifications";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_notifications);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_notifications) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.powermenu;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class PowerMenu extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "PowerMenu";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_power_menu);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_power_menu) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.quicksettings;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class QuickSettings extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "QuickSettings";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_quick_settings);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_quick_settings) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.statusbar;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class StatusBar extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "StatusBar";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_status_bar);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_status_bar) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (C) 2019-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.settings.fragments.themes;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.os.Bundle;
import androidx.preference.Preference;
import androidx.preference.Preference.OnPreferenceChangeListener;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
import com.android.settings.R;
import com.android.settings.search.BaseSearchIndexProvider;
import com.android.settings.SettingsPreferenceFragment;
import com.android.settingslib.search.SearchIndexable;
import java.util.List;
@SearchIndexable
public class Themes extends SettingsPreferenceFragment implements
Preference.OnPreferenceChangeListener {
private static final String TAG = "Themes";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.evolution_settings_themes);
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
final PreferenceScreen prefScreen = getPreferenceScreen();
final Resources resources = context.getResources();
}
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final Context context = getContext();
final ContentResolver resolver = context.getContentResolver();
return false;
}
@Override
public int getMetricsCategory() {
return MetricsEvent.EVOLVER;
}
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider(R.xml.evolution_settings_themes) {
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
final Resources resources = context.getResources();
return keys;
}
};
}