From f7102b858dc849cc94255bc96f95b880dfd93452 Mon Sep 17 00:00:00 2001 From: Fedor917 Date: Thu, 10 Nov 2016 15:53:00 +0700 Subject: Initialising brunch based on davidevinavil device tree (CM14.0 branch) --- doze/res/drawable/switchbar_background.xml | 21 +++++++++++++ doze/res/layout/doze.xml | 28 +++++++++++++++++ doze/res/layout/switch_bar.xml | 48 ++++++++++++++++++++++++++++++ doze/res/values-gl-rES/strings.xml | 15 ---------- doze/res/values-iw/strings.xml | 1 - doze/res/values-nl/strings.xml | 2 +- doze/res/values-pl/strings.xml | 2 -- doze/res/values-sv/strings.xml | 2 -- doze/res/values/colors.xml | 23 ++++++++++++++ doze/res/values/strings.xml | 13 +++++--- doze/res/values/styles.xml | 34 +++++++++++++++++++++ doze/res/xml/doze_settings.xml | 32 ++++---------------- 12 files changed, 169 insertions(+), 52 deletions(-) create mode 100644 doze/res/drawable/switchbar_background.xml create mode 100644 doze/res/layout/doze.xml create mode 100644 doze/res/layout/switch_bar.xml create mode 100644 doze/res/values/colors.xml create mode 100644 doze/res/values/styles.xml (limited to 'doze/res') diff --git a/doze/res/drawable/switchbar_background.xml b/doze/res/drawable/switchbar_background.xml new file mode 100644 index 0000000..45f1578 --- /dev/null +++ b/doze/res/drawable/switchbar_background.xml @@ -0,0 +1,21 @@ + + + + + + + diff --git a/doze/res/layout/doze.xml b/doze/res/layout/doze.xml new file mode 100644 index 0000000..941cdf6 --- /dev/null +++ b/doze/res/layout/doze.xml @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/doze/res/layout/switch_bar.xml b/doze/res/layout/switch_bar.xml new file mode 100644 index 0000000..f98de96 --- /dev/null +++ b/doze/res/layout/switch_bar.xml @@ -0,0 +1,48 @@ + + + + + + + + + + diff --git a/doze/res/values-gl-rES/strings.xml b/doze/res/values-gl-rES/strings.xml index 809934c..c023c08 100644 --- a/doze/res/values-gl-rES/strings.xml +++ b/doze/res/values-gl-rES/strings.xml @@ -13,22 +13,7 @@ limitations under the License. --> - Visualización ambiente - Activar a pantalla ao recibir notificacións - Sempre activo - Atender ao eventos do sensor así que se apague a pantalla - Sensor de inclinación - Coller - Amosar notificacións ao coller o dispositivo - Sensor de proximidade - Pasar a man - Amosar notificacións ao pasar a man - Peto - Amosar notificacións ao sacar do peto - ACEPTAR - Axuda - Estas características usan eventos do sensor para amosar unha notificación latente. O sensor seleccionado habilitarase só cando reciba unha notificación axudando a reducir o consumo da batería. Tamén existe unha opción para activar o sensor así que se apague a pantalla, pero isto causará un maior uso da batería. diff --git a/doze/res/values-iw/strings.xml b/doze/res/values-iw/strings.xml index b3ba98f..caff68b 100644 --- a/doze/res/values-iw/strings.xml +++ b/doze/res/values-iw/strings.xml @@ -27,5 +27,4 @@ אישור עזרה - התכונות נעזרות בחיישני אירועים כדי להפעיל הדגשת התראות עם Doze. החיישן הנבחר מופעל רק כאשר המכשיר מקבל התראה, מה שעוזר להקטין את השימוש בסוללה. בנוסף, יש אפשרות להפעיל את החיישן הנבחר ברגע שהמסך נכבה, מה שעלול לגרום לשימוש רב יותר בסוללה. diff --git a/doze/res/values-nl/strings.xml b/doze/res/values-nl/strings.xml index b803eeb..a9db278 100644 --- a/doze/res/values-nl/strings.xml +++ b/doze/res/values-nl/strings.xml @@ -30,5 +30,5 @@ OK Help - Deze functies gebruiken sensoren om een Doze-puls te versturen. De gekozen sensor is alleen ingeschakeld als het apparaat een melding ontvangt. Dit helpt het accugebruik te verminderen. Er is ook een optie om de sensor te activeren zodra het scherm uitschakelt, maar dit leidt tot hoger accugebruik. + Deze functies gebruiken sensoren om een Doze-puls te versturen. De gekozen sensor is alleen ingeschakeld als het apparaat een melding ontvangt. Dit helpt het batterijgebruik te verminderen. Er is ook een optie om de sensor te activeren zodra het scherm uitschakelt, maar dit leidt tot hoger batterijgebruik. diff --git a/doze/res/values-pl/strings.xml b/doze/res/values-pl/strings.xml index ec0b8c6..aa010bf 100644 --- a/doze/res/values-pl/strings.xml +++ b/doze/res/values-pl/strings.xml @@ -15,7 +15,6 @@ Aktywny wyświetlacz Wybudź ekran po odebraniu powiadomienia - Zawsze włączone Nasłuchiwanie zdarzeń z czujników zaraz po wyłączeniu ekranu Czujnik pochylenia @@ -29,5 +28,4 @@ OK Pomoc - Te funkcje używają czujników, aby pokazywać powiadomienia tylko w odpowiednim momencie. Czujniki są wykorzystywane, kiedy telefon odbierze powiadomienie. Pozwala to w oszczędzaniu baterii. Istnieje również możliwość, aby włączyć wybrany czujnik zaraz po wyłączeniu ekranu, spowoduje to większe zużycie baterii. diff --git a/doze/res/values-sv/strings.xml b/doze/res/values-sv/strings.xml index 225a2b8..030a831 100644 --- a/doze/res/values-sv/strings.xml +++ b/doze/res/values-sv/strings.xml @@ -15,10 +15,8 @@ Plocka upp - Pulsera aviseringarna när enheten plockas upp Närhetscensor - Pulsera aviseringar när telefonen tas upp ur fickan OK Hjälp diff --git a/doze/res/values/colors.xml b/doze/res/values/colors.xml new file mode 100644 index 0000000..d598598 --- /dev/null +++ b/doze/res/values/colors.xml @@ -0,0 +1,23 @@ + + + + #ff37474f + #ff7fcac3 + #ff37474F + diff --git a/doze/res/values/strings.xml b/doze/res/values/strings.xml index 9643190..fed5b05 100644 --- a/doze/res/values/strings.xml +++ b/doze/res/values/strings.xml @@ -13,11 +13,16 @@ --> + + On + + + Off + Ambient display Wake screen when you receive notifications - - Always enable - Listen for sensor events as soon as the screen turns off + Screen will wake when you receive notifications + Screen will not wake when you receive notifications Tilt sensor @@ -34,5 +39,5 @@ OK Help - These features use sensor events to launch a doze notification pulse. The chosen sensor is only enabled when the device receives a notification, this helps to reduce battery usage. There is also an option to enable the chosen sensor as soon as the screen turns off, this will cause higher battery usage. + These features use sensor events to launch a doze notification pulse, this will cause higher battery usage. diff --git a/doze/res/values/styles.xml b/doze/res/values/styles.xml new file mode 100644 index 0000000..78d2d59 --- /dev/null +++ b/doze/res/values/styles.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml index 09e27b5..acc19d2 100644 --- a/doze/res/xml/doze_settings.xml +++ b/doze/res/xml/doze_settings.xml @@ -14,13 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --> - - - + - - + android:summary="@string/pick_up_summary" /> @@ -50,22 +37,13 @@ android:key="gesture_hand_wave" android:defaultValue="false" android:title="@string/hand_wave_gesture_title" - android:summary="@string/hand_wave_gesture_summary" - android:dependency="ambient_display" /> + android:summary="@string/hand_wave_gesture_summary" /> - - + android:summary="@string/pocket_gesture_summary" /> -- cgit v1.2.3