Merge "Make clock picker view model aware of if edited" into main
diff --git a/res/values-af/strings.xml b/res/values-af/strings.xml
index a5eb1a7..5f8a2cc 100644
--- a/res/values-af/strings.xml
+++ b/res/values-af/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Groot"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Klein"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"’n Klein horlosie word in die hoek van jou skerm gewys"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Approoster"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Appvorm & uitleg"</string>
<string name="grid_layout" msgid="370175667652663686">"Uitleg"</string>
diff --git a/res/values-am/strings.xml b/res/values-am/strings.xml
index f9d37ec..0c4ee53 100644
--- a/res/values-am/strings.xml
+++ b/res/values-am/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ትልቅ"</string>
<string name="clock_size_small" msgid="2280449912094164133">"ትንሽ"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"በእርስዎ ማያ ገፅ ጥግ ላይ ትንሽ ሰዓት ይታያል"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"የመተግበሪያ ፍርግርግ"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"የመተግበሪያ ቅርጽ እና አቀማመጥ"</string>
<string name="grid_layout" msgid="370175667652663686">"አቀማመጥ"</string>
diff --git a/res/values-ar/strings.xml b/res/values-ar/strings.xml
index d711f70..207b4dd 100644
--- a/res/values-ar/strings.xml
+++ b/res/values-ar/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"كبير"</string>
<string name="clock_size_small" msgid="2280449912094164133">"صغير"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"تظهر ساعة صغيرة في زاوية الشاشة"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"شبكة التطبيقات"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"شكل التطبيق وتصميمه"</string>
<string name="grid_layout" msgid="370175667652663686">"التصميم"</string>
diff --git a/res/values-as/strings.xml b/res/values-as/strings.xml
index 411879c..9de5beb 100644
--- a/res/values-as/strings.xml
+++ b/res/values-as/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ডাঙৰ"</string>
<string name="clock_size_small" msgid="2280449912094164133">"সৰু"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"আপোনাৰ স্ক্ৰীনখনৰ চুকত এটা সৰু ঘড়ীয়ে দেখুৱায়"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"এপৰ গ্ৰিড"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"এপৰ আকৃতি আৰু লে’আউট"</string>
<string name="grid_layout" msgid="370175667652663686">"লে’আউট"</string>
diff --git a/res/values-az/strings.xml b/res/values-az/strings.xml
index 9c5312b..8e1dd17 100644
--- a/res/values-az/strings.xml
+++ b/res/values-az/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Böyük"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Kiçik"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Ekranın mərkəzində kiçik saat görünür"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Tətbiq toru"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Tətbiq forması və düzən"</string>
<string name="grid_layout" msgid="370175667652663686">"Düzən"</string>
diff --git a/res/values-b+sr+Latn/strings.xml b/res/values-b+sr+Latn/strings.xml
index be31f3c..9d3ca93 100644
--- a/res/values-b+sr+Latn/strings.xml
+++ b/res/values-b+sr+Latn/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Veliko"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Mali"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Mali sat se prikazuje u uglu ekrana"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Mreža apl."</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Oblik i izgled"</string>
<string name="grid_layout" msgid="370175667652663686">"Izgled"</string>
diff --git a/res/values-be/strings.xml b/res/values-be/strings.xml
index cefce68..dde74d3 100644
--- a/res/values-be/strings.xml
+++ b/res/values-be/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Вялікі"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Дробны"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Невялікі гадзіннік у вугле экрана"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Сетка праграм"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Форма і кампаноўка праграмы"</string>
<string name="grid_layout" msgid="370175667652663686">"Макет"</string>
diff --git a/res/values-bg/strings.xml b/res/values-bg/strings.xml
index 1ddbd7b..dc71544 100644
--- a/res/values-bg/strings.xml
+++ b/res/values-bg/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Голям"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Малък"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"В ъгъла на екрана се показва малък часовник"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Решетка с прил."</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Оформление и форма"</string>
<string name="grid_layout" msgid="370175667652663686">"Оформление"</string>
diff --git a/res/values-bn/strings.xml b/res/values-bn/strings.xml
index 98c51d6..e06a70c 100644
--- a/res/values-bn/strings.xml
+++ b/res/values-bn/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"বড়"</string>
<string name="clock_size_small" msgid="2280449912094164133">"ছোট করুন"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"স্ক্রিনের কোনায় একটি ছোট ঘড়ি দেখানো হয়"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"অ্যাপ গ্রিড"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"অ্যাপ শেপ ও লেআউট"</string>
<string name="grid_layout" msgid="370175667652663686">"লেআউট"</string>
diff --git a/res/values-bs/strings.xml b/res/values-bs/strings.xml
index b600f86..3e62594 100644
--- a/res/values-bs/strings.xml
+++ b/res/values-bs/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Veliko"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Malo"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Mali sat se prikazuje u uglu vašeg ekrana"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Mreža aplikacija"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Oblik i raspored apl."</string>
<string name="grid_layout" msgid="370175667652663686">"Raspored"</string>
diff --git a/res/values-ca/strings.xml b/res/values-ca/strings.xml
index cfe9860..29c965f 100644
--- a/res/values-ca/strings.xml
+++ b/res/values-ca/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Gran"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Petit"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Es mostra un rellotge petit a l\'extrem de la pantalla"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Quadrícula d\'apps"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Forma i disseny d\'app"</string>
<string name="grid_layout" msgid="370175667652663686">"Disseny"</string>
diff --git a/res/values-cs/strings.xml b/res/values-cs/strings.xml
index 57869ff..f46380c 100644
--- a/res/values-cs/strings.xml
+++ b/res/values-cs/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Velká"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Malá"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"V rohu obrazovky se zobrazují malé hodiny"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Mřížka aplikací"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Tvar a rovrž."</string>
<string name="grid_layout" msgid="370175667652663686">"Rozvržení"</string>
diff --git a/res/values-da/strings.xml b/res/values-da/strings.xml
index 9ff8a43..bba2785 100644
--- a/res/values-da/strings.xml
+++ b/res/values-da/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Stor"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Lille"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Et lille ur vises i hjørnet af skærmen"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Appgitter"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Appform og layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml
index 7a4dadb..7f20899 100644
--- a/res/values-de/strings.xml
+++ b/res/values-de/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Groß"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Klein"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Eine kleine Uhr wird in der Ecke des Displays angezeigt"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"App-Raster"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Formen & Layouts"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-el/strings.xml b/res/values-el/strings.xml
index 0c75a68..2f79b5e 100644
--- a/res/values-el/strings.xml
+++ b/res/values-el/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Μεγάλο"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Μικρό"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Ένα μικρό ρολόι εμφανίζεται στη γωνία της οθόνης"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Πλέγμα εφαρμ."</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Σχήμα, διάταξη"</string>
<string name="grid_layout" msgid="370175667652663686">"Διάταξη"</string>
diff --git a/res/values-en-rAU/strings.xml b/res/values-en-rAU/strings.xml
index 4289a97..46a584a 100644
--- a/res/values-en-rAU/strings.xml
+++ b/res/values-en-rAU/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Large"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Small"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"A small clock shows in the corner of your screen"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"App grid"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"App shape and layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-en-rCA/strings.xml b/res/values-en-rCA/strings.xml
index 9e9745a..bf361e6 100644
--- a/res/values-en-rCA/strings.xml
+++ b/res/values-en-rCA/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Large"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Small"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"A small clock shows in the corner of your screen"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"App grid"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"App shape & layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-en-rGB/strings.xml b/res/values-en-rGB/strings.xml
index 4289a97..46a584a 100644
--- a/res/values-en-rGB/strings.xml
+++ b/res/values-en-rGB/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Large"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Small"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"A small clock shows in the corner of your screen"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"App grid"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"App shape and layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-en-rIN/strings.xml b/res/values-en-rIN/strings.xml
index 4289a97..46a584a 100644
--- a/res/values-en-rIN/strings.xml
+++ b/res/values-en-rIN/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Large"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Small"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"A small clock shows in the corner of your screen"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"App grid"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"App shape and layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-es-rUS/strings.xml b/res/values-es-rUS/strings.xml
index 72b1eb3..df9664f 100644
--- a/res/values-es-rUS/strings.xml
+++ b/res/values-es-rUS/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grande"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Pequeño"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Aparece un reloj pequeño en la esquina de tu pantalla"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Cuadrícula de apps"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Forma y diseño"</string>
<string name="grid_layout" msgid="370175667652663686">"Diseño"</string>
diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml
index e78077e..95aedad 100644
--- a/res/values-es/strings.xml
+++ b/res/values-es/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grande"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Pequeño"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Se muestra un pequeño reloj en la esquina de la pantalla"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Cuadrícula de apps"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Forma y diseño"</string>
<string name="grid_layout" msgid="370175667652663686">"Diseño"</string>
diff --git a/res/values-et/strings.xml b/res/values-et/strings.xml
index 70b20c9..c5cc93d 100644
--- a/res/values-et/strings.xml
+++ b/res/values-et/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Suur"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Väike"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Ekraaninurgas kuvatakse väike kell"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Rak. ruudustik"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Rakenduse kuju ja paigutus"</string>
<string name="grid_layout" msgid="370175667652663686">"Paigutus"</string>
diff --git a/res/values-eu/strings.xml b/res/values-eu/strings.xml
index 050e73a..80280ac 100644
--- a/res/values-eu/strings.xml
+++ b/res/values-eu/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Handia"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Txikia"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Erloju txiki bat agertzen da pantailaren izkinan"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Aplikazioen sareta"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Aplikazioaren forma eta diseinua"</string>
<string name="grid_layout" msgid="370175667652663686">"Diseinua"</string>
diff --git a/res/values-fa/strings.xml b/res/values-fa/strings.xml
index f0f97bb..e3915a9 100644
--- a/res/values-fa/strings.xml
+++ b/res/values-fa/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"بزرگ"</string>
<string name="clock_size_small" msgid="2280449912094164133">"کوچک"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"ساعت کوچکی در گوشه صفحهنمایش شما نشان داده میشود"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"شبکه برنامهها"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"شکل و چیدمان برنامه"</string>
<string name="grid_layout" msgid="370175667652663686">"چیدمان"</string>
diff --git a/res/values-fi/strings.xml b/res/values-fi/strings.xml
index eed1ce1..2b53682 100644
--- a/res/values-fi/strings.xml
+++ b/res/values-fi/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Suuri"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Pieni"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Näytön reunassa näkyy pieni kello"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Ruudukko"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Muoto ja asettelu"</string>
<string name="grid_layout" msgid="370175667652663686">"Asettelu"</string>
diff --git a/res/values-fr-rCA/strings.xml b/res/values-fr-rCA/strings.xml
index 9c1f11b..daaaebb 100644
--- a/res/values-fr-rCA/strings.xml
+++ b/res/values-fr-rCA/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grande"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Petite"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Une petite horloge s\'affiche dans le coin de votre écran"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grille d\'applis"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Mise en page"</string>
<string name="grid_layout" msgid="370175667652663686">"Mise en page"</string>
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index d88eb36..79c559d 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grande"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Petite"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Une petite horloge s\'affiche dans le coin de votre écran"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grille d\'applis"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Forme et mise en page de l\'appli"</string>
<string name="grid_layout" msgid="370175667652663686">"Mise en page"</string>
diff --git a/res/values-gl/strings.xml b/res/values-gl/strings.xml
index f7a93de..5f91451 100644
--- a/res/values-gl/strings.xml
+++ b/res/values-gl/strings.xml
@@ -43,8 +43,12 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grande"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Pequeno"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Un pequeno reloxo móstrase na esquina da pantalla"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grade de apps"</string>
- <string name="shape_and_grid_title" msgid="9092477491363761054">"Deseño e forma da app"</string>
+ <string name="shape_and_grid_title" msgid="9092477491363761054">"Deseño e forma"</string>
<string name="grid_layout" msgid="370175667652663686">"Deseño"</string>
<string name="apply_theme_btn" msgid="6293081192321303991">"Aplicar"</string>
<string name="edit_custom_theme_lbl" msgid="5211377705710775224">"Toca para editar"</string>
diff --git a/res/values-gu/strings.xml b/res/values-gu/strings.xml
index 265f9aa..52968ee 100644
--- a/res/values-gu/strings.xml
+++ b/res/values-gu/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"મોટું"</string>
<string name="clock_size_small" msgid="2280449912094164133">"નાનું"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"તમારી સ્ક્રીનના ખૂણામાં એક નાની ઘડિયાળ દેખાય છે"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ઍપ ગ્રિડ"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ઍપનો આકાર+લેઆઉટ"</string>
<string name="grid_layout" msgid="370175667652663686">"લેઆઉટ"</string>
diff --git a/res/values-hi/strings.xml b/res/values-hi/strings.xml
index c0521f3..62d77b9 100644
--- a/res/values-hi/strings.xml
+++ b/res/values-hi/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"बड़ा"</string>
<string name="clock_size_small" msgid="2280449912094164133">"छोटा"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"आपके डिवाइस की स्क्रीन के कोने में एक छोटी घड़ी दिखती है"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ऐप्लिकेशन ग्रिड"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ऐप का शेप और लेआउट"</string>
<string name="grid_layout" msgid="370175667652663686">"लेआउट"</string>
diff --git a/res/values-hr/strings.xml b/res/values-hr/strings.xml
index dc723c5..18a324c 100644
--- a/res/values-hr/strings.xml
+++ b/res/values-hr/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Velik"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Mali sat"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"U kutu zaslona prikazuje se mali sat"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Rešetka aplikacija"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Oblik i izgled aplikacije"</string>
<string name="grid_layout" msgid="370175667652663686">"Izgled"</string>
diff --git a/res/values-hu/strings.xml b/res/values-hu/strings.xml
index c58c268..a355d7b 100644
--- a/res/values-hu/strings.xml
+++ b/res/values-hu/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Nagy"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Kicsi"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Megjelenik egy kis óra a képernyő sarkában."</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Alkalmazásrács"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Forma és elrendezés"</string>
<string name="grid_layout" msgid="370175667652663686">"Elrendezés"</string>
diff --git a/res/values-hy/strings.xml b/res/values-hy/strings.xml
index e9f1b73..fe71bc0 100644
--- a/res/values-hy/strings.xml
+++ b/res/values-hy/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Մեծ"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Փոքր"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Էկրանի անկյունում ցուցադրվում է փոքրիկ ժամացույց"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Հավելվածների ցանց"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Ձև և դասավորություն"</string>
<string name="grid_layout" msgid="370175667652663686">"Դասավորություն"</string>
diff --git a/res/values-in/strings.xml b/res/values-in/strings.xml
index a373541..8500f85 100644
--- a/res/values-in/strings.xml
+++ b/res/values-in/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Besar"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Kecil"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Jam kecil ditampilkan di sudut layar"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Petak aplikasi"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Bentuk & tata letak aplikasi"</string>
<string name="grid_layout" msgid="370175667652663686">"Tata letak"</string>
diff --git a/res/values-is/strings.xml b/res/values-is/strings.xml
index 059f473..7da4939 100644
--- a/res/values-is/strings.xml
+++ b/res/values-is/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Stór"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Lítil"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Lítil klukka birtist í horni skjásins"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Forritatafla"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Lögun forrits og uppsetning"</string>
<string name="grid_layout" msgid="370175667652663686">"Útlit"</string>
diff --git a/res/values-it/strings.xml b/res/values-it/strings.xml
index 2ce6ee4..3c1eb86 100644
--- a/res/values-it/strings.xml
+++ b/res/values-it/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grandi"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Piccole"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Un piccolo orologio visualizzato nell\'angolo dello schermo"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Griglia di app"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Layout/Forma app"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-iw/strings.xml b/res/values-iw/strings.xml
index 35640ed..1026229 100644
--- a/res/values-iw/strings.xml
+++ b/res/values-iw/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"גדול"</string>
<string name="clock_size_small" msgid="2280449912094164133">"קטן"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"שעון קטן מופיע בפינת המסך"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"תצוגת האפליקציות"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"הצורה והפריסה של האפליקציה"</string>
<string name="grid_layout" msgid="370175667652663686">"פריסה"</string>
diff --git a/res/values-ja/strings.xml b/res/values-ja/strings.xml
index 4aabafa..431c823 100644
--- a/res/values-ja/strings.xml
+++ b/res/values-ja/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"大"</string>
<string name="clock_size_small" msgid="2280449912094164133">"小"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"画面の隅に小さい時計を表示します"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"アプリグリッド"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"アプリの形状とレイアウト"</string>
<string name="grid_layout" msgid="370175667652663686">"レイアウト"</string>
diff --git a/res/values-ka/strings.xml b/res/values-ka/strings.xml
index a34861b..02e5bca 100644
--- a/res/values-ka/strings.xml
+++ b/res/values-ka/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"დიდი"</string>
<string name="clock_size_small" msgid="2280449912094164133">"პატარა"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"პატარა საათი მოთავსებულია თქვენი ეკრანის კუთხეში"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"აპების ბადე"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"აპის ფორმა და განლაგება"</string>
<string name="grid_layout" msgid="370175667652663686">"განლაგება"</string>
diff --git a/res/values-kk/strings.xml b/res/values-kk/strings.xml
index 244dde1..ce49100 100644
--- a/res/values-kk/strings.xml
+++ b/res/values-kk/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Үлкен"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Кішi"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Экранның бұрышында шағын сағат көрсетіледі."</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Қолданбалар торы"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Пішін, формат"</string>
<string name="grid_layout" msgid="370175667652663686">"Формат"</string>
diff --git a/res/values-km/strings.xml b/res/values-km/strings.xml
index 46f0b41..130ba01 100644
--- a/res/values-km/strings.xml
+++ b/res/values-km/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ធំ"</string>
<string name="clock_size_small" msgid="2280449912094164133">"តូច"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"នាឡិកាតូចមួយបង្ហាញនៅជ្រុងនៃអេក្រង់របស់អ្នក"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ក្រឡាកម្មវិធី"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"រូបរាង និងប្លង់កម្មវិធី"</string>
<string name="grid_layout" msgid="370175667652663686">"ប្លង់"</string>
diff --git a/res/values-kn/strings.xml b/res/values-kn/strings.xml
index 55632a5..8c2edba 100644
--- a/res/values-kn/strings.xml
+++ b/res/values-kn/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ದೊಡ್ಡದು"</string>
<string name="clock_size_small" msgid="2280449912094164133">"ಚಿಕ್ಕದು"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"ನಿಮ್ಮ ಸ್ಕ್ರೀನ್ನ ಮೂಲೆಯಲ್ಲಿ ಸಣ್ಣ ಗಡಿಯಾರವೊಂದು ಕಾಣಿಸುತ್ತದೆ"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ಆ್ಯಪ್ ಗ್ರಿಡ್"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ಆ್ಯಪ್ ಆಕಾರ, ಲೇಔಟ್"</string>
<string name="grid_layout" msgid="370175667652663686">"ಲೇಔಟ್"</string>
diff --git a/res/values-ko/strings.xml b/res/values-ko/strings.xml
index b37fd42..3c80e0f 100644
--- a/res/values-ko/strings.xml
+++ b/res/values-ko/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"크게"</string>
<string name="clock_size_small" msgid="2280449912094164133">"작게"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"작은 시계가 화면 모서리에 표시됩니다."</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"앱 그리드"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"앱 모양 및 레이아웃"</string>
<string name="grid_layout" msgid="370175667652663686">"레이아웃"</string>
diff --git a/res/values-ky/strings.xml b/res/values-ky/strings.xml
index a9ed407..e180f41 100644
--- a/res/values-ky/strings.xml
+++ b/res/values-ky/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Чоң"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Кичине"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Кичинекей саат экрандын бурчунда көрүнүп турат"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Колдонмолор торчосу"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Формасы, калыбы"</string>
<string name="grid_layout" msgid="370175667652663686">"Калып"</string>
diff --git a/res/values-lo/strings.xml b/res/values-lo/strings.xml
index cf7109d..ecd6027 100644
--- a/res/values-lo/strings.xml
+++ b/res/values-lo/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ໃຫຍ່"</string>
<string name="clock_size_small" msgid="2280449912094164133">"ນ້ອຍ"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"ໂມງນ້ອຍທີ່ສະແດງຢູ່ໃນມຸມຂອງໜ້າຈໍທ່ານ"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ຕາຕະລາງແອັບ"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ຮູບຮ່າງ ແລະ ໂຄງຮ່າງແອັບ"</string>
<string name="grid_layout" msgid="370175667652663686">"ໂຄງຮ່າງ"</string>
diff --git a/res/values-lt/strings.xml b/res/values-lt/strings.xml
index 4c66981..5e6cd49 100644
--- a/res/values-lt/strings.xml
+++ b/res/values-lt/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Didelis"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Mažas"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Ekrano kampe rodomas nedidelis laikrodis"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Pr. tinklelis"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Progr. forma ir išd."</string>
<string name="grid_layout" msgid="370175667652663686">"Išdėstymas"</string>
diff --git a/res/values-lv/strings.xml b/res/values-lv/strings.xml
index f9383a5..80504ba 100644
--- a/res/values-lv/strings.xml
+++ b/res/values-lv/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Liels"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Mazs"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Jūsu ekrāna stūrī tiek rādīts neliels pulkstenis."</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Lietotņu režģis"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Lietotnes forma un izkārtojums"</string>
<string name="grid_layout" msgid="370175667652663686">"Izkārtojums"</string>
diff --git a/res/values-mk/strings.xml b/res/values-mk/strings.xml
index 82430b9..6923d3e 100644
--- a/res/values-mk/strings.xml
+++ b/res/values-mk/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Голема"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Мала"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Во аголот на екранот се прикажува мал часовник"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Мрежа"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Распоред и форма"</string>
<string name="grid_layout" msgid="370175667652663686">"Распоред"</string>
diff --git a/res/values-ml/strings.xml b/res/values-ml/strings.xml
index 2665914..d868c23 100644
--- a/res/values-ml/strings.xml
+++ b/res/values-ml/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"വലുത്"</string>
<string name="clock_size_small" msgid="2280449912094164133">"ചെറുത്"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"സ്ക്രീനിന്റെ മൂലയിൽ ഒരു ചെറിയ ക്ലോക്ക് കാണിക്കുന്നു"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ആപ്പ് ഗ്രിഡ്"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ആപ്പ് രൂപവും ലേഔട്ടും"</string>
<string name="grid_layout" msgid="370175667652663686">"ലേഔട്ട്"</string>
diff --git a/res/values-mn/strings.xml b/res/values-mn/strings.xml
index 09ba978..8ce6e7c 100644
--- a/res/values-mn/strings.xml
+++ b/res/values-mn/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Том"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Жижиг"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Таны дэлгэцийн буланд жижиг цаг харуулдаг"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Аппын хүснэгт"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Аппын хэлбэр, бүдүүвч"</string>
<string name="grid_layout" msgid="370175667652663686">"Бүдүүвч"</string>
diff --git a/res/values-mr/strings.xml b/res/values-mr/strings.xml
index ccdbeb3..5ed14b5 100644
--- a/res/values-mr/strings.xml
+++ b/res/values-mr/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"मोठा"</string>
<string name="clock_size_small" msgid="2280449912094164133">"छोटे"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"तुमच्या स्क्रीनच्या कोपऱ्यामध्ये एक लहान घड्याळ दिसते"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ॲप ग्रिड"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"अॅप आकार व लेआउट"</string>
<string name="grid_layout" msgid="370175667652663686">"लेआउट"</string>
diff --git a/res/values-ms/strings.xml b/res/values-ms/strings.xml
index 92221e2..ced1851 100644
--- a/res/values-ms/strings.xml
+++ b/res/values-ms/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Besar"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Kecil"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Jam kecil dipaparkan di penjuru skrin"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grid apl"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Bentuk & reka letak apl"</string>
<string name="grid_layout" msgid="370175667652663686">"Reka letak"</string>
diff --git a/res/values-my/strings.xml b/res/values-my/strings.xml
index 9b91b12..fdd2f3c 100644
--- a/res/values-my/strings.xml
+++ b/res/values-my/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ကြီး"</string>
<string name="clock_size_small" msgid="2280449912094164133">"သေး"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"သင့်ဖန်သားပြင်ထောင့်တွင် ပြသထားသော နာရီအသေးတစ်ခု"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"အက်ပ်ဇယား"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"အက်ပ်ပုံစံ၊ အပြင်အဆင်"</string>
<string name="grid_layout" msgid="370175667652663686">"အပြင်အဆင်"</string>
diff --git a/res/values-nb/strings.xml b/res/values-nb/strings.xml
index 0ded53b..5eb6249 100644
--- a/res/values-nb/strings.xml
+++ b/res/values-nb/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Stor"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Liten"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"En liten klokke vises i hjørnet av skjermen"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Apprutenett"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Appform/-layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Oppsett"</string>
diff --git a/res/values-ne/strings.xml b/res/values-ne/strings.xml
index cdb170f..39f8feb 100644
--- a/res/values-ne/strings.xml
+++ b/res/values-ne/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ठुलो"</string>
<string name="clock_size_small" msgid="2280449912094164133">"सानो"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"तपाईंको स्क्रिनको कुनामा सानो घडी देखा पर्छ"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"एप ग्रिड"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"एपको आकार र लेआउट"</string>
<string name="grid_layout" msgid="370175667652663686">"लेआउट"</string>
diff --git a/res/values-nl/strings.xml b/res/values-nl/strings.xml
index 11c888d..a54b584 100644
--- a/res/values-nl/strings.xml
+++ b/res/values-nl/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Groot"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Klein"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Er wordt een kleine klok weergegeven in de hoek van het scherm"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"App-raster"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Vorm en indeling van app"</string>
<string name="grid_layout" msgid="370175667652663686">"Indeling"</string>
diff --git a/res/values-or/strings.xml b/res/values-or/strings.xml
index 5087603..29b482b 100644
--- a/res/values-or/strings.xml
+++ b/res/values-or/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ବଡ଼"</string>
<string name="clock_size_small" msgid="2280449912094164133">"ଛୋଟ"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"ଆପଣଙ୍କ ସ୍କ୍ରିନର କୋଣରେ ଏକ ଛୋଟ ଘଣ୍ଟା ଦେଖାଯାଏ"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ଆପ ଗ୍ରିଡ"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ଆପ ଆକାର ଓ ଲେଆଉଟ"</string>
<string name="grid_layout" msgid="370175667652663686">"ଲେଆଉଟ"</string>
diff --git a/res/values-pa/strings.xml b/res/values-pa/strings.xml
index aff8927..62e9f38 100644
--- a/res/values-pa/strings.xml
+++ b/res/values-pa/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ਵੱਡਾ"</string>
<string name="clock_size_small" msgid="2280449912094164133">"ਛੋਟਾ"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"ਤੁਹਾਡੀ ਸਕ੍ਰੀਨ ਦੇ ਕੋਨੇ \'ਤੇ ਇੱਕ ਛੋਟੀ ਘੜੀ ਦਿਖਾਈ ਦਿੰਦੀ ਹੈ"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ਐਪ ਗ੍ਰਿਡ"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ਐਪ ਦੀ ਆਕ੍ਰਿਤੀ ਅਤੇ ਖਾਕਾ"</string>
<string name="grid_layout" msgid="370175667652663686">"ਖਾਕਾ"</string>
diff --git a/res/values-pl/strings.xml b/res/values-pl/strings.xml
index 68540e2..05096a2 100644
--- a/res/values-pl/strings.xml
+++ b/res/values-pl/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Duży"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Mały"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Mały zegar wyświetlany w rogu ekranu"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Siatka aplikacji"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Kształt i układ aplikacji"</string>
<string name="grid_layout" msgid="370175667652663686">"Układ"</string>
diff --git a/res/values-pt-rPT/strings.xml b/res/values-pt-rPT/strings.xml
index ac69c29..4b0b55f 100644
--- a/res/values-pt-rPT/strings.xml
+++ b/res/values-pt-rPT/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grande"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Pequeno"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Um pequeno relógio é apresentado no canto do ecrã"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grelha de apps"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Esquema/forma das apps"</string>
<string name="grid_layout" msgid="370175667652663686">"Esquema"</string>
diff --git a/res/values-pt/strings.xml b/res/values-pt/strings.xml
index b718f44..4f61de2 100644
--- a/res/values-pt/strings.xml
+++ b/res/values-pt/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Grande"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Pequeno"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Um relógio pequeno aparece no canto da tela"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grade de apps"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Formato e layout do app"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-ro/strings.xml b/res/values-ro/strings.xml
index dd436a7..598e54a 100644
--- a/res/values-ro/strings.xml
+++ b/res/values-ro/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Mare"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Mică"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Un ceas mic apare în colțul ecranului"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grilă aplicații"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Formă și aspect"</string>
<string name="grid_layout" msgid="370175667652663686">"Aspect"</string>
diff --git a/res/values-ru/strings.xml b/res/values-ru/strings.xml
index cf47d15..0fca656 100644
--- a/res/values-ru/strings.xml
+++ b/res/values-ru/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Большой"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Маленький"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Небольшие часы в углу экрана"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Сетка приложений"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Форма прил., макет"</string>
<string name="grid_layout" msgid="370175667652663686">"Макет"</string>
diff --git a/res/values-si/strings.xml b/res/values-si/strings.xml
index f17936a..1afb96c 100644
--- a/res/values-si/strings.xml
+++ b/res/values-si/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"විශාල"</string>
<string name="clock_size_small" msgid="2280449912094164133">"කුඩා"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"ඔබේ තිරයේ කෙළවරේ කුඩා ඔරලෝසුවක් පෙන්වයි"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"යෙදුම් ජාලකය"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"යෙදුම් හැඩය සහ පිරිසැලසුම"</string>
<string name="grid_layout" msgid="370175667652663686">"පිරිසැලසුම"</string>
diff --git a/res/values-sk/strings.xml b/res/values-sk/strings.xml
index bdea5e7..8e756d8 100644
--- a/res/values-sk/strings.xml
+++ b/res/values-sk/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Veľké"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Malé"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"V rohu obrazovky sa zobrazujú malé hodiny"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Mriežka aplikácií"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Tvar a rozloženie"</string>
<string name="grid_layout" msgid="370175667652663686">"Rozloženie"</string>
diff --git a/res/values-sl/strings.xml b/res/values-sl/strings.xml
index c3c8e73..148a39f 100644
--- a/res/values-sl/strings.xml
+++ b/res/values-sl/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Velika"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Majhna"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"V kotu zaslona je prikazana majhna ura."</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Mreža aplikacij"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Oblika in postavitev aplikacije"</string>
<string name="grid_layout" msgid="370175667652663686">"Postavitev"</string>
diff --git a/res/values-sq/strings.xml b/res/values-sq/strings.xml
index 1b3bd83..0a2f35b 100644
--- a/res/values-sq/strings.xml
+++ b/res/values-sq/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"E madhe"</string>
<string name="clock_size_small" msgid="2280449912094164133">"E vogël"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Në këndin e ekranit shfaqet një orë e vogël"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Rrjeta e aplikacioneve"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Forma e struktura e aplikacionit"</string>
<string name="grid_layout" msgid="370175667652663686">"Struktura"</string>
diff --git a/res/values-sr/strings.xml b/res/values-sr/strings.xml
index 2dfb7d5..fdb17e5 100644
--- a/res/values-sr/strings.xml
+++ b/res/values-sr/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Велико"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Мали"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Мали сат се приказује у углу екрана"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Мрежа апл."</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Облик и изглед"</string>
<string name="grid_layout" msgid="370175667652663686">"Изглед"</string>
diff --git a/res/values-sv/strings.xml b/res/values-sv/strings.xml
index eaf2ba4..b7ed90f 100644
--- a/res/values-sv/strings.xml
+++ b/res/values-sv/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Stor"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Liten"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"En liten klockas visas i skärmens hörn"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Apprutnät"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Form och layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-sw/strings.xml b/res/values-sw/strings.xml
index d48927a..9337b09 100644
--- a/res/values-sw/strings.xml
+++ b/res/values-sw/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Kubwa"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Ndogo"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Saa ndogo inaonekana kwenye kona ya skrini yako"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Gridi ya programu"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Muundo na umbo la programu"</string>
<string name="grid_layout" msgid="370175667652663686">"Muundo"</string>
diff --git a/res/values-ta/strings.xml b/res/values-ta/strings.xml
index 103740b..a10c07a 100644
--- a/res/values-ta/strings.xml
+++ b/res/values-ta/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"பெரியது"</string>
<string name="clock_size_small" msgid="2280449912094164133">"சிறியது"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"உங்கள் திரையின் மூலையில் ஒரு சிறிய கடிகாரம் காட்டப்படும்"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ஆப்ஸ் கட்டம்"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ஆப்ஸ் வடிவம் & தளவமைப்பு"</string>
<string name="grid_layout" msgid="370175667652663686">"தளவமைப்பு"</string>
diff --git a/res/values-te/strings.xml b/res/values-te/strings.xml
index 867af7f..94eecd4 100644
--- a/res/values-te/strings.xml
+++ b/res/values-te/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"పెద్దది"</string>
<string name="clock_size_small" msgid="2280449912094164133">"చిన్నది"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"మీ స్క్రీన్ మూలన ఒక చిన్న గడియారం కనిపిస్తుంది"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"యాప్ గ్రిడ్"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"యాప్ షేప్ & లేఅవుట్"</string>
<string name="grid_layout" msgid="370175667652663686">"లేఅవుట్"</string>
diff --git a/res/values-th/strings.xml b/res/values-th/strings.xml
index 6096986..b1c0f02 100644
--- a/res/values-th/strings.xml
+++ b/res/values-th/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"ใหญ่"</string>
<string name="clock_size_small" msgid="2280449912094164133">"เล็ก"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"นาฬิกาขนาดเล็กจะแสดงที่มุมของหน้าจอ"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ตารางกริดแอป"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"รูปร่างและเลย์เอาต์แอป"</string>
<string name="grid_layout" msgid="370175667652663686">"เลย์เอาต์"</string>
diff --git a/res/values-tl/strings.xml b/res/values-tl/strings.xml
index bf0b106..24e4395 100644
--- a/res/values-tl/strings.xml
+++ b/res/values-tl/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Malaki"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Maliit"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"May makikitang maliit na orasan sa sulok ng iyong screen"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Grid ng app"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Shape ng app at layout"</string>
<string name="grid_layout" msgid="370175667652663686">"Layout"</string>
diff --git a/res/values-tr/strings.xml b/res/values-tr/strings.xml
index dba8272..8592d14 100644
--- a/res/values-tr/strings.xml
+++ b/res/values-tr/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Büyük"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Küçük"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Ekranınızın köşesinde küçük bir saat görünür"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Uygulama tablosu"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Uygulama şekli ve düzeni"</string>
<string name="grid_layout" msgid="370175667652663686">"Düzen"</string>
diff --git a/res/values-uk/strings.xml b/res/values-uk/strings.xml
index 630ee7b..2b46fb2 100644
--- a/res/values-uk/strings.xml
+++ b/res/values-uk/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Великий"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Малий"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"У куті екрана відображається маленький годинник"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Сітка додатків"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Форма й макет додатка"</string>
<string name="grid_layout" msgid="370175667652663686">"Макет"</string>
diff --git a/res/values-ur/strings.xml b/res/values-ur/strings.xml
index aa7e105..1719f44 100644
--- a/res/values-ur/strings.xml
+++ b/res/values-ur/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"بڑا"</string>
<string name="clock_size_small" msgid="2280449912094164133">"چھوٹا"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"آپ کی اسکرین کے کونے میں ایک چھوٹی گھڑی دکھائی دیتی ہے"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"ایپ گرڈ"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"ایپ شیپ و لے آؤٹ"</string>
<string name="grid_layout" msgid="370175667652663686">"لے آؤٹ"</string>
diff --git a/res/values-uz/strings.xml b/res/values-uz/strings.xml
index 2552c9a..57d9e52 100644
--- a/res/values-uz/strings.xml
+++ b/res/values-uz/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Yirik"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Kichik"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Ekran chekkasida kichik soat chiqishi"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Ilovalar jadvali"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Ilova shakli va maketi"</string>
<string name="grid_layout" msgid="370175667652663686">"Maket"</string>
diff --git a/res/values-vi/strings.xml b/res/values-vi/strings.xml
index 1af19be..9c7a257 100644
--- a/res/values-vi/strings.xml
+++ b/res/values-vi/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Lớn"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Nhỏ"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Một chiếc đồng hồ nhỏ hiển thị ở góc màn hình"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Lưới ứng dụng"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Hình dạng ứng dụng và bố cục"</string>
<string name="grid_layout" msgid="370175667652663686">"Bố cục"</string>
diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml
index 1fdb149..df748fb 100644
--- a/res/values-zh-rCN/strings.xml
+++ b/res/values-zh-rCN/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"大"</string>
<string name="clock_size_small" msgid="2280449912094164133">"小"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"一个小型时钟显示在界面一角"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"应用网格"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"应用形状和布局"</string>
<string name="grid_layout" msgid="370175667652663686">"布局"</string>
diff --git a/res/values-zh-rHK/strings.xml b/res/values-zh-rHK/strings.xml
index 4223a4e..848e8ff 100644
--- a/res/values-zh-rHK/strings.xml
+++ b/res/values-zh-rHK/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"大"</string>
<string name="clock_size_small" msgid="2280449912094164133">"小"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"在螢幕角落顯示小時鐘"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"應用程式網格"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"應用程式形狀與版面配置"</string>
<string name="grid_layout" msgid="370175667652663686">"版面配置"</string>
diff --git a/res/values-zh-rTW/strings.xml b/res/values-zh-rTW/strings.xml
index e8920a9..d3f501e 100644
--- a/res/values-zh-rTW/strings.xml
+++ b/res/values-zh-rTW/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"大"</string>
<string name="clock_size_small" msgid="2280449912094164133">"小"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"在畫面角落顯示小型時鐘"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"應用程式排列顯示"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"應用程式的形狀和版面配置"</string>
<string name="grid_layout" msgid="370175667652663686">"版面配置"</string>
diff --git a/res/values-zu/strings.xml b/res/values-zu/strings.xml
index 7fad926..6b2472c 100644
--- a/res/values-zu/strings.xml
+++ b/res/values-zu/strings.xml
@@ -43,6 +43,10 @@
<string name="clock_size_large" msgid="3143248715744138979">"Obukhulu"</string>
<string name="clock_size_small" msgid="2280449912094164133">"Esincane"</string>
<string name="clock_size_small_description" msgid="4089511196955732480">"Iwashi elincane livela ekhoneni lesikrini sakho"</string>
+ <!-- no translation found for clock_font_editor_apply (5965611025879105293) -->
+ <skip />
+ <!-- no translation found for clock_font_editor_revert (5307491447405753061) -->
+ <skip />
<string name="grid_title" msgid="1688173478777254123">"Igridi ye-app"</string>
<string name="shape_and_grid_title" msgid="9092477491363761054">"Umumo we-app nesakhiwo"</string>
<string name="grid_layout" msgid="370175667652663686">"Isakhiwo"</string>
diff --git a/src/com/android/customization/model/grid/DefaultShapeGridManager.kt b/src/com/android/customization/model/grid/DefaultShapeGridManager.kt
index 8de5ff2..966f68e 100644
--- a/src/com/android/customization/model/grid/DefaultShapeGridManager.kt
+++ b/src/com/android/customization/model/grid/DefaultShapeGridManager.kt
@@ -39,56 +39,98 @@
context.getString(R.string.grid_control_metadata_name)
private val previewUtils: PreviewUtils = PreviewUtils(context, authorityMetadataKey)
- override suspend fun isGridOptionAvailable(): Boolean {
- return previewUtils.supportsPreview() && (getGridOptions()?.size ?: 0) > 1
- }
-
override suspend fun getGridOptions(): List<GridOptionModel>? =
withContext(bgDispatcher) {
- context.contentResolver
- .query(previewUtils.getUri(LIST_OPTIONS), null, null, null, null)
- ?.use { cursor ->
- buildList {
- while (cursor.moveToNext()) {
- val rows = cursor.getInt(cursor.getColumnIndex(COL_ROWS))
- val cols = cursor.getInt(cursor.getColumnIndex(COL_COLS))
- add(
- GridOptionModel(
- key = cursor.getString(cursor.getColumnIndex(COL_NAME)),
- title =
- context.getString(
+ if (previewUtils.supportsPreview()) {
+ context.contentResolver
+ .query(previewUtils.getUri(GRID_OPTIONS), null, null, null, null)
+ ?.use { cursor ->
+ buildList {
+ while (cursor.moveToNext()) {
+ val rows = cursor.getInt(cursor.getColumnIndex(COL_ROWS))
+ val cols = cursor.getInt(cursor.getColumnIndex(COL_COLS))
+ val title =
+ cursor.getString(cursor.getColumnIndex(COL_GRID_TITLE))
+ ?: context.getString(
com.android.themepicker.R.string.grid_title_pattern,
cols,
rows,
- ),
- isCurrent =
- cursor
- .getString(cursor.getColumnIndex(COL_IS_DEFAULT))
- .toBoolean(),
- rows = rows,
- cols = cols,
+ )
+ add(
+ GridOptionModel(
+ key = cursor.getString(cursor.getColumnIndex(COL_GRID_KEY)),
+ title = title,
+ isCurrent =
+ cursor
+ .getString(cursor.getColumnIndex(COL_IS_DEFAULT))
+ .toBoolean(),
+ rows = rows,
+ cols = cols,
+ )
)
- )
+ }
}
}
- }
+ } else {
+ null
+ }
}
- override fun applyGridOption(gridName: String): Int {
+ override suspend fun getShapeOptions(): List<ShapeOptionModel>? =
+ withContext(bgDispatcher) {
+ if (previewUtils.supportsPreview()) {
+ context.contentResolver
+ .query(previewUtils.getUri(SHAPE_OPTIONS), null, null, null, null)
+ ?.use { cursor ->
+ buildList {
+ while (cursor.moveToNext()) {
+ add(
+ ShapeOptionModel(
+ key =
+ cursor.getString(cursor.getColumnIndex(COL_SHAPE_KEY)),
+ title =
+ cursor.getString(
+ cursor.getColumnIndex(COL_SHAPE_TITLE)
+ ),
+ path = cursor.getString(cursor.getColumnIndex(COL_PATH)),
+ isCurrent =
+ cursor
+ .getString(cursor.getColumnIndex(COL_IS_DEFAULT))
+ .toBoolean(),
+ )
+ )
+ }
+ }
+ }
+ } else {
+ null
+ }
+ }
+
+ override fun applyShapeGridOption(shapeKey: String, gridKey: String): Int {
return context.contentResolver.update(
- previewUtils.getUri(DEFAULT_GRID),
- ContentValues().apply { put("name", gridName) },
+ previewUtils.getUri(SHAPE_GRID),
+ ContentValues().apply {
+ put(COL_SHAPE_KEY, shapeKey)
+ put(COL_GRID_KEY, gridKey)
+ },
null,
null,
)
}
companion object {
- const val LIST_OPTIONS: String = "list_options"
- const val DEFAULT_GRID: String = "default_grid"
- const val COL_NAME: String = "name"
+ const val SHAPE_OPTIONS: String = "shape_options"
+ const val GRID_OPTIONS: String = "list_options"
+ const val SHAPE_GRID: String = "default_grid"
+ const val COL_SHAPE_KEY: String = "shape_key"
+ const val COL_GRID_KEY: String = "name"
+ const val COL_GRID_NAME: String = "grid_name"
+ const val COL_GRID_TITLE: String = "grid_title"
+ const val COL_SHAPE_TITLE: String = "shape_title"
const val COL_ROWS: String = "rows"
const val COL_COLS: String = "cols"
const val COL_IS_DEFAULT: String = "is_default"
+ const val COL_PATH: String = "path"
}
}
diff --git a/src/com/android/customization/model/grid/ShapeGridManager.kt b/src/com/android/customization/model/grid/ShapeGridManager.kt
index 1603ed9..0a23346 100644
--- a/src/com/android/customization/model/grid/ShapeGridManager.kt
+++ b/src/com/android/customization/model/grid/ShapeGridManager.kt
@@ -18,9 +18,9 @@
interface ShapeGridManager {
- suspend fun isGridOptionAvailable(): Boolean
-
suspend fun getGridOptions(): List<GridOptionModel>?
- fun applyGridOption(gridName: String): Int
+ suspend fun getShapeOptions(): List<ShapeOptionModel>?
+
+ fun applyShapeGridOption(shapeKey: String, gridKey: String): Int
}
diff --git a/src/com/android/customization/model/grid/ShapeOptionModel.kt b/src/com/android/customization/model/grid/ShapeOptionModel.kt
new file mode 100644
index 0000000..c3ed192
--- /dev/null
+++ b/src/com/android/customization/model/grid/ShapeOptionModel.kt
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2024 The Android Open Source Project
+ *
+ * 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.
+ */
+
+package com.android.customization.model.grid
+
+data class ShapeOptionModel(
+ val key: String,
+ val title: String,
+ val path: String,
+ val isCurrent: Boolean,
+)
diff --git a/src/com/android/customization/picker/grid/data/repository/ShapeGridRepository.kt b/src/com/android/customization/picker/grid/data/repository/ShapeGridRepository.kt
index 9ae4d18..86c455e 100644
--- a/src/com/android/customization/picker/grid/data/repository/ShapeGridRepository.kt
+++ b/src/com/android/customization/picker/grid/data/repository/ShapeGridRepository.kt
@@ -19,6 +19,7 @@
import com.android.customization.model.grid.GridOptionModel
import com.android.customization.model.grid.ShapeGridManager
+import com.android.customization.model.grid.ShapeOptionModel
import com.android.wallpaper.picker.di.modules.BackgroundDispatcher
import javax.inject.Inject
import javax.inject.Singleton
@@ -41,27 +42,31 @@
@BackgroundDispatcher private val bgDispatcher: CoroutineDispatcher,
) {
- suspend fun isGridOptionAvailable(): Boolean =
- withContext(bgDispatcher) { manager.isGridOptionAvailable() }
-
+ private val _shapeOptions = MutableStateFlow<List<ShapeOptionModel>?>(null)
private val _gridOptions = MutableStateFlow<List<GridOptionModel>?>(null)
init {
bgScope.launch {
- val options = manager.getGridOptions()
- _gridOptions.value = options
+ _gridOptions.value = manager.getGridOptions()
+ _shapeOptions.value = manager.getShapeOptions()
}
}
+ val shapeOptions: StateFlow<List<ShapeOptionModel>?> = _shapeOptions.asStateFlow()
+
+ val selectedShapeOption: Flow<ShapeOptionModel?> =
+ shapeOptions.map { shapeOptions -> shapeOptions?.firstOrNull { it.isCurrent } }
+
val gridOptions: StateFlow<List<GridOptionModel>?> = _gridOptions.asStateFlow()
val selectedGridOption: Flow<GridOptionModel?> =
gridOptions.map { gridOptions -> gridOptions?.firstOrNull { it.isCurrent } }
- suspend fun applySelectedOption(key: String) =
+ suspend fun applySelectedOption(shapeKey: String, gridKey: String) =
withContext(bgDispatcher) {
- manager.applyGridOption(key)
- // After applying new grid option, we should query and update the grid options again.
+ manager.applyShapeGridOption(shapeKey, gridKey)
+ // After applying, we should query and update shape and grid options again.
_gridOptions.value = manager.getGridOptions()
+ _shapeOptions.value = manager.getShapeOptions()
}
}
diff --git a/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractor.kt b/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractor.kt
index c9c2b0c..8c4522e 100644
--- a/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractor.kt
+++ b/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractor.kt
@@ -23,11 +23,15 @@
@Singleton
class ShapeGridInteractor @Inject constructor(private val repository: ShapeGridRepository) {
- suspend fun isGridOptionAvailable(): Boolean = repository.isGridOptionAvailable()
+
+ val shapeOptions = repository.shapeOptions
+
+ val selectedShapeOption = repository.selectedShapeOption
val gridOptions = repository.gridOptions
val selectedGridOption = repository.selectedGridOption
- suspend fun applySelectedOption(key: String) = repository.applySelectedOption(key)
+ suspend fun applySelectedOption(shapeKey: String, gridKey: String) =
+ repository.applySelectedOption(shapeKey, gridKey)
}
diff --git a/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModel.kt b/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModel.kt
index 7be934d..7f3c4cb 100644
--- a/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModel.kt
+++ b/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModel.kt
@@ -20,6 +20,7 @@
import android.content.res.Resources
import com.android.customization.model.ResourceConstants
import com.android.customization.model.grid.GridOptionModel
+import com.android.customization.model.grid.ShapeOptionModel
import com.android.customization.picker.grid.domain.interactor.ShapeGridInteractor
import com.android.customization.picker.grid.ui.viewmodel.GridIconViewModel
import com.android.customization.picker.grid.ui.viewmodel.ShapeIconViewModel
@@ -41,7 +42,6 @@
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.flow.filterNotNull
-import kotlinx.coroutines.flow.flowOf
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.shareIn
import kotlinx.coroutines.flow.stateIn
@@ -59,36 +59,7 @@
GRID,
}
- // TODO (b/362237825): Get the shape options from the Launcher
- val shapePaths =
- listOf(
- Pair(
- "arch",
- "M100 83.46C100 85.471 100 86.476 99.9 87.321 99.116 93.916 93.916 99.116 87.321 99.9 86.476 100 85.471 100 83.46 100H16.54C14.529 100 13.524 100 12.679 99.9 6.084 99.116.884 93.916.1 87.321 0 86.476 0 85.471 0 83.46L0 50C0 22.386 22.386 0 50 0 77.614 0 100 22.386 100 50V83.46Z",
- ),
- Pair(
- "4-sided-cookie",
- "M63.605 3C84.733-6.176 106.176 15.268 97 36.395L95.483 39.888C92.681 46.338 92.681 53.662 95.483 60.112L97 63.605C106.176 84.732 84.733 106.176 63.605 97L60.112 95.483C53.662 92.681 46.338 92.681 39.888 95.483L36.395 97C15.267 106.176-6.176 84.732 3 63.605L4.517 60.112C7.319 53.662 7.319 46.338 4.517 39.888L3 36.395C-6.176 15.268 15.267-6.176 36.395 3L39.888 4.517C46.338 7.319 53.662 7.319 60.112 4.517L63.605 3Z",
- ),
- Pair(
- "7-sided-cookie",
- "M35.209 4.878C36.326 3.895 36.884 3.404 37.397 3.006 44.82-2.742 55.18-2.742 62.603 3.006 63.116 3.404 63.674 3.895 64.791 4.878 65.164 5.207 65.351 5.371 65.539 5.529 68.167 7.734 71.303 9.248 74.663 9.932 74.902 9.981 75.147 10.025 75.637 10.113 77.1 10.375 77.831 10.506 78.461 10.66 87.573 12.893 94.032 21.011 94.176 30.412 94.186 31.062 94.151 31.805 94.08 33.293 94.057 33.791 94.045 34.04 94.039 34.285 93.958 37.72 94.732 41.121 96.293 44.18 96.404 44.399 96.522 44.618 96.759 45.056 97.467 46.366 97.821 47.021 98.093 47.611 102.032 56.143 99.727 66.266 92.484 72.24 91.983 72.653 91.381 73.089 90.177 73.961 89.774 74.254 89.572 74.4 89.377 74.548 86.647 76.626 84.477 79.353 83.063 82.483 82.962 82.707 82.865 82.936 82.671 83.395 82.091 84.766 81.8 85.451 81.51 86.033 77.31 94.44 67.977 98.945 58.801 96.994 58.166 96.859 57.451 96.659 56.019 96.259 55.54 96.125 55.3 96.058 55.063 95.998 51.74 95.154 48.26 95.154 44.937 95.998 44.699 96.058 44.46 96.125 43.981 96.259 42.549 96.659 41.834 96.859 41.199 96.994 32.023 98.945 22.69 94.44 18.49 86.033 18.2 85.451 17.909 84.766 17.329 83.395 17.135 82.936 17.038 82.707 16.937 82.483 15.523 79.353 13.353 76.626 10.623 74.548 10.428 74.4 10.226 74.254 9.823 73.961 8.619 73.089 8.017 72.653 7.516 72.24.273 66.266-2.032 56.143 1.907 47.611 2.179 47.021 2.533 46.366 3.241 45.056 3.478 44.618 3.596 44.399 3.707 44.18 5.268 41.121 6.042 37.72 5.961 34.285 5.955 34.04 5.943 33.791 5.92 33.293 5.849 31.805 5.814 31.062 5.824 30.412 5.968 21.011 12.427 12.893 21.539 10.66 22.169 10.506 22.9 10.375 24.363 10.113 24.853 10.025 25.098 9.981 25.337 9.932 28.697 9.248 31.833 7.734 34.461 5.529 34.649 5.371 34.836 5.207 35.209 4.878Z",
- ),
- Pair(
- "sunny",
- "M42.846 4.873C46.084-.531 53.916-.531 57.154 4.873L60.796 10.951C62.685 14.103 66.414 15.647 69.978 14.754L76.851 13.032C82.962 11.5 88.5 17.038 86.968 23.149L85.246 30.022C84.353 33.586 85.897 37.315 89.049 39.204L95.127 42.846C100.531 46.084 100.531 53.916 95.127 57.154L89.049 60.796C85.897 62.685 84.353 66.414 85.246 69.978L86.968 76.851C88.5 82.962 82.962 88.5 76.851 86.968L69.978 85.246C66.414 84.353 62.685 85.898 60.796 89.049L57.154 95.127C53.916 100.531 46.084 100.531 42.846 95.127L39.204 89.049C37.315 85.898 33.586 84.353 30.022 85.246L23.149 86.968C17.038 88.5 11.5 82.962 13.032 76.851L14.754 69.978C15.647 66.414 14.103 62.685 10.951 60.796L4.873 57.154C-.531 53.916-.531 46.084 4.873 42.846L10.951 39.204C14.103 37.315 15.647 33.586 14.754 30.022L13.032 23.149C11.5 17.038 17.038 11.5 23.149 13.032L30.022 14.754C33.586 15.647 37.315 14.103 39.204 10.951L42.846 4.873Z",
- ),
- Pair(
- "circle",
- "M99.18 50C99.18 77.162 77.162 99.18 50 99.18 22.838 99.18.82 77.162.82 50 .82 22.839 22.838.82 50 .82 77.162.82 99.18 22.839 99.18 50Z",
- ),
- Pair(
- "square",
- "M99.18 53.689C99.18 67.434 99.18 74.306 97.022 79.758 93.897 87.649 87.649 93.897 79.758 97.022 74.306 99.18 67.434 99.18 53.689 99.18H46.311C32.566 99.18 25.694 99.18 20.242 97.022 12.351 93.897 6.103 87.649 2.978 79.758.82 74.306.82 67.434.82 53.689L.82 46.311C.82 32.566.82 25.694 2.978 20.242 6.103 12.351 12.351 6.103 20.242 2.978 25.694.82 32.566.82 46.311.82L53.689.82C67.434.82 74.306.82 79.758 2.978 87.649 6.103 93.897 12.351 97.022 20.242 99.18 25.694 99.18 32.566 99.18 46.311V53.689Z",
- ),
- )
-
- // Tabs
+ //// Tabs
private val _selectedTab = MutableStateFlow(Tab.SHAPE)
val selectedTab: StateFlow<Tab> = _selectedTab.asStateFlow()
val tabs: Flow<List<FloatingToolbarTabViewModel>> =
@@ -117,8 +88,14 @@
)
}
+ //// Shape
+
// The currently-set system shape option
- val selectedShapeKey = flowOf(shapePaths[0].first)
+ val selectedShapeKey =
+ interactor.selectedShapeOption
+ .filterNotNull()
+ .map { it.key }
+ .shareIn(scope = viewModelScope, started = SharingStarted.Lazily, replay = 1)
private val overridingShapeKey = MutableStateFlow<String?>(null)
// If the overriding key is null, use the currently-set system shape option
val previewingShapeKey =
@@ -128,21 +105,24 @@
}
val shapeOptions: Flow<List<OptionItemViewModel<ShapeIconViewModel>>> =
- MutableStateFlow(shapePaths.map { toShapeOptionItemViewModel(it.first, it.second) })
+ interactor.shapeOptions
+ .filterNotNull()
+ .map { shapeOptions -> shapeOptions.map { toShapeOptionItemViewModel(it) } }
.shareIn(scope = viewModelScope, started = SharingStarted.Lazily, replay = 1)
+ //// Grid
+
// The currently-set system grid option
val selectedGridOption =
interactor.selectedGridOption
.filterNotNull()
.map { toGridOptionItemViewModel(it) }
.shareIn(scope = viewModelScope, started = SharingStarted.Lazily, replay = 1)
- private val overridingGridOptionKey = MutableStateFlow<String?>(null)
+ private val overridingGridKey = MutableStateFlow<String?>(null)
// If the overriding key is null, use the currently-set system grid option
- val previewingGridOptionKey =
- combine(overridingGridOptionKey, selectedGridOption) {
- overridingGridOptionKey,
- selectedGridOption ->
+ val previewingGridKey =
+ combine(overridingGridKey, selectedGridOption) { overridingGridOptionKey, selectedGridOption
+ ->
overridingGridOptionKey ?: selectedGridOption.key.value
}
@@ -153,29 +133,33 @@
.shareIn(scope = viewModelScope, started = SharingStarted.Lazily, replay = 1)
val onApply: Flow<(suspend () -> Unit)?> =
- combine(previewingGridOptionKey, selectedGridOption) {
+ combine(previewingGridKey, selectedGridOption, previewingShapeKey, selectedShapeKey) {
previewingGridOptionKey,
- selectedGridOption ->
- if (previewingGridOptionKey == selectedGridOption.key.value) {
+ selectedGridOption,
+ previewingShapeKey,
+ selectedShapeKey ->
+ if (
+ previewingGridOptionKey == selectedGridOption.key.value &&
+ previewingShapeKey == selectedShapeKey
+ ) {
null
} else {
- { interactor.applySelectedOption(previewingGridOptionKey) }
+ { interactor.applySelectedOption(previewingShapeKey, previewingGridOptionKey) }
}
}
fun resetPreview() {
overridingShapeKey.value = null
- overridingGridOptionKey.value = null
+ overridingGridKey.value = null
_selectedTab.value = Tab.SHAPE
}
private fun toShapeOptionItemViewModel(
- key: String,
- path: String,
+ option: ShapeOptionModel
): OptionItemViewModel<ShapeIconViewModel> {
val isSelected =
previewingShapeKey
- .map { it == key }
+ .map { it == option.key }
.stateIn(
scope = viewModelScope,
started = SharingStarted.Lazily,
@@ -183,14 +167,14 @@
)
return OptionItemViewModel(
- key = MutableStateFlow(key),
- payload = ShapeIconViewModel(key, path),
- text = Text.Loaded(key),
+ key = MutableStateFlow(option.key),
+ payload = ShapeIconViewModel(option.key, option.path),
+ text = Text.Loaded(option.title),
isSelected = isSelected,
onClicked =
isSelected.map {
if (!it) {
- { overridingShapeKey.value = key }
+ { overridingShapeKey.value = option.key }
} else {
null
}
@@ -211,7 +195,7 @@
)
)
val isSelected =
- previewingGridOptionKey
+ previewingGridKey
.map { it == option.key }
.stateIn(
scope = viewModelScope,
@@ -228,7 +212,7 @@
onClicked =
isSelected.map {
if (!it) {
- { overridingGridOptionKey.value = option.key }
+ { overridingGridKey.value = option.key }
} else {
null
}
diff --git a/src/com/android/wallpaper/picker/common/preview/ui/binder/ThemePickerWorkspaceCallbackBinder.kt b/src/com/android/wallpaper/picker/common/preview/ui/binder/ThemePickerWorkspaceCallbackBinder.kt
index 0dc38e8..bf612c2 100644
--- a/src/com/android/wallpaper/picker/common/preview/ui/binder/ThemePickerWorkspaceCallbackBinder.kt
+++ b/src/com/android/wallpaper/picker/common/preview/ui/binder/ThemePickerWorkspaceCallbackBinder.kt
@@ -24,6 +24,8 @@
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
+import com.android.customization.model.grid.DefaultShapeGridManager.Companion.COL_GRID_NAME
+import com.android.customization.model.grid.DefaultShapeGridManager.Companion.COL_SHAPE_KEY
import com.android.customization.picker.color.data.util.MaterialColorsGenerator
import com.android.systemui.shared.keyguard.shared.model.KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END
import com.android.systemui.shared.keyguard.shared.model.KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START
@@ -137,10 +139,19 @@
lifecycleOwner.lifecycleScope.launch {
lifecycleOwner.repeatOnLifecycle(Lifecycle.State.STARTED) {
launch {
- viewModel.shapeGridPickerViewModel.previewingGridOptionKey.collect {
+ viewModel.shapeGridPickerViewModel.previewingShapeKey.collect {
+ workspaceCallback.sendMessage(
+ MESSAGE_ID_UPDATE_SHAPE,
+ bundleOf(COL_SHAPE_KEY to it),
+ )
+ }
+ }
+
+ launch {
+ viewModel.shapeGridPickerViewModel.previewingGridKey.collect {
workspaceCallback.sendMessage(
MESSAGE_ID_UPDATE_GRID,
- bundleOf(KEY_GRID_NAME to it),
+ bundleOf(COL_GRID_NAME to it),
)
}
}
@@ -172,8 +183,8 @@
}
companion object {
+ const val MESSAGE_ID_UPDATE_SHAPE = 2586
const val MESSAGE_ID_UPDATE_GRID = 7414
- const val KEY_GRID_NAME = "grid_name"
const val MESSAGE_ID_UPDATE_COLOR = 856
const val KEY_COLOR_RESOURCE_IDS: String = "color_resource_ids"
diff --git a/tests/common/src/com/android/customization/model/grid/FakeShapeGridManager.kt b/tests/common/src/com/android/customization/model/grid/FakeShapeGridManager.kt
index a5a94c3..b1f044a 100644
--- a/tests/common/src/com/android/customization/model/grid/FakeShapeGridManager.kt
+++ b/tests/common/src/com/android/customization/model/grid/FakeShapeGridManager.kt
@@ -22,16 +22,17 @@
@Singleton
class FakeShapeGridManager @Inject constructor() : ShapeGridManager {
- var isGridOptionAvailable: Boolean = true
-
private var gridOptions: List<GridOptionModel>? = DEFAULT_GRID_OPTION_LIST
- override suspend fun isGridOptionAvailable(): Boolean = isGridOptionAvailable
+ private var shapeOptions: List<ShapeOptionModel>? = DEFAULT_SHAPE_OPTION_LIST
override suspend fun getGridOptions(): List<GridOptionModel>? = gridOptions
- override fun applyGridOption(gridName: String): Int {
- gridOptions = gridOptions?.map { it.copy(isCurrent = it.key == gridName) }
+ override suspend fun getShapeOptions(): List<ShapeOptionModel>? = shapeOptions
+
+ override fun applyShapeGridOption(shapeKey: String, gridKey: String): Int {
+ shapeOptions = shapeOptions?.map { it.copy(isCurrent = it.key == shapeKey) }
+ gridOptions = gridOptions?.map { it.copy(isCurrent = it.key == gridKey) }
return 0
}
@@ -53,5 +54,51 @@
cols = 4,
),
)
+
+ val DEFAULT_SHAPE_OPTION_LIST =
+ listOf(
+ ShapeOptionModel(
+ key = "arch",
+ title = "arch",
+ path =
+ "M100 83.46C100 85.471 100 86.476 99.9 87.321 99.116 93.916 93.916 99.116 87.321 99.9 86.476 100 85.471 100 83.46 100H16.54C14.529 100 13.524 100 12.679 99.9 6.084 99.116.884 93.916.1 87.321 0 86.476 0 85.471 0 83.46L0 50C0 22.386 22.386 0 50 0 77.614 0 100 22.386 100 50V83.46Z",
+ isCurrent = true,
+ ),
+ ShapeOptionModel(
+ key = "4-sided-cookie",
+ title = "4-sided-cookie",
+ path =
+ "M63.605 3C84.733-6.176 106.176 15.268 97 36.395L95.483 39.888C92.681 46.338 92.681 53.662 95.483 60.112L97 63.605C106.176 84.732 84.733 106.176 63.605 97L60.112 95.483C53.662 92.681 46.338 92.681 39.888 95.483L36.395 97C15.267 106.176-6.176 84.732 3 63.605L4.517 60.112C7.319 53.662 7.319 46.338 4.517 39.888L3 36.395C-6.176 15.268 15.267-6.176 36.395 3L39.888 4.517C46.338 7.319 53.662 7.319 60.112 4.517L63.605 3Z",
+ isCurrent = false,
+ ),
+ ShapeOptionModel(
+ key = "7-sided-cookie",
+ title = "7-sided-cookie",
+ path =
+ "M35.209 4.878C36.326 3.895 36.884 3.404 37.397 3.006 44.82-2.742 55.18-2.742 62.603 3.006 63.116 3.404 63.674 3.895 64.791 4.878 65.164 5.207 65.351 5.371 65.539 5.529 68.167 7.734 71.303 9.248 74.663 9.932 74.902 9.981 75.147 10.025 75.637 10.113 77.1 10.375 77.831 10.506 78.461 10.66 87.573 12.893 94.032 21.011 94.176 30.412 94.186 31.062 94.151 31.805 94.08 33.293 94.057 33.791 94.045 34.04 94.039 34.285 93.958 37.72 94.732 41.121 96.293 44.18 96.404 44.399 96.522 44.618 96.759 45.056 97.467 46.366 97.821 47.021 98.093 47.611 102.032 56.143 99.727 66.266 92.484 72.24 91.983 72.653 91.381 73.089 90.177 73.961 89.774 74.254 89.572 74.4 89.377 74.548 86.647 76.626 84.477 79.353 83.063 82.483 82.962 82.707 82.865 82.936 82.671 83.395 82.091 84.766 81.8 85.451 81.51 86.033 77.31 94.44 67.977 98.945 58.801 96.994 58.166 96.859 57.451 96.659 56.019 96.259 55.54 96.125 55.3 96.058 55.063 95.998 51.74 95.154 48.26 95.154 44.937 95.998 44.699 96.058 44.46 96.125 43.981 96.259 42.549 96.659 41.834 96.859 41.199 96.994 32.023 98.945 22.69 94.44 18.49 86.033 18.2 85.451 17.909 84.766 17.329 83.395 17.135 82.936 17.038 82.707 16.937 82.483 15.523 79.353 13.353 76.626 10.623 74.548 10.428 74.4 10.226 74.254 9.823 73.961 8.619 73.089 8.017 72.653 7.516 72.24.273 66.266-2.032 56.143 1.907 47.611 2.179 47.021 2.533 46.366 3.241 45.056 3.478 44.618 3.596 44.399 3.707 44.18 5.268 41.121 6.042 37.72 5.961 34.285 5.955 34.04 5.943 33.791 5.92 33.293 5.849 31.805 5.814 31.062 5.824 30.412 5.968 21.011 12.427 12.893 21.539 10.66 22.169 10.506 22.9 10.375 24.363 10.113 24.853 10.025 25.098 9.981 25.337 9.932 28.697 9.248 31.833 7.734 34.461 5.529 34.649 5.371 34.836 5.207 35.209 4.878Z",
+ isCurrent = false,
+ ),
+ ShapeOptionModel(
+ key = "sunny",
+ title = "sunny",
+ path =
+ "M42.846 4.873C46.084-.531 53.916-.531 57.154 4.873L60.796 10.951C62.685 14.103 66.414 15.647 69.978 14.754L76.851 13.032C82.962 11.5 88.5 17.038 86.968 23.149L85.246 30.022C84.353 33.586 85.897 37.315 89.049 39.204L95.127 42.846C100.531 46.084 100.531 53.916 95.127 57.154L89.049 60.796C85.897 62.685 84.353 66.414 85.246 69.978L86.968 76.851C88.5 82.962 82.962 88.5 76.851 86.968L69.978 85.246C66.414 84.353 62.685 85.898 60.796 89.049L57.154 95.127C53.916 100.531 46.084 100.531 42.846 95.127L39.204 89.049C37.315 85.898 33.586 84.353 30.022 85.246L23.149 86.968C17.038 88.5 11.5 82.962 13.032 76.851L14.754 69.978C15.647 66.414 14.103 62.685 10.951 60.796L4.873 57.154C-.531 53.916-.531 46.084 4.873 42.846L10.951 39.204C14.103 37.315 15.647 33.586 14.754 30.022L13.032 23.149C11.5 17.038 17.038 11.5 23.149 13.032L30.022 14.754C33.586 15.647 37.315 14.103 39.204 10.951L42.846 4.873Z",
+ isCurrent = false,
+ ),
+ ShapeOptionModel(
+ key = "circle",
+ title = "circle",
+ path =
+ "M99.18 50C99.18 77.162 77.162 99.18 50 99.18 22.838 99.18.82 77.162.82 50 .82 22.839 22.838.82 50 .82 77.162.82 99.18 22.839 99.18 50Z",
+ isCurrent = false,
+ ),
+ ShapeOptionModel(
+ key = "square",
+ title = "square",
+ path =
+ "M99.18 53.689C99.18 67.434 99.18 74.306 97.022 79.758 93.897 87.649 87.649 93.897 79.758 97.022 74.306 99.18 67.434 99.18 53.689 99.18H46.311C32.566 99.18 25.694 99.18 20.242 97.022 12.351 93.897 6.103 87.649 2.978 79.758.82 74.306.82 67.434.82 53.689L.82 46.311C.82 32.566.82 25.694 2.978 20.242 6.103 12.351 12.351 6.103 20.242 2.978 25.694.82 32.566.82 46.311.82L53.689.82C67.434.82 74.306.82 79.758 2.978 87.649 6.103 93.897 12.351 97.022 20.242 99.18 25.694 99.18 32.566 99.18 46.311V53.689Z",
+ isCurrent = false,
+ ),
+ )
}
}
diff --git a/tests/robotests/src/com/android/customization/picker/grid/data/repository/ShapeGridRepositoryTest.kt b/tests/robotests/src/com/android/customization/picker/grid/data/repository/ShapeGridRepositoryTest.kt
index 61f8743..985d983 100644
--- a/tests/robotests/src/com/android/customization/picker/grid/data/repository/ShapeGridRepositoryTest.kt
+++ b/tests/robotests/src/com/android/customization/picker/grid/data/repository/ShapeGridRepositoryTest.kt
@@ -69,52 +69,87 @@
}
@Test
- fun isGridOptionAvailable_false() =
+ fun shapeOptions_default() =
testScope.runTest {
- gridOptionsManager.isGridOptionAvailable = false
- assertThat(underTest.isGridOptionAvailable()).isFalse()
+ val gridOptions = collectLastValue(underTest.shapeOptions)
+
+ assertThat(gridOptions()).isEqualTo(FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST)
}
@Test
- fun isGridOptionAvailable_true() =
+ fun shapeOptions_shouldUpdateAfterApplyShapeGridOption() =
testScope.runTest {
- gridOptionsManager.isGridOptionAvailable = true
- assertThat(underTest.isGridOptionAvailable()).isTrue()
+ val shapeOptions = collectLastValue(underTest.shapeOptions)
+
+ underTest.applySelectedOption("circle", "practical")
+
+ assertThat(shapeOptions())
+ .isEqualTo(
+ FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST.map {
+ it.copy(isCurrent = (it.key == "circle"))
+ }
+ )
+ }
+
+ @Test
+ fun selectedShapeOption_default() =
+ testScope.runTest {
+ val selectedGridOption = collectLastValue(underTest.selectedShapeOption)
+
+ assertThat(selectedGridOption())
+ .isEqualTo(FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[0])
+ }
+
+ @Test
+ fun selectedShapeOption_shouldUpdateAfterApplyShapeGridOption() =
+ testScope.runTest {
+ val selectedShapeOption = collectLastValue(underTest.selectedShapeOption)
+
+ underTest.applySelectedOption("circle", "practical")
+
+ assertThat(selectedShapeOption())
+ .isEqualTo(FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[4].copy(isCurrent = true))
}
@Test
fun gridOptions_default() =
testScope.runTest {
val gridOptions = collectLastValue(underTest.gridOptions)
+
assertThat(gridOptions()).isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST)
}
@Test
+ fun gridOptions_shouldUpdateAfterApplyShapeGridOption() =
+ testScope.runTest {
+ val gridOptions = collectLastValue(underTest.gridOptions)
+
+ underTest.applySelectedOption("circle", "practical")
+
+ assertThat(gridOptions())
+ .isEqualTo(
+ FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST.map {
+ it.copy(isCurrent = (it.key == "practical"))
+ }
+ )
+ }
+
+ @Test
fun selectedGridOption_default() =
testScope.runTest {
val selectedGridOption = collectLastValue(underTest.selectedGridOption)
+
assertThat(selectedGridOption())
.isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST[0])
}
@Test
- fun gridOptions_shouldUpdateAfterApplyGridOption() =
- testScope.runTest {
- val gridOptions = collectLastValue(underTest.gridOptions)
- underTest.applySelectedOption("practical")
- assertThat(gridOptions())
- .isEqualTo(
- FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST.map {
- it.copy(isCurrent = it.key == "practical")
- }
- )
- }
-
- @Test
- fun selectedGridOption_shouldUpdateAfterApplyGridOption() =
+ fun selectedGridOption_shouldUpdateAfterApplyShapeGridOption() =
testScope.runTest {
val selectedGridOption = collectLastValue(underTest.selectedGridOption)
- underTest.applySelectedOption("practical")
+
+ underTest.applySelectedOption("circle", "practical")
+
assertThat(selectedGridOption())
.isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST[1].copy(isCurrent = true))
}
diff --git a/tests/robotests/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractorTest.kt b/tests/robotests/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractorTest.kt
index 51642cb..c0f519c 100644
--- a/tests/robotests/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractorTest.kt
+++ b/tests/robotests/src/com/android/customization/picker/grid/domain/interactor/ShapeGridInteractorTest.kt
@@ -61,52 +61,87 @@
}
@Test
- fun isGridOptionAvailable_false() =
+ fun shapeOptions_default() =
testScope.runTest {
- gridOptionsManager.isGridOptionAvailable = false
- assertThat(underTest.isGridOptionAvailable()).isFalse()
+ val shapeOptions = collectLastValue(underTest.shapeOptions)
+
+ assertThat(shapeOptions()).isEqualTo(FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST)
}
@Test
- fun isGridOptionAvailable_true() =
+ fun shapeOptions_shouldUpdateAfterApplyGridOption() =
testScope.runTest {
- gridOptionsManager.isGridOptionAvailable = true
- assertThat(underTest.isGridOptionAvailable()).isTrue()
+ val shapeOptions = collectLastValue(underTest.shapeOptions)
+
+ underTest.applySelectedOption("circle", "practical")
+
+ assertThat(shapeOptions())
+ .isEqualTo(
+ FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST.map {
+ it.copy(isCurrent = (it.key == "circle"))
+ }
+ )
+ }
+
+ @Test
+ fun selectedShapeOption_default() =
+ testScope.runTest {
+ val selectedShapeOption = collectLastValue(underTest.selectedShapeOption)
+
+ assertThat(selectedShapeOption())
+ .isEqualTo(FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[0])
+ }
+
+ @Test
+ fun selectedShapeOption_shouldUpdateAfterApplyGridOption() =
+ testScope.runTest {
+ val selectedShapeOption = collectLastValue(underTest.selectedShapeOption)
+
+ underTest.applySelectedOption("circle", "practical")
+
+ assertThat(selectedShapeOption())
+ .isEqualTo(FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[4].copy(isCurrent = true))
}
@Test
fun gridOptions_default() =
testScope.runTest {
val gridOptions = collectLastValue(underTest.gridOptions)
- assertThat(gridOptions()).isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST)
- }
- @Test
- fun selectedGridOption_default() =
- testScope.runTest {
- val selectedGridOption = collectLastValue(underTest.selectedGridOption)
- assertThat(selectedGridOption())
- .isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST[0])
+ assertThat(gridOptions()).isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST)
}
@Test
fun gridOptions_shouldUpdateAfterApplyGridOption() =
testScope.runTest {
val gridOptions = collectLastValue(underTest.gridOptions)
- underTest.applySelectedOption("practical")
+
+ underTest.applySelectedOption("arch", "practical")
+
assertThat(gridOptions())
.isEqualTo(
FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST.map {
- it.copy(isCurrent = it.key == "practical")
+ it.copy(isCurrent = (it.key == "practical"))
}
)
}
@Test
+ fun selectedGridOption_default() =
+ testScope.runTest {
+ val selectedGridOption = collectLastValue(underTest.selectedGridOption)
+
+ assertThat(selectedGridOption())
+ .isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST[0])
+ }
+
+ @Test
fun selectedGridOption_shouldUpdateAfterApplyGridOption() =
testScope.runTest {
val selectedGridOption = collectLastValue(underTest.selectedGridOption)
- underTest.applySelectedOption("practical")
+
+ underTest.applySelectedOption("arch", "practical")
+
assertThat(selectedGridOption())
.isEqualTo(FakeShapeGridManager.DEFAULT_GRID_OPTION_LIST[1].copy(isCurrent = true))
}
diff --git a/tests/robotests/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModelTest.kt b/tests/robotests/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModelTest.kt
index dcf658e..c99acca 100644
--- a/tests/robotests/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModelTest.kt
+++ b/tests/robotests/src/com/android/wallpaper/customization/ui/viewmodel/ShapeGridPickerViewModelTest.kt
@@ -109,14 +109,16 @@
testScope.runTest {
val shapeOptions = collectLastValue(underTest.shapeOptions)
- for (i in 0 until underTest.shapePaths.size) {
- val expectedKey = underTest.shapePaths[i].first
- val expectedPath = underTest.shapePaths[i].second
+ for (i in 0 until FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST.size) {
+ val (expectedKey, expectedPath, expectedTitle) =
+ with(FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[i]) {
+ arrayOf(key, path, title)
+ }
assertShapeItem(
optionItem = shapeOptions()?.get(i),
- key = expectedKey,
+ key = FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[i].key,
payload = ShapeIconViewModel(expectedKey, expectedPath),
- text = Text.Loaded(expectedKey),
+ text = Text.Loaded(expectedTitle),
isTextUserVisible = true,
isSelected = expectedKey == "arch",
isEnabled = true,
@@ -136,14 +138,15 @@
onCircleOptionClicked()?.invoke()
assertThat(previewingShapeKey()).isEqualTo("circle")
- for (i in 0 until underTest.shapePaths.size) {
- val expectedKey = underTest.shapePaths[i].first
- val expectedPath = underTest.shapePaths[i].second
+ for (i in 0 until FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST.size) {
+ val expectedKey = FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[i].key
+ val expectedPath = FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[i].path
+ val expectedTitle = FakeShapeGridManager.DEFAULT_SHAPE_OPTION_LIST[i].title
assertShapeItem(
optionItem = shapeOptions()?.get(i),
key = expectedKey,
payload = ShapeIconViewModel(expectedKey, expectedPath),
- text = Text.Loaded(expectedKey),
+ text = Text.Loaded(expectedTitle),
isTextUserVisible = true,
isSelected = expectedKey == "circle",
isEnabled = true,