├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── .gitignore
├── .idea
├── codeStyles
│ ├── Project.xml
│ └── codeStyleConfig.xml
├── compiler.xml
├── encodings.xml
├── gradle.xml
├── inspectionProfiles
│ └── Project_Default.xml
├── jarRepositories.xml
└── vcs.xml
├── BUGS_EN
├── BUGS_RU
├── CHANGELOG_EN
├── CHANGELOG_RU
├── LICENSE
├── README.md
├── app
├── .gitignore
├── build.gradle
├── lib
│ ├── framework.jar
│ ├── miui.jar
│ └── miuisystem.jar
├── libs
│ └── WeatherView-2.0.3.aar
├── proguard-rules.pro
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── assets
│ ├── test0.png
│ ├── test1.mp3
│ ├── test2.mp4
│ ├── test3.txt
│ ├── test4.zip
│ └── xposed_init
│ ├── java
│ └── org
│ │ └── strawing
│ │ └── customiuizermod
│ │ ├── AboutFragment.java
│ │ ├── Credentials.java
│ │ ├── CredentialsLauncher.java
│ │ ├── CredentialsShortcut.java
│ │ ├── GateWayLauncher.java
│ │ ├── GateWaySettings.java
│ │ ├── MainActivity.java
│ │ ├── MainApplication.java
│ │ ├── MainFragment.java
│ │ ├── MainModule.java
│ │ ├── PreferenceFragmentBase.java
│ │ ├── SharedPrefsProvider.java
│ │ ├── SnoozedActivity.java
│ │ ├── SnoozedFragment.java
│ │ ├── SubFragment.java
│ │ ├── SubFragmentWithSearch.java
│ │ ├── crashreport
│ │ ├── Dialog.java
│ │ └── DialogInteraction.java
│ │ ├── holidays
│ │ ├── CoinGenerator.java
│ │ ├── CoinParticle.java
│ │ ├── FilthGenerator.java
│ │ ├── FilthyParticle.java
│ │ ├── FlowerGenerator.java
│ │ ├── FlowerParticle.java
│ │ ├── HolidayHelper.java
│ │ ├── SnowGenerator.java
│ │ └── SnowParticle.java
│ │ ├── mods
│ │ ├── Controls.java
│ │ ├── GlobalActions.java
│ │ ├── Launcher.java
│ │ ├── PackagePermissions.java
│ │ ├── System.java
│ │ └── Various.java
│ │ ├── prefs
│ │ ├── CheckBoxPreferenceEx.java
│ │ ├── ListPreferenceEx.java
│ │ ├── ListViewEx.java
│ │ ├── PreferenceCategoryEx.java
│ │ ├── PreferenceEx.java
│ │ ├── PreferenceState.java
│ │ ├── SeekBarPreference.java
│ │ ├── SpinnerEx.java
│ │ └── SpinnerExFake.java
│ │ ├── qs
│ │ ├── AutoRotateService.java
│ │ └── DarkModeService.java
│ │ ├── subs
│ │ ├── ActivitySelector.java
│ │ ├── AppSelector.java
│ │ ├── BTList.java
│ │ ├── CategorySelector.java
│ │ ├── ColorSelector.java
│ │ ├── Controls.java
│ │ ├── Launcher.java
│ │ ├── Launcher_FolderBlur.java
│ │ ├── MultiAction.java
│ │ ├── ShortcutSelector.java
│ │ ├── SortableList.java
│ │ ├── System.java
│ │ ├── System_AirplaneModeConfig.java
│ │ ├── System_AudioSilencer.java
│ │ ├── System_AutoBrightness.java
│ │ ├── System_BatteryIndicator.java
│ │ ├── System_LockScreenShortcuts.java
│ │ ├── System_NoScreenLock.java
│ │ ├── System_PopupNotif.java
│ │ ├── System_ScreenshotConfig.java
│ │ ├── System_StatusbarControls.java
│ │ ├── System_VibrationAmp.java
│ │ ├── System_Visualizer.java
│ │ ├── Various.java
│ │ ├── Various_CallReminder.java
│ │ ├── Various_CallUIBright.java
│ │ ├── Various_HiddenFeatures.java
│ │ └── WiFiList.java
│ │ ├── tasker
│ │ ├── Constants.java
│ │ ├── UnlockReceiver.java
│ │ └── UnlockSettings.java
│ │ └── utils
│ │ ├── AppData.java
│ │ ├── AppDataAdapter.java
│ │ ├── AudioVisualizer.java
│ │ ├── BatteryIndicator.java
│ │ ├── BitmapCachedLoader.java
│ │ ├── ColorCircle.java
│ │ ├── GetPathUtils.java
│ │ ├── GravitySensor.java
│ │ ├── GuidePopup.java
│ │ ├── HelperReceiver.java
│ │ ├── Helpers.java
│ │ ├── IconGridAdapter.java
│ │ ├── LockedAppAdapter.java
│ │ ├── ModData.java
│ │ ├── ModSearchAdapter.java
│ │ ├── NestedHeaderLayout.java
│ │ ├── PrefBackupAgent.java
│ │ ├── PrefMap.java
│ │ ├── PreferenceAdapter.java
│ │ ├── PrivacyAppAdapter.java
│ │ ├── ResolveInfoAdapter.java
│ │ ├── ResourceHooks.java
│ │ ├── ShakeManager.java
│ │ ├── SnoozeData.java
│ │ ├── SnoozedAdapter.java
│ │ └── SoundData.java
│ └── res
│ ├── anim
│ ├── activity_close_enter.xml
│ ├── activity_close_exit.xml
│ ├── activity_open_enter.xml
│ ├── activity_open_enter10.xml
│ ├── activity_open_exit.xml
│ ├── decelerate_interpolator.xml
│ ├── no_enter.xml
│ ├── no_exit.xml
│ ├── xfade_enter.xml
│ └── xfade_exit.xml
│ ├── animator
│ ├── fragment_close_enter.xml
│ ├── fragment_close_exit.xml
│ ├── fragment_open_enter.xml
│ └── fragment_open_exit.xml
│ ├── color-night-v8
│ └── color_selector.xml
│ ├── color
│ ├── color_selector.xml
│ ├── preference_primary_text.xml
│ └── preference_secondary_text.xml
│ ├── drawable-440dpi-v4
│ ├── ic_miui_volume_notification.png
│ └── ic_miui_volume_notification_mute.png
│ ├── drawable-night-xhdpi-v4
│ ├── am_list_item_background_normal.9.png
│ ├── card_icon_default.png
│ ├── ic_miuizer_settings10.png
│ └── list_sec__item_backgournd_pressed.9.png
│ ├── drawable-night-xxhdpi-v4
│ ├── am_list_item_background_normal.9.png
│ ├── btn_checkbox_on_disabled.png
│ ├── btn_checkbox_on_normal.png
│ ├── drag_handle.png
│ ├── ic_appinfo.png
│ ├── ic_appinfo12.png
│ ├── ic_forceclose.png
│ ├── ic_forceclose12.png
│ ├── ic_miuizer_settings10.png
│ ├── icon_action_default.png
│ └── list_sec__item_backgournd_pressed.9.png
│ ├── drawable-night-xxxhdpi-v4
│ ├── am_list_item_background_normal.9.png
│ ├── list_sec__item_backgournd_pressed.9.png
│ └── progressbar_indeterminate_circle.png
│ ├── drawable-nodpi
│ ├── crypto_header.webp
│ ├── doge.webp
│ ├── hand_sanitizer.webp
│ ├── lunar_newyear_header.webp
│ ├── medical_mask.webp
│ ├── newyear_header.webp
│ ├── santa_hat.webp
│ ├── uptrend.webp
│ └── year2021_ox.webp
│ ├── drawable-xhdpi-v4
│ ├── am_list_item_background_normal.9.png
│ ├── card_icon_default.png
│ ├── ic_miuizer_settings10.png
│ └── list_sec__item_backgournd_pressed.9.png
│ ├── drawable-xxhdpi-v4
│ ├── alert.png
│ ├── am_card_item_disabled.png
│ ├── am_list_item_background_normal.9.png
│ ├── btn_checkbox_off_disabled.png
│ ├── btn_checkbox_off_normal.png
│ ├── btn_checkbox_on_disabled.png
│ ├── btn_checkbox_on_normal.png
│ ├── coin1.webp
│ ├── coin10.webp
│ ├── coin11.webp
│ ├── coin12.webp
│ ├── coin13.webp
│ ├── coin14.webp
│ ├── coin15.webp
│ ├── coin16.webp
│ ├── coin17.webp
│ ├── coin18.webp
│ ├── coin19.webp
│ ├── coin2.webp
│ ├── coin20.webp
│ ├── coin21.webp
│ ├── coin22.webp
│ ├── coin3.webp
│ ├── coin4.webp
│ ├── coin5.webp
│ ├── coin6.webp
│ ├── coin7.webp
│ ├── coin8.webp
│ ├── coin9.webp
│ ├── color_button.9.png
│ ├── confetti1.png
│ ├── confetti2.png
│ ├── confetti3.png
│ ├── drag_handle.png
│ ├── ic_appinfo.png
│ ├── ic_appinfo12.png
│ ├── ic_credentials.png
│ ├── ic_forceclose.png
│ ├── ic_forceclose12.png
│ ├── ic_mask.png
│ ├── ic_miui_volume_notification.png
│ ├── ic_miui_volume_notification_mute.png
│ ├── ic_miuizer_settings10.png
│ ├── ic_qs_autorotate_disabled.png
│ ├── ic_qs_autorotate_lock_landscape.png
│ ├── ic_qs_autorotate_lock_portrait.png
│ ├── ic_qs_darkmode_disabled.png
│ ├── ic_qs_darkmode_enabled.png
│ ├── ic_xspace.png
│ ├── icon_action_allow.png
│ ├── icon_action_default.png
│ ├── icon_action_disallow.png
│ ├── keyguard_bottom_miuizer_oldimg_dark.png
│ ├── keyguard_bottom_miuizer_oldimg_light.png
│ ├── keyguard_bottom_miuizer_shortcut_img.png
│ ├── list_sec__item_backgournd_pressed.9.png
│ ├── petal.png
│ ├── snowflake.png
│ ├── virus1.webp
│ ├── virus2.webp
│ └── virus3.webp
│ ├── drawable-xxxhdpi-v4
│ ├── am_list_item_background_normal.9.png
│ ├── ic_sysbar_dot_bottomleft.png
│ ├── ic_sysbar_dot_bottomleft_dark.png
│ ├── ic_sysbar_dot_topright.png
│ ├── ic_sysbar_dot_topright_dark.png
│ ├── list_sec__item_backgournd_pressed.9.png
│ ├── progressbar_indeterminate_circle.png
│ ├── recents_icon_custom_normal.png
│ ├── recents_icon_custom_pressed.png
│ ├── recents_icon_launch_normal.png
│ ├── recents_icon_launch_pressed.png
│ ├── recents_icon_toggle_normal.png
│ └── recents_icon_toggle_pressed.png
│ ├── drawable
│ ├── am_list_item_background.xml
│ ├── btn_checkbox.xml
│ ├── ic_audio_notification.xml
│ ├── ic_audio_system.xml
│ ├── ic_miuizer_settings11.xml
│ ├── ic_snooze.xml
│ ├── keyguard_bottom_miuizer_img_dark.xml
│ ├── keyguard_bottom_miuizer_img_light.xml
│ ├── list_item_bg.xml
│ ├── list_item_bg_normal.xml
│ ├── list_item_bg_pressed.xml
│ ├── list_item_bg_selected.xml
│ ├── progressbar_indeterminate.xml
│ ├── recents_icon_custom.xml
│ ├── recents_icon_launch.xml
│ ├── recents_icon_toggle.xml
│ ├── rounded_corners.xml
│ ├── seekbar.xml
│ └── seekbar_progress.xml
│ ├── layout-land
│ └── fragment_selectcolor.xml
│ ├── layout
│ ├── activity_main.xml
│ ├── activity_snoozed.xml
│ ├── applist_item.xml
│ ├── applist_item11.xml
│ ├── fragment_about.xml
│ ├── fragment_inapp.xml
│ ├── fragment_selectcolor.xml
│ ├── fragment_snoozed.xml
│ ├── grid_item.xml
│ ├── pref_header.xml
│ ├── pref_item.xml
│ ├── pref_item_detailed.xml
│ ├── preference_seekbar.xml
│ ├── preference_seekbar12.xml
│ ├── prefs_app_selector.xml
│ ├── prefs_bt_networks.xml
│ ├── prefs_common.xml
│ ├── prefs_common_padded.xml
│ ├── prefs_freedback.xml
│ ├── prefs_main.xml
│ ├── prefs_main12.xml
│ ├── prefs_multiaction.xml
│ ├── prefs_sortable_list.xml
│ ├── prefs_system_audiosilencer.xml
│ ├── prefs_wifi_networks.xml
│ ├── qs_footer.xml
│ ├── search_stub.xml
│ └── tasker_unlock.xml
│ ├── menu
│ ├── menu_itemactions.xml
│ ├── menu_itemoptions.xml
│ ├── menu_launcher.xml
│ └── menu_mods.xml
│ ├── mipmap-anydpi-v26
│ ├── ic_launcher.xml
│ └── ic_snooze.xml
│ ├── mipmap-hdpi
│ └── ic_launcher_foreground.png
│ ├── mipmap-mdpi
│ └── ic_launcher_foreground.png
│ ├── mipmap-xhdpi
│ └── ic_launcher_foreground.png
│ ├── mipmap-xxhdpi
│ ├── ic_launcher.png
│ ├── ic_launcher_foreground.png
│ └── ic_snooze.webp
│ ├── mipmap-xxxhdpi
│ └── ic_launcher_foreground.png
│ ├── raw
│ └── extended_power_menu
│ ├── values-440dpi
│ └── dimens.xml
│ ├── values-de
│ └── strings.xml
│ ├── values-es
│ └── strings.xml
│ ├── values-fr
│ └── strings.xml
│ ├── values-id
│ └── strings.xml
│ ├── values-it
│ └── strings.xml
│ ├── values-ja
│ └── strings.xml
│ ├── values-land
│ ├── dimens.xml
│ └── integers.xml
│ ├── values-night
│ ├── colors.xml
│ └── styles.xml
│ ├── values-pt-rBR
│ └── strings.xml
│ ├── values-ru-rRU
│ └── strings.xml
│ ├── values-sk
│ └── strings.xml
│ ├── values-tr
│ └── strings.xml
│ ├── values-uk-rUK
│ └── strings.xml
│ ├── values-xxhdpi
│ └── dimens.xml
│ ├── values-zh-rCN
│ └── strings.xml
│ ├── values
│ ├── arrays.xml
│ ├── attrs.xml
│ ├── colors.xml
│ ├── dimens.xml
│ ├── ids.xml
│ ├── integers.xml
│ ├── strings.xml
│ └── styles.xml
│ └── xml
│ ├── prefs_about.xml
│ ├── prefs_controls.xml
│ ├── prefs_controls_cat.xml
│ ├── prefs_inapp.xml
│ ├── prefs_launcher.xml
│ ├── prefs_launcher_cat.xml
│ ├── prefs_launcher_folderblur.xml
│ ├── prefs_main.xml
│ ├── prefs_system.xml
│ ├── prefs_system_airplanemode.xml
│ ├── prefs_system_alarmonlock.xml
│ ├── prefs_system_albumartonlock.xml
│ ├── prefs_system_autobrightness.xml
│ ├── prefs_system_batteryindicator.xml
│ ├── prefs_system_cat.xml
│ ├── prefs_system_charginginfo.xml
│ ├── prefs_system_detailednetspeed.xml
│ ├── prefs_system_hideicons.xml
│ ├── prefs_system_lockscreenshortcuts.xml
│ ├── prefs_system_noscreenlock.xml
│ ├── prefs_system_popupnotif.xml
│ ├── prefs_system_screenshot.xml
│ ├── prefs_system_secureqs.xml
│ ├── prefs_system_statusbarcontrols.xml
│ ├── prefs_system_vibration_amp.xml
│ ├── prefs_system_visualizer.xml
│ ├── prefs_various.xml
│ ├── prefs_various_callreminder.xml
│ ├── prefs_various_calluibright.xml
│ ├── prefs_various_hiddenfeatures.xml
│ └── shortcuts.xml
├── build.gradle
├── gradle.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── java
└── lang
│ └── annotations.xml
├── last_build
└── settings.gradle
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Phone Model, Android & MIUI Version:**
11 | - Phone:
12 | - Android:
13 | - MIUI:
14 |
15 | **Describe the problem**
16 | A clear and concise description of what the problem is.
17 |
18 | **Screenshots**
19 | If applicable, add screenshots to help explain your problem.
20 |
21 | **Related APK upload**
22 | If you know where is this mod related to (E.g. systemui) and know how to extract the APK, you can upload it here.
23 |
24 | **LSPosed/EdXposed Log**
25 | It's recommended to upload xposed logs.
26 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/libraries
6 | /.idea/modules.xml
7 | /.idea/workspace.xml
8 | /.idea/navEditor.xml
9 | /.idea/assetWizardSettings.xml
10 | .DS_Store
11 | /build
12 | /captures
13 | .externalNativeBuild
14 | /.idea/misc.xml
15 | .vscode/
16 |
--------------------------------------------------------------------------------
/.idea/codeStyles/codeStyleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
19 |
20 |
--------------------------------------------------------------------------------
/.idea/jarRepositories.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/BUGS_EN:
--------------------------------------------------------------------------------
1 | Known bugs:
2 |
3 | - Latest versions of some Xiaomi apps (e.g. POCO Launcher past 2.6.8) are obfuscated and are not compatible with mods in this module (never will be)
4 | - Not all mods are compatible with latest beta ROMs right away
--------------------------------------------------------------------------------
/BUGS_RU:
--------------------------------------------------------------------------------
1 | Известные баги:
2 |
3 | - Код в последних версиях некоторых Xiaomi приложений (например POCO Launcher после версии 2.6.8) обфусцирован, поэтому они не совместимы с модами в данном модуле (и никогда не будут)
4 | - Не все моды совместимы с последними бета прошивками сразу после их выхода
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/app/lib/framework.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/lib/framework.jar
--------------------------------------------------------------------------------
/app/lib/miui.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/lib/miui.jar
--------------------------------------------------------------------------------
/app/lib/miuisystem.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/lib/miuisystem.jar
--------------------------------------------------------------------------------
/app/libs/WeatherView-2.0.3.aar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/libs/WeatherView-2.0.3.aar
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | -verbose
2 | -dontobfuscate
3 | -allowaccessmodification
4 |
5 | -keepattributes Exceptions,LineNumberTable,Signature,SourceFile,EnclosingMethod,*Annotation*
6 |
7 | -keep public class * extends android.app.Activity
8 | -keep public class * extends android.app.Application
9 | -keep public class * extends android.app.Service
10 | -keep public class * extends android.content.BroadcastReceiver
11 | -keep public class * extends android.content.ContentProvider
12 |
13 | -keep public class * extends android.view.View {
14 | public (android.content.Context);
15 | public (android.content.Context, android.util.AttributeSet);
16 | public (android.content.Context, android.util.AttributeSet, int);
17 | public void set*(...);
18 | }
19 |
20 | -keepclasseswithmembers class * {
21 | public (android.content.Context, android.util.AttributeSet);
22 | }
23 |
24 | -keepclasseswithmembers class * {
25 | public (android.content.Context, android.util.AttributeSet, int);
26 | }
27 |
28 | -keepclassmembers class * implements android.os.Parcelable {
29 | static android.os.Parcelable$Creator CREATOR;
30 | }
31 |
32 | -keepclassmembers class **.R$* {
33 | public static ;
34 | }
35 |
36 | -keepclasseswithmembernames class * {
37 | native ;
38 | }
39 |
40 | -keepclassmembers class * extends java.lang.Enum {
41 | public static **[] values();
42 | public static ** valueOf(java.lang.String);
43 | }
44 |
45 | -keepclassmembers class * implements java.io.Serializable {
46 | static final long serialVersionUID;
47 | static final java.io.ObjectStreamField[] serialPersistentFields;
48 | private void writeObject(java.io.ObjectOutputStream);
49 | private void readObject(java.io.ObjectInputStream);
50 | java.lang.Object writeReplace();
51 | java.lang.Object readResolve();
52 | }
53 |
54 | -keep class org.strawing.** { *; }
55 |
56 | -dontwarn **
57 | -dontnote **
58 |
--------------------------------------------------------------------------------
/app/src/main/assets/test0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/assets/test0.png
--------------------------------------------------------------------------------
/app/src/main/assets/test1.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/assets/test1.mp3
--------------------------------------------------------------------------------
/app/src/main/assets/test2.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/assets/test2.mp4
--------------------------------------------------------------------------------
/app/src/main/assets/test3.txt:
--------------------------------------------------------------------------------
1 | CustoMIUIzer is the best!
--------------------------------------------------------------------------------
/app/src/main/assets/test4.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/assets/test4.zip
--------------------------------------------------------------------------------
/app/src/main/assets/xposed_init:
--------------------------------------------------------------------------------
1 | org.strawing.customiuizermod.MainModule
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/Credentials.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod;
2 |
3 | import android.app.Activity;
4 | import android.app.KeyguardManager;
5 | import android.app.admin.DevicePolicyManager;
6 | import android.content.Context;
7 | import android.content.Intent;
8 | import android.os.Bundle;
9 | import android.security.keystore.KeyGenParameterSpec;
10 | import android.security.keystore.KeyProperties;
11 | import android.widget.Toast;
12 |
13 | import javax.crypto.KeyGenerator;
14 |
15 | public class Credentials extends Activity {
16 |
17 | @Override
18 | protected void onCreate(Bundle savedInstanceState) {
19 | super.onCreate(savedInstanceState);
20 |
21 | try {
22 | KeyguardManager km = (KeyguardManager)getSystemService(Context.KEYGUARD_SERVICE);
23 | if (km != null && km.isKeyguardSecure()) {
24 | try {
25 | KeyGenParameterSpec.Builder builder = new KeyGenParameterSpec.Builder("dummy", KeyProperties.PURPOSE_ENCRYPT | KeyProperties.PURPOSE_DECRYPT).setUserAuthenticationRequired(true);
26 | KeyGenerator keygen = KeyGenerator.getInstance(KeyProperties.KEY_ALGORITHM_AES, "AndroidKeyStore");
27 | keygen.init(builder.build());
28 | keygen.generateKey();
29 | Toast.makeText(this, R.string.credentials_ok, Toast.LENGTH_SHORT).show();
30 | finish();
31 | } catch (Throwable e) {
32 | Intent authIntent = km.createConfirmDeviceCredentialIntent(getString(R.string.credentials_unlock), getString(R.string.dummy));
33 | startActivityForResult(authIntent, 0);
34 | }
35 | } else {
36 | finish();
37 | Intent intent = new Intent(DevicePolicyManager.ACTION_SET_NEW_PASSWORD);
38 | startActivity(intent);
39 | }
40 | } catch (Throwable t) {
41 | t.printStackTrace();
42 | }
43 | }
44 |
45 | @Override
46 | protected void onActivityResult(int requestCode, int resultCode, Intent data) {
47 | finish();
48 | if (resultCode == Activity.RESULT_OK)
49 | Toast.makeText(this, R.string.credentials_success, Toast.LENGTH_SHORT).show();
50 | }
51 |
52 | }
53 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/CredentialsLauncher.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod;
2 |
3 | import android.app.Activity;
4 |
5 | public class CredentialsLauncher extends Activity {}
6 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/CredentialsShortcut.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod;
2 |
3 | import android.app.Activity;
4 | import android.content.Intent;
5 | import android.os.Bundle;
6 |
7 | public class CredentialsShortcut extends Activity {
8 |
9 | @Override
10 | protected void onCreate(Bundle savedInstanceState) {
11 | super.onCreate(savedInstanceState);
12 |
13 | Intent intent = new Intent();
14 | Intent launchIntent = new Intent(this, Credentials.class);
15 | intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, launchIntent);
16 | intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getResources().getString(R.string.credentials_unlock));
17 | intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, Intent.ShortcutIconResource.fromContext(this, R.drawable.ic_credentials));
18 |
19 | setResult(RESULT_OK, intent);
20 | finish();
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/GateWayLauncher.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod;
2 |
3 | import android.app.Activity;
4 |
5 | public class GateWayLauncher extends Activity {}
6 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/GateWaySettings.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod;
2 |
3 | import android.app.Activity;
4 |
5 | public class GateWaySettings extends Activity {}
6 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/SnoozedActivity.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod;
2 |
3 | import android.app.Activity;
4 | import android.content.Context;
5 | import android.os.Bundle;
6 | import android.widget.Toast;
7 |
8 | import org.strawing.customiuizermod.utils.Helpers;
9 |
10 | public class SnoozedActivity extends Activity {
11 |
12 | @Override
13 | protected void attachBaseContext(Context base) {
14 | try {
15 | super.attachBaseContext(Helpers.getLocaleContext(base));
16 | } catch (Throwable t) {
17 | t.printStackTrace();
18 | }
19 | }
20 |
21 | @Override
22 | protected void onCreate(Bundle savedInstanceState) {
23 | boolean mSDKFound = ((MainApplication)getApplication()).mStarted;
24 | if (mSDKFound) Helpers.setMiuiTheme(this, R.style.MIUIPrefs);
25 | super.onCreate(savedInstanceState);
26 | setContentView(R.layout.activity_snoozed);
27 |
28 | if (!mSDKFound) {
29 | Toast.makeText(this, R.string.sdk_failed, Toast.LENGTH_LONG).show();
30 | finish();
31 | return;
32 | }
33 |
34 | getFragmentManager().beginTransaction().replace(R.id.fragment_container, new SnoozedFragment()).commit();
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/crashreport/DialogInteraction.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.crashreport;
2 |
3 | import android.content.Context;
4 | import android.content.Intent;
5 | import android.content.SharedPreferences;
6 |
7 | import org.acra.ACRA;
8 | import org.acra.config.CoreConfiguration;
9 | import org.acra.interaction.ReportInteraction;
10 | import org.acra.prefs.SharedPreferencesFactory;
11 |
12 | import java.io.File;
13 |
14 | import org.strawing.customiuizermod.utils.Helpers;
15 |
16 | import static org.acra.ACRA.LOG_TAG;
17 |
18 | public class DialogInteraction implements ReportInteraction {
19 | static final String EXTRA_REPORT_FILE = "REPORT_FILE";
20 | static final String EXTRA_REPORT_CONFIG = "REPORT_CONFIG";
21 |
22 | public DialogInteraction() {
23 | super();
24 | }
25 |
26 | @Override
27 | public boolean performInteraction(Context context, CoreConfiguration config, File reportFile) {
28 | try {
29 | final SharedPreferences prefs = new SharedPreferencesFactory(Helpers.getProtectedContext(context), config).create();
30 | if (prefs.getBoolean(ACRA.PREF_ALWAYS_ACCEPT, false)) return true;
31 | if (ACRA.DEV_LOGGING) ACRA.log.d(LOG_TAG, "Creating CrashReportDialog for " + reportFile);
32 | final Intent dialogIntent = createCrashReportDialogIntent(context, config, reportFile);
33 | dialogIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_NO_ANIMATION);
34 | context.startActivity(dialogIntent);
35 | } catch (Throwable t) {}
36 | return false;
37 | }
38 |
39 | private Intent createCrashReportDialogIntent(Context context, CoreConfiguration config, File reportFile) {
40 | if (ACRA.DEV_LOGGING) ACRA.log.d(LOG_TAG, "Creating DialogIntent for " + reportFile);
41 | final Intent dialogIntent = new Intent(context, Dialog.class);
42 | dialogIntent.putExtra(EXTRA_REPORT_FILE, reportFile);
43 | dialogIntent.putExtra(EXTRA_REPORT_CONFIG, config);
44 | return dialogIntent;
45 | }
46 | }
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/holidays/CoinGenerator.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.holidays;
2 |
3 | import android.content.Context;
4 |
5 | import com.github.jinatonic.confetti.ConfettoGenerator;
6 | import com.github.jinatonic.confetti.confetto.Confetto;
7 | import com.github.matteobattilana.weather.PrecipType;
8 | import com.github.matteobattilana.weather.confetti.ConfettoInfo;
9 |
10 | import java.util.Random;
11 |
12 | public class CoinGenerator implements ConfettoGenerator {
13 | private final ConfettoInfo confettoInfo;
14 | private final Context context;
15 |
16 | public CoinGenerator(Context ctx) {
17 | super();
18 | this.context = ctx;
19 | this.confettoInfo = new ConfettoInfo(PrecipType.CLEAR);
20 | }
21 |
22 | public Confetto generateConfetto(Random random) {
23 | return new CoinParticle(this.context, this.confettoInfo);
24 | }
25 |
26 | public final ConfettoInfo getConfettoInfo() {
27 | return this.confettoInfo;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/holidays/FilthGenerator.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.holidays;
2 |
3 | import android.content.Context;
4 |
5 | import com.github.jinatonic.confetti.ConfettoGenerator;
6 | import com.github.jinatonic.confetti.confetto.Confetto;
7 | import com.github.matteobattilana.weather.PrecipType;
8 | import com.github.matteobattilana.weather.confetti.ConfettoInfo;
9 |
10 | import java.util.Random;
11 |
12 | public class FilthGenerator implements ConfettoGenerator {
13 | private final ConfettoInfo confettoInfo;
14 | private final Context context;
15 |
16 | public FilthGenerator(Context ctx) {
17 | super();
18 | this.context = ctx;
19 | this.confettoInfo = new ConfettoInfo(PrecipType.CLEAR);
20 | }
21 |
22 | public Confetto generateConfetto(Random random) {
23 | return new FilthyParticle(this.context, this.confettoInfo);
24 | }
25 |
26 | public final ConfettoInfo getConfettoInfo() {
27 | return this.confettoInfo;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/holidays/FlowerGenerator.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.holidays;
2 |
3 | import android.content.Context;
4 |
5 | import com.github.jinatonic.confetti.ConfettoGenerator;
6 | import com.github.jinatonic.confetti.confetto.Confetto;
7 | import com.github.matteobattilana.weather.PrecipType;
8 | import com.github.matteobattilana.weather.confetti.ConfettoInfo;
9 |
10 | import java.util.Random;
11 |
12 | public class FlowerGenerator implements ConfettoGenerator {
13 | private final ConfettoInfo confettoInfo;
14 | private final Context context;
15 |
16 | public FlowerGenerator(Context ctx) {
17 | super();
18 | this.context = ctx;
19 | this.confettoInfo = new ConfettoInfo(PrecipType.SNOW);
20 | }
21 |
22 | public Confetto generateConfetto(Random random) {
23 | return new FlowerParticle(this.context, this.confettoInfo);
24 | }
25 |
26 | public final ConfettoInfo getConfettoInfo() {
27 | return this.confettoInfo;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/holidays/FlowerParticle.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.holidays;
2 |
3 | import android.content.Context;
4 | import android.graphics.Bitmap;
5 | import android.graphics.BitmapFactory;
6 | import android.graphics.Canvas;
7 | import android.graphics.Matrix;
8 | import android.graphics.Paint;
9 | import android.view.Surface;
10 | import android.view.WindowManager;
11 |
12 | import com.github.jinatonic.confetti.confetto.Confetto;
13 | import com.github.matteobattilana.weather.confetti.ConfettoInfo;
14 |
15 | import java.util.Random;
16 |
17 | import org.strawing.customiuizermod.R;
18 |
19 | @SuppressWarnings("FieldCanBeLocal")
20 | public class FlowerParticle extends Confetto {
21 | private final ConfettoInfo confettoInfo;
22 | private final Bitmap petal;
23 | private float petalScale;
24 | private final int[] petals = new int[] { R.drawable.confetti1, R.drawable.confetti1, R.drawable.confetti2, R.drawable.confetti2, R.drawable.confetti3, R.drawable.confetti3, R.drawable.petal };
25 |
26 | FlowerParticle(Context context, ConfettoInfo confettoInfo) {
27 | super();
28 | this.confettoInfo = confettoInfo;
29 | petalScale = 0.6f - (float)Math.random() * 0.15f;
30 | petal = BitmapFactory.decodeResource(context.getResources(), petals[new Random().nextInt(petals.length)]);
31 |
32 | int rotation = ((WindowManager)context.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getRotation();
33 | if (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) petalScale *= 1.5;
34 | }
35 |
36 | public int getHeight() {
37 | return 0;
38 | }
39 |
40 | public int getWidth() {
41 | return 0;
42 | }
43 |
44 | public void reset() {
45 | super.reset();
46 | }
47 |
48 | protected void configurePaint(Paint paint) {
49 | super.configurePaint(paint);
50 | paint.setColor(-1);
51 | paint.setAntiAlias(true);
52 | }
53 |
54 | protected void drawInternal(Canvas canvas, Matrix matrix, Paint paint, float x, float y, float rotation, float percentageAnimated) {
55 | switch (confettoInfo.getPrecipType()) {
56 | case CLEAR:
57 | break;
58 | case SNOW:
59 | matrix.postScale(petalScale, petalScale);
60 | matrix.postRotate(rotation, petal.getWidth() / 2f, petal.getHeight() / 2f);
61 | matrix.postTranslate(x, y);
62 | canvas.drawBitmap(petal, matrix, paint);
63 | break;
64 | }
65 | }
66 |
67 | public final ConfettoInfo getConfettoInfo() {
68 | return this.confettoInfo;
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/holidays/SnowGenerator.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.holidays;
2 |
3 | import android.content.Context;
4 |
5 | import com.github.jinatonic.confetti.ConfettoGenerator;
6 | import com.github.jinatonic.confetti.confetto.Confetto;
7 | import com.github.matteobattilana.weather.PrecipType;
8 | import com.github.matteobattilana.weather.confetti.ConfettoInfo;
9 |
10 | import java.util.Random;
11 |
12 | public class SnowGenerator implements ConfettoGenerator {
13 | private final ConfettoInfo confettoInfo;
14 | private final Context context;
15 |
16 | public SnowGenerator(Context ctx) {
17 | super();
18 | this.context = ctx;
19 | this.confettoInfo = new ConfettoInfo(PrecipType.SNOW);
20 | }
21 |
22 | public Confetto generateConfetto(Random random) {
23 | return new SnowParticle(this.context, this.confettoInfo);
24 | }
25 |
26 | public final ConfettoInfo getConfettoInfo() {
27 | return this.confettoInfo;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/holidays/SnowParticle.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.holidays;
2 |
3 | import android.content.Context;
4 | import android.graphics.Bitmap;
5 | import android.graphics.BitmapFactory;
6 | import android.graphics.Canvas;
7 | import android.graphics.Matrix;
8 | import android.graphics.Paint;
9 |
10 | import com.github.jinatonic.confetti.confetto.Confetto;
11 | import com.github.matteobattilana.weather.confetti.ConfettoInfo;
12 |
13 | import org.strawing.customiuizermod.R;
14 |
15 | public class SnowParticle extends Confetto {
16 | private Float prevX;
17 | private Float prevY;
18 | private final ConfettoInfo confettoInfo;
19 | private final Bitmap snowflake;
20 | private final float snowScale;
21 | //private float rainStretch;
22 |
23 | SnowParticle(Context context, ConfettoInfo confettoInfo) {
24 | super();
25 | this.confettoInfo = confettoInfo;
26 | snowScale = 0.6f - (float)Math.random() * 0.3f;
27 | //rainStretch = 1.5f + (float)Math.random() - 0.5f;
28 | snowflake = BitmapFactory.decodeResource(context.getResources(), R.drawable.snowflake);
29 | }
30 |
31 | public int getHeight() {
32 | return 0;
33 | }
34 |
35 | public int getWidth() {
36 | return 0;
37 | }
38 |
39 | public void reset() {
40 | super.reset();
41 | this.prevX = null;
42 | this.prevY = null;
43 | }
44 |
45 | protected void configurePaint(Paint paint) {
46 | super.configurePaint(paint);
47 | paint.setColor(-1);
48 | paint.setAntiAlias(true);
49 | }
50 |
51 | protected void drawInternal(Canvas canvas, Matrix matrix, Paint paint, float x, float y, float rotation, float percentageAnimated) {
52 | if (prevX == null || prevY == null) {
53 | prevX = x;
54 | prevY = y;
55 | }
56 |
57 | switch (confettoInfo.getPrecipType()) {
58 | case CLEAR:
59 | break;
60 | // case RAIN:
61 | // float dX = x - prevX;
62 | // float dY = y - prevY;
63 | // float x1 = prevX - dX * rainStretch;
64 | // float y1 = prevY - dY * rainStretch;
65 | // float x2 = x + dX * rainStretch;
66 | // float y2 = y + dY * rainStretch;
67 | // paint.setShader(new LinearGradient(x1, y1, x2, y2, new int[] { Color.TRANSPARENT, 0xb29aa3ad, 0xb29aa3ad, Color.TRANSPARENT }, new float[] { 0f, 0.45f, 0.55f, 1f }, Shader.TileMode.CLAMP));
68 | // canvas.drawLine(x1, y1, x2, y2, paint);
69 | // break;
70 | case SNOW:
71 | matrix.postScale(snowScale, snowScale);
72 | matrix.postRotate(rotation, snowflake.getWidth() / 2f, snowflake.getHeight() / 2f);
73 | matrix.postTranslate(x, y);
74 | canvas.drawBitmap(snowflake, matrix, paint);
75 | break;
76 | }
77 | prevX = x;
78 | prevY = y;
79 | }
80 |
81 | public final ConfettoInfo getConfettoInfo() {
82 | return this.confettoInfo;
83 | }
84 | }
85 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/prefs/ListViewEx.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.prefs;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.widget.ListView;
6 |
7 | public class ListViewEx extends ListView {
8 |
9 | public ListViewEx(Context context, AttributeSet attrs) {
10 | super(context, attrs);
11 | }
12 |
13 | public ListViewEx(Context context) {
14 | super(context);
15 | }
16 |
17 | public ListViewEx(Context context, AttributeSet attrs, int defStyle) {
18 | super(context, attrs, defStyle);
19 | }
20 |
21 | @Override
22 | public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
23 | int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST);
24 | super.onMeasure(widthMeasureSpec, expandSpec);
25 | }
26 | }
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/prefs/PreferenceCategoryEx.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.prefs;
2 |
3 | import android.annotation.SuppressLint;
4 | import android.content.Context;
5 | import android.content.res.TypedArray;
6 | import android.preference.Preference;
7 | import android.preference.PreferenceCategory;
8 | import android.util.AttributeSet;
9 | import android.view.View;
10 | import android.view.ViewGroup;
11 | import android.widget.TextView;
12 |
13 | import org.strawing.customiuizermod.R;
14 |
15 | public class PreferenceCategoryEx extends PreferenceCategory {
16 |
17 | private final boolean dynamic;
18 | private final boolean empty;
19 | private boolean hidden;
20 | private boolean unsupported = false;
21 |
22 | public PreferenceCategoryEx(Context context, AttributeSet attrs) {
23 | super(context, attrs);
24 | final TypedArray xmlAttrs = context.obtainStyledAttributes(attrs, R.styleable.PreferenceCategoryEx);
25 | dynamic = xmlAttrs.getBoolean(R.styleable.PreferenceCategoryEx_dynamic, false);
26 | empty = xmlAttrs.getBoolean(R.styleable.PreferenceCategoryEx_empty, false);
27 | hidden = xmlAttrs.getBoolean(R.styleable.PreferenceCategoryEx_hidden, false);
28 | xmlAttrs.recycle();
29 | }
30 |
31 | @Override
32 | public boolean onPrepareAddPreference(Preference preference) {
33 | preference.onParentChanged(this, shouldDisableDependents());
34 | return true;
35 | }
36 |
37 | @Override
38 | @SuppressLint("SetTextI18n")
39 | public View getView(View view, ViewGroup parent) {
40 | View finalView = super.getView(view, parent);
41 | TextView title = finalView.findViewById(android.R.id.title);
42 | title.setText(getTitle() + (unsupported ? " ⨯" : (dynamic ? " ⟲" : "")));
43 | title.setVisibility(hidden || empty ? View.GONE : View.VISIBLE);
44 | if (hidden) {
45 | finalView.setBackground(null);
46 | finalView.setPadding(
47 | finalView.getPaddingLeft(),
48 | finalView.getPaddingTop() + Math.round(getContext().getResources().getDisplayMetrics().density * 10),
49 | finalView.getPaddingRight(),
50 | finalView.getPaddingBottom()
51 | );
52 | }
53 | return finalView;
54 | }
55 |
56 | public void setUnsupported(boolean value) {
57 | unsupported = value;
58 | setEnabled(!value);
59 | }
60 |
61 | public boolean isDynamic() {
62 | return dynamic;
63 | }
64 |
65 | public void hide() {
66 | hidden = true;
67 | this.notifyChanged();
68 | }
69 |
70 | public void show() {
71 | hidden = false;
72 | this.notifyChanged();
73 | }
74 |
75 | }
76 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/prefs/PreferenceState.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.prefs;
2 |
3 | public interface PreferenceState {
4 | void markAsNew();
5 | }
6 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/prefs/SpinnerEx.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.prefs;
2 |
3 | import android.content.Context;
4 | import android.content.res.TypedArray;
5 | import android.util.AttributeSet;
6 | import android.view.View;
7 | import android.view.ViewGroup;
8 | import android.widget.ArrayAdapter;
9 | import android.widget.Spinner;
10 |
11 | import java.util.ArrayList;
12 |
13 | import org.strawing.customiuizermod.R;
14 |
15 | public class SpinnerEx extends Spinner {
16 |
17 | public CharSequence[] entries;
18 | public int[] entryValues;
19 | private final ArrayList disabledItems = new ArrayList();
20 |
21 | public SpinnerEx(Context context, AttributeSet attrs) {
22 | super(context, attrs);
23 |
24 | final TypedArray xmlAttrs = context.obtainStyledAttributes(attrs, new int[] { android.R.attr.entries, R.attr.entryValues } );
25 | entries = xmlAttrs.getTextArray(0);
26 | if (xmlAttrs.getResourceId(1, 0) != 0) entryValues = getResources().getIntArray(xmlAttrs.getResourceId(1, 0));
27 | xmlAttrs.recycle();
28 | }
29 |
30 | private int findIndex(int val, int[] vals) {
31 | for (int i = 0; i < vals.length; i++)
32 | if (vals[i] == val) return i;
33 | return -1;
34 | }
35 |
36 | public void init(int val) {
37 | if (entries == null || entryValues == null) return;
38 | ArrayAdapterEx newAdapter = new ArrayAdapterEx(getContext(), android.R.layout.simple_spinner_item, entries);
39 | setAdapter(newAdapter);
40 | setSelection(findIndex(val, entryValues));
41 | }
42 |
43 | public void addDisabledItems(int item) {
44 | disabledItems.add(item);
45 | }
46 |
47 | public int getSelectedArrayValue() {
48 | return entryValues[getSelectedItemPosition()];
49 | }
50 |
51 | class ArrayAdapterEx extends ArrayAdapter {
52 |
53 | ArrayAdapterEx(Context context, int resource, CharSequence[] objects) {
54 | super(context, resource, objects);
55 | }
56 |
57 | @Override
58 | public boolean isEnabled(int position) {
59 | return !disabledItems.contains(position);
60 | }
61 |
62 | @Override
63 | public View getDropDownView(int position, View convertView, ViewGroup parent) {
64 | View view = super.getDropDownView(position, convertView, parent);
65 | view.setEnabled(isEnabled(position));
66 | return view;
67 | }
68 | }
69 | }
70 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/prefs/SpinnerExFake.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.prefs;
2 |
3 | import android.content.Context;
4 | import android.content.Intent;
5 | import android.content.SharedPreferences;
6 | import android.util.AttributeSet;
7 | import android.util.Pair;
8 |
9 | import java.util.ArrayList;
10 |
11 | import org.strawing.customiuizermod.utils.Helpers;
12 |
13 | public class SpinnerExFake extends SpinnerEx {
14 |
15 | private String value = null;
16 | private final ArrayList> others = new ArrayList>();
17 |
18 | public SpinnerExFake(Context context, AttributeSet attrs) {
19 | super(context, attrs);
20 | others.clear();
21 | }
22 |
23 | public void setValue(String val) {
24 | value = val;
25 | }
26 |
27 | public String getValue() {
28 | return value;
29 | }
30 |
31 | public void addValue(String key, String val) {
32 | if (val == null) val = Helpers.prefs.getString(key, null);
33 | if (val != null) others.add(new Pair(key, val));
34 | }
35 |
36 | public void addValue(String key, Intent val) {
37 | String sVal;
38 | if (val == null)
39 | sVal = Helpers.prefs.getString(key, null);
40 | else
41 | sVal = val.toUri(0);
42 | if (sVal != null) others.add(new Pair(key, sVal));
43 | }
44 |
45 | public void applyOthers() {
46 | if (others.size() == 0) return;
47 | SharedPreferences.Editor editor = Helpers.prefs.edit();
48 | for (Pair pref: others)
49 | editor.putString(pref.first, pref.second);
50 | editor.apply();
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/qs/DarkModeService.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.qs;
2 |
3 | import android.app.UiModeManager;
4 | import android.content.Context;
5 | import android.content.pm.PackageManager;
6 | import android.graphics.drawable.Icon;
7 | import android.service.quicksettings.Tile;
8 | import android.service.quicksettings.TileService;
9 | import android.widget.Toast;
10 |
11 | import org.strawing.customiuizermod.R;
12 | import org.strawing.customiuizermod.utils.Helpers;
13 |
14 | public class DarkModeService extends TileService {
15 |
16 | void updateTile() {
17 | Tile tile = this.getQsTile();
18 | if (tile == null) return;
19 |
20 | Icon newIcon;
21 | int newState;
22 |
23 | UiModeManager uiManager = (UiModeManager)getSystemService(Context.UI_MODE_SERVICE);
24 | if (uiManager.getNightMode() == UiModeManager.MODE_NIGHT_YES) {
25 | newIcon = Icon.createWithResource(getApplicationContext(), R.drawable.ic_qs_darkmode_enabled);
26 | newState = Tile.STATE_ACTIVE;
27 | } else {
28 | newIcon = Icon.createWithResource(getApplicationContext(), R.drawable.ic_qs_darkmode_disabled);
29 | newState = Tile.STATE_INACTIVE;
30 | }
31 |
32 | tile.setIcon(newIcon);
33 | tile.setState(newState);
34 | tile.updateTile();
35 | }
36 |
37 | private void switchTileState() {
38 | try {
39 | if (!checkUIModePermission()) {
40 | Toast.makeText(this, R.string.qs_toggle_darkmode_noperm, Toast.LENGTH_LONG).show();
41 | } else {
42 | UiModeManager uiManager = (UiModeManager)getSystemService(Context.UI_MODE_SERVICE);
43 | uiManager.setNightMode(uiManager.getNightMode() != UiModeManager.MODE_NIGHT_YES ? UiModeManager.MODE_NIGHT_YES : UiModeManager.MODE_NIGHT_NO);
44 | }
45 | } catch (Throwable t) {
46 | t.printStackTrace();
47 | }
48 | }
49 |
50 | @Override
51 | public void onTileAdded() {
52 | updateTile();
53 | }
54 |
55 | @Override
56 | public void onTileRemoved() {}
57 |
58 | @Override
59 | public void onClick() {
60 | switchTileState();
61 | updateTile();
62 | }
63 |
64 | @Override
65 | public void onStartListening() {
66 | updateTile();
67 | }
68 |
69 | @Override
70 | public void onStopListening() {}
71 |
72 | private boolean checkUIModePermission() {
73 | PackageManager pm = getPackageManager();
74 | return pm.checkPermission("android.permission.MODIFY_DAY_NIGHT_MODE", Helpers.modulePkg) == PackageManager.PERMISSION_GRANTED;
75 | }
76 |
77 | }
78 |
79 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/CategorySelector.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.os.Bundle;
4 | import android.preference.Preference;
5 | import android.preference.PreferenceScreen;
6 |
7 | import org.strawing.customiuizermod.MainFragment;
8 | import org.strawing.customiuizermod.R;
9 | import org.strawing.customiuizermod.SubFragment;
10 | import org.strawing.customiuizermod.prefs.PreferenceEx;
11 | import org.strawing.customiuizermod.utils.Helpers;
12 |
13 | public class CategorySelector extends SubFragment {
14 |
15 | String cat = null;
16 |
17 | @Override
18 | public void onActivityCreated(Bundle savedInstanceState) {
19 | super.onActivityCreated(savedInstanceState);
20 |
21 | Bundle args = getArguments();
22 | cat = args.getString("cat");
23 |
24 | if ("pref_key_system".equals(cat)) {
25 | if (!Helpers.is12()) {
26 | Preference pref = findPreference("pref_key_system_cat_floatingwindows");
27 | if (pref != null) ((PreferenceScreen)findPreference("pref_key_cat")).removePreference(pref);
28 | }
29 | }
30 |
31 | PreferenceScreen screen = (PreferenceScreen)findPreference("pref_key_cat");
32 | int cnt = screen.getPreferenceCount();
33 | for (int i = 0; i < cnt; i++)
34 | screen.getPreference(i).setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
35 | @Override
36 | public boolean onPreferenceClick(Preference preference) {
37 | if (!(preference instanceof PreferenceEx)) return false;
38 | Bundle bundle = new Bundle();
39 | bundle.putString("sub", preference.getKey());
40 | MainFragment mainFrag = ((MainFragment)getTargetFragment());
41 | switch (cat) {
42 | case "pref_key_system":
43 | openSubFragment(mainFrag.prefSystem, bundle, Helpers.SettingsType.Preference, Helpers.ActionBarType.HomeUp, R.string.system_mods, R.xml.prefs_system);
44 | break;
45 | case "pref_key_launcher":
46 | openSubFragment(mainFrag.prefLauncher, bundle, Helpers.SettingsType.Preference, Helpers.ActionBarType.HomeUp, R.string.launcher_title, R.xml.prefs_launcher);
47 | break;
48 | case "pref_key_controls":
49 | openSubFragment(mainFrag.prefControls, bundle, Helpers.SettingsType.Preference, Helpers.ActionBarType.HomeUp, R.string.controls_mods, R.xml.prefs_controls);
50 | break;
51 | }
52 | return true;
53 | }
54 | });
55 | }
56 |
57 | }
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/Launcher_FolderBlur.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.os.Bundle;
4 |
5 | import org.strawing.customiuizermod.SubFragment;
6 | import org.strawing.customiuizermod.prefs.PreferenceCategoryEx;
7 | import org.strawing.customiuizermod.utils.Helpers;
8 |
9 | public class Launcher_FolderBlur extends SubFragment {
10 |
11 | @Override
12 | public void onActivityCreated(Bundle savedInstanceState) {
13 | super.onActivityCreated(savedInstanceState);
14 | int ver = Helpers.getMIUILauncherVersion(getContext());
15 | ((PreferenceCategoryEx)findPreference("pref_key_launcher_folderbackblur")).setUnsupported(ver > 41601600);
16 | ((PreferenceCategoryEx)findPreference("pref_key_launcher_folderwallblur")).setUnsupported(ver > 41601600 && ver < 422003000);
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/System_AutoBrightness.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.os.Bundle;
4 | import android.widget.SeekBar;
5 |
6 | import org.strawing.customiuizermod.SubFragment;
7 | import org.strawing.customiuizermod.prefs.SeekBarPreference;
8 | import org.strawing.customiuizermod.utils.Helpers;
9 |
10 | public class System_AutoBrightness extends SubFragment {
11 | SeekBarPreference minBrightness;
12 | SeekBarPreference maxBrightness;
13 |
14 | @Override
15 | public void onActivityCreated(Bundle savedInstanceState) {
16 | super.onActivityCreated(savedInstanceState);
17 |
18 | maxBrightness = (SeekBarPreference)findPreference("pref_key_system_autobrightness_max");
19 | minBrightness = (SeekBarPreference)findPreference("pref_key_system_autobrightness_min");
20 | minBrightness.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
21 | @Override
22 | public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
23 | if (!fromUser) return;
24 | if (maxBrightness.getValue() <= progress) maxBrightness.setValue(progress + 1);
25 | maxBrightness.setMinValue(progress + 1);
26 | }
27 |
28 | @Override
29 | public void onStartTrackingTouch(SeekBar seekBar) {}
30 |
31 | @Override
32 | public void onStopTrackingTouch(SeekBar seekBar) {}
33 | });
34 |
35 | findPreference("pref_key_system_autobrightness_hlg").setEnabled(!Helpers.isPiePlus());
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/System_BatteryIndicator.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.content.Intent;
4 | import android.os.Bundle;
5 | import android.preference.Preference;
6 |
7 | import org.strawing.customiuizermod.SubFragment;
8 | import org.strawing.customiuizermod.utils.Helpers;
9 |
10 | public class System_BatteryIndicator extends SubFragment {
11 |
12 | @Override
13 | public void onActivityCreated(Bundle savedInstanceState) {
14 | super.onActivityCreated(savedInstanceState);
15 |
16 | String colorval = Helpers.prefs.getString("pref_key_system_batteryindicator_color", "1");
17 | findPreference("pref_key_system_batteryindicator_colorval1").setEnabled(!"3".equals(colorval));
18 | findPreference("pref_key_system_batteryindicator_colorval2").setEnabled(!"3".equals(colorval));
19 | findPreference("pref_key_system_batteryindicator_colorval3").setEnabled(!"3".equals(colorval));
20 | findPreference("pref_key_system_batteryindicator_colorval4").setEnabled(!"3".equals(colorval));
21 | findPreference("pref_key_system_batteryindicator_color").setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
22 | @Override
23 | public boolean onPreferenceChange(Preference preference, Object newValue) {
24 | findPreference("pref_key_system_batteryindicator_colorval1").setEnabled(!"3".equals(newValue));
25 | findPreference("pref_key_system_batteryindicator_colorval2").setEnabled(!"3".equals(newValue));
26 | findPreference("pref_key_system_batteryindicator_colorval3").setEnabled(!"3".equals(newValue));
27 | findPreference("pref_key_system_batteryindicator_colorval4").setEnabled(!"3".equals(newValue));
28 | return true;
29 | }
30 | });
31 |
32 | findPreference("pref_key_system_batteryindicator_colorval1").setOnPreferenceClickListener(openColorSelector);
33 | findPreference("pref_key_system_batteryindicator_colorval2").setOnPreferenceClickListener(openColorSelector);
34 | findPreference("pref_key_system_batteryindicator_colorval3").setOnPreferenceClickListener(openColorSelector);
35 | findPreference("pref_key_system_batteryindicator_colorval4").setOnPreferenceClickListener(openColorSelector);
36 |
37 | findPreference("pref_key_system_batteryindicator_test").setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
38 | @Override
39 | public boolean onPreferenceClick(Preference preference) {
40 | getActivity().sendBroadcast(new Intent("org.strawing.customiuizermod.mods.BatteryIndicatorTest"));
41 | return true;
42 | }
43 | });
44 | }
45 |
46 | }
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/System_LockScreenShortcuts.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.os.Bundle;
4 |
5 | import org.strawing.customiuizermod.SubFragment;
6 |
7 | public class System_LockScreenShortcuts extends SubFragment {
8 |
9 | @Override
10 | public void onActivityCreated(Bundle savedInstanceState) {
11 | super.onActivityCreated(savedInstanceState);
12 |
13 | findPreference("pref_key_system_lockscreenshortcuts_right").setOnPreferenceClickListener(openLockScreenActions);
14 | findPreference("pref_key_system_lockscreenshortcuts_left").setOnPreferenceClickListener(openSortableList);
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/System_PopupNotif.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.os.Bundle;
4 |
5 | import org.strawing.customiuizermod.SubFragment;
6 |
7 | public class System_PopupNotif extends SubFragment {
8 |
9 | @Override
10 | public void onActivityCreated(Bundle savedInstanceState) {
11 | super.onActivityCreated(savedInstanceState);
12 |
13 | findPreference("pref_key_system_popupnotif_apps").setOnPreferenceClickListener(openAppsEdit);
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/System_ScreenshotConfig.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.app.Activity;
4 | import android.content.Intent;
5 | import android.os.Bundle;
6 | import android.preference.Preference;
7 |
8 | import org.strawing.customiuizermod.SubFragment;
9 | import org.strawing.customiuizermod.utils.GetPathUtils;
10 | import org.strawing.customiuizermod.utils.Helpers;
11 |
12 | public class System_ScreenshotConfig extends SubFragment {
13 |
14 | @Override
15 | public void onActivityCreated(Bundle savedInstanceState) {
16 | super.onActivityCreated(savedInstanceState);
17 |
18 | String format = Helpers.prefs.getString("pref_key_system_screenshot_format", "1");
19 | findPreference("pref_key_system_screenshot_quality").setEnabled("2".equals(format) || "4".equals(format));
20 | findPreference("pref_key_system_screenshot_format").setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
21 | @Override
22 | public boolean onPreferenceChange(Preference preference, Object newValue) {
23 | findPreference("pref_key_system_screenshot_quality").setEnabled("2".equals(newValue) || "4".equals(newValue));
24 | return true;
25 | }
26 | });
27 |
28 | String path = Helpers.prefs.getString("pref_key_system_screenshot_path", "1");
29 | String dir = Helpers.prefs.getString("pref_key_system_screenshot_mypath", "");
30 | findPreference("pref_key_system_screenshot_mypath").setEnabled("4".equals(path));
31 | findPreference("pref_key_system_screenshot_mypath").setSummary(dir);
32 | findPreference("pref_key_system_screenshot_path").setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
33 | @Override
34 | public boolean onPreferenceChange(Preference preference, Object newValue) {
35 | findPreference("pref_key_system_screenshot_mypath").setEnabled("4".equals(newValue));
36 | return true;
37 | }
38 | });
39 |
40 | findPreference("pref_key_system_screenshot_mypath").setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
41 | @Override
42 | public boolean onPreferenceClick(Preference preference) {
43 | Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE);
44 | startActivityForResult(Intent.createChooser(intent, null), 0);
45 | return true;
46 | }
47 | });
48 | }
49 |
50 | @Override
51 | public void onActivityResult(int requestCode, int resultCode, final Intent data) {
52 | if (resultCode == Activity.RESULT_OK && requestCode == 0) {
53 | String dir = GetPathUtils.getDirectoryPathFromUri(getActivity(), data.getData());
54 | if (dir == null) dir = "";
55 | findPreference("pref_key_system_screenshot_mypath").setSummary(dir);
56 | Helpers.prefs.edit().putString("pref_key_system_screenshot_mypath", dir).apply();
57 | }
58 | super.onActivityResult(requestCode, resultCode, data);
59 | }
60 |
61 | }
62 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/System_StatusbarControls.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.os.Bundle;
4 |
5 | import org.strawing.customiuizermod.SubFragment;
6 |
7 | public class System_StatusbarControls extends SubFragment {
8 |
9 | @Override
10 | public void onActivityCreated(Bundle savedInstanceState) {
11 | super.onActivityCreated(savedInstanceState);
12 |
13 | findPreference("pref_key_system_statusbarcontrols_dt").setOnPreferenceClickListener(openStatusbarActions);
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/subs/System_Visualizer.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.subs;
2 |
3 | import android.os.Bundle;
4 | import android.preference.Preference;
5 |
6 | import org.strawing.customiuizermod.SubFragment;
7 | import org.strawing.customiuizermod.utils.Helpers;
8 |
9 | public class System_Visualizer extends SubFragment {
10 |
11 | @Override
12 | public void onActivityCreated(Bundle savedInstanceState) {
13 | super.onActivityCreated(savedInstanceState);
14 |
15 | findPreference("pref_key_system_visualizer_colorval").setEnabled("2".equals(Helpers.prefs.getString("pref_key_system_visualizer_color", "1")));
16 | findPreference("pref_key_system_visualizer_dyntime").setEnabled("5".equals(Helpers.prefs.getString("pref_key_system_visualizer_color", "1")));
17 | findPreference("pref_key_system_visualizer_color").setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() {
18 | @Override
19 | public boolean onPreferenceChange(Preference preference, Object newValue) {
20 | findPreference("pref_key_system_visualizer_colorval").setEnabled("2".equals(newValue));
21 | findPreference("pref_key_system_visualizer_dyntime").setEnabled("5".equals(newValue));
22 | return true;
23 | }
24 | });
25 |
26 | findPreference("pref_key_system_visualizer_colorval").setOnPreferenceClickListener(openColorSelector);
27 | }
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/tasker/Constants.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.tasker;
2 |
3 | public class Constants {
4 |
5 | public static final String INTENT_PREFIX = "com.twofortyfouram.locale.intent.";
6 | public static final String EXTRA_BUNDLE = INTENT_PREFIX + "extra.BUNDLE";
7 | public static final String EXTRA_STRING_BLURB = INTENT_PREFIX + "extra.BLURB";
8 | public static final String ACTION_FIRE_SETTING = INTENT_PREFIX + "action.FIRE_SETTING";
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/tasker/UnlockReceiver.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.tasker;
2 |
3 | import android.content.BroadcastReceiver;
4 | import android.content.Context;
5 | import android.content.Intent;
6 | import android.os.Bundle;
7 |
8 | import org.strawing.customiuizermod.mods.GlobalActions;
9 |
10 | public class UnlockReceiver extends BroadcastReceiver {
11 |
12 | @Override
13 | public void onReceive(Context context, Intent intent) {
14 | Bundle bundle = intent.getBundleExtra(Constants.EXTRA_BUNDLE);
15 | if (bundle != null) {
16 | Intent sendIntent = new Intent();
17 | sendIntent.setAction(GlobalActions.ACTION_PREFIX + "UnlockSetForced");
18 | sendIntent.putExtras(bundle);
19 | context.sendBroadcast(sendIntent);
20 | }
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/tasker/UnlockSettings.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.tasker;
2 |
3 | import android.app.Activity;
4 | import android.content.Intent;
5 | import android.os.Bundle;
6 | import android.view.View;
7 | import android.widget.Button;
8 | import android.widget.RadioGroup;
9 |
10 | import org.strawing.customiuizermod.R;
11 |
12 | public class UnlockSettings extends Activity {
13 |
14 | @Override
15 | protected void onCreate(Bundle savedInstanceState) {
16 | super.onCreate(savedInstanceState);
17 |
18 | setContentView(R.layout.tasker_unlock);
19 |
20 | Button ok = findViewById(R.id.force_ok);
21 | ok.setOnClickListener(new View.OnClickListener() {
22 | @Override
23 | public void onClick(View v) {
24 | int opt = ((RadioGroup)findViewById(R.id.force_option)).getCheckedRadioButtonId();
25 | int val = -1;
26 | if (opt == R.id.force_locked) val = 0;
27 | else if (opt == R.id.force_unlocked) val = 1;
28 | Intent resultIntent = new Intent();
29 | resultIntent.putExtra(Constants.EXTRA_STRING_BLURB, getString(val == 1 ? R.string.system_noscreenlock_force_unlocked : (val == 0 ? R.string.system_noscreenlock_force_locked : R.string.system_noscreenlock_force_off)));
30 | Bundle bundle = new Bundle();
31 | bundle.putInt("system_noscreenlock_force", val);
32 | //bundle.putString("net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS", "lockstate");
33 | //resultIntent.putExtra("net.dinglisch.android.tasker.RELEVANT_VARIABLES", new String[] { "%lockstate\nLock state\nCurrent state of lock override:
0 force locked
1 force unlocked
-1 do not force"});
34 | //resultIntent.putExtra("net.dinglisch.android.tasker.extras.REQUESTED_TIMEOUT", 3000);
35 | resultIntent.putExtra(Constants.EXTRA_BUNDLE, bundle);
36 | setResult(Activity.RESULT_OK, resultIntent);
37 | finish();
38 | }
39 | });
40 |
41 | Bundle bundle = getIntent().getBundleExtra(Constants.EXTRA_BUNDLE);
42 | if (bundle != null) {
43 | int opt = bundle.getInt("system_noscreenlock_force", -1);
44 | ((RadioGroup)findViewById(R.id.force_option)).check(opt == 0 ? R.id.force_locked : (opt == 1 ? R.id.force_unlocked : R.id.force_off));
45 | }
46 | }
47 |
48 | }
49 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/AppData.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | public class AppData {
4 | public String label;
5 | public String pkgName;
6 | public String actName;
7 | public boolean enabled;
8 | public int user = 0;
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/GuidePopup.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | import android.content.Context;
4 | import android.text.TextUtils;
5 | import android.util.TypedValue;
6 | import android.view.LayoutInflater;
7 | import android.view.View;
8 | import android.widget.LinearLayout;
9 | import android.widget.TextView;
10 |
11 | import miui.widget.ArrowPopupWindow;
12 | import org.strawing.customiuizermod.R;
13 |
14 | public class GuidePopup extends ArrowPopupWindow {
15 | private LinearLayout layout;
16 |
17 | public GuidePopup(Context context) {
18 | super(context);
19 | }
20 |
21 | private void setText(String text) {
22 | if (TextUtils.isEmpty(text)) return;
23 |
24 | String[] txt = text.split("\n");
25 | if (txt.length == 0) return;
26 |
27 | LayoutInflater infalter = this.getLayoutInflater();
28 | for (String str: txt) {
29 | TextView textView = (TextView)infalter.inflate(getContext().getResources().getIdentifier("guide_popup_text_view", "layout", "miui"), null);
30 | textView.setText(str);
31 | textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 13.5f);
32 | if (Helpers.isNightMode(getContext()))
33 | textView.setTextColor(getContext().getResources().getColor(R.color.guide_popup_text, getContext().getTheme()));
34 | textView.setSingleLine(true);
35 | textView.setMaxHeight(Integer.MAX_VALUE);
36 | textView.setMaxWidth(Integer.MAX_VALUE);
37 | this.layout.addView(textView);
38 | }
39 | }
40 |
41 | protected void onPrepareWindow() {
42 | super.onPrepareWindow();
43 | this.setFocusable(true);
44 | this.layout = (LinearLayout)this.getLayoutInflater().inflate(getContext().getResources().getIdentifier("guide_popup_content_view", "layout", "miui"), null, false);
45 | this.setContentView(this.layout);
46 | this.mArrowPopupView.enableShowingAnimation(false);
47 | }
48 |
49 | public void setGuideText(int resId) {
50 | this.setGuideText(this.getContext().getString(resId));
51 | }
52 |
53 | private void setGuideText(String text) {
54 | this.setText(text);
55 | }
56 |
57 | public void show(View anchor) {
58 | this.show(anchor, 0, 0);
59 | }
60 |
61 | public void show(View anchor, int x, int y) {
62 | super.show(anchor, x, y);
63 | }
64 | }
65 |
66 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/HelperReceiver.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | import java.io.File;
4 | import java.io.FileOutputStream;
5 | import java.io.OutputStreamWriter;
6 | import java.io.StringWriter;
7 |
8 | import android.content.BroadcastReceiver;
9 | import android.content.Context;
10 | import android.content.Intent;
11 |
12 | public class HelperReceiver extends BroadcastReceiver {
13 | @Override
14 | public void onReceive(final Context ctx, Intent intent) {
15 | if (intent.getAction() == null) return;
16 |
17 | if (intent.getAction().equals("org.strawing.customiuizermod.SAVEEXCEPTION")) {
18 | try {
19 | Throwable thw = (Throwable)intent.getSerializableExtra("throwable");
20 | if (thw == null) return;
21 | StringWriter stackTrace = new StringWriter();
22 |
23 | File f = new File(ctx.getFilesDir().getAbsolutePath() + "/uncaught_exceptions");
24 | if (!f.exists()) f.createNewFile();
25 |
26 | try (FileOutputStream fOut = new FileOutputStream(f, true)) {
27 | try (OutputStreamWriter output = new OutputStreamWriter(fOut)) {
28 | output.write(stackTrace + "\n\n");
29 | }
30 | }
31 | } catch (Throwable t) {}
32 | } else if (intent.getAction().equals(Intent.ACTION_LOCKED_BOOT_COMPLETED)) {
33 | Helpers.fixPermissionsAsync(ctx);
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/ModData.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | public class ModData {
4 |
5 | public enum ModCat {
6 | pref_key_system,
7 | pref_key_launcher,
8 | pref_key_controls,
9 | pref_key_various
10 | }
11 |
12 | public String title;
13 | public String breadcrumbs;
14 | public String key;
15 | public ModCat cat;
16 | public String sub;
17 | public int order;
18 | }
19 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/NestedHeaderLayout.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.view.View;
6 |
7 | import org.strawing.customiuizermod.R;
8 |
9 | public class NestedHeaderLayout extends miui.widget.NestedScrollingLayout {
10 |
11 | private View mHeaderView;
12 | private float mRangeOffset;
13 | private View mScrollableSearchView;
14 |
15 | public NestedHeaderLayout(Context context) {
16 | this(context, null);
17 | }
18 |
19 | public NestedHeaderLayout(Context context, AttributeSet attributeSet) {
20 | this(context, attributeSet, 0);
21 | }
22 |
23 | public NestedHeaderLayout(Context context, AttributeSet attributeSet, int i) {
24 | super(context, attributeSet, i);
25 | }
26 |
27 | @Override
28 | protected void onFinishInflate() {
29 | super.onFinishInflate();
30 | mHeaderView = findViewById(R.id.searchView);
31 | mScrollableView = findViewById(android.R.id.list);
32 | mScrollableSearchView = findViewById(android.R.id.custom);
33 | mRangeOffset = 0.0f;
34 | }
35 |
36 | @Override
37 | protected void onLayout(boolean z, int i, int i2, int i3, int i4) {
38 | super.onLayout(z, i, i2, i3, i4);
39 | setScrollingRange((int)((float)(-mHeaderView.getMeasuredHeight()) + mRangeOffset), 0);
40 | }
41 |
42 | @Override
43 | protected void onScrollingProgressUpdated(int i) {
44 | super.onScrollingProgressUpdated(i);
45 | mHeaderView.offsetTopAndBottom(i - mHeaderView.getTop());
46 | mScrollableView.offsetTopAndBottom(mHeaderView.getMeasuredHeight() + i - mScrollableView.getTop());
47 | mScrollableSearchView.setTop(mHeaderView.getMeasuredHeight());
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/PrefBackupAgent.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | import java.io.IOException;
4 |
5 | import android.app.backup.BackupAgentHelper;
6 | import android.app.backup.BackupDataInput;
7 | import android.app.backup.SharedPreferencesBackupHelper;
8 |
9 | import android.content.SharedPreferences;
10 |
11 | import android.os.ParcelFileDescriptor;
12 |
13 | public class PrefBackupAgent extends BackupAgentHelper {
14 |
15 | @Override
16 | public void onCreate() {
17 | super.onCreate();
18 | try {
19 | SharedPreferencesBackupHelper helper = new SharedPreferencesBackupHelper(Helpers.getProtectedContext(this), "customiuizer_prefs");
20 | addHelper("prefs_helper", helper);
21 | } catch (Throwable t) {}
22 | }
23 |
24 | @Override
25 | public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) throws IOException {
26 | super.onRestore(data, appVersionCode, newState);
27 | try {
28 | SharedPreferences prefs = Helpers.getSharedPrefs(this, true);
29 | prefs.edit().putBoolean("pref_key_was_restore", true).apply();
30 | } catch (Throwable t) {}
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/PrefMap.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | import java.util.HashMap;
4 | import java.util.LinkedHashSet;
5 | import java.util.Set;
6 |
7 | public class PrefMap extends HashMap {
8 |
9 | public Object getObject(String key, Object defValue) {
10 | return get(key) == null ? defValue : get(key);
11 | }
12 |
13 | public int getInt(String key, int defValue) {
14 | key = "pref_key_" + key;
15 | return get(key) == null ? defValue : (Integer)get(key);
16 | }
17 |
18 | public String getString(String key, String defValue) {
19 | key = "pref_key_" + key;
20 | return get(key) == null ? defValue : (String)get(key);
21 | }
22 |
23 | public int getStringAsInt(String key, int defValue) {
24 | key = "pref_key_" + key;
25 | return get(key) == null ? defValue : Integer.parseInt((String)get(key));
26 | }
27 |
28 | @SuppressWarnings("unchecked")
29 | public Set getStringSet(String key) {
30 | key = "pref_key_" + key;
31 | return get(key) == null ? new LinkedHashSet() : (Set)get(key);
32 | }
33 |
34 | public boolean getBoolean(String key) {
35 | key = "pref_key_" + key;
36 | return get(key) == null ? false : (Boolean)get(key);
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/SnoozeData.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | import android.graphics.drawable.Icon;
4 |
5 | public class SnoozeData {
6 | public String key;
7 | public String pkg;
8 | public boolean header = false;
9 | public boolean canceled = false;
10 | public int user = 0;
11 | public int messages = 0;
12 | public long created = 0;
13 | public long updated = 0;
14 | public long reposted = 0;
15 | public String channel;
16 | public int color;
17 | public Icon icon = null;
18 | public String title;
19 | public String text;
20 | }
21 |
--------------------------------------------------------------------------------
/app/src/main/java/org/strawing/customiuizermod/utils/SoundData.java:
--------------------------------------------------------------------------------
1 | package org.strawing.customiuizermod.utils;
2 |
3 | import android.os.Parcel;
4 | import android.os.Parcelable;
5 |
6 | import java.util.Calendar;
7 |
8 | public class SoundData implements Parcelable {
9 | public final String caller;
10 | public final String uid;
11 | public final String type;
12 | public final long time;
13 |
14 | public static SoundData fromPref(String pref) {
15 | String[] dataArr = pref.split("\\|");
16 | return new SoundData(dataArr[0], dataArr[1], dataArr[2]);
17 | }
18 |
19 | public SoundData(String caller, String type, String uid) {
20 | this.caller = caller;
21 | this.uid = uid;
22 | this.type = type;
23 | this.time = Calendar.getInstance().getTime().getTime();
24 | }
25 |
26 | public SoundData(Parcel in) {
27 | caller = in.readString();
28 | uid = in.readString();
29 | type = in.readString();
30 | time = in.readLong();
31 | }
32 |
33 | public static final Creator CREATOR = new Creator() {
34 | @Override
35 | public SoundData createFromParcel(Parcel in) {
36 | return new SoundData(in);
37 | }
38 |
39 | @Override
40 | public SoundData[] newArray(int size) {
41 | return new SoundData[size];
42 | }
43 | };
44 |
45 | @Override
46 | public int describeContents() {
47 | return 0;
48 | }
49 |
50 | @Override
51 | public void writeToParcel(Parcel dest, int flags) {
52 | dest.writeString(caller);
53 | dest.writeString(uid);
54 | dest.writeString(type);
55 | dest.writeLong(time);
56 | }
57 |
58 | @Override
59 | public boolean equals(Object obj) {
60 | if (!(obj instanceof SoundData)) return false;
61 | SoundData data = (SoundData)obj;
62 | return this.caller.equals(data.caller) && this.uid.equals(data.uid) && this.type.equals(data.type);
63 | }
64 |
65 | public String toPref() {
66 | return caller + "|" + type + "|" + uid;
67 | }
68 |
69 | @Override
70 | public String toString() {
71 | return "SoundData{" +
72 | "caller='" + caller + '\'' +
73 | ", uid='" + uid + '\'' +
74 | ", type='" + type + '\'' +
75 | ", time=" + time +
76 | '}';
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_close_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
8 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_close_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_open_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
9 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_open_enter10.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/activity_open_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/decelerate_interpolator.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/no_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/no_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/xfade_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/xfade_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/animator/fragment_close_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/animator/fragment_close_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/animator/fragment_open_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/animator/fragment_open_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/color-night-v8/color_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/color/color_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/color/preference_primary_text.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/color/preference_secondary_text.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-440dpi-v4/ic_miui_volume_notification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-440dpi-v4/ic_miui_volume_notification.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-440dpi-v4/ic_miui_volume_notification_mute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-440dpi-v4/ic_miui_volume_notification_mute.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xhdpi-v4/am_list_item_background_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xhdpi-v4/am_list_item_background_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xhdpi-v4/card_icon_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xhdpi-v4/card_icon_default.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xhdpi-v4/ic_miuizer_settings10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xhdpi-v4/ic_miuizer_settings10.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xhdpi-v4/list_sec__item_backgournd_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xhdpi-v4/list_sec__item_backgournd_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/am_list_item_background_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/am_list_item_background_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/btn_checkbox_on_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/btn_checkbox_on_disabled.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/btn_checkbox_on_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/btn_checkbox_on_normal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/drag_handle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/drag_handle.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/ic_appinfo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/ic_appinfo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/ic_appinfo12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/ic_appinfo12.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/ic_forceclose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/ic_forceclose.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/ic_forceclose12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/ic_forceclose12.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/ic_miuizer_settings10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/ic_miuizer_settings10.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/icon_action_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/icon_action_default.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxhdpi-v4/list_sec__item_backgournd_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxhdpi-v4/list_sec__item_backgournd_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxxhdpi-v4/am_list_item_background_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxxhdpi-v4/am_list_item_background_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxxhdpi-v4/list_sec__item_backgournd_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxxhdpi-v4/list_sec__item_backgournd_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-night-xxxhdpi-v4/progressbar_indeterminate_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-night-xxxhdpi-v4/progressbar_indeterminate_circle.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/crypto_header.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/crypto_header.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/doge.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/doge.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/hand_sanitizer.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/hand_sanitizer.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/lunar_newyear_header.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/lunar_newyear_header.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/medical_mask.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/medical_mask.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/newyear_header.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/newyear_header.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/santa_hat.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/santa_hat.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/uptrend.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/uptrend.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-nodpi/year2021_ox.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-nodpi/year2021_ox.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi-v4/am_list_item_background_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xhdpi-v4/am_list_item_background_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi-v4/card_icon_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xhdpi-v4/card_icon_default.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi-v4/ic_miuizer_settings10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xhdpi-v4/ic_miuizer_settings10.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi-v4/list_sec__item_backgournd_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xhdpi-v4/list_sec__item_backgournd_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/alert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/alert.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/am_card_item_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/am_card_item_disabled.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/am_list_item_background_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/am_list_item_background_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_off_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_off_disabled.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_off_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_off_normal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_on_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_on_disabled.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_on_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/btn_checkbox_on_normal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin1.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin1.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin10.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin10.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin11.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin11.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin12.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin12.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin13.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin13.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin14.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin14.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin15.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin15.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin16.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin16.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin17.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin17.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin18.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin18.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin19.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin19.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin2.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin2.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin20.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin20.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin21.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin21.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin22.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin22.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin3.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin3.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin4.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin4.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin5.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin5.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin6.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin6.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin7.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin7.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin8.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin8.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/coin9.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/coin9.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/color_button.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/color_button.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/confetti1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/confetti1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/confetti2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/confetti2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/confetti3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/confetti3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/drag_handle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/drag_handle.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_appinfo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_appinfo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_appinfo12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_appinfo12.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_credentials.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_credentials.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_forceclose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_forceclose.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_forceclose12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_forceclose12.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_mask.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_mask.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_miui_volume_notification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_miui_volume_notification.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_miui_volume_notification_mute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_miui_volume_notification_mute.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_miuizer_settings10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_miuizer_settings10.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_qs_autorotate_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_qs_autorotate_disabled.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_qs_autorotate_lock_landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_qs_autorotate_lock_landscape.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_qs_autorotate_lock_portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_qs_autorotate_lock_portrait.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_qs_darkmode_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_qs_darkmode_disabled.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_qs_darkmode_enabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_qs_darkmode_enabled.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/ic_xspace.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/ic_xspace.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/icon_action_allow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/icon_action_allow.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/icon_action_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/icon_action_default.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/icon_action_disallow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/icon_action_disallow.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/keyguard_bottom_miuizer_oldimg_dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/keyguard_bottom_miuizer_oldimg_dark.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/keyguard_bottom_miuizer_oldimg_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/keyguard_bottom_miuizer_oldimg_light.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/keyguard_bottom_miuizer_shortcut_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/keyguard_bottom_miuizer_shortcut_img.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/list_sec__item_backgournd_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/list_sec__item_backgournd_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/petal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/petal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/snowflake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/snowflake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/virus1.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/virus1.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/virus2.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/virus2.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v4/virus3.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxhdpi-v4/virus3.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/am_list_item_background_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/am_list_item_background_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_bottomleft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_bottomleft.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_bottomleft_dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_bottomleft_dark.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_topright.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_topright.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_topright_dark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/ic_sysbar_dot_topright_dark.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/list_sec__item_backgournd_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/list_sec__item_backgournd_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/progressbar_indeterminate_circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/progressbar_indeterminate_circle.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_custom_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_custom_normal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_custom_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_custom_pressed.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_launch_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_launch_normal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_launch_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_launch_pressed.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_toggle_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_toggle_normal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_toggle_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/drawable-xxxhdpi-v4/recents_icon_toggle_pressed.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/am_list_item_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_checkbox.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_audio_notification.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_audio_system.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_snooze.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/list_item_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
8 |
11 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/list_item_bg_normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | -
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/list_item_bg_pressed.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | -
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/list_item_bg_selected.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | -
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/progressbar_indeterminate.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/recents_icon_custom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/recents_icon_launch.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/recents_icon_toggle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/rounded_corners.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/seekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/seekbar_progress.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
20 |
21 |
33 |
34 |
39 |
40 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_snoozed.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_inapp.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
18 |
19 |
30 |
31 |
32 |
33 |
37 |
38 |
43 |
44 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_snoozed.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
15 |
16 |
22 |
23 |
28 |
29 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/grid_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/pref_header.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/pref_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
26 |
27 |
33 |
34 |
41 |
42 |
49 |
50 |
60 |
61 |
62 |
63 |
72 |
73 |
74 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/pref_item_detailed.xml:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
20 |
21 |
28 |
29 |
36 |
37 |
38 |
39 |
45 |
46 |
55 |
56 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/preference_seekbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
20 |
21 |
29 |
30 |
38 |
39 |
48 |
49 |
55 |
56 |
65 |
66 |
67 |
68 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/preference_seekbar12.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
20 |
21 |
30 |
31 |
39 |
40 |
49 |
50 |
56 |
57 |
66 |
67 |
68 |
69 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_app_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
18 |
19 |
25 |
26 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_bt_networks.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
18 |
19 |
27 |
28 |
36 |
37 |
45 |
46 |
54 |
55 |
63 |
64 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_common.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_common_padded.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_freedback.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
18 |
19 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_main12.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
19 |
20 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_sortable_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_system_audiosilencer.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
18 |
19 |
27 |
28 |
36 |
37 |
45 |
46 |
54 |
55 |
63 |
64 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/prefs_wifi_networks.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
18 |
19 |
27 |
28 |
36 |
37 |
45 |
46 |
54 |
55 |
63 |
64 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/qs_footer.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/search_stub.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
19 |
20 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/tasker_unlock.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
17 |
18 |
23 |
24 |
29 |
30 |
36 |
37 |
38 |
39 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_itemactions.xml:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_itemoptions.xml:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_launcher.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/menu_mods.xml:
--------------------------------------------------------------------------------
1 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_snooze.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_snooze.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/mipmap-xxhdpi/ic_snooze.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/raw/extended_power_menu:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/app/src/main/res/raw/extended_power_menu
--------------------------------------------------------------------------------
/app/src/main/res/values-440dpi/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 368.4792dp
4 | 368.4792dp
5 |
6 | 19.64dp
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -2px
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/values-land/integers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 4
5 | 5
6 | 6
7 | 7
8 | 8
9 |
10 | 2
11 | 3
12 | 3
13 | 3
14 |
15 | 4
16 | 5
17 | 6
18 | 7
19 | 8
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/values-night/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #99ffffff
4 | #337f7f7f
5 |
6 | #ff3e73B3
7 |
8 | #80ffffff
9 | #e6ffffff
10 | #4dffffff
11 | #e6ffffff
12 | #72ffffff
13 | #33ffffff
14 | #72ffffff
15 | #ff0099ff
16 |
17 | #e6ffffff
18 | #4cffffff
19 |
20 | #ff262627
21 | #ff505051
22 |
23 | #14ffffff
24 | @android:color/transparent
25 |
26 | #ff808080
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/values-xxhdpi/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 337.77dp
4 | 337.77dp
5 |
6 | 18dp
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #ff424a60
4 |
5 | #99000000
6 | #33808080
7 |
8 | #ff58a1ff
9 | @color/highlight_normal_light
10 |
11 | #80000000
12 | #ff000000
13 | #4d000000
14 | #ff000000
15 | #66000000
16 | #4d000000
17 | #66000000
18 | #260091dc
19 |
20 | #cc000000
21 | #4c000000
22 | #7fffffff
23 |
24 | #ffe0e0e0
25 | #ff999999
26 |
27 | #0d000000
28 | @android:color/white
29 |
30 | #80000000
31 |
32 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 20dp
4 | 15dp
5 | 15.16dp
6 | 15.19dp
7 | 25dp
8 | 15dp
9 | 14sp
10 | 12.36sp
11 |
12 | 13.3dp
13 |
14 | 75dp
15 |
16 | 22.5dp
17 | 13.25sp
18 | 16sp
19 |
20 | 11dp
21 |
22 | 337.77dp
23 | 337.77dp
24 |
25 | 30dp
26 | 40.0dp
27 |
28 | 18dp
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/app/src/main/res/values/integers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 3
5 | 4
6 | 5
7 | 6
8 | 7
9 |
10 | 2
11 | 3
12 | 4
13 | 5
14 |
15 | 3
16 | 4
17 | 5
18 | 6
19 | 7
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_about.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
9 |
13 |
17 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_controls_cat.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
10 |
13 |
16 |
19 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_inapp.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
9 |
12 |
15 |
18 |
21 |
24 |
27 |
30 |
33 |
34 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_launcher_cat.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
15 |
16 |
21 |
22 |
24 |
25 |
28 |
31 |
34 |
37 |
40 |
43 |
44 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_airplanemode.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
13 |
14 |
21 |
22 |
29 |
30 |
37 |
38 |
45 |
46 |
50 |
51 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_alarmonlock.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
22 |
23 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_albumartonlock.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
22 |
23 |
32 |
33 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_autobrightness.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
15 |
16 |
20 |
21 |
29 |
30 |
34 |
35 |
43 |
44 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_cat.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
10 |
13 |
16 |
19 |
22 |
25 |
28 |
31 |
34 |
37 |
40 |
43 |
46 |
49 |
50 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_charginginfo.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
24 |
25 |
29 |
30 |
34 |
35 |
39 |
40 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_detailednetspeed.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
13 |
14 |
22 |
23 |
31 |
32 |
43 |
44 |
50 |
51 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_noscreenlock.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
24 |
25 |
32 |
33 |
38 |
39 |
44 |
45 |
49 |
50 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_popupnotif.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
13 |
14 |
20 |
21 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_screenshot.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
24 |
25 |
33 |
34 |
41 |
42 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_statusbarcontrols.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
24 |
25 |
32 |
33 |
34 |
35 |
39 |
40 |
46 |
47 |
53 |
54 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_system_vibration_amp.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
12 |
13 |
17 |
18 |
21 |
22 |
25 |
26 |
27 |
28 |
32 |
33 |
42 |
43 |
51 |
52 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_various_callreminder.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
25 |
26 |
30 |
31 |
38 |
39 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_various_calluibright.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
11 |
12 |
16 |
17 |
23 |
24 |
33 |
34 |
39 |
40 |
45 |
46 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/prefs_various_hiddenfeatures.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
10 |
11 |
15 |
16 |
19 |
20 |
23 |
24 |
27 |
28 |
31 |
32 |
35 |
36 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/shortcuts.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | google()
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.2.1'
10 |
11 | // NOTE: Do not place your application dependencies here; they belong
12 | // in the individual module build.gradle files
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | google()
19 | jcenter()
20 | maven { url "https://jitpack.io" }
21 | }
22 | }
23 |
24 | task clean(type: Delete) {
25 | delete rootProject.buildDir
26 | }
27 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | ## For more details on how to configure your build environment visit
2 | # http://www.gradle.org/docs/current/userguide/build_environment.html
3 | #
4 | # Specifies the JVM arguments used for the daemon process.
5 | # The setting is particularly useful for tweaking memory settings.
6 | # Default value: -Xmx1024m -XX:MaxPermSize=256m
7 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
8 | #
9 | # When configured, Gradle will run in incubating parallel mode.
10 | # This option should only be used with decoupled projects. More details, visit
11 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
12 | # org.gradle.parallel=true
13 | #Mon Nov 16 01:52:48 YEKT 2020
14 | #android.enableR8=false
15 | android.enableJetifier=true
16 | android.useAndroidX=true
17 | android.injected.testOnly=false
18 | org.gradle.jvmargs=-Xmx1536M -Dkotlin.daemon.jvm.options\="-Xmx1024M"
19 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liyafe1997/CustoMIUIzerMod/4c5d7f22c293d342b10186d0254df129049dea41/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sat Feb 12 19:15:23 YEKT 2022
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | set DIRNAME=%~dp0
12 | if "%DIRNAME%" == "" set DIRNAME=.
13 | set APP_BASE_NAME=%~n0
14 | set APP_HOME=%DIRNAME%
15 |
16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 | set DEFAULT_JVM_OPTS=
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windows variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 |
53 | :win9xME_args
54 | @rem Slurp the command line arguments.
55 | set CMD_LINE_ARGS=
56 | set _SKIP=2
57 |
58 | :win9xME_args_slurp
59 | if "x%~1" == "x" goto execute
60 |
61 | set CMD_LINE_ARGS=%*
62 |
63 | :execute
64 | @rem Setup the command line
65 |
66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 |
68 | @rem Execute Gradle
69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 |
71 | :end
72 | @rem End local scope for the variables with windows NT shell
73 | if "%ERRORLEVEL%"=="0" goto mainEnd
74 |
75 | :fail
76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 | rem the _cmd.exe /c_ return code!
78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 | exit /b 1
80 |
81 | :mainEnd
82 | if "%OS%"=="Windows_NT" endlocal
83 |
84 | :omega
85 |
--------------------------------------------------------------------------------
/java/lang/annotations.xml:
--------------------------------------------------------------------------------
1 |
2 | -
3 |
4 |
5 |
--------------------------------------------------------------------------------
/last_build:
--------------------------------------------------------------------------------
1 | 10
2 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------