Compare commits

..
81 Commits
Author SHA1 Message Date
Anthony La 78d7e0972b Merge pull request #135 from Anthonyy232/renovate/com.google.devtools.ksp-2.x
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
2024-09-05 19:14:32 -07:00
renovate[bot] 683f434030 Update plugin com.google.devtools.ksp to v2.0.20-1.0.25 2024-09-06 02:09:58 +00:00
Anthony La df0ac6191f Updated version code 2024-09-05 19:08:38 -07:00
Anthony La 1d3ad86341 Merge pull request #133 from Anthonyy232/renovate/androidx.compose.ui-ui-test-manifest-1.x
Update dependency androidx.compose.ui:ui-test-manifest to v1.7.0
2024-09-05 18:34:43 -07:00
renovate[bot] bac5c662ef Update dependency androidx.compose.ui:ui-test-manifest to v1.7.0 2024-09-06 01:34:34 +00:00
Anthony La 8d447f0068 Merge pull request #134 from Anthonyy232/renovate/androidx.compose.ui-ui-tooling-1.x
Update dependency androidx.compose.ui:ui-tooling to v1.7.0
2024-09-05 18:33:59 -07:00
renovate[bot] 7a2b67ed57 Update dependency androidx.compose.ui:ui-tooling to v1.7.0 2024-09-06 01:33:50 +00:00
Anthony La c55b8f44f0 Merge pull request #120 from Anthonyy232/renovate/com.airbnb.android-lottie-compose-6.x
Update dependency com.airbnb.android:lottie-compose to v6.5.2
2024-09-05 18:33:48 -07:00
Anthony La 43806aa694 Merge pull request #122 from Anthonyy232/renovate/androidx.activity-activity-compose-1.x
Update dependency androidx.activity:activity-compose to v1.9.2
2024-09-05 18:33:35 -07:00
Anthony La 90efcaaae1 Merge pull request #123 from Anthonyy232/renovate/androidx.compose.animation-animation-1.x
Update dependency androidx.compose.animation:animation to v1.7.0
2024-09-05 18:33:23 -07:00
Anthony La 8fdb0920e6 Merge pull request #124 from Anthonyy232/renovate/androidx.compose.foundation-foundation-1.x
Update dependency androidx.compose.foundation:foundation to v1.7.0
2024-09-05 18:33:17 -07:00
renovate[bot] e74f6a258a Update dependency com.airbnb.android:lottie-compose to v6.5.2 2024-09-06 01:33:07 +00:00
Anthony La 54e8b1816f Merge pull request #129 from Anthonyy232/renovate/androidx.compose.ui-ui-1.x
Update dependency androidx.compose.ui:ui to v1.7.0
2024-09-05 18:33:05 -07:00
Anthony La efa3cbc6e1 Merge pull request #125 from Anthonyy232/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.3.0
2024-09-05 18:32:59 -07:00
renovate[bot] 12165d41c2 Update dependency androidx.compose.ui:ui to v1.7.0 2024-09-06 01:32:58 +00:00
renovate[bot] fe3aa1bda8 Update dependency androidx.compose.material3:material3 to v1.3.0 2024-09-06 01:32:53 +00:00
renovate[bot] 83ae1c721e Update dependency androidx.compose.foundation:foundation to v1.7.0 2024-09-06 01:32:49 +00:00
renovate[bot] 50cae3e04e Update dependency androidx.compose.animation:animation to v1.7.0 2024-09-06 01:32:47 +00:00
Anthony La e6b2a2af18 Merge pull request #127 from Anthonyy232/renovate/androidx.compose.material-material-1.x
Update dependency androidx.compose.material:material to v1.7.0
2024-09-05 18:32:46 -07:00
renovate[bot] 02671c0804 Update dependency androidx.activity:activity-compose to v1.9.2 2024-09-06 01:32:44 +00:00
Anthony La a3c57bf6ef Merge pull request #128 from Anthonyy232/renovate/androidx.compose.material-material-icons-extended-1.x
Update dependency androidx.compose.material:material-icons-extended to v1.7.0
2024-09-05 18:32:34 -07:00
Anthony La 72c8d1313f Merge pull request #130 from Anthonyy232/renovate/androidx.compose.ui-ui-graphics-1.x
Update dependency androidx.compose.ui:ui-graphics to v1.7.0
2024-09-05 18:32:21 -07:00
renovate[bot] 89ca480c0c Update dependency androidx.compose.ui:ui-graphics to v1.7.0 2024-09-06 01:30:41 +00:00
renovate[bot] b2a6b17c5a Update dependency androidx.compose.material:material-icons-extended to v1.7.0 2024-09-06 01:30:34 +00:00
renovate[bot] a6926f25bc Update dependency androidx.compose.material:material to v1.7.0 2024-09-06 01:30:31 +00:00
Anthony La 335a3f7084 Merge pull request #132 from Anthonyy232/renovate/androidx.compose.ui-ui-test-junit4-1.x
Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0
2024-09-05 18:29:09 -07:00
Anthony La 58c35c1bbb Fixed tasker plugin integration 2024-09-05 18:27:52 -07:00
renovate[bot] 27000d9fa2 Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0 2024-09-05 16:48:08 +00:00
Anthony La c5ed7684cf Update README.md 2024-09-03 22:13:46 -07:00
Anthony La d8b92d5cdb Update issue templates 2024-09-03 18:59:42 -07:00
Anthony La c7989db3c7 Update issue templates 2024-09-02 14:45:40 -07:00
Anthony La 353e3c3610 Update issue templates 2024-09-02 14:43:18 -07:00
Anthony La 2d35dc0620 Updated localization 2024-09-02 12:58:38 -07:00
Anthony La 5a1f11ba4f Fixed wallpaper having incorrect dimensions when in landscape mode
Updated version code
2024-09-02 11:54:29 -07:00
Anthonyy232 c1de9ec1a9 Updated FAB animations 2024-09-01 14:19:57 -07:00
Anthony La b02bb044a3 Merge pull request #116 from Anthonyy232/renovate/com.android.application-8.x
Update plugin com.android.application to v8.6.0
2024-08-29 19:24:50 -07:00
renovate[bot] 002ad6e4f9 Update plugin com.android.application to v8.6.0 2024-08-30 02:24:42 +00:00
Anthony La c05ea1ced5 Merge pull request #117 from Anthonyy232/renovate/com.android.library-8.x
Update plugin com.android.library to v8.6.0
2024-08-29 19:24:19 -07:00
renovate[bot] 6537ecfac7 Update plugin com.android.library to v8.6.0 2024-08-30 02:00:07 +00:00
Anthonyy232 0d8fee5929 Added vignette effect 2024-08-29 16:22:50 -07:00
Anthonyy232 9563bf2057 Updated blur strength factor 2024-08-28 13:54:01 -07:00
Anthony La 7b75db3437 Merge pull request #110 from Anthonyy232/renovate/kotlin-monorepo
Update kotlin monorepo to v2.0.20
2024-08-28 13:49:08 -07:00
Anthony La 6273412d9e Merge pull request #111 from Anthonyy232/renovate/com.google.devtools.ksp-2.x
Update plugin com.google.devtools.ksp to v2.0.20-1.0.24
2024-08-28 13:49:00 -07:00
Anthony La 87f71c599c Merge pull request #108 from Anthonyy232/renovate/com.mikepenz-aboutlibraries-compose-m3-11.x
Update dependency com.mikepenz:aboutlibraries-compose-m3 to v11.2.3
2024-08-28 13:48:49 -07:00
renovate[bot] 3261862c7d Update plugin com.google.devtools.ksp to v2.0.20-1.0.24 2024-08-28 20:48:49 +00:00
renovate[bot] afadfc0d2d Update kotlin monorepo to v2.0.20 2024-08-28 20:48:46 +00:00
renovate[bot] f6fdaf1673 Update dependency com.mikepenz:aboutlibraries-compose-m3 to v11.2.3 2024-08-28 20:48:43 +00:00
Anthony La 7e21d6c564 Merge pull request #106 from Anthonyy232/renovate/androidx.compose.ui-ui-tooling-preview-1.x
Update dependency androidx.compose.ui:ui-tooling-preview to v1.7.0-rc01
2024-08-28 13:47:59 -07:00
Anthony La 89c0bb3b1b Merge pull request #107 from Anthonyy232/renovate/androidx.navigation-navigation-compose-2.x
Update dependency androidx.navigation:navigation-compose to v2.8.0-rc01
2024-08-28 13:47:49 -07:00
renovate[bot] f18b751714 Update dependency androidx.navigation:navigation-compose to v2.8.0-rc01 2024-08-28 20:47:34 +00:00
Anthony La 250817ffbf Merge pull request #109 from Anthonyy232/renovate/com.mikepenz-aboutlibraries-core-11.x
Update dependency com.mikepenz:aboutlibraries-core to v11.2.3
2024-08-28 13:47:32 -07:00
renovate[bot] 5e52b7098d Update dependency androidx.compose.ui:ui-tooling-preview to v1.7.0-rc01 2024-08-28 20:47:31 +00:00
Anthony La ffdbf54561 Merge pull request #112 from Anthonyy232/renovate/com.mikepenz.aboutlibraries.plugin-11.x
Update plugin com.mikepenz.aboutlibraries.plugin to v11.2.3
2024-08-28 13:47:11 -07:00
Anthony La b11d89ceda Merge pull request #113 from Anthonyy232/renovate/androidx.compose-compose-bom-2024.x
Update dependency androidx.compose:compose-bom to v2024.08.00
2024-08-28 13:47:02 -07:00
Anthony La 045ee268e1 Merge pull request #114 from Anthonyy232/renovate/com.airbnb.android-lottie-compose-6.x
Update dependency com.airbnb.android:lottie-compose to v6.5.1
2024-08-28 13:46:51 -07:00
Anthony La f5915bff31 Merge pull request #115 from Anthonyy232/renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.2
2024-08-28 13:46:44 -07:00
renovate[bot] d153ec969e Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.2 2024-08-28 20:10:42 +00:00
renovate[bot] bfcabe29c0 Update dependency com.airbnb.android:lottie-compose to v6.5.1 2024-08-28 20:10:37 +00:00
renovate[bot] 08c71e275e Update dependency androidx.compose:compose-bom to v2024.08.00 2024-08-26 09:35:57 +00:00
renovate[bot] d211b6416c Update plugin com.mikepenz.aboutlibraries.plugin to v11.2.3 2024-08-26 09:35:54 +00:00
renovate[bot] 010a197b94 Update dependency com.mikepenz:aboutlibraries-core to v11.2.3 2024-08-26 04:41:52 +00:00
Anthony La bd4a809cac Merge pull request #100 from Anthonyy232/renovate/androidx.compose.ui-ui-1.x
Update dependency androidx.compose.ui:ui to v1.7.0-rc01
2024-08-25 19:11:59 -07:00
Anthony La cd5c53a662 Merge pull request #102 from Anthonyy232/renovate/androidx.compose.ui-ui-test-junit4-1.x
Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0-rc01
2024-08-25 19:11:52 -07:00
Anthony La 5e6211035c Merge pull request #104 from Anthonyy232/renovate/androidx.compose.ui-ui-test-manifest-1.x
Update dependency androidx.compose.ui:ui-test-manifest to v1.7.0-rc01
2024-08-25 19:11:46 -07:00
renovate[bot] 2260f7032c Update dependency androidx.compose.ui:ui-test-manifest to v1.7.0-rc01 2024-08-26 02:11:36 +00:00
renovate[bot] 1cab7cca82 Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0-rc01 2024-08-26 02:11:33 +00:00
renovate[bot] 018aa9d3a9 Update dependency androidx.compose.ui:ui to v1.7.0-rc01 2024-08-26 02:11:30 +00:00
Anthony La 423e65990f Merge pull request #95 from Anthonyy232/renovate/androidx.compose.animation-animation-1.x
Update dependency androidx.compose.animation:animation to v1.7.0-rc01
2024-08-25 19:11:06 -07:00
Anthony La 644e2ace3c Merge pull request #96 from Anthonyy232/renovate/androidx.compose.material-material-1.x
Update dependency androidx.compose.material:material to v1.7.0-rc01
2024-08-25 19:10:59 -07:00
Anthony La e61a1dc7f4 Merge pull request #97 from Anthonyy232/renovate/androidx.compose.foundation-foundation-1.x
Update dependency androidx.compose.foundation:foundation to v1.7.0-rc01
2024-08-25 19:10:52 -07:00
Anthony La 03378e6947 Merge pull request #98 from Anthonyy232/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.3.0-rc01
2024-08-25 19:10:46 -07:00
Anthony La 0d22efa21b Merge pull request #99 from Anthonyy232/renovate/androidx.compose.material-material-icons-extended-1.x
Update dependency androidx.compose.material:material-icons-extended to v1.7.0-rc01
2024-08-25 19:10:39 -07:00
Anthony La 72175fd7b2 Merge pull request #101 from Anthonyy232/renovate/androidx.compose.ui-ui-graphics-1.x
Update dependency androidx.compose.ui:ui-graphics to v1.7.0-rc01
2024-08-25 19:10:27 -07:00
Anthony La 94576238c4 Merge pull request #105 from Anthonyy232/renovate/androidx.compose.ui-ui-tooling-1.x
Update dependency androidx.compose.ui:ui-tooling to v1.7.0-rc01
2024-08-25 19:10:12 -07:00
renovate[bot] 6dda721a0b Update dependency androidx.compose.ui:ui-tooling to v1.7.0-rc01 2024-08-22 05:22:13 +00:00
renovate[bot] 9db120bce9 Update dependency androidx.compose.ui:ui-graphics to v1.7.0-rc01 2024-08-22 00:31:41 +00:00
renovate[bot] 1c48dcd01d Update dependency androidx.compose.material:material-icons-extended to v1.7.0-rc01 2024-08-21 21:56:50 +00:00
renovate[bot] 62b296a293 Update dependency androidx.compose.material3:material3 to v1.3.0-rc01 2024-08-21 18:34:08 +00:00
renovate[bot] 5ad27fd477 Update dependency androidx.compose.foundation:foundation to v1.7.0-rc01 2024-08-21 18:34:04 +00:00
renovate[bot] d846384bdc Update dependency androidx.compose.material:material to v1.7.0-rc01 2024-08-21 17:14:03 +00:00
renovate[bot] 5c18fa1074 Update dependency androidx.compose.animation:animation to v1.7.0-rc01 2024-08-21 17:13:59 +00:00
64 changed files with 1172 additions and 362 deletions

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: "[Bug] <BUG_NAME>"
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Smartphone (please complete the following information):**
- Device: [e.g. Pixel 32 Pro]
- OS: [e.g. OneUI 21]
- Version [e.g. v2.1.0]
**Additional context**
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature request] <FEATURE_NAME>"
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+1 -1
View File
@@ -45,7 +45,7 @@ I would love some help translating the app! Help me out with that [here](https:/
- [Kotlin](https://kotlinlang.org/) - A programming language that is used for Android app development
- [Jetpack Compose](https://developer.android.com/develop/ui/compose) - A declarative UI toolkit for building native Android UI
- [Material 3](https://m3.material.io/) - A UI design system git for modern UI guidelines
- [Material 3](https://m3.material.io/) - A UI design system for modern UI guidelines
- [Dagger Hilt](https://dagger.dev/hilt/) - A dependency injection library
- [Room](https://developer.android.com/training/data-storage/room) - A persistence library that provides an abstraction layer over SQLite interfacing with Kotlin
- [AboutLibraries](https://github.com/mikepenz/AboutLibraries) - A library to offer some information of libraries
+25 -25
View File
@@ -19,8 +19,8 @@ android {
applicationId = "com.anthonyla.paperize"
minSdk = 26
targetSdk = 35
versionCode = 30
versionName = "2.0.0"
versionCode = 31
versionName = "2.1.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
@@ -84,48 +84,48 @@ androidComponents {
dependencies {
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.4")
implementation("androidx.activity:activity-compose:1.9.1")
implementation(platform("androidx.compose:compose-bom:2024.06.00"))
implementation("androidx.compose.ui:ui:1.7.0-beta07")
implementation("androidx.compose.ui:ui-graphics:1.7.0-beta07")
implementation("androidx.compose.ui:ui-tooling-preview:1.7.0-beta07")
implementation("androidx.compose.material3:material3:1.3.0-beta05")
implementation("androidx.navigation:navigation-compose:2.8.0-beta07")
implementation("androidx.compose.material:material:1.7.0-beta07")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.5")
implementation("androidx.activity:activity-compose:1.9.2")
implementation(platform("androidx.compose:compose-bom:2024.09.00"))
implementation("androidx.compose.ui:ui:1.7.0")
implementation("androidx.compose.ui:ui-graphics:1.7.0")
implementation("androidx.compose.ui:ui-tooling-preview:1.7.0")
implementation("androidx.compose.material3:material3:1.3.0")
implementation("androidx.navigation:navigation-compose:2.8.0")
implementation("androidx.compose.material:material:1.7.0")
implementation("androidx.datastore:datastore:1.1.1")
implementation("androidx.datastore:datastore-preferences:1.1.1")
implementation("androidx.compose.material:material-icons-extended:1.7.0-beta07")
implementation("androidx.compose.material:material-icons-extended:1.7.0")
implementation("androidx.hilt:hilt-navigation-compose:1.2.0")
implementation("androidx.compose.animation:animation:1.7.0-beta07")
implementation("androidx.core:core-splashscreen:1.2.0-alpha01")
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.4")
implementation("androidx.compose.animation:animation:1.7.0")
implementation("androidx.core:core-splashscreen:1.2.0-alpha02")
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.8.5")
implementation("com.google.code.gson:gson:2.11.0")
implementation("androidx.documentfile:documentfile:1.1.0-alpha01")
implementation("net.engawapg.lib:zoomable:2.0.0-beta01")
implementation("com.github.skydoves:landscapist-glide:2.3.6")
implementation("androidx.work:work-runtime-ktx:2.10.0-alpha02")
implementation("androidx.work:work-runtime-ktx:2.10.0-alpha03")
implementation("androidx.hilt:hilt-work:1.2.0")
implementation("com.airbnb.android:lottie-compose:6.5.0")
implementation("com.google.accompanist:accompanist-permissions:0.35.0-alpha")
implementation("com.mikepenz:aboutlibraries-core:11.2.2")
implementation("com.mikepenz:aboutlibraries-compose-m3:11.2.2")
implementation("androidx.compose.foundation:foundation:1.7.0-beta07")
implementation("com.airbnb.android:lottie-compose:6.5.2")
implementation("com.google.accompanist:accompanist-permissions:0.36.0")
implementation("com.mikepenz:aboutlibraries-core:11.2.3")
implementation("com.mikepenz:aboutlibraries-compose-m3:11.2.3")
implementation("androidx.compose.foundation:foundation:1.7.0")
implementation("com.github.nanihadesuka:LazyColumnScrollbar:2.2.0")
implementation("com.joaomgcd:taskerpluginlibrary:0.4.10")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.2.1")
androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.7.0-beta07")
debugImplementation("androidx.compose.ui:ui-tooling:1.7.0-beta07")
debugImplementation("androidx.compose.ui:ui-test-manifest:1.7.0-beta07")
androidTestImplementation("androidx.compose.ui:ui-test-junit4:1.7.0")
debugImplementation("androidx.compose.ui:ui-tooling:1.7.0")
debugImplementation("androidx.compose.ui:ui-test-manifest:1.7.0")
implementation("com.google.dagger:hilt-android:2.52")
ksp("com.google.dagger:hilt-android-compiler:2.52")
implementation("androidx.room:room-runtime:2.6.1")
ksp("androidx.room:room-compiler:2.6.1")
implementation("androidx.room:room-ktx:2.6.1")
implementation("com.lazygeniouz:dfc:1.0.8")
implementation ("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1")
implementation ("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.2")
implementation("com.github.android:renderscript-intrinsics-replacement-toolkit:b6363490c3")
}
@@ -32,6 +32,9 @@ object SettingsConstants {
const val BLUR = "blur"
const val HOME_BLUR_PERCENTAGE = "home_blur_percentage"
const val LOCK_BLUR_PERCENTAGE = "lock_blur_percentage"
const val VIGNETTE = "vignette"
const val HOME_VIGNETTE_PERCENTAGE = "home_vignette_percentage"
const val LOCK_VIGNETTE_PERCENTAGE = "lock_vignette_percentage"
const val HOME_NEXT_SET_TIME = "next_set_time_1"
const val LOCK_NEXT_SET_TIME = "next_set_time_2"
const val NEXT_HOME_WALLPAPER = "next_home_wallpaper"
@@ -1,5 +1,7 @@
package com.anthonyla.paperize.core
import android.content.Context
import android.content.res.Configuration
import android.content.res.Resources
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Canvas
@@ -8,20 +10,29 @@ import android.graphics.ColorMatrix
import android.graphics.ColorMatrixColorFilter
import android.graphics.ImageDecoder
import android.graphics.Paint
import android.graphics.RadialGradient
import android.graphics.Rect
import android.graphics.RectF
import android.graphics.Shader
import android.net.Uri
import android.os.Build
import android.util.DisplayMetrics
import android.util.Log
import android.util.Size
import android.view.WindowManager
import android.view.WindowMetrics
import androidx.annotation.RequiresApi
import androidx.compose.ui.util.fastRoundToInt
import androidx.core.net.toUri
import androidx.documentfile.provider.DocumentFile
import androidx.exifinterface.media.ExifInterface
import com.anthonyla.paperize.core.ScreenMetricsCompat.getScreenSize
import com.anthonyla.paperize.feature.wallpaper.domain.model.Folder
import com.anthonyla.paperize.feature.wallpaper.domain.model.Wallpaper
import com.google.android.renderscript.Toolkit
import com.lazygeniouz.dfc.file.DocumentFileCompat
enum class Type { HOME, LOCK, SINGLE, REFRESH }
/**
@@ -65,13 +76,58 @@ fun calculateInSampleSize(imageSize: Size, width: Int, height: Int): Int {
else { return 1 }
}
/**
* Get the screen size of the device without orientation
* https://stackoverflow.com/a/70087378
*/
object ScreenMetricsCompat {
private val api: Api =
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) ApiLevel30() else Api()
fun getScreenSize(context: Context): Size = api.getScreenSize(context)
@Suppress("DEPRECATION")
private open class Api {
open fun getScreenSize(context: Context): Size {
val display = context.getSystemService(WindowManager::class.java).defaultDisplay
val metrics = if (display != null) {
DisplayMetrics().also { display.getRealMetrics(it) }
} else {
Resources.getSystem().displayMetrics
}
return Size(metrics.widthPixels, metrics.heightPixels)
}
}
@RequiresApi(Build.VERSION_CODES.R)
private class ApiLevel30 : Api() {
override fun getScreenSize(context: Context): Size {
val metrics: WindowMetrics = context.getSystemService(WindowManager::class.java).currentWindowMetrics
return Size(metrics.bounds.width(), metrics.bounds.height())
}
}
}
/**
* Get device screen size with orientation
*/
fun getDeviceScreenSize(context: Context): Size {
val orientation = context.resources.configuration.orientation
val size = getScreenSize(context)
return if (orientation == Configuration.ORIENTATION_PORTRAIT) {
Size(size.width, size.height)
} else {
Size(size.height, size.width)
}
}
/**
* Retrieve a bitmap from a URI that is scaled down to the device's screen size
*/
fun retrieveBitmap(
context: Context,
wallpaper: Uri,
device: DisplayMetrics
width: Int,
height: Int
): Bitmap? {
val imageSize = wallpaper.getImageDimensions(context) ?: return null
return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
@@ -81,8 +137,8 @@ fun retrieveBitmap(
decoder.setTargetSampleSize(
calculateInSampleSize(
imageSize,
device.widthPixels,
device.heightPixels
width,
height
)
)
decoder.isMutableRequired = true
@@ -91,7 +147,7 @@ fun retrieveBitmap(
context.contentResolver.openInputStream(wallpaper)?.use { inputStream ->
val options = BitmapFactory.Options().apply {
inSampleSize =
calculateInSampleSize(imageSize, device.widthPixels, device.heightPixels)
calculateInSampleSize(imageSize, width, height)
inMutable = true
}
BitmapFactory.decodeStream(inputStream, null, options)
@@ -101,7 +157,7 @@ fun retrieveBitmap(
context.contentResolver.openInputStream(wallpaper)?.use { inputStream ->
val options = BitmapFactory.Options().apply {
inSampleSize =
calculateInSampleSize(imageSize, device.widthPixels, device.heightPixels)
calculateInSampleSize(imageSize, width, height)
inMutable = true
}
BitmapFactory.decodeStream(inputStream, null, options)
@@ -202,7 +258,7 @@ fun darkenBitmap(source: Bitmap, percent: Int): Bitmap {
*/
fun blurBitmap(source: Bitmap, percent: Int): Bitmap {
return try {
val factor = percent.toFloat().div(100f) * 10
val factor = percent.toFloat().div(100f) * 20f
Toolkit.blur(source, factor.toInt())
} catch (e: Exception) {
Log.e("WallpaperUtil", "Error darkening bitmap: $e")
@@ -210,6 +266,47 @@ fun blurBitmap(source: Bitmap, percent: Int): Bitmap {
}
}
/**
* Apply a vignette effect to the bitmap
*/
fun vignetteBitmap(source: Bitmap, percent: Int): Bitmap {
return try {
val image = Bitmap.createBitmap(source.width, source.height, Bitmap.Config.ARGB_8888)
val canvas = Canvas(image)
canvas.drawBitmap(source, 0f, 0f, Paint())
val rad: Int = if (source.width < source.height) {
val o = (source.height * 2) / 100
source.height - o * percent / 3
} else {
val o = (source.width * 2) / 100
source.width - o * percent / 3
}
val rect = Rect(0, 0, source.width, source.height)
val rectF = RectF(rect)
val colors = intArrayOf(0, 0, Color.BLACK)
val pos = floatArrayOf(0.0f, 0.1f, 1.0f)
val linGradLR: Shader = RadialGradient(
rect.centerX().toFloat(),
rect.centerY().toFloat(),
rad.toFloat(),
colors,
pos,
Shader.TileMode.CLAMP
)
val paint = Paint().apply {
shader = linGradLR
isAntiAlias = true
isDither = true
alpha = 128
}
canvas.drawRect(rectF, paint)
image
} catch (e: Exception) {
Log.e("WallpaperUtil", "Error applying vignette effect: $e")
source
}
}
/**
* Retrieve wallpaper URIs from a folder directory URI
*/
@@ -341,22 +438,25 @@ fun calculateBrightness(bitmap: Bitmap, pixelSpacing: Int = 1): Int {
* 0 - lightest, 100 - darkest
*/
fun processBitmap(
device: DisplayMetrics,
width: Int,
height: Int,
source: Bitmap,
darken: Boolean,
darkenPercent: Int,
scaling: ScalingConstants,
blur: Boolean,
blurPercent: Int
blurPercent: Int,
vignette: Boolean,
vignettePercent: Int
): Bitmap? {
try {
var processedBitmap = source
// Apply wallpaper scaling effects
processedBitmap = when (scaling) {
ScalingConstants.FILL -> fillBitmap(processedBitmap, device.widthPixels, device.heightPixels)
ScalingConstants.FIT -> fitBitmap(processedBitmap, device.widthPixels, device.heightPixels)
ScalingConstants.STRETCH -> stretchBitmap(processedBitmap, device.widthPixels, device.heightPixels)
ScalingConstants.FILL -> fillBitmap(processedBitmap, width, height)
ScalingConstants.FIT -> fitBitmap(processedBitmap, width, height)
ScalingConstants.STRETCH -> stretchBitmap(processedBitmap, width, height)
}
// Apply brightness effect
@@ -368,6 +468,12 @@ fun processBitmap(
if (blur && blurPercent > 0) {
processedBitmap = blurBitmap(processedBitmap, blurPercent)
}
// Apply vignette effect
if (vignette && vignettePercent > 0) {
processedBitmap = vignetteBitmap(processedBitmap, vignettePercent)
}
return processedBitmap
} catch (e: Exception) {
Log.e("PaperizeWallpaperChanger", "Error darkening bitmap", e)
@@ -225,6 +225,9 @@ fun PaperizeApp(
lockBlurPercentage = settingsState.value.lockBlurPercentage,
currentHomeWallpaper = settingsState.value.currentHomeWallpaper,
currentLockWallpaper = settingsState.value.currentLockWallpaper,
vignette = settingsState.value.vignette,
homeVignettePercentage = settingsState.value.homeVignettePercentage,
lockVignettePercentage = settingsState.value.lockVignettePercentage,
onSettingsClick = { navController.navigate(Settings) },
navigateToAddWallpaperScreen = {
navController.navigate(AddEdit(it))
@@ -479,7 +482,7 @@ fun PaperizeApp(
},
onDarkCheck = {
settingsViewModel.onEvent(SettingsEvent.SetDarken(it))
if (settingsState.value.enableChanger && (settingsState.value.darken && settingsState.value.homeDarkenPercentage < 100)) {
if (settingsState.value.enableChanger && (it && settingsState.value.homeDarkenPercentage < 100)) {
job?.cancel()
job = scope.launch {
delay(1000)
@@ -668,7 +671,7 @@ fun PaperizeApp(
},
onBlurChange = {
settingsViewModel.onEvent(SettingsEvent.SetBlur(it))
if (settingsState.value.enableChanger && settingsState.value.blur) {
if (settingsState.value.enableChanger && it) {
job?.cancel()
job = scope.launch {
delay(1000)
@@ -686,6 +689,26 @@ fun PaperizeApp(
}
}
},
onVignetteChange = {
settingsViewModel.onEvent(SettingsEvent.SetVignette(it))
if (settingsState.value.enableChanger && it) {
job?.cancel()
job = scope.launch {
delay(1000)
scheduler.updateWallpaper(settingsState.value.scheduleSeparately, settingsState.value.setHomeWallpaper, settingsState.value.setLockWallpaper)
}
}
},
onVignettePercentageChange = { home, lock ->
settingsViewModel.onEvent(SettingsEvent.SetVignettePercentage(home, lock))
if (settingsState.value.enableChanger && settingsState.value.vignette) {
job?.cancel()
job = scope.launch {
delay(3000)
scheduler.updateWallpaper(settingsState.value.scheduleSeparately, settingsState.value.setHomeWallpaper, settingsState.value.setLockWallpaper)
}
}
},
)
}
// Navigate to the add album screen to create a new album and add wallpapers to it
@@ -130,8 +130,7 @@ fun AddAlbumScreen(
onFolderClick = {
selectionMode = false
folderPickerLauncher.launch(null)
},
animate = animate
}
)
},
content = {
@@ -1,9 +1,10 @@
package com.anthonyla.paperize.feature.wallpaper.presentation.add_album_screen.components
import androidx.activity.compose.BackHandler
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.FastOutSlowInEasing
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.animateDp
import androidx.compose.animation.core.spring
@@ -11,10 +12,14 @@ import androidx.compose.animation.core.tween
import androidx.compose.animation.core.updateTransition
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.animation.scaleIn
import androidx.compose.animation.scaleOut
import androidx.compose.animation.togetherWith
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
@@ -24,12 +29,13 @@ import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.Folder
import androidx.compose.material.icons.filled.PhotoLibrary
import androidx.compose.material.icons.filled.Remove
import androidx.compose.material3.CardColors
import androidx.compose.material3.CardDefaults
import androidx.compose.material3.ElevatedCard
import androidx.compose.material3.FloatingActionButtonDefaults
import androidx.compose.material3.Icon
import androidx.compose.material3.LargeFloatingActionButton
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.material3.surfaceColorAtElevation
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
@@ -38,12 +44,9 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.dp
import com.anthonyla.paperize.R
import com.anthonyla.paperize.feature.wallpaper.presentation.library_screen.components.MenuRow
/**
* Animated FAB that expands to show two options: Add image and Add folder
@@ -51,173 +54,170 @@ import com.anthonyla.paperize.feature.wallpaper.presentation.library_screen.comp
*/
@Composable
fun AddAlbumAnimatedFab(
animate: Boolean,
onImageClick: () -> Unit,
onFolderClick: () -> Unit
) {
var expanded by remember { mutableStateOf(false) }
val fabTransition = updateTransition(targetState = expanded, label = "")
val expandedWidth = 165.dp
val itemSize = 2
val menuColor = MaterialTheme.colorScheme.surfaceColorAtElevation(5.dp)
val fabColor = MaterialTheme.colorScheme.primaryContainer
var isFabExpanded by remember { mutableStateOf(false) }
BackHandler(isFabExpanded) { isFabExpanded = false }
BackHandler(expanded) { expanded = false }
val fabTransition = updateTransition(targetState = isFabExpanded, label = "fabTransition")
val expandHorizontalSize = Pair(165.dp, 90.dp)
val expandHorizontally by fabTransition.animateDp(
transitionSpec = { spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow) }, label = "",
targetValueByState = { isExpanded ->
if (isExpanded) expandHorizontalSize.first else expandHorizontalSize.second
val expandFabHorizontally by fabTransition.animateDp(
transitionSpec = {
spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow)
},
label = "expandVertically",
targetValueByState = {isExpanded ->
if (isExpanded) expandedWidth else 96.dp
}
)
val shrinkVerticalSize = Pair(50.dp, 90.dp)
val shrinkVertically by fabTransition.animateDp(
transitionSpec = { spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow) }, label = "",
targetValueByState = { isExpanded ->
if (isExpanded) shrinkVerticalSize.first else shrinkVerticalSize.second
val shrinkFabVertically by fabTransition.animateDp(
transitionSpec = {
spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow)
},
label = "shrinkHorizontally",
targetValueByState = {isExpanded ->
if (isExpanded) 60.dp else 96.dp
}
)
val menuHeightSize = Pair(100.dp, 90.dp)
val menuHeight by fabTransition.animateDp(
transitionSpec = { spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow) }, label = "",
targetValueByState = { isExpanded ->
if (isExpanded) menuHeightSize.first else menuHeightSize.second
transitionSpec = {
spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow)
},
label = "menuHeight",
targetValueByState = {isExpanded ->
if (isExpanded) (itemSize * 50).dp else 0.dp
}
)
if (animate) {
ElevatedCard(
colors = CardColors(
containerColor = MaterialTheme.colorScheme.surfaceColorAtElevation(5.dp),
contentColor = Color.Transparent,
disabledContentColor = Color.Transparent,
disabledContainerColor = Color.Transparent,
),
shape = RoundedCornerShape(28.dp),
modifier = Modifier
.padding(4.dp)
.width(expandHorizontally)
.pointerInput(Unit) {
detectTapGestures(onTap = { expanded = false })
}
ElevatedCard(
modifier = Modifier.padding(4.dp),
shape = RoundedCornerShape(28.dp),
elevation = CardDefaults.elevatedCardElevation(4.dp),
colors = CardDefaults.elevatedCardColors().copy(
containerColor = menuColor
)
) {
Column(
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.SpaceEvenly,
modifier = Modifier.height(menuHeight)
) {
AnimatedVisibility(
visible = expanded,
enter = fadeIn(tween(300, 0, FastOutSlowInEasing)),
exit = fadeOut(tween(300, 0, FastOutSlowInEasing)),
modifier = Modifier.animateContentSize(tween(50, 0, FastOutSlowInEasing)),
visible = isFabExpanded,
label = stringResource(R.string.add_images_btn),
enter = fadeIn(tween(300, 150, LinearEasing)),
exit = fadeOut(tween(200, 50, LinearEasing)) + scaleOut(),
) {
Surface(tonalElevation = 5.dp) {
Column(modifier = Modifier.height(menuHeight)) {
MenuRow(
text = stringResource(R.string.add_images_btn),
icon = Icons.Filled.PhotoLibrary,
horizontalExpansion = expandHorizontally,
onClick = {
expanded = false
onImageClick()
}
)
MenuRow(
text = stringResource(R.string.add_folder_btn),
icon = Icons.Filled.Folder,
horizontalExpansion = expandHorizontally,
onClick = {
expanded = false
onFolderClick()
}
)
}
Row(
modifier = Modifier
.width(expandFabHorizontally)
.clickable {
onImageClick()
isFabExpanded = false
},
horizontalArrangement = Arrangement.Center,
verticalAlignment = Alignment.CenterVertically
) {
Icon(
imageVector = Icons.Filled.PhotoLibrary,
contentDescription = stringResource(R.string.add_images_btn),
tint = MaterialTheme.colorScheme.primary,
modifier = Modifier.padding(start = 16.dp, top = 12.dp, bottom = 12.dp)
)
Spacer(modifier = Modifier.weight(1f))
Text(
text = stringResource(R.string.add_images_btn),
modifier = Modifier.padding(end = 16.dp, top = 12.dp, bottom = 12.dp),
style = MaterialTheme.typography.bodyLarge,
color = MaterialTheme.colorScheme.onSurface
)
}
}
Surface(
tonalElevation = 3.dp,
AnimatedVisibility(
visible = isFabExpanded,
label = stringResource(R.string.add_folder_btn),
enter = fadeIn(tween(300, 150, LinearEasing)),
exit = fadeOut(tween(200, 50, LinearEasing)) + scaleOut(),
) {
LargeFloatingActionButton(
containerColor = MaterialTheme.colorScheme.primaryContainer,
contentColor = MaterialTheme.colorScheme.onPrimaryContainer,
onClick = { expanded = !expanded },
Row(
modifier = Modifier
.width(expandHorizontally)
.height(shrinkVertically)
.animateContentSize(),
.width(expandFabHorizontally)
.clickable {
onFolderClick()
isFabExpanded = false
},
horizontalArrangement = Arrangement.Center,
verticalAlignment = Alignment.CenterVertically
) {
Row(
horizontalArrangement = Arrangement.Center,
verticalAlignment = Alignment.CenterVertically
) {
Icon(
if (!expanded) Icons.Filled.Add else Icons.Filled.Remove,
contentDescription = stringResource(R.string.add_wallpaper),
modifier = Modifier.padding(16.dp),
)
}
Icon(
imageVector = Icons.Filled.Folder,
contentDescription = stringResource(R.string.add_folder_btn),
modifier = Modifier.padding(start = 16.dp, top = 12.dp, bottom = 12.dp),
tint = MaterialTheme.colorScheme.primary
)
Spacer(modifier = Modifier.weight(1f))
Text(
text = stringResource(R.string.add_folder_btn),
modifier = Modifier.padding(end = 16.dp, top = 12.dp, bottom = 12.dp),
style = MaterialTheme.typography.bodyLarge,
color = MaterialTheme.colorScheme.onSurface
)
}
}
}
}
else {
ElevatedCard(
colors = CardColors(
containerColor = MaterialTheme.colorScheme.surfaceColorAtElevation(5.dp),
contentColor = Color.Transparent,
disabledContentColor = Color.Transparent,
disabledContainerColor = Color.Transparent,
),
shape = RoundedCornerShape(28.dp),
LargeFloatingActionButton(
elevation = FloatingActionButtonDefaults.elevation(4.dp),
shape = RoundedCornerShape(28),
containerColor = fabColor,
onClick = { isFabExpanded = !isFabExpanded },
modifier = Modifier
.padding(4.dp)
.width(if (expanded) expandHorizontalSize.first else expandHorizontalSize.second)
.pointerInput(Unit) {
detectTapGestures(onTap = { expanded = false })
}
.width(expandFabHorizontally)
.height(shrinkFabVertically)
) {
if (expanded) {
Surface(tonalElevation = 5.dp) {
Column(modifier = Modifier.height(if (expanded) menuHeightSize.first else menuHeightSize.second)) {
MenuRow(
text = stringResource(R.string.add_images_btn),
icon = Icons.Filled.PhotoLibrary,
horizontalExpansion = if (expanded) expandHorizontalSize.first else expandHorizontalSize.second,
onClick = {
expanded = false
onImageClick()
}
)
MenuRow(
text = stringResource(R.string.add_folder_btn),
icon = Icons.Filled.Folder,
horizontalExpansion = if (expanded) expandHorizontalSize.first else expandHorizontalSize.second,
onClick = {
expanded = false
onFolderClick()
}
)
AnimatedContent(
isFabExpanded,
transitionSpec = {
when (targetState) {
true -> {
(
scaleIn(
tween(100, 300, FastOutSlowInEasing)
) + fadeIn(
tween(250, 300, LinearEasing)
)
) .togetherWith(
fadeOut(
tween(10, 0, LinearEasing)
)
)
}
false -> {
fadeIn(
tween(250, 200, FastOutSlowInEasing)
).togetherWith(
fadeOut(
tween(10, 0, LinearEasing),
)
)
}
}
}
}
Surface(
tonalElevation = 3.dp,
) {
LargeFloatingActionButton(
containerColor = MaterialTheme.colorScheme.primaryContainer,
contentColor = MaterialTheme.colorScheme.onPrimaryContainer,
onClick = { expanded = !expanded },
modifier = Modifier
.width(if (expanded) expandHorizontalSize.first else expandHorizontalSize.second)
.height(if (expanded) shrinkVerticalSize.first else shrinkVerticalSize.second)
) {
Row(
horizontalArrangement = Arrangement.Center,
verticalAlignment = Alignment.CenterVertically
) {
Icon(
if (!expanded) Icons.Filled.Add else Icons.Filled.Remove,
contentDescription = stringResource(R.string.add_wallpaper),
modifier = Modifier.padding(16.dp),
)
}
}
},
label = "FabContent"
) { isExpanded ->
Icon(
imageVector = if (isExpanded) Icons.Filled.Remove else Icons.Filled.Add,
contentDescription = stringResource(R.string.add_wallpaper),
)
}
}
}
}
@@ -126,8 +126,7 @@ fun AlbumViewScreen(
onFolderClick = {
selectionMode = false
folderPickerLauncher.launch(null)
},
animate = animate
}
)
},
content = { it ->
@@ -70,6 +70,11 @@ fun HomeScreen(
currentLockWallpaper: String?,
homeSelectedAlbum: SelectedAlbum?,
lockSelectedAlbum: SelectedAlbum?,
homeVignettePercentage: Int,
lockVignettePercentage: Int,
onVignettePercentageChange: (Int, Int) -> Unit,
onVignetteChange: (Boolean) -> Unit,
vignette: Boolean
) {
val tabItems = getTabItems()
val pagerState = rememberPagerState(0) { tabItems.size }
@@ -168,7 +173,12 @@ fun HomeScreen(
homeBlurPercentage = homeBlurPercentage,
lockBlurPercentage = lockBlurPercentage,
currentHomeWallpaper = currentHomeWallpaper,
currentLockWallpaper = currentLockWallpaper
currentLockWallpaper = currentLockWallpaper,
homeVignettePercentage = homeVignettePercentage,
lockVignettePercentage = lockVignettePercentage,
onVignettePercentageChange = onVignettePercentageChange,
onVignetteChange = onVignetteChange,
vignette = vignette
)
else -> LibraryScreen(
albums = albums,
@@ -14,6 +14,7 @@ sealed class SettingsEvent {
data class SetAnimate(val animate: Boolean): SettingsEvent()
data class SetDarken(val darken: Boolean): SettingsEvent()
data class SetBlur(val blur: Boolean): SettingsEvent()
data class SetVignette(val vignette: Boolean): SettingsEvent()
data class SetLock(val lock: Boolean): SettingsEvent()
data class SetHome(val home: Boolean): SettingsEvent()
data class SetCurrentHomeWallpaper(val currentHomeWallpaper: String?): SettingsEvent()
@@ -27,6 +28,7 @@ sealed class SettingsEvent {
data class SetLockWallpaperInterval(val interval: Int): SettingsEvent()
data class SetDarkenPercentage(val homeDarkenPercentage: Int?, val lockDarkenPercentage: Int?): SettingsEvent()
data class SetBlurPercentage(val homeBlurPercentage: Int?, val lockBlurPercentage: Int?): SettingsEvent()
data class SetVignettePercentage(val homeVignettePercentage: Int?, val lockVignettePercentage: Int?): SettingsEvent()
data class SetChangerToggle(val toggle: Boolean): SettingsEvent()
data class SetWallpaperScaling(val scaling: ScalingConstants): SettingsEvent()
data class SetNextHomeWallpaper(val nextHomeWallpaper: String?): SettingsEvent()
@@ -28,6 +28,9 @@ data class SettingsState(
val blur: Boolean = false,
val homeBlurPercentage: Int = 0,
val lockBlurPercentage: Int = 0,
val vignette: Boolean = false,
val homeVignettePercentage: Int = 0,
val lockVignettePercentage: Int = 0,
val wallpaperScaling: ScalingConstants = ScalingConstants.FILL,
val nextHomeWallpaper: String? = null,
val nextLockWallpaper: String? = null
@@ -58,6 +58,9 @@ class SettingsViewModel @Inject constructor (
val blur = async { settingsDataStoreImpl.getBoolean(SettingsConstants.BLUR) ?: false }
val homeBlurPercentage = async { settingsDataStoreImpl.getInt(SettingsConstants.HOME_BLUR_PERCENTAGE) ?: 0 }
val lockBlurPercentage = async { settingsDataStoreImpl.getInt(SettingsConstants.LOCK_BLUR_PERCENTAGE) ?: 0 }
val vignette = async { settingsDataStoreImpl.getBoolean(SettingsConstants.VIGNETTE) ?: false }
val homeVignettePercentage = async { settingsDataStoreImpl.getInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE) ?: 0 }
val lockVignettePercentage = async { settingsDataStoreImpl.getInt(SettingsConstants.LOCK_VIGNETTE_PERCENTAGE) ?: 0 }
val nextHomeWallpaper = async { settingsDataStoreImpl.getString(SettingsConstants.HOME_NEXT_SET_TIME) }
val nextLockWallpaper = async { settingsDataStoreImpl.getString(SettingsConstants.LOCK_NEXT_SET_TIME) }
@@ -88,7 +91,10 @@ class SettingsViewModel @Inject constructor (
homeBlurPercentage = homeBlurPercentage.await(),
lockBlurPercentage = lockBlurPercentage.await(),
nextHomeWallpaper = nextHomeWallpaper.await(),
nextLockWallpaper = nextLockWallpaper.await()
nextLockWallpaper = nextLockWallpaper.await(),
vignette = vignette.await(),
homeVignettePercentage = homeVignettePercentage.await(),
lockVignettePercentage = lockVignettePercentage.await()
)
}
setKeepOnScreenCondition = false
@@ -147,6 +153,10 @@ class SettingsViewModel @Inject constructor (
val lockBlurPercentage = async { settingsDataStoreImpl.getInt(SettingsConstants.LOCK_BLUR_PERCENTAGE) ?: 0 }
val nextHomeWallpaper = async { settingsDataStoreImpl.getString(SettingsConstants.HOME_NEXT_SET_TIME) }
val nextLockWallpaper = async { settingsDataStoreImpl.getString(SettingsConstants.LOCK_NEXT_SET_TIME) }
val vignette = async { settingsDataStoreImpl.getBoolean(SettingsConstants.VIGNETTE) ?: false }
val homeVignettePercentage = async { settingsDataStoreImpl.getInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE) ?: 0 }
val lockVignettePercentage = async { settingsDataStoreImpl.getInt(SettingsConstants.LOCK_VIGNETTE_PERCENTAGE) ?: 0 }
_state.update {
it.copy(
darkMode = darkMode.await(),
@@ -173,7 +183,10 @@ class SettingsViewModel @Inject constructor (
homeBlurPercentage = homeBlurPercentage.await(),
lockBlurPercentage = lockBlurPercentage.await(),
nextHomeWallpaper = nextHomeWallpaper.await(),
nextLockWallpaper = nextLockWallpaper.await()
nextLockWallpaper = nextLockWallpaper.await(),
vignette = vignette.await(),
homeVignettePercentage = homeVignettePercentage.await(),
lockVignettePercentage = lockVignettePercentage.await()
)
}
}
@@ -426,6 +439,34 @@ class SettingsViewModel @Inject constructor (
}
}
is SettingsEvent.SetVignette -> {
viewModelScope.launch(Dispatchers.IO) {
settingsDataStoreImpl.putBoolean(SettingsConstants.VIGNETTE, event.vignette)
_state.update {
it.copy(
vignette = event.vignette
)
}
}
}
is SettingsEvent.SetVignettePercentage -> {
viewModelScope.launch(Dispatchers.IO) {
if (event.lockVignettePercentage != null) {
settingsDataStoreImpl.putInt(SettingsConstants.LOCK_VIGNETTE_PERCENTAGE, event.lockVignettePercentage)
}
if (event.homeVignettePercentage != null) {
settingsDataStoreImpl.putInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE, event.homeVignettePercentage)
}
_state.update {
it.copy(
homeVignettePercentage = event.homeVignettePercentage ?: it.homeVignettePercentage,
lockVignettePercentage = event.lockVignettePercentage ?: it.lockVignettePercentage
)
}
}
}
is SettingsEvent.SetCurrentHomeWallpaper -> {
viewModelScope.launch(Dispatchers.IO) {
if (event.currentHomeWallpaper != null) {
@@ -659,6 +700,9 @@ class SettingsViewModel @Inject constructor (
settingsDataStoreImpl.deleteString(SettingsConstants.LOCK_NEXT_SET_TIME)
settingsDataStoreImpl.deleteString(SettingsConstants.NEXT_HOME_WALLPAPER)
settingsDataStoreImpl.deleteString(SettingsConstants.NEXT_LOCK_WALLPAPER)
settingsDataStoreImpl.deleteBoolean(SettingsConstants.VIGNETTE)
settingsDataStoreImpl.deleteInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE)
settingsDataStoreImpl.deleteInt(SettingsConstants.LOCK_VIGNETTE_PERCENTAGE)
_state.update {
it.copy(
@@ -687,7 +731,10 @@ class SettingsViewModel @Inject constructor (
scheduleSeparately = false,
blur = false,
nextHomeWallpaper = null,
nextLockWallpaper = null
nextLockWallpaper = null,
vignette = false,
homeVignettePercentage = 0,
lockVignettePercentage = 0
)
}
}
@@ -40,6 +40,7 @@ import com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.co
import com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.components.DarkenSwitchAndSlider
import com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.components.IndividualSchedulingAndToggleRow
import com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.components.TimeSliders
import com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.components.VignetteSwitchAndSlider
import com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.components.WallpaperPreviewAndScale
import kotlinx.coroutines.launch
@@ -79,7 +80,12 @@ fun WallpaperScreen(
onBlurPercentageChange: (Int, Int) -> Unit,
onBlurChange: (Boolean) -> Unit,
homeBlurPercentage: Int,
lockBlurPercentage: Int
lockBlurPercentage: Int,
homeVignettePercentage: Int,
lockVignettePercentage: Int,
onVignettePercentageChange: (Int, Int) -> Unit,
onVignetteChange: (Boolean) -> Unit,
vignette: Boolean
) {
val shouldShowScreen = homeEnabled || lockEnabled
val shouldShowSettings = shouldShowScreen && homeSelectedAlbum != null && lockSelectedAlbum != null
@@ -200,6 +206,9 @@ fun WallpaperScreen(
blur = blur,
homeBlurPercentage = homeBlurPercentage,
lockBlurPercentage = lockBlurPercentage,
vignette = vignette,
homeVignettePercentage = homeVignettePercentage,
lockVignettePercentage = lockVignettePercentage
)
CurrentAndNextChange(lastSetTime, nextSetTime)
TimeSliders(
@@ -238,6 +247,15 @@ fun WallpaperScreen(
animate = animate,
bothEnabled = homeEnabled && lockEnabled
)
VignetteSwitchAndSlider(
onVignettePercentageChange = onVignettePercentageChange,
onVignetteChange = onVignetteChange,
vignette = vignette,
homeVignettePercentage = homeVignettePercentage,
lockVignettePercentage = lockVignettePercentage,
animate = animate,
bothEnabled = homeEnabled && lockEnabled
)
}
}
}
@@ -23,6 +23,7 @@ import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.times
import com.anthonyla.paperize.core.ScalingConstants
import com.anthonyla.paperize.core.isValidUri
import com.bumptech.glide.request.RequestOptions
import com.skydoves.landscapist.ImageOptions
import com.skydoves.landscapist.glide.GlideImage
@@ -32,18 +33,19 @@ import com.skydoves.landscapist.glide.GlideImage
@Composable
fun PreviewItem(
wallpaperUri: String,
darken: Boolean = false,
darken: Boolean,
darkenPercentage: Int,
blur: Boolean = false,
blur: Boolean,
blurPercentage: Int,
scaling: ScalingConstants
scaling: ScalingConstants,
vignette: Boolean,
vignettePercentage: Int
) {
val context = LocalContext.current
val showUri by remember { mutableStateOf(isValidUri(context, wallpaperUri)) }
val configuration = LocalConfiguration.current
val screenWidth = configuration.screenWidthDp.dp
val screenHeight = configuration.screenHeightDp.dp
if (showUri) {
GlideImage(
imageModel = { wallpaperUri },
@@ -61,7 +63,15 @@ fun PreviewItem(
BlendMode.Darken
)
} else { null },
tag = vignette.toString() + vignettePercentage.toString(),
),
requestOptions = {
if (vignette && vignettePercentage > 0) {
RequestOptions.bitmapTransform(VignetteBitmapTransformation(vignettePercentage))
} else {
RequestOptions()
}
},
modifier = Modifier
.size(screenWidth * 0.35f, screenHeight * 0.35f)
.clip(RoundedCornerShape(16.dp))
@@ -69,8 +79,13 @@ fun PreviewItem(
.background(Color.Black)
.blur(
if (blur && blurPercentage > 0) {
blurPercentage.toFloat().div(100f) * 1.5.dp
} else { 0.dp })
blurPercentage
.toFloat()
.div(100f) * 1.5.dp
} else {
0.dp
}
)
)
}
}
@@ -0,0 +1,39 @@
package com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.components
import android.graphics.Bitmap
import com.anthonyla.paperize.core.vignetteBitmap
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
import com.bumptech.glide.load.resource.bitmap.BitmapTransformation
import com.bumptech.glide.util.Util
import java.security.MessageDigest
/**
* A BitmapTransformation that applies a vignette effect to a bitmap to be used with Glide
*/
class VignetteBitmapTransformation(private val percent: Int): BitmapTransformation() {
override fun transform(
pool: BitmapPool,
toTransform: Bitmap,
outWidth: Int,
outHeight: Int
): Bitmap {
return vignetteBitmap(toTransform, percent)
}
override fun equals(other: Any?): Boolean {
return other is VignetteBitmapTransformation && other.percent == percent
}
override fun hashCode(): Int {
return Util.hashCode(percent)
}
override fun updateDiskCacheKey(messageDigest: MessageDigest) {
messageDigest.update((ID + percent).toByteArray(CHARSET))
}
companion object {
private const val ID = "com.bumptech.glide.transformations.VignettedBitmapTransformation"
}
}
@@ -0,0 +1,229 @@
package com.anthonyla.paperize.feature.wallpaper.presentation.wallpaper_screen.components
import android.view.HapticFeedbackConstants
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.LinearOutSlowInEasing
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.spring
import androidx.compose.animation.core.tween
import androidx.compose.animation.expandVertically
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Slider
import androidx.compose.material3.Surface
import androidx.compose.material3.Switch
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableFloatStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalView
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import com.anthonyla.paperize.R
import kotlinx.coroutines.Job
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import kotlin.math.roundToInt
/**
* Composable that displays a switch and slider for the vignette effect
*/
@Composable
fun VignetteSwitchAndSlider(
onVignettePercentageChange: (Int, Int) -> Unit,
onVignetteChange: (Boolean) -> Unit,
vignette: Boolean,
bothEnabled: Boolean,
homeVignettePercentage: Int,
lockVignettePercentage: Int,
animate: Boolean
) {
val view = LocalView.current
val scope = rememberCoroutineScope()
var job by remember { mutableStateOf<Job?>(null) }
var homePercentage by rememberSaveable { mutableFloatStateOf(homeVignettePercentage.toFloat()) }
var lockPercentage by rememberSaveable { mutableFloatStateOf(lockVignettePercentage.toFloat()) }
Surface(
tonalElevation = 10.dp,
shape = RoundedCornerShape(16.dp),
modifier = Modifier
.fillMaxWidth()
.padding(PaddingValues(horizontal = 16.dp, vertical = 8.dp))
) {
val columnModifier = if (animate) {
Modifier.animateContentSize(animationSpec = tween(durationMillis = 300, easing = LinearOutSlowInEasing))
} else { Modifier }
Column (
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.Center,
modifier = columnModifier
) {
Row (horizontalArrangement = Arrangement.Center, verticalAlignment = Alignment.CenterVertically) {
Text(
text = stringResource(R.string.change_vignette),
modifier = Modifier.padding(16.dp),
fontWeight = FontWeight.W500
)
Switch(
checked = vignette,
onCheckedChange = onVignetteChange
)
}
if (animate) {
AnimatedVisibility(
visible = vignette,
enter = expandVertically(animationSpec = spring(dampingRatio = Spring.DampingRatioMediumBouncy, stiffness = Spring.StiffnessLow)),
exit = fadeOut(
animationSpec = tween(
durationMillis = 300,
easing = LinearOutSlowInEasing
)
)
) {
Column {
Spacer(modifier = Modifier.height(8.dp))
if (bothEnabled) {
Text(
text = stringResource(R.string.home_screen) + " | " + stringResource(R.string.percentage, homePercentage.roundToInt()),
modifier = Modifier.padding(PaddingValues(horizontal = 24.dp)),
fontWeight = FontWeight.W400
)
}
else {
Text(
text = stringResource(R.string.percentage, homePercentage.roundToInt()),
modifier = Modifier.padding(PaddingValues(horizontal = 24.dp)),
fontWeight = FontWeight.W400
)
}
Slider(
value = homePercentage,
onValueChange = {
view.performHapticFeedback(HapticFeedbackConstants.CLOCK_TICK)
homePercentage = it
job?.cancel()
job = scope.launch {
delay(500)
if (bothEnabled) {
onVignettePercentageChange(it.roundToInt(), lockPercentage.roundToInt())
} else {
onVignettePercentageChange(it.roundToInt(), it.roundToInt())
}
}
},
valueRange = 0f..100f,
steps = 100,
modifier = Modifier.padding(PaddingValues(horizontal = 30.dp))
)
if (bothEnabled) {
Text(
text = stringResource(R.string.lock) + " | " + stringResource(R.string.percentage, lockPercentage.roundToInt()),
modifier = Modifier.padding(PaddingValues(horizontal = 24.dp)),
fontWeight = FontWeight.W400
)
Spacer(modifier = Modifier.height(16.dp))
Slider(
value = lockPercentage,
onValueChange = {
view.performHapticFeedback(HapticFeedbackConstants.CLOCK_TICK)
lockPercentage = it
job?.cancel()
job = scope.launch {
delay(500)
onVignettePercentageChange(homePercentage.roundToInt(), it.roundToInt())
}
},
valueRange = 0f..100f,
steps = 100,
modifier = Modifier.padding(PaddingValues(horizontal = 30.dp))
)
}
Spacer(modifier = Modifier.height(16.dp))
}
}
} else {
if (vignette) {
Column {
Spacer(modifier = Modifier.height(8.dp))
if (bothEnabled) {
Text(
text = stringResource(R.string.home_screen) + " | " + stringResource(R.string.percentage, homePercentage.roundToInt()),
modifier = Modifier.padding(PaddingValues(horizontal = 24.dp)),
fontWeight = FontWeight.W400
)
}
else {
Text(
text = stringResource(R.string.percentage, homePercentage.roundToInt()),
modifier = Modifier.padding(PaddingValues(horizontal = 24.dp)),
fontWeight = FontWeight.W400
)
}
Slider(
value = homePercentage,
onValueChange = {
view.performHapticFeedback(HapticFeedbackConstants.CLOCK_TICK)
homePercentage = it
job?.cancel()
job = scope.launch {
delay(500)
if (bothEnabled) {
onVignettePercentageChange(it.roundToInt(), lockPercentage.roundToInt())
} else {
onVignettePercentageChange(it.roundToInt(), it.roundToInt())
}
}
},
valueRange = 0f..100f,
steps = 100,
modifier = Modifier.padding(PaddingValues(horizontal = 30.dp))
)
if (bothEnabled) {
Text(
text = stringResource(R.string.lock) + " | " + stringResource(R.string.percentage, lockPercentage.roundToInt()),
modifier = Modifier.padding(PaddingValues(horizontal = 24.dp)),
fontWeight = FontWeight.W400
)
Spacer(modifier = Modifier.height(16.dp))
Slider(
value = lockPercentage,
onValueChange = {
view.performHapticFeedback(HapticFeedbackConstants.CLOCK_TICK)
lockPercentage = it
job?.cancel()
job = scope.launch {
delay(500)
onVignettePercentageChange(homePercentage.roundToInt(), it.roundToInt())
}
},
valueRange = 0f..100f,
steps = 100,
modifier = Modifier.padding(PaddingValues(horizontal = 30.dp))
)
}
Spacer(modifier = Modifier.height(16.dp))
}
}
}
}
}
}
@@ -51,6 +51,9 @@ fun WallpaperPreviewAndScale(
blur: Boolean,
homeBlurPercentage: Int,
lockBlurPercentage: Int,
vignette: Boolean,
homeVignettePercentage: Int,
lockVignettePercentage: Int
) {
var selectedIndex by rememberSaveable {
mutableIntStateOf(
@@ -102,7 +105,9 @@ fun WallpaperPreviewAndScale(
darkenPercentage = if (!homeEnabled) homeDarkenPercentage else lockDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercentage = if (!homeEnabled) homeBlurPercentage else lockBlurPercentage
blurPercentage = if (!homeEnabled) homeBlurPercentage else lockBlurPercentage,
vignette = vignette,
vignettePercentage = if (!homeEnabled) homeVignettePercentage else lockVignettePercentage
)
Spacer(modifier = Modifier.height(8.dp))
}
@@ -121,7 +126,9 @@ fun WallpaperPreviewAndScale(
darkenPercentage = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercentage = homeBlurPercentage
blurPercentage = homeBlurPercentage,
vignette = vignette,
vignettePercentage = homeVignettePercentage
)
Spacer(modifier = Modifier.height(8.dp))
}
@@ -4,6 +4,8 @@ import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import com.anthonyla.paperize.feature.wallpaper.wallpaper_alarmmanager.WallpaperBootAndChangeReceiver
import com.joaomgcd.taskerpluginlibrary.action.TaskerPluginRunnerActionNoOutputOrInput
import com.joaomgcd.taskerpluginlibrary.config.TaskerPluginConfig
@@ -18,6 +20,9 @@ import com.joaomgcd.taskerpluginlibrary.runner.TaskerPluginResultSucess
*/
class ShortcutHelper(config: TaskerPluginConfig<Unit>) : TaskerPluginConfigHelperNoOutputOrInput<ShortcutActionRunner>(config) {
override val runnerClass: Class<ShortcutActionRunner> get() = ShortcutActionRunner::class.java
override fun addToStringBlurb(input: TaskerInput<Unit>, blurbBuilder: StringBuilder) {
blurbBuilder.append("Changes the wallpaper")
}
}
class ActivityConfigBasicAction : Activity(), TaskerPluginConfigNoInput {
@@ -31,8 +36,10 @@ class ActivityConfigBasicAction : Activity(), TaskerPluginConfigNoInput {
class ShortcutActionRunner : TaskerPluginRunnerActionNoOutputOrInput() {
override fun run(context: Context, input: TaskerInput<Unit>): TaskerPluginResult<Unit> {
val intent = Intent(context, WallpaperBootAndChangeReceiver::class.java)
context.sendBroadcast(intent)
Handler(Looper.getMainLooper()).post {
val intent = Intent(context, WallpaperBootAndChangeReceiver::class.java)
context.sendBroadcast(intent)
}
return TaskerPluginResultSucess()
}
}
@@ -19,6 +19,7 @@ import com.anthonyla.paperize.R
import com.anthonyla.paperize.core.ScalingConstants
import com.anthonyla.paperize.core.SettingsConstants
import com.anthonyla.paperize.core.Type
import com.anthonyla.paperize.core.getDeviceScreenSize
import com.anthonyla.paperize.core.getWallpaperFromFolder
import com.anthonyla.paperize.core.processBitmap
import com.anthonyla.paperize.core.retrieveBitmap
@@ -193,6 +194,8 @@ class HomeWallpaperService: Service() {
val homeDarkenPercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_DARKEN_PERCENTAGE) ?: 100
val blur = settingsDataStoreImpl.getBoolean(SettingsConstants.BLUR) ?: false
val homeBlurPercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_BLUR_PERCENTAGE) ?: 0
val vignette = settingsDataStoreImpl.getBoolean(SettingsConstants.VIGNETTE) ?: false
val homeVignettePercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE) ?: 0
val homeAlbumName = settingsDataStoreImpl.getString(SettingsConstants.HOME_ALBUM_NAME) ?: ""
val lockAlbumName = settingsDataStoreImpl.getString(SettingsConstants.LOCK_ALBUM_NAME) ?: ""
var homeAlbum = selectedAlbum.find { it.album.initialAlbumName == homeAlbumName }
@@ -220,7 +223,9 @@ class HomeWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (newWallpapers.size > 1) newWallpapers[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
if (success) {
@@ -252,7 +257,9 @@ class HomeWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
if ((homeInterval % lockInterval == 0) || (lockInterval % homeInterval == 0) && (homeAlbumName == lockAlbumName)) {
@@ -302,7 +309,9 @@ class HomeWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
if (success) {
@@ -336,7 +345,9 @@ class HomeWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
if (success) {
@@ -392,7 +403,9 @@ class HomeWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
settingsDataStoreImpl.putString(SettingsConstants.NEXT_LOCK_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
@@ -427,7 +440,9 @@ class HomeWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
settingsDataStoreImpl.putString(SettingsConstants.NEXT_LOCK_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
@@ -517,6 +532,9 @@ class HomeWallpaperService: Service() {
val blur = settingsDataStoreImpl.getBoolean(SettingsConstants.BLUR) ?: false
val homeBlurPercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_BLUR_PERCENTAGE) ?: 0
val currentHomeWallpaper = settingsDataStoreImpl.getString(SettingsConstants.CURRENT_HOME_WALLPAPER) ?: ""
val vignette = settingsDataStoreImpl.getBoolean(SettingsConstants.VIGNETTE) ?: false
val homeVignettePercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE) ?: 0
setWallpaper(
context = context,
wallpaper = currentHomeWallpaper.toUri(),
@@ -524,7 +542,9 @@ class HomeWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
}
} catch (e: Exception) {
@@ -541,16 +561,18 @@ class HomeWallpaperService: Service() {
darken: Boolean,
darkenPercent: Int,
scaling: ScalingConstants,
blur: Boolean = false,
blur: Boolean,
blurPercent: Int,
vignette: Boolean,
vignettePercent: Int
): Boolean {
val wallpaperManager = WallpaperManager.getInstance(context)
try {
val device = context.resources.displayMetrics
val bitmap = retrieveBitmap(context, wallpaper, device)
val size = getDeviceScreenSize(context)
val bitmap = retrieveBitmap(context, wallpaper, size.width, size.height)
if (bitmap == null) return false
else {
processBitmap(device, bitmap, darken, darkenPercent, scaling, blur, blurPercent)?.let { image ->
processBitmap(size.width, size.height, bitmap, darken, darkenPercent, scaling, blur, blurPercent, vignette, vignettePercent)?.let { image ->
wallpaperManager.setBitmap(image, null, true, WallpaperManager.FLAG_SYSTEM)
wallpaperManager.forgetLoadedWallpaper()
image.recycle()
@@ -19,6 +19,7 @@ import com.anthonyla.paperize.R
import com.anthonyla.paperize.core.ScalingConstants
import com.anthonyla.paperize.core.SettingsConstants
import com.anthonyla.paperize.core.Type
import com.anthonyla.paperize.core.getDeviceScreenSize
import com.anthonyla.paperize.core.getWallpaperFromFolder
import com.anthonyla.paperize.core.processBitmap
import com.anthonyla.paperize.core.retrieveBitmap
@@ -194,6 +195,9 @@ class LockWallpaperService: Service() {
val blur = settingsDataStoreImpl.getBoolean(SettingsConstants.BLUR) ?: false
val homeBlurPercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_BLUR_PERCENTAGE) ?: 0
val lockBlurPercentage = settingsDataStoreImpl.getInt(SettingsConstants.LOCK_BLUR_PERCENTAGE) ?: 0
val vignette = settingsDataStoreImpl.getBoolean(SettingsConstants.VIGNETTE) ?: false
val homeVignettePercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE) ?: 0
val lockVignettePercentage = settingsDataStoreImpl.getInt(SettingsConstants.LOCK_VIGNETTE_PERCENTAGE) ?: 0
val lockAlbumName = settingsDataStoreImpl.getString(SettingsConstants.LOCK_ALBUM_NAME) ?: ""
val lockAlbum = selectedAlbum.find { it.album.initialAlbumName == lockAlbumName }
if (lockAlbum == null) {
@@ -220,7 +224,9 @@ class LockWallpaperService: Service() {
darkenPercent = lockDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = lockBlurPercentage
blurPercent = lockBlurPercentage,
vignette = vignette,
vignettePercent = lockVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_LOCK_WALLPAPER, if (newWallpapers.size > 1) newWallpapers[1] else lockAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
if (success) {
@@ -252,7 +258,9 @@ class LockWallpaperService: Service() {
darkenPercent = lockDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = lockBlurPercentage
blurPercent = lockBlurPercentage,
vignette = vignette,
vignettePercent = lockVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_LOCK_WALLPAPER, if (lockAlbum.album.lockWallpapersInQueue.size > 1) lockAlbum.album.lockWallpapersInQueue[1] else lockAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
if (success) {
@@ -298,7 +306,9 @@ class LockWallpaperService: Service() {
darkenPercent = lockDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = lockBlurPercentage
blurPercent = lockBlurPercentage,
vignette = vignette,
vignettePercent = lockVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_LOCK_WALLPAPER, if (homeAlbum.album.homeWallpapersInQueue.size > 1) homeAlbum.album.homeWallpapersInQueue[1] else homeAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
if (success) {
@@ -325,7 +335,9 @@ class LockWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_LOCK_WALLPAPER, if (newWallpapers.size > 1) newWallpapers[1] else lockAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (newWallpapers.size > 1) newWallpapers[1] else lockAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
@@ -359,7 +371,9 @@ class LockWallpaperService: Service() {
darkenPercent = homeDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = homeBlurPercentage
blurPercent = homeBlurPercentage,
vignette = vignette,
vignettePercent = homeVignettePercentage
)
settingsDataStoreImpl.putString(SettingsConstants.NEXT_LOCK_WALLPAPER, if (lockAlbum.album.lockWallpapersInQueue.size > 1) lockAlbum.album.lockWallpapersInQueue[1] else lockAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
settingsDataStoreImpl.putString(SettingsConstants.NEXT_HOME_WALLPAPER, if (lockAlbum.album.lockWallpapersInQueue.size > 1) lockAlbum.album.lockWallpapersInQueue[1] else lockAlbum.wallpapers.firstOrNull()?.wallpaperUri ?: "")
@@ -439,7 +453,11 @@ class LockWallpaperService: Service() {
val blur = settingsDataStoreImpl.getBoolean(SettingsConstants.BLUR) ?: false
val homeBlurPercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_BLUR_PERCENTAGE) ?: 0
val lockBlurPercentage = settingsDataStoreImpl.getInt(SettingsConstants.LOCK_BLUR_PERCENTAGE) ?: 0
val vignette = settingsDataStoreImpl.getBoolean(SettingsConstants.VIGNETTE) ?: false
val homeVignettePercentage = settingsDataStoreImpl.getInt(SettingsConstants.HOME_VIGNETTE_PERCENTAGE) ?: 0
val lockVignettePercentage = settingsDataStoreImpl.getInt(SettingsConstants.LOCK_VIGNETTE_PERCENTAGE) ?: 0
val currentLockWallpaper = settingsDataStoreImpl.getString(SettingsConstants.CURRENT_LOCK_WALLPAPER) ?: ""
setWallpaper(
context = context,
wallpaper = currentLockWallpaper.toUri(),
@@ -447,7 +465,9 @@ class LockWallpaperService: Service() {
darkenPercent = if (!setHome) homeDarkenPercentage else lockDarkenPercentage,
scaling = scaling,
blur = blur,
blurPercent = if (!setHome) homeBlurPercentage else lockBlurPercentage
blurPercent = if (!setHome) homeBlurPercentage else lockBlurPercentage,
vignette = vignette,
vignettePercent = if (!setHome) homeVignettePercentage else lockVignettePercentage
)
}
} catch (e: Exception) {
@@ -464,16 +484,18 @@ class LockWallpaperService: Service() {
darken: Boolean,
darkenPercent: Int,
scaling: ScalingConstants,
blur: Boolean = false,
blur: Boolean,
blurPercent: Int,
vignette: Boolean,
vignettePercent: Int
): Boolean {
val wallpaperManager = WallpaperManager.getInstance(context)
try {
val device = context.resources.displayMetrics
val bitmap = retrieveBitmap(context, wallpaper, device)
val size = getDeviceScreenSize(context)
val bitmap = retrieveBitmap(context, wallpaper, size.width, size.height)
if (bitmap == null) return false
else {
processBitmap(device, bitmap, darken, darkenPercent, scaling, blur, blurPercent)?.let { image ->
processBitmap(size.width, size.height, bitmap, darken, darkenPercent, scaling, blur, blurPercent, vignette, vignettePercent)?.let { image ->
wallpaperManager.setBitmap(image, null, true, WallpaperManager.FLAG_LOCK)
wallpaperManager.forgetLoadedWallpaper()
image.recycle()
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">Verander plakpapier</string>
<string name="change_next_long">Verander na die volgende muurpapier in die album</string>
<string name="cannot_change_wallpaper">Kan nie muurpapier verander nie</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">Aktiveer Wallpaper Changer</string>
<string name="unselected_album">Ongeselekteerde album</string>
<string name="lock">Sluit</string>
<string name="change_vignette">Verander Vignet</string>
</resources>
+1
View File
@@ -179,4 +179,5 @@
<string name="enable_wallpaper_changer">تمكين محول الخلفية</string>
<string name="unselected_album">ألبوم غير محدد</string>
<string name="lock">قفل</string>
<string name="change_vignette">Change Vignette</string>
</resources>
@@ -179,4 +179,5 @@
<string name="enable_wallpaper_changer">تمكين محول الخلفية</string>
<string name="unselected_album">ألبوم غير محدد</string>
<string name="lock">قفل</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+167
View File
@@ -0,0 +1,167 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Paperize</string>
<string name="SettingsIcon">Opções</string>
<string name="dropdownmenu_settings">Configurações</string>
<string name="home_screen">Início</string>
<string name="wallpaper_screen">Papel de parede</string>
<string name="library_screen">Biblioteca</string>
<string name="settings_screen">Configurações</string>
<string name="settings_back">Voltar</string>
<string name="LibraryFloatingButton">Adicionar uma nova biblioteca</string>
<string name="set_wallpaper_description">Ativar papel de parede vivo</string>
<string name="add_wallpaper">Adicionar papel de parede</string>
<string name="add_images">Adicionar imagens</string>
<string name="add_folder">Adicionar pasta</string>
<string name="contact_button">Contato</string>
<string name="image_is_selected">A imagem está selecionada</string>
<string name="image_is_not_selected">A imagem não está selecionada</string>
<string name="select_all_images_for_deletion">Selecione todas as imagens para exclusão</string>
<string name="delete_confirmation">Confirmar exclusão</string>
<string name="all_images_selected_for_deletion">Todas as imagens selecionadas para exclusão</string>
<string name="add_album">Adicionar álbum</string>
<string name="add_wallpaper_screen">Adicionar tela de papel de parede</string>
<string name="enter_the_name_of_the_album">Digite o nome do álbum</string>
<string name="album_name">Nome do álbum</string>
<string name="cancel">Cancelar</string>
<string name="save">Salvar</string>
<string name="delete_album">Excluir</string>
<string name="change_name">Editar nome</string>
<string name="click_to_select_a_different_album">Clique para selecionar um álbum diferente</string>
<string name="no_icon">Nenhum ícone</string>
<string name="no_album_selected">Nenhum álbum selecionado</string>
<string name="currently_selected_album">Álbum atualmente selecionado</string>
<string name="stop_the_album">Pare o álbum</string>
<string name="more_options">Mais opções</string>
<string name="startup">Comece</string>
<string name="agree">Concordar</string>
<string name="welcome">Bem-vindo</string>
<string name="notifications">Notificações</string>
<string name="continue_button">Estou dentro</string>
<string name="notification_permission_is_required_for_this_app_to_work_properly">A permissão de notificação é necessária para que este aplicativo funcione corretamente</string>
<string name="allow">Permitir</string>
<string name="notification_info_message">As notificações podem ser habilitadas para mostrar quando o aplicativo está sendo executado em segundo plano.</string>
<string name="set_as_lock_screen">Definida como a tela de bloqueio</string>
<string name="lock_screen">Tela de bloqueio</string>
<string name="home">Tela inicial</string>
<string name="last_change">Última mudança</string>
<string name="next_change">Próxima mudança</string>
<string name="privacy_policy">Política de Privacidade</string>
<string name="privacy_screen">Tela de privacidade</string>
<string name="licenses">Licenças</string>
<string name="licenses_screen">Tela de licenças</string>
<string name="contact">Contato</string>
<string name="contact_the_author_by_email">Entre em contato com o autor por e-mail</string>
<string name="reset_to_default">Restaurar ao padrão</string>
<string name="reset_all_data">Redefinir todos os dados</string>
<string name="are_you_sure_you_want_to_reset_all_settings_and_data_to_default">Tem certeza de que deseja redefinir todas as configurações e dados para o padrão?</string>
<string name="confirm">Confirme</string>
<string name="spotlight_animation">Animação em destaque</string>
<string name="circle_2_animation">Animação do Círculo 2</string>
<string name="circle_1_animation">Animação do Círculo 1</string>
<string name="circle_3_animation">Animação do Círculo 3</string>
<string name="wallpaper_changer_has_been_enabled">O trocador de papel de parede foi ativado.</string>
<string name="wallpaper_changer_has_been_disabled">O trocador de papel de parede foi desativado.</string>
<string name="dismiss">Liberar</string>
<string name="has_been_unselected">%1$s foi desmarcado.</string>
<string name="interval_home">Tela Inicial | %1$s</string>
<string name="interval_lock">Tela de Bloqueio | %1$s</string>
<string name="interval">Intervalo | %1$s</string>
<plurals name="minutes">
<item quantity="one">%d minuto</item>
<item quantity="other">%d minutos</item>
</plurals>
<plurals name="hours">
<item quantity="one">%d hora</item>
<item quantity="other">%d horas</item>
</plurals>
<plurals name="days">
<item quantity="one">%d dia</item>
<item quantity="other">%d dias</item>
</plurals>
<string name="selected_count">%1$s selecionado</string>
<string name="please_read_and_agree_to_the_following_privacy_notice_to_use_the_app">Leia e concorde com o seguinte aviso de privacidade para usar o aplicativo.</string>
<string name="privacy_notice">Aviso de Privacidade</string>
<string name="please_read_and_agree_to_the_privacy_notice">Por favor, leia e concorde com o aviso de privacidade.</string>
<string name="view">Visualizar</string>
<string name="welcome_animation">Animação de boas-vindas</string>
<string name="notification_bell_animation">Animação do sino de notificação</string>
<string name="delete_these">Excluir estes?</string>
<string name="are_you_sure_you_want_to_delete_these_wallpapers">Tem certeza de que deseja excluir esses papéis de parede?</string>
<string name="are_you_sure_you_want_to_delete_this">Tem certeza de que deseja excluir isto?</string>
<string name="delete_album_question">Excluir álbum?</string>
<string name="animation">Animação</string>
<string name="increase_visual_appeal">Aumente o apelo visual</string>
<string name="dark_mode">Modo Escuro</string>
<string name="automatic_device_mode">Modo de dispositivo automático</string>
<string name="light_mode">Modo Claro</string>
<string name="easier_on_the_eyes">Mais fácil para os olhos</string>
<string name="dynamic_theme">Tema Dinâmico</string>
<string name="material_you">Material You</string>
<string name="dynamic_theming">Tema Dinâmico</string>
<string name="click_here_to_view_the_licenses">Clique aqui para ver as licenças</string>
<string name="click_here_to_view_our_privacy_policy">Clique aqui para visualizar nossa Política de Privacidade</string>
<string name="add_images_btn">Adicionar Imagens</string>
<string name="add_folder_btn">Adicionar Pasta</string>
<string name="version">Versão: %1$s</string>
<string name="appearance">Aparência</string>
<string name="about">Sobre</string>
<string name="coming_soon">Em breve</string>
<string name="new_album">Novo Álbum</string>
<string name="wallpapers">papeis de parede</string>
<string name="translation">Tradução</string>
<string name="help_translate_the_app_on_crowdin">Ajude a traduzir o aplicativo no Crowdin!</string>
<plurals name="wallpaper_count">
<item quantity="one">%d papel de parede</item>
<item quantity="other">%d papéis de parede</item>
</plurals>
<string name="privacy_intro_title">Introdução</string>
<string name="privacy_intro_content">Bem-vindo ao %1$s! Este aviso de privacidade descreve como coletamos, usamos e protegemos suas informações pessoais quando você usa nosso aplicativo móvel. Ao usar %1$s, você concorda com os termos descritos neste aviso.</string>
<string name="privacy_data_collection_title">Coleta de Dados</string>
<string name="privacy_data_collection_content">Acesso a Notificações: %1$s solicita acesso a notificações para fornecer recomendações personalizadas de papéis de parede com base em suas notificações. Não armazenamos nenhum conteúdo de notificação ou informações de identificação pessoal (PII) fora do seu dispositivo.\n\nArquivos Locais: %1$s acessa arquivos armazenados em seu dispositivo para permitir que você os configure como papel de parede. Não carregamos ou transferimos esses arquivos para servidores externos.</string>
<string name="privacy_information_usage_title">Uso de Informações</string>
<string name="privacy_information_usage_content">Dados Pessoais: Não coletamos nem armazenamos quaisquer dados pessoais, como nomes, endereços de e-mail ou números de telefone.\n\nAnálise de uso: %1$s não rastreia seu comportamento de uso nem coleta dados analíticos.</string>
<string name="privacy_data_security_title">Segurança dos Dados</string>
<string name="privacy_data_security_content">Armazenamento no dispositivo: todos os dados usados por %1$s permanecem no seu dispositivo. Não transmitimos nem armazenamos quaisquer dados externamente.</string>
<string name="privacy_third_party_services_title">Serviços de Terceiros</string>
<string name="privacy_third_party_services_content">Anúncios: %1$s não exibe anúncios de terceiros.\n\nLinks Externos: Nosso aplicativo pode conter links para sites externos. Observe que não somos responsáveis pelas práticas de privacidade desses sites.</string>
<string name="privacy_children_privacy_title">Privacidade Infantil</string>
<string name="privacy_children_privacy_content">%1$s não se destina a crianças menores de 13 anos. Não coletamos intencionalmente nenhuma informação de crianças.</string>
<string name="privacy_changes_notice_title">Alterações neste aviso</string>
<string name="privacy_changes_notice_content">Poderemos atualizar este aviso de privacidade de tempos em tempos. Quaisquer alterações serão refletidas no aplicativo e em nosso site.</string>
<string name="privacy_contact_us_title">Fale Conosco</string>
<string name="privacy_contact_us_content">Se você tiver alguma dúvida ou preocupação sobre este aviso de privacidade, entre em contato comigo em %1$s.</string>
<string name="no_albums_found">Nenhum álbum encontrado</string>
<string name="disable_live_wallpaper">Desativar papel de parede ao vivo</string>
<string name="live_wallpaper_detected">Papel de parede animado detectado</string>
<string name="please_disable_your_live_wallpaper_to_use_the_wallpaper_changer">Desative seu papel de parede ao vivo para usar o trocador de papel de parede.</string>
<string name="ok">OK</string>
<string name="percentage">%1$s%%</string>
<string name="fill">Preencher</string>
<string name="fit">Ajustar</string>
<string name="stretch">Extender</string>
<string name="wallpaper_scaling">Dimensionamento do papel de parede</string>
<string name="change_brightness">Alterar Brilho</string>
<string name="home_screen_btn">Tela Inicial</string>
<string name="lock_screen_btn">Tela de Bloqueio</string>
<string name="individual_scheduling">Agendamento Individual</string>
<string name="show_interval_sliders">Mostrar controles deslizantes de intervalo</string>
<string name="interval_text">Intervalo de Tempo</string>
<string name="change_blur">Alterar Desfoque</string>
<string name="paperize_is_running">Paperize está em execução</string>
<string name="next_wallpaper_change">Próxima mudança de papel de parede: %1$s</string>
<string name="delay_notice">Aviso de atraso</string>
<string name="delay_notice_dialog">Aviso de atraso</string>
<string name="to_minimize_battery_usage_changing_wallpapers_may_have_some_delays_once_scheduled_when_the_device_is_asleep_the_wallpaper_may_take_longer_to_apply">Para minimizar o uso da bateria, a troca de papéis de parede pode sofrer alguns atrasos após o agendamento. Quando o dispositivo está em suspensão, o papel de parede pode demorar mais para ser aplicado.</string>
<string name="change_wallpaper">Mudar papel de parede</string>
<string name="theme">Tema</string>
<string name="amoled_mode">Modo AMOLED</string>
<string name="full_dark_mode">Modo totalmente escuro</string>
<string name="change_next_short">Mudar papel de parede</string>
<string name="change_next_long">Mude para o próximo papel de parede do álbum</string>
<string name="cannot_change_wallpaper">Não é possível alterar o papel de parede</string>
<string name="enable_wallpaper_changer">Habilitar Alteração de Papel de Parede</string>
<string name="unselected_album">Álbum não selecionado</string>
<string name="lock">Bloquear</string>
<string name="change_vignette">Change Vignette</string>
</resources>
@@ -140,7 +140,7 @@
<string name="change_brightness">改变亮度</string>
<string name="home_screen_btn">主屏幕</string>
<string name="lock_screen_btn">锁定屏幕</string>
<string name="individual_scheduling">个人排程</string>
<string name="individual_scheduling">锁屏与主屏幕独立选择</string>
<string name="show_interval_sliders">显示间隔滑块</string>
<string name="interval_text">时间间隔</string>
<string name="change_blur">更改模糊</string>
@@ -159,4 +159,5 @@
<string name="enable_wallpaper_changer">启用壁纸更改</string>
<string name="unselected_album">未选中的相册</string>
<string name="lock">锁定</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+48 -47
View File
@@ -3,36 +3,36 @@
<string name="app_name">Paperize</string>
<string name="SettingsIcon">選項</string>
<string name="dropdownmenu_settings">設定</string>
<string name="home_screen">家</string>
<string name="home_screen">主頁</string>
<string name="wallpaper_screen">壁紙</string>
<string name="library_screen">圖書館</string>
<string name="library_screen">資料庫</string>
<string name="settings_screen">設定</string>
<string name="settings_back">後退</string>
<string name="LibraryFloatingButton">新增庫</string>
<string name="set_wallpaper_description">啟用動態桌布</string>
<string name="set_wallpaper_description">啟用動態壁紙</string>
<string name="add_wallpaper">添加壁紙</string>
<string name="add_images">新增圖片</string>
<string name="add_folder">新增資料夾</string>
<string name="contact_button">接觸</string>
<string name="image_is_selected">影像已選擇</string>
<string name="image_is_not_selected">未選擇影像</string>
<string name="select_all_images_for_deletion">選擇所有要刪除的影像</string>
<string name="contact_button">聯絡</string>
<string name="image_is_selected">圖片已選取</string>
<string name="image_is_not_selected">未選擇圖片</string>
<string name="select_all_images_for_deletion">選擇所有要刪除的圖片</string>
<string name="delete_confirmation">刪除確認</string>
<string name="all_images_selected_for_deletion">選擇刪除的所有影像</string>
<string name="all_images_selected_for_deletion">選擇刪除的所有圖片</string>
<string name="add_album">添加相簿</string>
<string name="add_wallpaper_screen">添加壁紙螢幕</string>
<string name="enter_the_name_of_the_album">輸入專輯名稱</string>
<string name="album_name">專輯名稱</string>
<string name="add_wallpaper_screen">新增壁紙螢幕</string>
<string name="enter_the_name_of_the_album">輸入相簿名</string>
<string name="album_name">相簿名稱</string>
<string name="cancel">取消</string>
<string name="save">節省</string>
<string name="save">儲存</string>
<string name="delete_album">刪除</string>
<string name="change_name">編輯姓名</string>
<string name="click_to_select_a_different_album">點擊以選擇不同的專輯</string>
<string name="change_name">編輯名稱</string>
<string name="click_to_select_a_different_album">點擊以選擇不同的相簿</string>
<string name="no_icon">無圖示</string>
<string name="no_album_selected">未選擇專輯</string>
<string name="currently_selected_album">目前選擇的專輯</string>
<string name="stop_the_album">停止專輯</string>
<string name="more_options">更多的選擇</string>
<string name="no_album_selected">未選擇相簿</string>
<string name="currently_selected_album">目前選擇的相簿</string>
<string name="stop_the_album">停止相簿</string>
<string name="more_options">更多選項</string>
<string name="startup">啟動</string>
<string name="agree">同意</string>
<string name="welcome">歡迎</string>
@@ -50,7 +50,7 @@
<string name="privacy_screen">隱私螢幕</string>
<string name="licenses">許可證</string>
<string name="licenses_screen">許可證螢幕</string>
<string name="contact">接觸</string>
<string name="contact">聯絡</string>
<string name="contact_the_author_by_email">透過電子郵件聯繫作者</string>
<string name="reset_to_default">重設為預設</string>
<string name="reset_all_data">重置所有數據</string>
@@ -62,11 +62,11 @@
<string name="circle_3_animation">圈3動畫</string>
<string name="wallpaper_changer_has_been_enabled">壁紙更換器已啟用。</string>
<string name="wallpaper_changer_has_been_disabled">壁紙更換器已停用。</string>
<string name="dismiss">解僱</string>
<string name="dismiss">關閉</string>
<string name="has_been_unselected">%1$s 已取消選擇。</string>
<string name="interval_home">Home Screen | %1$s</string>
<string name="interval_lock">Lock Screen | %1$s</string>
<string name="interval">Interval | %1$s</string>
<string name="interval_home">主頁 | %1$s</string>
<string name="interval_lock">鎖屏 | %1$s</string>
<string name="interval">間隔 | %1$s</string>
<plurals name="minutes">
<item quantity="other">%d 分鐘</item>
</plurals>
@@ -84,30 +84,30 @@
<string name="welcome_animation">歡迎動畫</string>
<string name="notification_bell_animation">通知鈴聲動畫</string>
<string name="delete_these">刪除這些?</string>
<string name="are_you_sure_you_want_to_delete_these_wallpapers">您確定要刪除這些桌布嗎?</string>
<string name="are_you_sure_you_want_to_delete_these_wallpapers">您確定要刪除這些壁紙嗎?</string>
<string name="are_you_sure_you_want_to_delete_this">你確定要刪除這個嗎?</string>
<string name="delete_album_question">刪除相簿?</string>
<string name="animation">卡通</string>
<string name="animation">動畫</string>
<string name="increase_visual_appeal">增加視覺吸引力</string>
<string name="dark_mode">深色模式</string>
<string name="automatic_device_mode">自動設備模式</string>
<string name="light_mode">燈光模式</string>
<string name="easier_on_the_eyes">對眼睛更容易</string>
<string name="automatic_device_mode">自動化裝置模式</string>
<string name="light_mode">淺色模式</string>
<string name="easier_on_the_eyes">養眼</string>
<string name="dynamic_theme">動態主題</string>
<string name="material_you">物質的你</string>
<string name="dynamic_theming">動態主題</string>
<string name="click_here_to_view_the_licenses">按一下此處查看許可證</string>
<string name="click_here_to_view_our_privacy_policy">點擊這裡查看我們的隱私權政策</string>
<string name="material_you">Material You</string>
<string name="dynamic_theming">動態佈景</string>
<string name="click_here_to_view_the_licenses">點這看許可證</string>
<string name="click_here_to_view_our_privacy_policy">點這看我們的隱私權政策</string>
<string name="add_images_btn">新增圖片</string>
<string name="add_folder_btn">新增資料夾</string>
<string name="version">版本: %1$s</string>
<string name="appearance">外貌</string>
<string name="appearance">外觀</string>
<string name="about">關於</string>
<string name="coming_soon">即將推出</string>
<string name="new_album">新唱片</string>
<string name="new_album">新相簿</string>
<string name="wallpapers">壁紙</string>
<string name="translation">翻譯</string>
<string name="help_translate_the_app_on_crowdin">幫忙翻譯 Crowdin 上的應用程式!</string>
<string name="help_translate_the_app_on_crowdin">在 Crowdin 上帮忙翻譯應用程式!</string>
<plurals name="wallpaper_count">
<item quantity="other">%d 壁紙</item>
</plurals>
@@ -120,27 +120,27 @@
<string name="privacy_data_security_title">資料安全</string>
<string name="privacy_data_security_content">設備上儲存: %1$s 使用的所有資料都保留在您的裝置上。我們不會向外部傳輸或儲存任何資料。</string>
<string name="privacy_third_party_services_title">第三方服務</string>
<string name="privacy_third_party_services_content">Advertisements: %1$s does not display third-party ads.\n\nExternal Links: Our app may contain links to external websites. Please note that we are not responsible for the privacy practices of these sites.</string>
<string name="privacy_children_privacy_title">兒童隱私</string>
<string name="privacy_third_party_services_content">廣告: %1$s 不顯示第三方廣告。\n\n外部連結: 我們的應用程式可能包含外部網站的連結。請注意,我們不對這些網站的隱私權政策負責。</string>
<string name="privacy_children_privacy_title">兒童隱私權</string>
<string name="privacy_children_privacy_content">%1$s 不適合 13 歲以下的兒童。</string>
<string name="privacy_changes_notice_title">本通知的變更</string>
<string name="privacy_changes_notice_title">對本通知的變更</string>
<string name="privacy_changes_notice_content">我們可能會不時更新本隱私權聲明。任何更改都將反映在應用程式和我們的網站上。</string>
<string name="privacy_contact_us_title">聯絡我們</string>
<string name="privacy_contact_us_content">如果您對此隱私權聲明有任何疑問或疑慮,請透過 %1$s與我聯絡。</string>
<string name="no_albums_found">沒有找到專輯</string>
<string name="no_albums_found">沒有找到相簿</string>
<string name="disable_live_wallpaper">停用動態壁紙</string>
<string name="live_wallpaper_detected">偵測到動態壁紙</string>
<string name="please_disable_your_live_wallpaper_to_use_the_wallpaper_changer">請停用您的動態桌布以使用壁紙更換器。</string>
<string name="ok">好的</string>
<string name="percentage">%1$s%%</string>
<string name="fill">充滿</string>
<string name="fit">合身</string>
<string name="stretch">拉緊</string>
<string name="fill">填充</string>
<string name="fit">適合</string>
<string name="stretch">拉伸</string>
<string name="wallpaper_scaling">壁紙縮放</string>
<string name="change_brightness">改變亮度</string>
<string name="home_screen_btn">主螢幕</string>
<string name="lock_screen_btn">鎖定畫面</string>
<string name="individual_scheduling">個人安排</string>
<string name="individual_scheduling">個人排程</string>
<string name="show_interval_sliders">顯示間隔滑桿</string>
<string name="interval_text">時間間隔</string>
<string name="change_blur">改變模糊</string>
@@ -152,11 +152,12 @@
<string name="change_wallpaper">更換壁紙</string>
<string name="theme">主題</string>
<string name="amoled_mode">AMOLED模式</string>
<string name="full_dark_mode">全深色模式</string>
<string name="full_dark_mode">純黑模式</string>
<string name="change_next_short">更換壁紙</string>
<string name="change_next_long">改為相簿中的下一張壁紙</string>
<string name="cannot_change_wallpaper">無法更換壁紙</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">啟用壁紙更換</string>
<string name="unselected_album">未選相簿</string>
<string name="lock">鎖定</string>
<string name="change_vignette">改變小插圖</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">ওয়ালপেপার পরিবর্তন করুন</string>
<string name="change_next_long">অ্যালবামের পরবর্তী ওয়ালপেপারে পরিবর্তন করুন</string>
<string name="cannot_change_wallpaper">ওয়ালপেপার পরিবর্তন করা যাবে না</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">ওয়ালপেপার চেঞ্জার সক্ষম করুন</string>
<string name="unselected_album">অনির্বাচিত অ্যালবাম</string>
<string name="lock">তালা</string>
<string name="change_vignette">ভিগনেট পরিবর্তন করুন</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">Canvia el fons de pantalla</string>
<string name="change_next_long">Canvia al fons de pantalla següent de l\'àlbum</string>
<string name="cannot_change_wallpaper">No es pot canviar el fons de pantalla</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">Activa el canvi de fons de pantalla</string>
<string name="unselected_album">Àlbum no seleccionat</string>
<string name="lock">Bloqueig</string>
<string name="change_vignette">Canviar vinyeta</string>
</resources>
+1
View File
@@ -171,4 +171,5 @@
<string name="enable_wallpaper_changer">Povolit změnu tapety</string>
<string name="unselected_album">Nevybrané album</string>
<string name="lock">Zamknout</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Aktivér Tapet Skifter</string>
<string name="unselected_album">Fravalgte album</string>
<string name="lock">Lås</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Hintergrundwechsel aktivieren</string>
<string name="unselected_album">Nicht ausgewähltes Album</string>
<string name="lock">Sperren</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Ενεργοποίηση Εναλλαγής Ταπετσαρίας</string>
<string name="unselected_album">Μη επιλεγμένο άλμπουμ</string>
<string name="lock">Κλείδωμα</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Activar Cambiador de Fondos de Pantalla</string>
<string name="unselected_album">Álbum no seleccionado</string>
<string name="lock">Bloquear</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Ota Taustakuvan Vaihtaja Käyttöön</string>
<string name="unselected_album">Valitsematon albumi</string>
<string name="lock">Lukitse</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Activer le changement de fond d\'écran</string>
<string name="unselected_album">Album non sélectionné</string>
<string name="lock">Verrouiller</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">વૉલપેપર બદલો</string>
<string name="change_next_long">આલ્બમમાં આગલા વૉલપેપર પર બદલો</string>
<string name="cannot_change_wallpaper">વૉલપેપર બદલી શકાતું નથી</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">વૉલપેપર ચેન્જર સક્ષમ કરો</string>
<string name="unselected_album">નાપસંદ કરેલ આલ્બમ</string>
<string name="lock">તાળું</string>
<string name="change_vignette">વિગ્નેટ બદલો</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">Canja fuskar bangon waya</string>
<string name="change_next_long">Canja zuwa fuskar bangon waya na gaba a cikin kundin</string>
<string name="cannot_change_wallpaper">Ba za a iya canza fuskar bangon waya ba</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">Kunna Canjin Fuskar bangon waya</string>
<string name="unselected_album">Kundin da ba a zaɓa ba</string>
<string name="lock">Kulle</string>
<string name="change_vignette">Canza Vignette</string>
</resources>
+4 -3
View File
@@ -168,7 +168,8 @@
<string name="change_next_short">שנה טפט</string>
<string name="change_next_long">שנה לטפט הבא באלבום</string>
<string name="cannot_change_wallpaper">לא ניתן לשנות טפט</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">הפעל את מחליף טפטים</string>
<string name="unselected_album">אלבום שלא נבחר</string>
<string name="lock">לִנְעוֹל</string>
<string name="change_vignette">שנה ויגנט</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">वॉलपेपर बदल दो</string>
<string name="change_next_long">एल्बम में अगले वॉलपेपर पर बदलें</string>
<string name="cannot_change_wallpaper">वॉलपेपर बदला नहीं जा सकता</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">वॉलपेपर परिवर्तक सक्षम करें</string>
<string name="unselected_album">अचयनित एल्बम</string>
<string name="lock">ताला</string>
<string name="change_vignette">विनेट बदलें</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">Háttérkép módosítása</string>
<string name="change_next_long">Váltás az album következő háttérképére</string>
<string name="cannot_change_wallpaper">Háttérkép nem módosítható</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">A Wallpaper Changer engedélyezése</string>
<string name="unselected_album">Nincs kijelölve album</string>
<string name="lock">Zár</string>
<string name="change_vignette">Változtassa meg a matricát</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Abilita Cambio Sfondo</string>
<string name="unselected_album">Album deselezionato</string>
<string name="lock">Blocca</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -159,4 +159,5 @@
<string name="enable_wallpaper_changer">壁紙変更を有効にする</string>
<string name="unselected_album">選択されていないアルバム</string>
<string name="lock">ロック</string>
<string name="change_vignette">ビネットの変更</string>
</resources>
+4 -3
View File
@@ -156,7 +156,8 @@
<string name="change_next_short">Ganti wallpaper</string>
<string name="change_next_long">Ganti wallpaper sabanjure ing album kasebut</string>
<string name="cannot_change_wallpaper">Ora bisa ngganti wallpaper</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">Aktifake Wallpaper Changer</string>
<string name="unselected_album">Album sing ora dipilih</string>
<string name="lock">Ngunci</string>
<string name="change_vignette">Ngganti Vignette</string>
</resources>
+9 -8
View File
@@ -4,10 +4,10 @@
<string name="SettingsIcon">옵션</string>
<string name="dropdownmenu_settings">설정</string>
<string name="home_screen">집</string>
<string name="wallpaper_screen">벽지</string>
<string name="library_screen">도서관</string>
<string name="wallpaper_screen">월페이퍼</string>
<string name="library_screen">라이브러리</string>
<string name="settings_screen">설정</string>
<string name="settings_back">뒤쪽에</string>
<string name="settings_back">뒤로가기</string>
<string name="LibraryFloatingButton">새 라이브러리 추가</string>
<string name="set_wallpaper_description">라이브 배경화면 활성화</string>
<string name="add_wallpaper">배경화면 추가</string>
@@ -51,7 +51,7 @@
<string name="licenses">라이센스</string>
<string name="licenses_screen">라이센스 화면</string>
<string name="contact">연락하다</string>
<string name="contact_the_author_by_email">저자에게 이메일로 연락하기</string>
<string name="contact_the_author_by_email">제작자에게 이메일로 연락하기</string>
<string name="reset_to_default">기본값으로 재설정</string>
<string name="reset_all_data">모든 데이터 재설정</string>
<string name="are_you_sure_you_want_to_reset_all_settings_and_data_to_default">모든 설정과 데이터를 기본값으로 재설정하시겠습니까?</string>
@@ -87,7 +87,7 @@
<string name="are_you_sure_you_want_to_delete_these_wallpapers">이 배경화면을 삭제하시겠습니까?</string>
<string name="are_you_sure_you_want_to_delete_this">정말로 삭제하시겠습니까?</string>
<string name="delete_album_question">앨범을 삭제하시겠습니까?</string>
<string name="animation">생기</string>
<string name="animation">애니메이션</string>
<string name="increase_visual_appeal">시각적 매력을 높여보세요</string>
<string name="dark_mode">다크 모드</string>
<string name="automatic_device_mode">자동 장치 모드</string>
@@ -156,7 +156,8 @@
<string name="change_next_short">배경화면 변경</string>
<string name="change_next_long">앨범의 다음 배경화면으로 변경</string>
<string name="cannot_change_wallpaper">배경화면을 변경할 수 없습니다.</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">배경화면 변경기 활성화</string>
<string name="unselected_album">선택되지 않은 앨범</string>
<string name="lock">잠그다</string>
<string name="change_vignette">비네트 변경</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">वॉलपेपर बदला</string>
<string name="change_next_long">अल्बममधील पुढील वॉलपेपरमध्ये बदला</string>
<string name="cannot_change_wallpaper">वॉलपेपर बदलू शकत नाही</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">वॉलपेपर चेंजर सक्षम करा</string>
<string name="unselected_album">न निवडलेला अल्बम</string>
<string name="lock">कुलूप</string>
<string name="change_vignette">विनेट बदला</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Achtergrond wijzigen inschakelen</string>
<string name="unselected_album">Niet geselecteerd album</string>
<string name="lock">Vergrendelen</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Aktiver bakgrunnsbilde Changer</string>
<string name="unselected_album">Ikke valgt album</string>
<string name="lock">Lås</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">ਵਾਲਪੇਪਰ ਬਦਲੋ</string>
<string name="change_next_long">ਐਲਬਮ ਵਿੱਚ ਅਗਲੇ ਵਾਲਪੇਪਰ ਵਿੱਚ ਬਦਲੋ</string>
<string name="cannot_change_wallpaper">ਵਾਲਪੇਪਰ ਬਦਲਿਆ ਨਹੀਂ ਜਾ ਸਕਦਾ</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">ਵਾਲਪੇਪਰ ਚੇਂਜਰ ਨੂੰ ਸਮਰੱਥ ਬਣਾਓ</string>
<string name="unselected_album">ਅਣਚੁਣਿਆ ਐਲਬਮ</string>
<string name="lock">ਤਾਲਾ</string>
<string name="change_vignette">ਵਿਗਨੇਟ ਬਦਲੋ</string>
</resources>
+1
View File
@@ -171,4 +171,5 @@
<string name="enable_wallpaper_changer">Włącz zmianę tapety</string>
<string name="unselected_album">Niewybrany album</string>
<string name="lock">Blokada</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Habilitar Alteração de Papel de Parede</string>
<string name="unselected_album">Álbum não selecionado</string>
<string name="lock">Bloquear</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+1
View File
@@ -167,4 +167,5 @@
<string name="enable_wallpaper_changer">Activează Schimbarea Fundalului</string>
<string name="unselected_album">Album neselectat</string>
<string name="lock">Blocare</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+6 -5
View File
@@ -38,7 +38,7 @@
<string name="welcome">Добро пожаловать</string>
<string name="notifications">Уведомления</string>
<string name="continue_button">Согласен </string>
<string name="notification_permission_is_required_for_this_app_to_work_properly">Для правильной работы этого приложения требуется разрешение на уведомление.</string>
<string name="notification_permission_is_required_for_this_app_to_work_properly">Для правильной работы этого приложения требуется разрешение на уведомление</string>
<string name="allow">Разрешить</string>
<string name="notification_info_message">Уведомления можно включить, чтобы они отображались, когда приложение работает в фоновом режиме.</string>
<string name="set_as_lock_screen">Установить в качестве экрана блокировки</string>
@@ -110,7 +110,7 @@
<string name="add_images_btn">Добавить изображения</string>
<string name="add_folder_btn">Добавить папку</string>
<string name="version">Версия: %1$s</string>
<string name="appearance">Появление</string>
<string name="appearance">Оформление</string>
<string name="about">О нас</string>
<string name="coming_soon">Скоро</string>
<string name="new_album">Новый альбом</string>
@@ -130,8 +130,8 @@
<string name="privacy_information_usage_title">Использование информации</string>
<string name="privacy_information_usage_content">Персональные данные: Мы не собираем и не храним какие-либо личные данные, такие как имена, адреса электронной почты или номера телефонов.\n\nАналитика использования: %1$s не отслеживает ваше поведение при использовании и не собирает аналитические данные.</string>
<string name="privacy_data_security_title">Безопасность данных</string>
<string name="privacy_data_security_content">Хранение на устройстве: все данные, используемые %1$s , остаются на вашем устройстве. Мы не передаем и не храним какие-либо данные снаружи.</string>
<string name="privacy_third_party_services_title">Сторонние услуги</string>
<string name="privacy_data_security_content">Хранение на устройстве: все данные, используемые %1$s, остаются на вашем устройстве. Мы не передаем и не храним какие-либо данные снаружи.</string>
<string name="privacy_third_party_services_title">Сторонние сервисы</string>
<string name="privacy_third_party_services_content">Реклама: %1$s не отображает стороннюю рекламу.\n\nВнешние ссылки: наше приложение может содержать ссылки на внешние веб-сайты. Обратите внимание, что мы не несем ответственности за политику конфиденциальности на этих сайтах.</string>
<string name="privacy_children_privacy_title">Конфиденциальность детей</string>
<string name="privacy_children_privacy_content">%1$s не предназначен для детей младше 13 лет. Мы сознательно не собираем никакой информации от детей.</string>
@@ -150,7 +150,7 @@
<string name="stretch">Растянуть</string>
<string name="wallpaper_scaling">Масштабирование обоев</string>
<string name="change_brightness">Изменить яркость</string>
<string name="home_screen_btn">Домашний экран</string>
<string name="home_screen_btn">Главный экран</string>
<string name="lock_screen_btn">Экран блокировки</string>
<string name="individual_scheduling">Индивидуальное планирование</string>
<string name="show_interval_sliders">Показать ползунки интервалов</string>
@@ -171,4 +171,5 @@
<string name="enable_wallpaper_changer">Включить смену обоев</string>
<string name="unselected_album">Невыбранный альбом</string>
<string name="lock">Заблокировать</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+4 -3
View File
@@ -164,7 +164,8 @@
<string name="change_next_short">Промените позадину</string>
<string name="change_next_long">Пребаците се на следећу позадину у албуму</string>
<string name="cannot_change_wallpaper">Није могуће променити позадину</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">Омогући мењач позадине</string>
<string name="unselected_album">Неодабрани албум</string>
<string name="lock">Закључај</string>
<string name="change_vignette">Промените вињету</string>
</resources>
+1
View File
@@ -163,4 +163,5 @@
<string name="enable_wallpaper_changer">Aktivera bakgrundsbild</string>
<string name="unselected_album">Avmarkerat album</string>
<string name="lock">Lås</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">வால்பேப்பரை மாற்றவும்</string>
<string name="change_next_long">ஆல்பத்தின் அடுத்த வால்பேப்பருக்கு மாற்றவும்</string>
<string name="cannot_change_wallpaper">வால்பேப்பரை மாற்ற முடியாது</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">வால்பேப்பர் சேஞ்சரை இயக்கவும்</string>
<string name="unselected_album">தேர்ந்தெடுக்கப்படாத ஆல்பம்</string>
<string name="lock">பூட்டு</string>
<string name="change_vignette">விக்னெட்டை மாற்றவும்</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">వాల్‌పేపర్‌ని మార్చండి</string>
<string name="change_next_long">ఆల్బమ్‌లోని తదుపరి వాల్‌పేపర్‌కి మార్చండి</string>
<string name="cannot_change_wallpaper">వాల్‌పేపర్‌ని మార్చలేరు</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">వాల్‌పేపర్ ఛేంజర్‌ని ప్రారంభించండి</string>
<string name="unselected_album">ఎంపిక చేయని ఆల్బమ్</string>
<string name="lock">తాళం వేయండి</string>
<string name="change_vignette">విగ్నేట్ మార్చండి</string>
</resources>
+24 -23
View File
@@ -3,43 +3,43 @@
<string name="app_name">Paperize</string>
<string name="SettingsIcon">Seçenekler</string>
<string name="dropdownmenu_settings">Ayarlar</string>
<string name="home_screen">Ev</string>
<string name="home_screen">Ana Sayfa</string>
<string name="wallpaper_screen">Duvar kağıdı</string>
<string name="library_screen">Kütüphane</string>
<string name="library_screen">Arşiv</string>
<string name="settings_screen">Ayarlar</string>
<string name="settings_back">Geri</string>
<string name="LibraryFloatingButton">Yeni bir kitaplık ekle</string>
<string name="LibraryFloatingButton">Yeni bir arşiv ekle</string>
<string name="set_wallpaper_description">Canlı duvar kağıdını etkinleştir</string>
<string name="add_wallpaper">Duvar kağıdı ekle</string>
<string name="add_images">Görsel ekle</string>
<string name="add_folder">Klasörü eklemek</string>
<string name="contact_button">Temas etmek</string>
<string name="image_is_selected">Resim seçildi</string>
<string name="image_is_not_selected">Resim seçilmedi</string>
<string name="select_all_images_for_deletion">Silmek üzere tüm görselleri seç</string>
<string name="delete_confirmation">Onayı sil</string>
<string name="all_images_selected_for_deletion">Silinmek üzere seçilen tüm resimler</string>
<string name="add_folder">Klasör ekle</string>
<string name="contact_button">İletişim</string>
<string name="image_is_selected">Görsel seçildi</string>
<string name="image_is_not_selected">Görsel seçilmedi</string>
<string name="select_all_images_for_deletion">Tüm görselleri silmek için seç</string>
<string name="delete_confirmation">Silme onayı</string>
<string name="all_images_selected_for_deletion">Silinmek için seçilen tüm görseller</string>
<string name="add_album">Albüm ekle</string>
<string name="add_wallpaper_screen">Duvar Kağıdı Ekranı Ekle</string>
<string name="enter_the_name_of_the_album">Albümün adını girin</string>
<string name="album_name">Albüm Adı</string>
<string name="cancel">İptal etmek</string>
<string name="save">Kaydetmek</string>
<string name="delete_album">Silmek</string>
<string name="change_name">Adı Düzenle</string>
<string name="cancel">İptal</string>
<string name="save">Kaydet</string>
<string name="delete_album">Sil</string>
<string name="change_name">İsmi Düzenle</string>
<string name="click_to_select_a_different_album">Farklı bir albüm seçmek için tıklayın</string>
<string name="no_icon">Simge yok</string>
<string name="no_album_selected">Hiçbir albüm seçilmedi</string>
<string name="no_album_selected">Seçili bir albüm yok</string>
<string name="currently_selected_album">Şu anda seçili albüm</string>
<string name="stop_the_album">Albümü durdur</string>
<string name="more_options">Daha fazla seçenek</string>
<string name="startup">Başlatmak</string>
<string name="agree">Kabul etmek</string>
<string name="welcome">Hoş geldin</string>
<string name="startup">Başlangıç</string>
<string name="agree">Kabul et</string>
<string name="welcome">Hoş geldiniz</string>
<string name="notifications">Bildirimler</string>
<string name="continue_button">Varım</string>
<string name="notification_permission_is_required_for_this_app_to_work_properly">Bu uygulamanın düzgün çalışması için bildirim izni gerekiyor</string>
<string name="allow">İzin vermek</string>
<string name="allow">İzin ver</string>
<string name="notification_info_message">Uygulamanın arka planda çalıştığını göstermek için bildirimler etkinleştirilebilir.</string>
<string name="set_as_lock_screen">Kilit ekranı olarak ayarla</string>
<string name="lock_screen">Kilit ekranı</string>
@@ -47,7 +47,7 @@
<string name="last_change">Son değişiklik</string>
<string name="next_change">Sonraki değişiklik</string>
<string name="privacy_policy">Gizlilik Politikası</string>
<string name="privacy_screen">Gizlilik ekranı</string>
<string name="privacy_screen">Gizlilik Ekranı</string>
<string name="licenses">Lisanslar</string>
<string name="licenses_screen">Lisanslar Ekranı</string>
<string name="contact">Temas etmek</string>
@@ -160,7 +160,8 @@
<string name="change_next_short">Duvar kağıdını değiştir</string>
<string name="change_next_long">Albümdeki sonraki duvar kağıdına geçin</string>
<string name="cannot_change_wallpaper">Duvar kağıdı değiştirilemiyor</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">Duvar Kağıdı Değiştiriciyi Etkinleştir</string>
<string name="unselected_album">Seçilmemiş albüm</string>
<string name="lock">Kilitle</string>
<string name="change_vignette">Vignette\'i Değiştir</string>
</resources>
+1
View File
@@ -171,4 +171,5 @@
<string name="enable_wallpaper_changer">Увімкнути зміну шпалер</string>
<string name="unselected_album">Видалити альбом</string>
<string name="lock">Зачинити</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+4 -3
View File
@@ -160,7 +160,8 @@
<string name="change_next_short">وال پیپر تبدیل کریں۔</string>
<string name="change_next_long">البم میں اگلے وال پیپر میں تبدیل کریں۔</string>
<string name="cannot_change_wallpaper">وال پیپر تبدیل نہیں کیا جا سکتا</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">وال پیپر چینجر کو فعال کریں۔</string>
<string name="unselected_album">غیر منتخب البم</string>
<string name="lock">تالا</string>
<string name="change_vignette">Vignette کو تبدیل کریں۔</string>
</resources>
+4 -3
View File
@@ -156,7 +156,8 @@
<string name="change_next_short">Thay đổi hình nền</string>
<string name="change_next_long">Thay đổi hình nền tiếp theo trong album</string>
<string name="cannot_change_wallpaper">Không thể thay đổi hình nền</string>
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="enable_wallpaper_changer">Bật Trình thay đổi hình nền</string>
<string name="unselected_album">Album chưa chọn</string>
<string name="lock">Khóa</string>
<string name="change_vignette">Thay đổi hình ảnh</string>
</resources>
+1
View File
@@ -162,4 +162,5 @@
<string name="enable_wallpaper_changer">Enable Wallpaper Changer</string>
<string name="unselected_album">Unselected album</string>
<string name="lock">Lock</string>
<string name="change_vignette">Change Vignette</string>
</resources>
+7 -7
View File
@@ -6,14 +6,14 @@ buildscript {
}
plugins {
id("com.android.application") version "8.5.2" apply false
id("com.android.library") version "8.5.2" apply false
id("org.jetbrains.kotlin.android") version "2.0.10" apply false
id ("org.jetbrains.kotlin.plugin.compose") version "2.0.10" apply false
id("com.android.application") version "8.6.0" apply false
id("com.android.library") version "8.6.0" apply false
id("org.jetbrains.kotlin.android") version "2.0.20" apply false
id ("org.jetbrains.kotlin.plugin.compose") version "2.0.20" apply false
id("com.google.dagger.hilt.android") version "2.52" apply false
id("com.google.devtools.ksp") version "2.0.10-1.0.24" apply false
id ("com.mikepenz.aboutlibraries.plugin") version "11.2.2" apply false
id ("org.jetbrains.kotlin.plugin.serialization") version "2.0.10" apply false
id("com.google.devtools.ksp") version "2.0.20-1.0.25" apply false
id ("com.mikepenz.aboutlibraries.plugin") version "11.2.3" apply false
id ("org.jetbrains.kotlin.plugin.serialization") version "2.0.20" apply false
}