From 3bc64cc001473b28678164ca2a75940a85011de5 Mon Sep 17 00:00:00 2001 From: queuejw Date: Fri, 29 Nov 2024 21:05:10 +0400 Subject: [PATCH] returned wallpaper and animation in edit mode, fixed some bugs --- .idea/kotlinc.xml | 2 +- app/build.gradle | 6 +- .../ru/dimon6018/metrolauncher/Application.kt | 22 +- .../java/ru/dimon6018/metrolauncher/Main.kt | 57 ++- .../dimon6018/metrolauncher/MainViewModel.kt | 11 +- .../metrolauncher/content/AllApps.kt | 234 ++++++--- .../dimon6018/metrolauncher/content/Start.kt | 451 +++++++++++++----- .../content/bsod/BsodDetector.kt | 4 +- .../metrolauncher/content/bsod/BsodScreen.kt | 9 +- .../content/bsod/recovery/Recovery.kt | 2 +- .../content/bsod/recovery/RecoveryOptions.kt | 21 +- .../content/data/ExperimentPrefs.kt | 2 +- .../metrolauncher/content/data/Prefs.kt | 19 +- .../metrolauncher/content/data/bsod/BSOD.kt | 4 +- .../content/data/bsod/BSODDao.kt | 3 + .../content/data/bsod/BSODEntity.kt | 4 +- .../metrolauncher/content/data/tile/Tile.kt | 4 +- .../content/data/tile/TileDao.kt | 9 + .../content/data/tile/TileData.kt | 2 +- .../content/oobe/WelcomeActivity.kt | 5 +- .../oobe/fragments/AlmostDoneFragment.kt | 14 +- .../content/oobe/fragments/AppsFragment.kt | 30 +- .../oobe/fragments/ConfigureFragment.kt | 12 +- .../oobe/fragments/CustomSettingsFragment.kt | 12 +- .../oobe/fragments/IconPackFragment.kt | 3 +- .../content/oobe/fragments/WelcomeFragment.kt | 14 +- .../metrolauncher/content/settings/Reset.kt | 1 + .../content/settings/SettingsActivity.kt | 132 ++++- .../activities/AboutSettingsActivity.kt | 54 ++- .../activities/AllAppsSettingsActivity.kt | 70 ++- .../activities/AnimationSettingsActivity.kt | 39 +- .../activities/ExperimentsSettingsActivity.kt | 34 +- .../activities/FeedbackBsodListActivity.kt | 49 +- .../activities/FeedbackSettingsActivity.kt | 53 +- .../activities/FontsSettingsActivity.kt | 121 +++-- .../activities/IconSettingsActivity.kt | 82 +++- .../activities/NavBarSettingsActivity.kt | 83 +++- .../activities/ThemeSettingsActivity.kt | 13 +- .../activities/TileSettingsActivity.kt | 34 +- .../settings/activities/UpdateActivity.kt | 135 ++++-- .../activities/WeatherSettingsActivity.kt | 34 +- .../helpers/disklru/CacheUtils.kt | 7 +- .../helpers/disklru/DiskLruCache.kt | 1 + .../helpers/dragndrop/ItemTouchCallback.kt | 18 +- .../helpers/iconpack/IconPackManager.kt | 88 +++- .../receivers/PackageChangesReceiver.kt | 5 +- .../helpers/ui/MetroRecyclerView.kt | 8 +- .../helpers/ui/StartRecyclerView.kt | 84 ++++ .../metrolauncher/helpers/ui/WPDialog.kt | 37 +- .../helpers/update/UpdateDataParser.kt | 22 +- .../helpers/update/UpdateWorker.kt | 98 ++-- .../metrolauncher/helpers/utils/Utils.kt | 80 +++- .../res/layout/launcher_all_apps_screen.xml | 3 +- .../main/res/layout/launcher_start_screen.xml | 7 +- app/src/main/res/values/dimens.xml | 1 + build.gradle | 4 +- gradle.properties | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 +- 58 files changed, 1813 insertions(+), 546 deletions(-) create mode 100644 app/src/main/java/ru/dimon6018/metrolauncher/helpers/ui/StartRecyclerView.kt diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml index 56d3ae3..182ee36 100644 --- a/.idea/kotlinc.xml +++ b/.idea/kotlinc.xml @@ -4,6 +4,6 @@