diff --git a/res/drawable/ic_cutout_ring.xml b/res/drawable/ic_cutout_ring.xml new file mode 100644 index 000000000..f26109e5d --- /dev/null +++ b/res/drawable/ic_cutout_ring.xml @@ -0,0 +1,27 @@ + + + + + diff --git a/res/values-bg-rBG/alpha_strings.xml b/res/values-bg-rBG/alpha_strings.xml index ffd013ca2..625bf71f6 100644 --- a/res/values-bg-rBG/alpha_strings.xml +++ b/res/values-bg-rBG/alpha_strings.xml @@ -30,13 +30,13 @@ Дисплей Потребителски интерфейс UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Stroke width - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Дъга По избор - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Ляво + Дясно + Прозрачност на фона + Auto-collapse timeout diff --git a/res/values-cs-rCZ/alpha_strings.xml b/res/values-cs-rCZ/alpha_strings.xml index bce51cc99..f8a19bdcb 100644 --- a/res/values-cs-rCZ/alpha_strings.xml +++ b/res/values-cs-rCZ/alpha_strings.xml @@ -30,13 +30,13 @@ Zobrazení Uživatelské rozhraní UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1145,7 +1145,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1279,73 +1279,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Stroke width - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Duha Vlastní - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + levé + pravé + Průhlednost pozadí + Auto-collapse timeout diff --git a/res/values-de-rDE/alpha_strings.xml b/res/values-de-rDE/alpha_strings.xml index 48a4ebc1a..833aa49dc 100644 --- a/res/values-de-rDE/alpha_strings.xml +++ b/res/values-de-rDE/alpha_strings.xml @@ -30,13 +30,13 @@ Bildschirm Benutzeroberfläche UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Strichbreite - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Regenbogen Benutzerdefiniert - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Linker Rand + Rechter Rand + Hintergrunddeckkraft + Auto-collapse timeout diff --git a/res/values-el-rGR/alpha_strings.xml b/res/values-el-rGR/alpha_strings.xml index 8444cfe01..359e5b20d 100644 --- a/res/values-el-rGR/alpha_strings.xml +++ b/res/values-el-rGR/alpha_strings.xml @@ -30,13 +30,13 @@ Εμφάνιση Περιβάλλον χρήστη UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Stroke width - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Ουράνιο τόξο Προσαρμοσμένο - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Αριστερά + Δεξιά + Αδιαφάνεια φόντου + Auto-collapse timeout diff --git a/res/values-es-rES/alpha_strings.xml b/res/values-es-rES/alpha_strings.xml index 9820dfbd9..7623671f7 100644 --- a/res/values-es-rES/alpha_strings.xml +++ b/res/values-es-rES/alpha_strings.xml @@ -30,13 +30,13 @@ Pantalla Interfaz de usuario UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1138,7 +1138,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1272,73 +1272,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Ancho del trazo - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Arcoiris Personalizado - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Izquierda + Derecha + Opacidad del fondo + Auto-collapse timeout diff --git a/res/values-fr-rFR/alpha_strings.xml b/res/values-fr-rFR/alpha_strings.xml index f35b304fc..465c853e2 100644 --- a/res/values-fr-rFR/alpha_strings.xml +++ b/res/values-fr-rFR/alpha_strings.xml @@ -30,13 +30,13 @@ Affichage Interface utilisateur UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1138,7 +1138,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1272,73 +1272,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Stroke width - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Arc-en-ciel Personnalisée - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + gauche + droit + Opacité de l\'arrière-plan + Auto-collapse timeout diff --git a/res/values-hi-rIN/alpha_strings.xml b/res/values-hi-rIN/alpha_strings.xml index 7f2937433..344ab7d3d 100644 --- a/res/values-hi-rIN/alpha_strings.xml +++ b/res/values-hi-rIN/alpha_strings.xml @@ -30,13 +30,13 @@ Display User Interface UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Stroke width - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Rainbow Custom - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Left + Right + Background opacity + Auto-collapse timeout diff --git a/res/values-hu-rHU/alpha_strings.xml b/res/values-hu-rHU/alpha_strings.xml index 6e3af9150..27f5c4a63 100644 --- a/res/values-hu-rHU/alpha_strings.xml +++ b/res/values-hu-rHU/alpha_strings.xml @@ -30,13 +30,13 @@ Kijelző Felhasználói felület Kezelőfelület - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1139,7 +1139,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1273,73 +1273,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Körvonal-szélesség - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Szivárvány Egyéni - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Bal + Jobb + Háttérátlátszóság + Auto-collapse timeout diff --git a/res/values-in-rID/alpha_strings.xml b/res/values-in-rID/alpha_strings.xml index 50f352c2b..e8e4e74c9 100644 --- a/res/values-in-rID/alpha_strings.xml +++ b/res/values-in-rID/alpha_strings.xml @@ -30,13 +30,13 @@ Tampilan Antarmuka Pengguna Antarmuka - Monet, gaya, paket ikon + Monet, gaya Ikon, jam, baterai, lalu lintas jaringan Ubin, tata letak, penggeser kecerahan Tombol perangkat keras dan menu daya Visualisasi, info cuaca, gaya jam Peringatan, pemberitahuan, lampu notifikasi - Volume bertahap, panel volume, getaran + Panel volume, getaran Ruang Game, pemalsuan, lain-lain. Tentang AlphaDroid @@ -816,19 +816,19 @@ Baris Setelan Cepat (lanskap) Latar belakang keping - Select custom background chip behind clock - Solid color accent + Pilih chip latar belakang kustom di belakang jam + Aksen warna padat Garis besar - Solid color accent gradient - Solid gradient side - Solid accent gradient sharp - Gradient void - Neumorph gradient - Sharp gradient stroke - Accent transperent - Gradient light - Sharp gradient corner - Gradient void light + Aksen warna padat bergradasi + Gradien samping padat + Gradien warna aksen padat dan tajam + Gradien ruang kosong + Gradien neumorph + Gradien garis tajam + Aksen transparan + Gradien terang + Gradien pojok tajam + Gradien ruang kosong terang Pengaturan cuaca Atur paket ikon dan servis cuaca @@ -1079,7 +1079,7 @@ Beberapa layar mungkin tampak mati. Retro VU meter Gelombang minimal Kelap-kelip - Matrix + Matriks Pemberitahuan transparan Set translucent background for notifications @@ -1099,34 +1099,34 @@ Beberapa layar mungkin tampak mati. Tidak ada sertifikat yang ditentukan. Koneksi Anda tidak akan bersifat pribadi. - Multi audio focus - Allow multiple apps to play audio simultaneously + Fokus audio multi + Izinkan beberapa aplikasi memutar audio secara bersamaan - Clear query - Language picker page - Search regions - Search region page + Bersihkan kueri + Halaman pemilihan bahasa + Telusuri wilayah + Halaman pencarian wilayah - Mobile data usage cycle type - Monthly - Weekly - Daily - Less than 1 hour left + Jenis siklus penggunaan data seluler + Bulanan + Mingguan + Harian + Kurang dari 1 jam lagi {count, plural, - =1 {# hour left} - other {# hours left} + =1 {# satu jam tersisa} + other {# beberapa jam lagi} } - Usage cycle reset day - Day of each week:\n1 = Monday - Usage cycle reset hour - Hour of each day: + Reset ulang hari siklus penggunaan + Hari dalam seminggu:\n1 = Senin + Reset ulang jam siklus penggunaan + Jam setiap hari: - Status bar action chip - Customize action chip to show progress indicator - Ongoing action chip - Display progress indicator for ongoing actions like downloads - Media progress - Display media playback progress + Chip aksi bilah status + Sesuaikan chip aksi untuk menampilkan indikator kemajuan + Chip aksi berkelanjutan + Tampilkan indikator kemajuan untuk tindakan yang sedang berlangsung seperti pengunduhan + Kemajuan media + Menampilkan kemajuan pemutaran media \"The status bar action chip provides real-time updates for both media playback and active downloads/uploads. Media Progress: @@ -1135,7 +1135,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1144,12 +1144,12 @@ Download/Upload Progress: The progress bar dynamically switches between media and download states, ensuring you always have the most relevant information at a glance.\" - Compact progress indicator - Use a compact circular indicator for ongoing actions - Media chip background color - System accent color - App icon color - Album art color + Indikator kemajuan ringkas + Gunakan indikator melingkar yang ringkas untuk tindakan yang sedang berlangsung + Warna latar belakang chip media + Warna aksen sistem + Warna ikon aplikasi + Warna sampul album Pengaturan Alpha @@ -1200,7 +1200,7 @@ The progress bar dynamically switches between media and download states, ensurin Tim AlphaDroid Donasi untuk mendukung server hosting, keaktifan situs serta pemanajemenan secara keseluruhan - AlphaDroid build server provider. Tap to visit their channel. + AlphaDroid adalah penyedia server build. Ketuk untuk mengunjungi saluran mereka. Pembaruan Periksa dan unduh pembaruan terbaru @@ -1243,7 +1243,7 @@ The progress bar dynamically switches between media and download states, ensurin Mesin tampilan Mesin Tampilan Realitas - Boost standard Android color modes with custom display enhancements + Tingkatkan mode warna Android standar dengan peningkatan tampilan khusus Mesin X-Realita Tampilan Jelas Tampilan Triluminous @@ -1252,8 +1252,8 @@ The progress bar dynamically switches between media and download states, ensurin Abaikan tanda jendela aman Hapus batasan keamanan tangkapan layar dan rekaman layar. Hal ini mungkin praktis dalam beberapa kasus tetapi dapat menyebabkan kebocoran privasi. - Hide screen capture status - Hide screen capture status from apps + Sembunyikan status tangkapan layar + Sembunyikan status tangkapan layar dari aplikasi Sembunyikan status developer Sembunyikan status developer dari aplikasi @@ -1262,80 +1262,41 @@ The progress bar dynamically switches between media and download states, ensurin Ikon notifikasi Maksimal ikon notifikasi terlihat di bilah status - UI Style - Customize QS tiles and brightness slider appearance - Light theme - Dark theme - Reset to defaults - Reset all styles - Reset all style parameters to defaults - - Cutout Progress Ring - Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads - Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Tebal garis - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color - Accent + Gaya Antarmuka Pengguna + Sesuaikan tampilan ubin Setelan Cepat dan penggeser kecerahan + Tema terang + Tema gelap + Setel ulang ke bawaan + Atur ulang semua gaya + Atur ulang semua parameter gaya ke nilai default + + Cincin Kemajuan + Tunjukkan lingkaran kemajuan di sekitar lubang punch + + Fitur + Penampilan + Mode diperluas + + Aktifkan cincin kemajuan unduhan + Show charging ring + + Mode warna cincin + Aksen Pelangi Kustom - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging - Charging pulse animation - Animate a repeating pulse from center outward while charging + Warna cincin kustom + Ring opacity + Ketebalan cincin + Tampilkan trek latar belakang + Animasi denyut pengisian + Animasikan denyut berulang dari tengah ke luar saat mengisi daya + + Tata letak ringkas + Wrap around the camera cutout + Compact layout alignment + Belahan tengah + Kiri + Kanan + Transparansi Latar Belakang + Batas waktu penutupan otomatis diff --git a/res/values-it-rIT/alpha_strings.xml b/res/values-it-rIT/alpha_strings.xml index 37c55c454..eae6f7995 100644 --- a/res/values-it-rIT/alpha_strings.xml +++ b/res/values-it-rIT/alpha_strings.xml @@ -30,13 +30,13 @@ Schermo Interfaccia utente UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1138,7 +1138,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1272,73 +1272,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Spessore tratto - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Arcobaleno Personalizzato - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Sinistra + Destra + Opacità sfondo + Auto-collapse timeout diff --git a/res/values-pl-rPL/alpha_strings.xml b/res/values-pl-rPL/alpha_strings.xml index 43f0325be..962c423ad 100644 --- a/res/values-pl-rPL/alpha_strings.xml +++ b/res/values-pl-rPL/alpha_strings.xml @@ -30,13 +30,13 @@ Ekran Interfejs użytkownika UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1145,7 +1145,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1279,73 +1279,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Szerokość obrysu - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Tęcza Własny - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Lewa + Prawa + Nieprzezroczystość tła + Auto-collapse timeout diff --git a/res/values-pt-rBR/alpha_strings.xml b/res/values-pt-rBR/alpha_strings.xml index 6a95e629f..74d5fb845 100644 --- a/res/values-pt-rBR/alpha_strings.xml +++ b/res/values-pt-rBR/alpha_strings.xml @@ -30,13 +30,13 @@ Tela Interface do Usuário Interface do Usuário - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Largura do traço - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Arco-íris Personalizado - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Esquerda + Direita + Opacidade de fundo + Auto-collapse timeout diff --git a/res/values-pt-rPT/alpha_strings.xml b/res/values-pt-rPT/alpha_strings.xml index f46230fa7..3f9d9e1d2 100644 --- a/res/values-pt-rPT/alpha_strings.xml +++ b/res/values-pt-rPT/alpha_strings.xml @@ -30,13 +30,13 @@ Ecrã Interface de utilizador Interface do utilizador - Monet, estilos, pacotes de ícones - Ícones, relógio, bateria, tráfego de rede + Monet, styles + Icons, clock, battery, network traffic Painéis, esquema, controle deslizante de brilho Botões físicos e menu de energia Modo suspensão, pulsação, UDFPS, tempo Alertas, notificações heads-up, luzes - Níveis de volume, painel de volume, vibração + Volume panel, vibration Espaço de Jogos, máscara de integridade, vários. Acerca de AlphaDroid @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Espessura do traçado - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Arco-íris Personalizada - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Esquerda + Direita + Opacidade do fundo + Auto-collapse timeout diff --git a/res/values-ro-rRO/alpha_strings.xml b/res/values-ro-rRO/alpha_strings.xml index e1068db8a..02dbf5665 100644 --- a/res/values-ro-rRO/alpha_strings.xml +++ b/res/values-ro-rRO/alpha_strings.xml @@ -30,13 +30,13 @@ Afișaj Interfață utilizator UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1140,7 +1140,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1274,73 +1274,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Lățimea conturului - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Curcubeu Personalizat - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Stânga + Drepta + Opacitate fundal + Auto-collapse timeout diff --git a/res/values-ru-rRU/alpha_strings.xml b/res/values-ru-rRU/alpha_strings.xml index c3170a4b2..473115759 100644 --- a/res/values-ru-rRU/alpha_strings.xml +++ b/res/values-ru-rRU/alpha_strings.xml @@ -30,13 +30,13 @@ Экран Пользовательский интерфейс UI - Моне, стили, наборы иконок - Значки, часы, батарея, сетевой трафик + Monet, styles + Icons, clock, battery, network traffic Плитки, расположение элементов, ползунок яркости Аппаратные кнопки и меню питания Режим сна, импульсный режим, UDFPS, погода Предупреждения, всплывающие уведомления, световые сигналы - Шаги регулировки громкости, панель регулировки громкости, вибрация + Volume panel, vibration Игровое пространство, подмена, прочее. О AlphaDroid @@ -1143,7 +1143,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1277,73 +1277,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Толщина линии - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Радуга Свой - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + слева + справа + Прозрачность фона + Auto-collapse timeout diff --git a/res/values-sq-rAL/alpha_strings.xml b/res/values-sq-rAL/alpha_strings.xml index 134d87a52..c78532b6c 100644 --- a/res/values-sq-rAL/alpha_strings.xml +++ b/res/values-sq-rAL/alpha_strings.xml @@ -30,13 +30,13 @@ Display User Interface UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Stroke width - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Rainbow Custom - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Left + Right + Background opacity + Auto-collapse timeout diff --git a/res/values-tr-rTR/alpha_strings.xml b/res/values-tr-rTR/alpha_strings.xml index c31ff914b..aace49e00 100644 --- a/res/values-tr-rTR/alpha_strings.xml +++ b/res/values-tr-rTR/alpha_strings.xml @@ -30,13 +30,13 @@ Ekran Arayüz Arayüz - Monet, styles, icon packs - Simgeler, saat, pil, ağ trafiği + Monet, styles + Icons, clock, battery, network traffic Kutucuklar, düzen, parlaklık kaydırıcısı Donanım düğmeleri ve güç menüsü Doze, pulse, UDFPS, hava durumu Uyarılar, ön uyarı, ışıklar - Ses seviyesi kademeleri, ses paneli, titreşim + Volume panel, vibration Oyun alanı, sahtekarlık, çeşitli konular. AlphaDroid Hakkında @@ -1137,7 +1137,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1271,73 +1271,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Vurgu genişliği - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Gökkuşağı Özel - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Sol + Sağ + Arka plan şeffaflığı + Auto-collapse timeout diff --git a/res/values-vi-rVN/alpha_strings.xml b/res/values-vi-rVN/alpha_strings.xml index efb51be00..7a2bdcb8b 100644 --- a/res/values-vi-rVN/alpha_strings.xml +++ b/res/values-vi-rVN/alpha_strings.xml @@ -30,13 +30,13 @@ Hiển thị Giao diện người dùng UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1136,7 +1136,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1270,73 +1270,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Độ rộng viền - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent Cầu vồng Tùy chỉnh - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + Trái + Phải + Độ mờ của nền + Auto-collapse timeout diff --git a/res/values-zh-rCN/alpha_strings.xml b/res/values-zh-rCN/alpha_strings.xml index 6fe7b93e4..baffd6042 100644 --- a/res/values-zh-rCN/alpha_strings.xml +++ b/res/values-zh-rCN/alpha_strings.xml @@ -30,13 +30,13 @@ 显示 用户界面 界面 - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1136,7 +1136,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1270,73 +1270,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - 边框宽度 - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent 彩虹 自定义 - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + 左侧 + 右侧 + 背景不透明度 + Auto-collapse timeout diff --git a/res/values-zh-rTW/alpha_strings.xml b/res/values-zh-rTW/alpha_strings.xml index 5a83ecf15..00645fe3b 100644 --- a/res/values-zh-rTW/alpha_strings.xml +++ b/res/values-zh-rTW/alpha_strings.xml @@ -30,13 +30,13 @@ 顯示 介面 UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1134,7 +1134,7 @@ Media Progress: • Double tap toggles play/pause. • Swipe left skips to the previous track. • Swipe right skips to the next track. -• Long press opens the media app. +• Long press opens the media app. Download/Upload Progress: • Shows progress for ongoing downloads and uploads. @@ -1268,73 +1268,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - 線條粗細 - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color + Expanded mode + + Enable download progress ring + Show charging ring + + Ring color mode Accent 彩虹 自訂 - - Charging ring - Show charging ring - Display battery level as a symmetric ring around the cutout while charging + Custom ring color + Ring opacity + Ring thickness + Show background track Charging pulse animation Animate a repeating pulse from center outward while charging + + Compact layout + Wrap around the camera cutout + Compact layout alignment + Center split + 左側 + 右側 + 背景透明度 + Auto-collapse timeout diff --git a/res/values/alpha_strings.xml b/res/values/alpha_strings.xml index 147d73c34..014470b51 100644 --- a/res/values/alpha_strings.xml +++ b/res/values/alpha_strings.xml @@ -31,13 +31,13 @@ Display User Interface UI - Monet, styles, icon packs - Icons, clock, battery, netowrk traffic + Monet, styles + Icons, clock, battery, network traffic Tiles, layout, brightness slider Hardware buttons and power menu Doze, pulse, UDFPS, weather Alerts, heads up, lights - Volume steps, volume panel, vibration + Volume panel, vibration Game Space, spoofing, misc. About AlphaDroid @@ -1523,76 +1523,34 @@ The progress bar dynamically switches between media and download states, ensurin Reset to defaults Reset all styles Reset all style parameters to defaults - - + + Cutout Progress Ring Show progress ring around punch hole - Enable cutout progress ring - Show a progress ring around the camera cutout during downloads + + Features Appearance - Behaviour - Background ring - Finish animation - Ring geometry - Labels - Download count badge - Ring custom color - Error color - Finish flash color - Background ring color - Ring opacity - Stroke width - Ring gap (cutout clearance) - Clockwise direction - Fill the ring clockwise; disable for counter-clockwise - Minimum display time - Keep ring visible for a minimum duration so brief downloads don\'t flash - Minimum duration - Progress easing - Show background ring - Draw a faint full ring behind the progress arc - Background ring opacity - Finish animation style - Hold duration - Exit duration - Use flash color on finish - Briefly flash the ring with the finish flash color when complete - Completion pulse - Brief brightness pulse before the finish animation - Capsule / pill mode - Use a pill-shaped path renderer (for elongated cutouts) - Horizontal scale - Vertical scale - Horizontal offset - Vertical offset - Show percentage - Display current download progress as a percentage label - Percentage text size - Bold percentage - Percentage position - Show filename - Display the name of the file being downloaded - Filename text size - Bold filename - Filename position - Max filename length - Filename truncation - Show download count badge - Show a pill badge with the number of active downloads - Badge text size - Badge horizontal offset - Badge vertical offset - Ring color - Choose color - Accent - Rainbow - Custom - - - Charging ring + Expanded mode + + Enable download progress ring Show charging ring - Display battery level as a symmetric ring around the cutout while charging Charging pulse animation Animate a repeating pulse from center outward while charging + + Ring color mode + Accent + Rainbow + Custom + Custom ring color + Ring thickness + Show background track + + Compact layout + Wrap around the camera cutout instead of dropping below it + Island alignment + Center split + Left + Right + Auto-collapse timeout diff --git a/res/xml/alpha_settings_statusbar.xml b/res/xml/alpha_settings_statusbar.xml index 1ebbc3078..7bc68dbc6 100644 --- a/res/xml/alpha_settings_statusbar.xml +++ b/res/xml/alpha_settings_statusbar.xml @@ -42,6 +42,7 @@ diff --git a/res/xml/cutout_progress_settings.xml b/res/xml/cutout_progress_settings.xml index 397bd0ba6..3a4944389 100644 --- a/res/xml/cutout_progress_settings.xml +++ b/res/xml/cutout_progress_settings.xml @@ -1,36 +1,37 @@ - - + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:dependency="cutout_progress_island_compact"/> - - - - - - - - - - - - - - - - - + settings:units="s" + android:defaultValue="3" /> - + \ No newline at end of file diff --git a/src/com/alpha/settings/fragments/statusbar/CutoutProgressSettingsFragment.kt b/src/com/alpha/settings/fragments/statusbar/CutoutProgressSettingsFragment.kt index fb6e719d6..91a64534e 100644 --- a/src/com/alpha/settings/fragments/statusbar/CutoutProgressSettingsFragment.kt +++ b/src/com/alpha/settings/fragments/statusbar/CutoutProgressSettingsFragment.kt @@ -1,23 +1,12 @@ /* * Copyright (C) 2024-2026 Lunaris AOSP - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright (C) 2026 AlphaDroid */ - package com.alpha.settings.fragments.statusbar import android.os.Bundle import android.provider.Settings +import android.view.WindowManager import androidx.compose.ui.graphics.Color import androidx.preference.ListPreference import androidx.preference.Preference @@ -25,172 +14,116 @@ import com.android.settings.R import com.android.settings.SettingsPreferenceFragment import com.android.internal.logging.nano.MetricsProto.MetricsEvent import com.alpha.settings.utils.toArgb -import com.alpha.settings.utils.toHexString class CutoutProgressSettingsFragment : SettingsPreferenceFragment(), Preference.OnPreferenceChangeListener { companion object { private const val KEY_RING_COLOR_MODE = "cutout_progress_ring_color_mode" - private const val COLOR_MODE_ACCENT = 0 - private const val COLOR_MODE_RAINBOW = 1 private const val COLOR_MODE_CUSTOM = 2 private const val KEY_RING_COLOR = "cutout_progress_ring_color" - private const val KEY_ERROR_COLOR = "cutout_progress_error_color" - private const val KEY_FLASH_COLOR = "cutout_progress_finish_flash_color" - private const val KEY_BG_COLOR = "cutout_progress_bg_ring_color" - private const val KEY_FINISH_STYLE = "cutout_progress_finish_style" - private const val KEY_EASING = "cutout_progress_easing" - private const val KEY_PERCENT_POSITION = "cutout_progress_percent_position" - private const val KEY_FILENAME_POSITION = "cutout_progress_filename_position" - private const val KEY_FILENAME_TRUNCATE = "cutout_progress_filename_truncate" - private const val DEFAULT_RING_COLOR = 0xFF2196F3.toInt() - private const val DEFAULT_ERROR_COLOR = 0xFFF44336.toInt() - private const val DEFAULT_FLASH_COLOR = 0xFFFFFFFF.toInt() - private const val DEFAULT_BG_COLOR = 0xFF808080.toInt() + + private const val KEY_ISLAND_POSITION = "cutout_progress_island_position" } private lateinit var ringColorModePref: ListPreference - private lateinit var ringColorPref: Preference - private lateinit var errorColorPref: Preference - private lateinit var flashColorPref: Preference - private lateinit var bgColorPref: Preference - - private lateinit var finishStylePref: ListPreference - private lateinit var easingPref: ListPreference - private lateinit var pctPosPref: ListPreference - private lateinit var fnamePosPref: ListPreference - private lateinit var fnameTruncPref: ListPreference + private lateinit var islandPosPref: ListPreference override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) { addPreferencesFromResource(R.xml.cutout_progress_settings) ringColorModePref = findPreference(KEY_RING_COLOR_MODE)!! - ringColorPref = findPreference(KEY_RING_COLOR)!! - errorColorPref = findPreference(KEY_ERROR_COLOR)!! - flashColorPref = findPreference(KEY_FLASH_COLOR)!! - bgColorPref = findPreference(KEY_BG_COLOR)!! - - finishStylePref = findPreference(KEY_FINISH_STYLE)!! - easingPref = findPreference(KEY_EASING)!! - pctPosPref = findPreference(KEY_PERCENT_POSITION)!! - fnamePosPref = findPreference(KEY_FILENAME_POSITION)!! - fnameTruncPref = findPreference(KEY_FILENAME_TRUNCATE)!! + islandPosPref = findPreference(KEY_ISLAND_POSITION)!! - refreshColorSummaries() - syncListPreferences() + setupIslandPositionPreference() - val storedMode = readSecureInt(KEY_RING_COLOR_MODE, COLOR_MODE_ACCENT) + val storedMode = readSystemInt(KEY_RING_COLOR_MODE, 0) ringColorModePref.value = storedMode.toString() - updateColorPickerVisibility(storedMode) - + ringColorPref.isVisible = (storedMode == COLOR_MODE_CUSTOM) ringColorModePref.onPreferenceChangeListener = this + ringColorPref.summary = "#${argbToHex(readSystemInt(KEY_RING_COLOR, DEFAULT_RING_COLOR))}" ringColorPref.setOnPreferenceClickListener { - showColorPicker( + val currentHex = argbToHex(readSystemInt(KEY_RING_COLOR, DEFAULT_RING_COLOR)) + val dialog = CutoutProgressColorPickerDialogFragment.newInstance( title = getString(R.string.cutout_progress_ring_color_title), - key = KEY_RING_COLOR, - default = DEFAULT_RING_COLOR + colorHex = currentHex ) + dialog.setOnColorSelectedListener { color: Color -> + writeSystemInt(KEY_RING_COLOR, color.toArgb()) + ringColorPref.summary = "#${argbToHex(color.toArgb())}" + } + dialog.show(parentFragmentManager, CutoutProgressColorPickerDialogFragment.TAG) true } - errorColorPref.setOnPreferenceClickListener { - showColorPicker( - title = getString(R.string.cutout_progress_error_color_title), - key = KEY_ERROR_COLOR, - default = DEFAULT_ERROR_COLOR - ) - true + } + + private fun setupIslandPositionPreference() { + val windowManager = requireContext().getSystemService(WindowManager::class.java) + val windowMetrics = windowManager.currentWindowMetrics + val displayWidth = windowMetrics.bounds.width() + val cutout = windowMetrics.windowInsets.displayCutout + + var isLeftCutout = false + var isRightCutout = false + + cutout?.boundingRects?.forEach { rect -> + if (rect.centerX() < displayWidth / 3) isLeftCutout = true + else if (rect.centerX() > displayWidth * 2 / 3) isRightCutout = true } - flashColorPref.setOnPreferenceClickListener { - showColorPicker( - title = getString(R.string.cutout_progress_finish_flash_color_title), - key = KEY_FLASH_COLOR, - default = DEFAULT_FLASH_COLOR - ) - true + + val entries = mutableListOf() + val values = mutableListOf() + + entries.add(getString(R.string.cutout_island_pos_center)) + values.add("0") + + if (!isLeftCutout) { + entries.add(getString(R.string.cutout_island_pos_left)) + values.add("1") } - bgColorPref.setOnPreferenceClickListener { - showColorPicker( - title = getString(R.string.cutout_progress_bg_ring_color_title), - key = KEY_BG_COLOR, - default = DEFAULT_BG_COLOR - ) - true + if (!isRightCutout) { + entries.add(getString(R.string.cutout_island_pos_right)) + values.add("2") } - finishStylePref.onPreferenceChangeListener = this - easingPref.onPreferenceChangeListener = this - pctPosPref.onPreferenceChangeListener = this - fnamePosPref.onPreferenceChangeListener = this - fnameTruncPref.onPreferenceChangeListener = this + islandPosPref.entries = entries.toTypedArray() + islandPosPref.entryValues = values.toTypedArray() + + var currentPos = readSystemInt(KEY_ISLAND_POSITION, 0) + if ((currentPos == 1 && isLeftCutout) || (currentPos == 2 && isRightCutout)) { + currentPos = 0 + writeSystemInt(KEY_ISLAND_POSITION, currentPos) + } + + islandPosPref.value = currentPos.toString() + islandPosPref.onPreferenceChangeListener = this } override fun onPreferenceChange(preference: Preference, newValue: Any): Boolean { val intValue = (newValue as? String)?.toIntOrNull() ?: return false if (preference.key == KEY_RING_COLOR_MODE) { - writeSecureInt(KEY_RING_COLOR_MODE, intValue) - updateColorPickerVisibility(intValue) - return true + ringColorPref.isVisible = (intValue == COLOR_MODE_CUSTOM) } - writeSecureInt(preference.key, intValue) + writeSystemInt(preference.key, intValue) return true } - private fun updateColorPickerVisibility(mode: Int) { - val isCustom = mode == COLOR_MODE_CUSTOM - ringColorPref.isVisible = isCustom - } - - private fun syncListPreferences() { - listOf( - finishStylePref to 0, - easingPref to 0, - pctPosPref to 0, - fnamePosPref to 4, - fnameTruncPref to 0 - ).forEach { (pref, default) -> - pref.value = readSecureInt(pref.key, default).toString() - } - } - - private fun showColorPicker(title: String, key: String, default: Int) { - val currentArgb = readSecureInt(key, default) - val currentHex = argbToHex(currentArgb) - - val dialog = CutoutProgressColorPickerDialogFragment.newInstance( - title = title, - colorHex = currentHex - ) - dialog.setOnColorSelectedListener { color: Color -> - writeSecureInt(key, color.toArgb()) - refreshColorSummaries() - } - dialog.show(parentFragmentManager, CutoutProgressColorPickerDialogFragment.TAG) - } - - private fun refreshColorSummaries() { - ringColorPref.summary = "#${argbToHex(readSecureInt(KEY_RING_COLOR, DEFAULT_RING_COLOR))}" - errorColorPref.summary = "#${argbToHex(readSecureInt(KEY_ERROR_COLOR, DEFAULT_ERROR_COLOR))}" - flashColorPref.summary = "#${argbToHex(readSecureInt(KEY_FLASH_COLOR, DEFAULT_FLASH_COLOR))}" - bgColorPref.summary = "#${argbToHex(readSecureInt(KEY_BG_COLOR, DEFAULT_BG_COLOR))}" - } - - private fun readSecureInt(key: String, default: Int): Int = - Settings.Secure.getInt(requireContext().contentResolver, key, default) + private fun readSystemInt(key: String, default: Int): Int = + Settings.System.getInt(requireContext().contentResolver, key, default) - private fun writeSecureInt(key: String, value: Int) { - Settings.Secure.putInt(requireContext().contentResolver, key, value) + private fun writeSystemInt(key: String, value: Int) { + Settings.System.putInt(requireContext().contentResolver, key, value) } private fun argbToHex(argb: Int): String = String.format("%06X", 0xFFFFFF and argb) override fun getMetricsCategory(): Int = MetricsEvent.ALPHA -} +} \ No newline at end of file diff --git a/src/com/alpha/settings/preferences/CustomSeekBarPreference.java b/src/com/alpha/settings/preferences/CustomSeekBarPreference.java index bc2ab2b2f..f3c4abcbb 100644 --- a/src/com/alpha/settings/preferences/CustomSeekBarPreference.java +++ b/src/com/alpha/settings/preferences/CustomSeekBarPreference.java @@ -169,13 +169,13 @@ public void onBindViewHolder(PreferenceViewHolder holder) { if (mResetImageView != null) { mResetImageView.setOnClickListener(view -> + setValue(mDefaultValue, true) + ); + mResetImageView.setOnLongClickListener(view -> { Toast.makeText(getContext(), getContext().getString(R.string.custom_seekbar_default_value_to_set, getTextValue(mDefaultValue)), - Toast.LENGTH_LONG).show() - ); - mResetImageView.setOnLongClickListener(view -> { - setValue(mDefaultValue, true); + Toast.LENGTH_LONG).show(); return true; }); } @@ -339,17 +339,23 @@ public void setDefaultValue(String newValue, boolean update) { } public void setValue(int newValue) { - mValue = getLimitedValue(newValue); - if (mSeekBar != null) - mSeekBar.setProgress(getSeekValue(mValue)); + setValue(newValue, true); } public void setValue(int newValue, boolean update) { newValue = getLimitedValue(newValue); if (mValue != newValue) { - mValue = newValue; - if (update && mSeekBar != null) - mSeekBar.setProgress(getSeekValue(mValue)); + if (update && mSeekBar != null) { + // By just setting progress, onProgressChanged handles persistence + mSeekBar.setProgress(getSeekValue(newValue)); + } else { + if (callChangeListener(newValue)) { + changeValue(newValue); + persistInt(newValue); + mValue = newValue; + updateValueViews(); + } + } } } @@ -372,4 +378,4 @@ public void setMin(int min) { public void refresh(int newValue) { setValue(newValue, mSeekBar != null); } -} +} \ No newline at end of file diff --git a/src/com/alpha/settings/trampoline/AboutActivity.java b/src/com/alpha/settings/trampoline/AboutActivity.java index 4d213ad92..f891de20e 100644 --- a/src/com/alpha/settings/trampoline/AboutActivity.java +++ b/src/com/alpha/settings/trampoline/AboutActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link About} fragment. */ public class AboutActivity extends AppCompatActivity { private static final String TAG = "AboutActivity"; diff --git a/src/com/alpha/settings/trampoline/ButtonsActivity.java b/src/com/alpha/settings/trampoline/ButtonsActivity.java index e336efe2d..b105989f7 100644 --- a/src/com/alpha/settings/trampoline/ButtonsActivity.java +++ b/src/com/alpha/settings/trampoline/ButtonsActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link Buttons} fragment. */ public class ButtonsActivity extends AppCompatActivity { private static final String TAG = "ButtonsActivity"; diff --git a/src/com/alpha/settings/trampoline/CutoutProgressSettingsActivity.kt b/src/com/alpha/settings/trampoline/CutoutProgressSettingsActivity.kt new file mode 100644 index 000000000..59c7c2c63 --- /dev/null +++ b/src/com/alpha/settings/trampoline/CutoutProgressSettingsActivity.kt @@ -0,0 +1,10 @@ +package com.alpha.settings.trampoline + +import com.android.settings.SettingsActivity +import com.alpha.settings.fragments.statusbar.CutoutProgressSettingsFragment + +class CutoutProgressSettingsActivity : SettingsActivity() { + override fun isValidFragment(fragmentName: String): Boolean { + return CutoutProgressSettingsFragment::class.java.name == fragmentName + } +} \ No newline at end of file diff --git a/src/com/alpha/settings/trampoline/LockScreenActivity.java b/src/com/alpha/settings/trampoline/LockScreenActivity.java index ce33a60ba..66f89b9f6 100644 --- a/src/com/alpha/settings/trampoline/LockScreenActivity.java +++ b/src/com/alpha/settings/trampoline/LockScreenActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link LockScreen} fragment. */ public class LockScreenActivity extends AppCompatActivity { private static final String TAG = "LockScreenActivity"; diff --git a/src/com/alpha/settings/trampoline/MiscellaneousActivity.java b/src/com/alpha/settings/trampoline/MiscellaneousActivity.java index a1e400b36..072997453 100644 --- a/src/com/alpha/settings/trampoline/MiscellaneousActivity.java +++ b/src/com/alpha/settings/trampoline/MiscellaneousActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link Miscellaneous} fragment. */ public class MiscellaneousActivity extends AppCompatActivity { private static final String TAG = "MiscellaneousActivity"; diff --git a/src/com/alpha/settings/trampoline/NotificationsActivity.java b/src/com/alpha/settings/trampoline/NotificationsActivity.java index cee7e6f36..4b3f727a8 100644 --- a/src/com/alpha/settings/trampoline/NotificationsActivity.java +++ b/src/com/alpha/settings/trampoline/NotificationsActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link Notifications} fragment. */ public class NotificationsActivity extends AppCompatActivity { private static final String TAG = "NotificationsActivity"; diff --git a/src/com/alpha/settings/trampoline/QuickSettingsActivity.java b/src/com/alpha/settings/trampoline/QuickSettingsActivity.java index db2e00f95..86617da13 100644 --- a/src/com/alpha/settings/trampoline/QuickSettingsActivity.java +++ b/src/com/alpha/settings/trampoline/QuickSettingsActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link QuickSettings} fragment. */ public class QuickSettingsActivity extends AppCompatActivity { private static final String TAG = "QuickSettingsActivity"; diff --git a/src/com/alpha/settings/trampoline/SoundActivity.java b/src/com/alpha/settings/trampoline/SoundActivity.java index 12ec07ead..084aa9c39 100644 --- a/src/com/alpha/settings/trampoline/SoundActivity.java +++ b/src/com/alpha/settings/trampoline/SoundActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link Sound} fragment. */ public class SoundActivity extends AppCompatActivity { private static final String TAG = "SoundActivity"; diff --git a/src/com/alpha/settings/trampoline/StatusBarActivity.java b/src/com/alpha/settings/trampoline/StatusBarActivity.java index 1f731fbd4..b4b7ba7bb 100644 --- a/src/com/alpha/settings/trampoline/StatusBarActivity.java +++ b/src/com/alpha/settings/trampoline/StatusBarActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link StatusBar} fragment. */ public class StatusBarActivity extends AppCompatActivity { private static final String TAG = "StatusBarActivity"; diff --git a/src/com/alpha/settings/trampoline/UserInterfaceActivity.java b/src/com/alpha/settings/trampoline/UserInterfaceActivity.java index b57301180..af85225e9 100644 --- a/src/com/alpha/settings/trampoline/UserInterfaceActivity.java +++ b/src/com/alpha/settings/trampoline/UserInterfaceActivity.java @@ -25,7 +25,7 @@ import com.android.internal.logging.nano.MetricsProto.MetricsEvent; import com.android.settings.core.SubSettingLauncher; -/** Trampoline activity for launching the {@link FirmwareVersionSettings} fragment. */ +/** Trampoline activity for launching the {@link UserInterface} fragment. */ public class UserInterfaceActivity extends AppCompatActivity { private static final String TAG = "UserInterfaceActivity";