diff options
author | cryscript <cryscript@gmail.com> | 2017-03-22 00:55:15 +0100 |
---|---|---|
committer | davidevinavil <davidevinavil@gmail.com> | 2017-04-07 13:31:38 +0200 |
commit | 9a59a172b1a78cf0feeaf6edeec0dfecb6f87491 (patch) | |
tree | a50f505607e2a9d2396f2a04019f317a3319de3e | |
parent | 85b0f69ad2714c1d94e6142eb5505d73dc8c569a (diff) |
z2_plus: Add doze
113 files changed, 3280 insertions, 0 deletions
@@ -137,6 +137,10 @@ PRODUCT_PACKAGES += \ liboverlay \ libtinyxml +# Doze mode +PRODUCT_PACKAGES += \ + ZukDoze + # Fingerprint PRODUCT_PACKAGES += \ fingerprintd diff --git a/doze/Android.mk b/doze/Android.mk new file mode 100644 index 0000000..de136ea --- /dev/null +++ b/doze/Android.mk @@ -0,0 +1,16 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE_TAGS := optional + +LOCAL_SRC_FILES := $(call all-java-files-under, src) + +LOCAL_PACKAGE_NAME := ZukDoze +LOCAL_CERTIFICATE := platform +LOCAL_PRIVILEGED_MODULE := true + +LOCAL_PROGUARD_FLAG_FILES := proguard.flags + +include $(BUILD_PACKAGE) + +include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/doze/AndroidManifest.xml b/doze/AndroidManifest.xml new file mode 100644 index 0000000..54783eb --- /dev/null +++ b/doze/AndroidManifest.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.cyanogenmod.settings.doze" + android:versionCode="1" + android:versionName="1.0" + android:sharedUserId="android.uid.system"> + + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> + <uses-permission android:name="android.permission.WAKE_LOCK" /> + + <uses-sdk + android:minSdkVersion="21" + android:targetSdkVersion="21"/> + + <application + android:label="ZukDoze" + android:persistent="true"> + + <receiver android:name="com.cyanogenmod.settings.doze.BootCompletedReceiver"> + <intent-filter> + <action android:name="android.intent.action.BOOT_COMPLETED" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + </receiver> + + <service android:name="com.cyanogenmod.settings.doze.DozeService" + android:permission="ZukDozeService"> + </service> + + <activity + android:name=".DozeSettings" + android:label="@string/ambient_display_title" + android:theme="@android:style/Theme.Material.Settings"> + <intent-filter> + <action android:name="com.android.settings.action.EXTRA_SETTINGS" /> + </intent-filter> + <meta-data + android:name="com.android.settings.category" + android:value="com.android.settings.category.device" /> + <meta-data + android:name="com.android.settings.icon" + android:resource="@drawable/ic_settings_doze" /> + </activity> + + </application> +</manifest> diff --git a/doze/proguard.flags b/doze/proguard.flags new file mode 100644 index 0000000..a21e62f --- /dev/null +++ b/doze/proguard.flags @@ -0,0 +1,3 @@ +-keep class com.cyanogenmod.settings.doze.* { + *; +} diff --git a/doze/res/drawable/ic_settings_doze.xml b/doze/res/drawable/ic_settings_doze.xml new file mode 100644 index 0000000..8386024 --- /dev/null +++ b/doze/res/drawable/ic_settings_doze.xml @@ -0,0 +1,51 @@ +<!-- +Copyright (C) 2014 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="64dp" + android:height="64dp" + android:viewportWidth="64" + android:viewportHeight="64"> + + <group + android:translateY="-988.583"> + <path + android:fillColor="@android:color/white" + android:pathData="M15.0133 +1051.24c-1.3615-0.2479-2.37425-1.2789-2.57968-2.6262-0.06554-0.4298-0.06571-55.8484-0.00018-56.28 +0.09875-0.65024 0.367851-1.20544 0.812983-1.6773 0.402211-0.42637 +0.920053-0.7356 1.49909-0.8952l0.299302-0.0825h16.845 16.845l0.291174 +0.0804c1.24697 0.34447 2.13039 1.32473 2.32019 2.57456 0.06515 0.42898 0.06541 +55.8484 0.0003 56.28-0.188067 1.2461-1.07608 2.2305-2.32306 2.5752l-0.288567 +0.08h-16.755c-13.5267 0-16.7958 +0-16.9665-0.034zm29.8065-31.1862v-19.23h-12.99-12.99v19.23 19.23h12.99 +12.99v-19.23zm-13.459 +11.687c-1.03547-0.2354-1.77837-1.1208-1.83292-2.1845l-0.01654-0.3225h1.87175c1.02946 +0 2.10645 0.01 2.3933 0.02l0.521553 0.02-0.01945 0.253c-0.02847 0.3705-0.09559 +0.6134-0.267159 0.9672-0.135477 0.2794-0.18522 0.3474-0.439626 0.6013-0.31197 +0.3114-0.571617 0.4707-0.976866 0.5995-0.269196 0.085-0.949163 0.111-1.23404 +0.046zm-9.04096-4.1842v-0.6872l1.10534-1.0831 1.10534-1.0831 +0.02483-1.2072c0.01366-0.664 0.02781-2.213 0.03145-3.4422 0.007-2.3727 +0.01776-2.5909 0.162279-3.3 0.234013-1.1483 0.861931-2.2993 1.7263-3.1643 +0.762874-0.7634 1.91951-1.4813 3.00204-1.8633 0.262572-0.093 0.512691-0.1813 +0.555819-0.1969l0.07842-0.029 0.01577-0.426c0.01284-0.3469 0.03018-0.4706 +0.09332-0.666 0.197394-0.6109 0.642609-1.0525 1.21018-1.2004 0.365688-0.095 +0.860153-0.043 1.2089 0.1282 0.234414 0.1149 0.589851 0.4783 0.725931 0.7422 +0.171483 0.3325 0.207933 0.491 0.225975 0.9825 0.01148 0.3126 0.02671 0.4425 +0.0519 0.4425 0.01961 0 0.2844 0.088 0.588423 0.1954 2.74734 0.9715 4.21726 +2.7794 4.71985 5.805 0.171696 1.0336 0.211308 1.7926 0.259098 4.9646l0.03345 +2.22 1.10911 1.095 1.1091 1.095-0.0014 0.6825-0.0014 0.6825h-9.57-9.57v-0.6872z" /> + </group> +</vector> diff --git a/doze/res/values-af/strings.xml b/doze/res/values-af/strings.xml new file mode 100644 index 0000000..cdfdde8 --- /dev/null +++ b/doze/res/values-af/strings.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Omgewings temperatuur skerm</string> + <string name="ambient_display_summary">Skerm sal wakker word wanneer jy kennisgewings ontvang</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Kantel sensor</string> + <string name="pick_up_title">Optel</string> + <string name="pick_up_summary">Pols kennisgewings wanneer toestel opgetel word</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Nabyheid sensor</string> + <string name="hand_wave_gesture_title">Hand waai</string> + <string name="hand_wave_gesture_summary">Pols kennisgewings met hand waai</string> + <string name="pocket_gesture_title">Sak</string> + <string name="pocket_gesture_summary">Pols kennisgewings wanneer jy toestel uit jou sak haal</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Hulp</string> +</resources> diff --git a/doze/res/values-am/strings.xml b/doze/res/values-am/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-am/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ar/strings.xml b/doze/res/values-ar/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ar/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-as-rIN/strings.xml b/doze/res/values-as-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-as-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ast-rES/strings.xml b/doze/res/values-ast-rES/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ast-rES/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-az-rAZ/strings.xml b/doze/res/values-az-rAZ/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-az-rAZ/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-be-rBY/strings.xml b/doze/res/values-be-rBY/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-be-rBY/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-be/strings.xml b/doze/res/values-be/strings.xml new file mode 100644 index 0000000..c023c08 --- /dev/null +++ b/doze/res/values-be/strings.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-bg/strings.xml b/doze/res/values-bg/strings.xml new file mode 100644 index 0000000..9404273 --- /dev/null +++ b/doze/res/values-bg/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Включване</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Изключване</string> + <string name="ambient_display_title">Активен дисплей</string> + <string name="ambient_display_summary">Събуждане на екрана при получаване на известие</string> + <string name="ambient_display_summary_on">Екрана ще се събуди, когато получавате уведомления</string> + <string name="ambient_display_summary_off">Екрана няма да се събуди, когато получавате уведомления</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Сензор за наклон</string> + <string name="pick_up_title">Отговор</string> + <string name="pick_up_summary">Светлинна индикация, когато устройството е вдигнато</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Сензор за близост</string> + <string name="hand_wave_gesture_title">Махане с ръка</string> + <string name="hand_wave_gesture_summary">Показва известията при прекарване на ръка над екрана</string> + <string name="pocket_gesture_title">Джоб</string> + <string name="pocket_gesture_summary">Показва известията, когато извадите устройството от джоба си</string> + <!-- Help text --> + <string name="dlg_ok">ОK</string> + <string name="doze_settings_help_title">Помощ</string> + <string name="doze_settings_help_text">Тези функции използват сензорни събития да показват известия, когато устройството е в състояние на покой. Избраният сензор се активира само когато устройството получава уведомление, което помага за намаляване на използването на батерията. Има и опция за активиране на избрания сензор, така че екранът се изключва, което ще доведе до увеличаване на използването на батерията.</string> +</resources> diff --git a/doze/res/values-bn-rBD/strings.xml b/doze/res/values-bn-rBD/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-bn-rBD/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-br-rFR/strings.xml b/doze/res/values-br-rFR/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-br-rFR/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-bs-rBA/strings.xml b/doze/res/values-bs-rBA/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-bs-rBA/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ca/strings.xml b/doze/res/values-ca/strings.xml new file mode 100644 index 0000000..c65d89d --- /dev/null +++ b/doze/res/values-ca/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Sí</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">No</string> + <string name="ambient_display_title">Pantalla ambient</string> + <string name="ambient_display_summary">Encen la pantalla quan rebis notificacions</string> + <string name="ambient_display_summary_on">La pantalla s\'encendrà quan rebis notificacions</string> + <string name="ambient_display_summary_off">La pantalla no s\'encendrà quan rebis notificacions</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Sensor d\'inclinació</string> + <string name="pick_up_title">Contesta</string> + <string name="pick_up_summary">Mostra les notificacions quan es reculli el dispositiu</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Sensor de proximitat</string> + <string name="hand_wave_gesture_title">Passa la mà</string> + <string name="hand_wave_gesture_summary">Mostra notificacions quan es passi la mà</string> + <string name="pocket_gesture_title">Butxaca</string> + <string name="pocket_gesture_summary">Mostra notificacions quan te\'l treguis de la butxaca</string> + <!-- Help text --> + <string name="dlg_ok">D\'ACORD</string> + <string name="doze_settings_help_title">Ajuda</string> + <string name="doze_settings_help_text">Aquestes característiques utilitzen esdeveniments dels sensors per llançar una notificació latent. El sensor escollit només serà habilitat quan el dispositiu rebi una notificació, això ajuda a reduir l\'ús de la bateria. També hi ha una opció per habilitar el sensor escollit tan aviat com s\'apagui la pantalla, això causarà un major ús de la bateria.</string> +</resources> diff --git a/doze/res/values-cs/strings.xml b/doze/res/values-cs/strings.xml new file mode 100644 index 0000000..88ecb49 --- /dev/null +++ b/doze/res/values-cs/strings.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Ambientní displej</string> + <string name="ambient_display_summary">Probudit obrazovku při upozornění</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Senzor náklonu</string> + <string name="pick_up_title">Sebrání</string> + <string name="pick_up_summary">Pulzovat oznámení při zvednutí zařízení</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Senzor přiblížení</string> + <string name="hand_wave_gesture_title">Mávání rukou</string> + <string name="hand_wave_gesture_summary">Upozornit pulsováním při zamáváním rukou</string> + <string name="pocket_gesture_title">Kapsa</string> + <string name="pocket_gesture_summary">Upozornit pulsováním při vyjmutí z kapsy</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Uživatelská příručka</string> + <string name="doze_settings_help_text">Tyto funkce používají události senzorů ke spuštění pulzování oznámení. Vybraný senzor je zapnut pouze v případě přijetí upozornění, což vede k úspoře baterie. Je zde i možnost zapnout daný senzor ihned po vypnutí obrazovky, ale dochází k většímu vybíjení.</string> +</resources> diff --git a/doze/res/values-csb-rPL/strings.xml b/doze/res/values-csb-rPL/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-csb-rPL/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-cy/strings.xml b/doze/res/values-cy/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-cy/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-da/strings.xml b/doze/res/values-da/strings.xml new file mode 100644 index 0000000..f2261b3 --- /dev/null +++ b/doze/res/values-da/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Til</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Fra</string> + <string name="ambient_display_title">Inaktivitetsvisning</string> + <string name="ambient_display_summary">Tænder skærmen, når du modtager notifikationer</string> + <string name="ambient_display_summary_on">Skærmen vil tænde, når du modtager underretninger</string> + <string name="ambient_display_summary_off">Skærmen vil ikke tænde, når du modtager underretninger</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Tilt-sensor</string> + <string name="pick_up_title">Samle op</string> + <string name="pick_up_summary">Blink med notifikationerne når enheden tages op</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Berøringssensor</string> + <string name="hand_wave_gesture_title">Vink med hånden</string> + <string name="hand_wave_gesture_summary">Vibrér, hvis der er notifikationer, når du vinker over skærmen</string> + <string name="pocket_gesture_title">Lomme</string> + <string name="pocket_gesture_summary">Vibrér, hvis der er notifikationer, når telefonen tages op ad lommen</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Hjælp</string> + <string name="doze_settings_help_text">Disse funktioner bruger sensoraktiviteter til at starte en doze-notifikation. Den valgte sensor er kun aktiveret, når enheden modtager en notifikation, dette hjælper med at reducere batteriforbruget. Der er også en mulighed for at aktivere den valgte sensor, så snart skærmen slukkes, dette vil medføre højere batteribrug.</string> +</resources> diff --git a/doze/res/values-de/strings.xml b/doze/res/values-de/strings.xml new file mode 100644 index 0000000..5abb4fd --- /dev/null +++ b/doze/res/values-de/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">An</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Aus</string> + <string name="ambient_display_title">Inaktivitätsdisplay</string> + <string name="ambient_display_summary">Bildschirm einschalten, wenn Sie Benachrichtigungen erhalten</string> + <string name="ambient_display_summary_on">Bildschirm wird eingeschalten, wenn Sie Benachrichtigungen erhalten</string> + <string name="ambient_display_summary_off">Bildschirm nicht einschalten, wenn Sie Benachrichtigungen erhalten</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Neigungssensor</string> + <string name="pick_up_title">Aufnehmen</string> + <string name="pick_up_summary">Benachrichtigungen kurz einblenden, wenn das Gerät aufgenommen wird</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Näherungssensor</string> + <string name="hand_wave_gesture_title">Winken</string> + <string name="hand_wave_gesture_summary">Beim Winken Benachrichtigungen kurzzeitig einblenden</string> + <string name="pocket_gesture_title">Tasche</string> + <string name="pocket_gesture_summary">Benachrichtigungen kurz einblenden, wenn das Gerät aus der Tasche genommen wird</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Hilfe</string> + <string name="doze_settings_help_text">Diese Features verwenden Sensoren, um im Standby kurz Benachrichtigungen einzublenden. Der gewählte Sensor wird nur bei Eingang einer Benachrichtigung aktiviert. Dies hilft dabei, den Stromverbrauch zu reduzieren. Alternativ kann der Sensor sofort beim Abschalten des Bildschirms aktiviert werden, wodurch sich jedoch der Stromverbrauch erhöht.</string> +</resources> diff --git a/doze/res/values-el/strings.xml b/doze/res/values-el/strings.xml new file mode 100644 index 0000000..ac066fa --- /dev/null +++ b/doze/res/values-el/strings.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Οθόνη ambient</string> + <string name="ambient_display_summary">Ενεργοποίηση της οθόνης όταν λαμβάνετε ειδοποιήσεις</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Αισθητήρας κλίσης</string> + <string name="pick_up_title">Σήκωμα συσκευής</string> + <string name="pick_up_summary">Παλμός ειδοποιήσεων κατά το σήκωμα της συσκευής</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Αισθητήρας εγγύτητας</string> + <string name="hand_wave_gesture_title">Αιώρηση χεριού</string> + <string name="hand_wave_gesture_summary">Παλμός ειδοποιήσεων κατά την αιώρηση του χεριού</string> + <string name="pocket_gesture_title">Τσέπη</string> + <string name="pocket_gesture_summary">Παλμός ειδοποιήσεων κατά την έξοδο από την τσέπη</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Βοήθεια</string> +</resources> diff --git a/doze/res/values-en-rAU/strings.xml b/doze/res/values-en-rAU/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-en-rAU/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-en-rGB/strings.xml b/doze/res/values-en-rGB/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-en-rGB/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-en-rIN/strings.xml b/doze/res/values-en-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-en-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-en-rPT/strings.xml b/doze/res/values-en-rPT/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-en-rPT/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-eo/strings.xml b/doze/res/values-eo/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-eo/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-es-rCO/strings.xml b/doze/res/values-es-rCO/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-es-rCO/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-es-rMX/strings.xml b/doze/res/values-es-rMX/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-es-rMX/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-es-rUS/strings.xml b/doze/res/values-es-rUS/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-es-rUS/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-es/strings.xml b/doze/res/values-es/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-es/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-et-rEE/strings.xml b/doze/res/values-et-rEE/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-et-rEE/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-eu-rES/strings.xml b/doze/res/values-eu-rES/strings.xml new file mode 100644 index 0000000..42d4e03 --- /dev/null +++ b/doze/res/values-eu-rES/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Bai</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Ez</string> + <string name="ambient_display_title">Ambient display</string> + <string name="ambient_display_summary">Piztu pantaila jakinarazpenak jasotzean</string> + <string name="ambient_display_summary_on">Pantaila piztuko da jakinarazpenak jasotzen dituzunean</string> + <string name="ambient_display_summary_off">Pantaila ez da piztuko jakinarazpenak jasotzen dituzunean</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Inklinazio sentsorea</string> + <string name="pick_up_title">Hartu</string> + <string name="pick_up_summary">Led jakinarazpenak gailua hartzean</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Hurbiltasun sentsorea</string> + <string name="hand_wave_gesture_title">Agurtu eskuarekin</string> + <string name="hand_wave_gesture_summary">Jakinarazpen argia eskuarekin agurtzean</string> + <string name="pocket_gesture_title">Poltsikoratu</string> + <string name="pocket_gesture_summary">Jakinarazpen argia poltsikotik ateratzean</string> + <!-- Help text --> + <string name="dlg_ok">Ados</string> + <string name="doze_settings_help_title">Laguntza</string> + <string name="doze_settings_help_text">Ezaugarri hauek sentsoreen gertakizunak erabiltzen dituzte jakinarazpen argi bat pizteko. Sentsorea jakinarazpen bat jasotzean gaituko da, honi esker bateria erabilera murrizten da. Badago ere pantaila itzali eta berehala sentsorea pizteko aukera, honek bateria gehiago erabiliko du.</string> +</resources> diff --git a/doze/res/values-fa/strings.xml b/doze/res/values-fa/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-fa/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-fi/strings.xml b/doze/res/values-fi/strings.xml new file mode 100644 index 0000000..adfe5e2 --- /dev/null +++ b/doze/res/values-fi/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Käytössä</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Pois käytöstä</string> + <string name="ambient_display_title">Ambient-näyttö</string> + <string name="ambient_display_summary">Herätä näyttö kun saat ilmoituksia</string> + <string name="ambient_display_summary_on">Näyttö käynnistyy kun saat ilmoituksia</string> + <string name="ambient_display_summary_off">Näyttö ei käynnisty kun saat ilmoituksia</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Kallistussensori</string> + <string name="pick_up_title">Nosto</string> + <string name="pick_up_summary">Väläytä ilmoituksia kun laite nostetaan</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Läheisyysanturi</string> + <string name="hand_wave_gesture_title">Käden heilautus</string> + <string name="hand_wave_gesture_summary">Näytä ilmoitukset heilautettaessa kättä</string> + <string name="pocket_gesture_title">Tasku</string> + <string name="pocket_gesture_summary">Näytä ilmoitukset kun laite otetaan taskusta</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Apua</string> + <string name="doze_settings_help_text">Ominaisuudet käyttää sensorin tapahtumia näyttääkseen ilmoituksia. Valittu sensori on vain käytössä kun laite saa ilmoituksen, tämä auttaa vähentämään akun kulutusta. Voit myös ottaa sensorit käyttöön kun näyttö on suljettu, mutta tämä kasvattaa akun kulutusta.</string> +</resources> diff --git a/doze/res/values-fil-rPH/strings.xml b/doze/res/values-fil-rPH/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-fil-rPH/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-fr-rCA/strings.xml b/doze/res/values-fr-rCA/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-fr-rCA/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-fr/strings.xml b/doze/res/values-fr/strings.xml new file mode 100644 index 0000000..00ba2e6 --- /dev/null +++ b/doze/res/values-fr/strings.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Affichage ambiant</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Capteur d’inclinaison</string> + <string name="pick_up_title">Prise en main</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Capteur de proximité</string> + <string name="hand_wave_gesture_title">Passage de la main</string> + <string name="pocket_gesture_title">Poche</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> +</resources> diff --git a/doze/res/values-frp-rIT/strings.xml b/doze/res/values-frp-rIT/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-frp-rIT/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-fy-rNL/strings.xml b/doze/res/values-fy-rNL/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-fy-rNL/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ga-rIE/strings.xml b/doze/res/values-ga-rIE/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ga-rIE/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-gd-rGB/strings.xml b/doze/res/values-gd-rGB/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-gd-rGB/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-gl-rES/strings.xml b/doze/res/values-gl-rES/strings.xml new file mode 100644 index 0000000..710d535 --- /dev/null +++ b/doze/res/values-gl-rES/strings.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Visualización ambiente</string> + <string name="ambient_display_summary">Activar a pantalla ao recibir notificacións</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Sensor de inclinación</string> + <string name="pick_up_title">Coller</string> + <string name="pick_up_summary">Amosar notificacións ao coller o dispositivo</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Sensor de proximidade</string> + <string name="hand_wave_gesture_title">Pasar a man</string> + <string name="hand_wave_gesture_summary">Amosar notificacións ao pasar a man</string> + <string name="pocket_gesture_title">Peto</string> + <string name="pocket_gesture_summary">Amosar notificacións ao sacar do peto</string> + <!-- Help text --> + <string name="dlg_ok">ACEPTAR</string> + <string name="doze_settings_help_title">Axuda</string> +</resources> diff --git a/doze/res/values-gu-rIN/strings.xml b/doze/res/values-gu-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-gu-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-hi/strings.xml b/doze/res/values-hi/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-hi/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-hr/strings.xml b/doze/res/values-hr/strings.xml new file mode 100644 index 0000000..1381623 --- /dev/null +++ b/doze/res/values-hr/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Uključen</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Isključen</string> + <string name="ambient_display_title">Ambijentni zaslon</string> + <string name="ambient_display_summary">Probudi zaslon kada primite obavijesti</string> + <string name="ambient_display_summary_on">Zaslon će se probuditi kad primite obavijesti</string> + <string name="ambient_display_summary_off">Zaslon se neće probuditi kad primite obavijesti</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Senzor nagiba</string> + <string name="pick_up_title">Podizanje</string> + <string name="pick_up_summary">Prikazuj obavijesti kada je uređaj podignut</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Senzor blizine</string> + <string name="hand_wave_gesture_title">Zamah rukom</string> + <string name="hand_wave_gesture_summary">Prikaz obavijesti na zamah rukom</string> + <string name="pocket_gesture_title">Džep</string> + <string name="pocket_gesture_summary">Prikaz obavijesti kada izvadite uređaj iz džepa</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Pomoć</string> + <string name="doze_settings_help_text">Te značajke koriste događaje senzora za pokretanje pulsiranja obavijesti. Odabrani senzor je omogućen jedino kada uređaj primi obavijest, to pomaže smanjenju potrošnje baterije. Tu je i opcija omogućenja odabranog senzora čim se zaslon isključi, to će uzrokovati veću potrošnju baterije.</string> +</resources> diff --git a/doze/res/values-hu/strings.xml b/doze/res/values-hu/strings.xml new file mode 100644 index 0000000..cfa3e51 --- /dev/null +++ b/doze/res/values-hu/strings.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Környezeti kijelző</string> + <string name="ambient_display_summary">Képernyő felébresztése értesítések fogadásakor</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Dőlés érzékelő</string> + <string name="pick_up_title">Kézbevétel</string> + <string name="pick_up_summary">Villantsa fel az értesítéseket kézbevételkor</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Közelség érzékelő</string> + <string name="hand_wave_gesture_title">Lebegő simítás</string> + <string name="hand_wave_gesture_summary">Értesítések felvillantása lebegő simításnál</string> + <string name="pocket_gesture_title">Zseb</string> + <string name="pocket_gesture_summary">Értesítések felvillantása zsebből való kivételkor</string> + <!-- Help text --> + <string name="dlg_ok">Rendben</string> + <string name="doze_settings_help_title">Súgó</string> + <string name="doze_settings_help_text">Ezen funkció az érzékelő eseményeket használja a környezeti kijelző értesítési impulzusaihoz. A választott érzékelő csak akkor engedélyezett, ha a készülék értesítést kap, ez segít csökkenteni az akkumulátor használatát. Lehetőség van a választott érzékelő engedélyezésére is, amint a képernyő kikapcsol, de ez nagyobb akkumulátor használatot jelent.</string> +</resources> diff --git a/doze/res/values-hy-rAM/strings.xml b/doze/res/values-hy-rAM/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-hy-rAM/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-in/strings.xml b/doze/res/values-in/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-in/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-is-rIS/strings.xml b/doze/res/values-is-rIS/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-is-rIS/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-it/strings.xml b/doze/res/values-it/strings.xml new file mode 100644 index 0000000..0ff556f --- /dev/null +++ b/doze/res/values-it/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">On</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Spento</string> + <string name="ambient_display_title">Display Ambient</string> + <string name="ambient_display_summary">Accendi lo schermo quando ricevi una notifica</string> + <string name="ambient_display_summary_on">Accende lo schermo quando ricevi una notifica</string> + <string name="ambient_display_summary_off">Non accende lo schermo quando ricevi una notifica</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Sensore inclinazione</string> + <string name="pick_up_title">Solleva</string> + <string name="pick_up_summary">Mostra le notifiche quando il dispositivo viene sollevato</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Sensore prossimità</string> + <string name="hand_wave_gesture_title">Movimento della mano</string> + <string name="hand_wave_gesture_summary">Mostra le notifiche al passaggio della mano</string> + <string name="pocket_gesture_title">Tasca</string> + <string name="pocket_gesture_summary">Mostra le notifiche quando il telefono viene rimosso dalla tasca</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Guida</string> + <string name="doze_settings_help_text">Queste funzioni utilizzano i sensori per mostrare le notifiche. Il sensore selezionato verrà attivato solo quando il dispositivo riceve una notifica, questo consentirà di ridurre l\'utilizzo della batteria. È anche possibile attivare il sensore selezionato appena lo schermo si spegne, ma ciò comporterà ad un utilizzo maggiore della batteria.</string> +</resources> diff --git a/doze/res/values-iw/strings.xml b/doze/res/values-iw/strings.xml new file mode 100644 index 0000000..837448b --- /dev/null +++ b/doze/res/values-iw/strings.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">תצוגת התראות עמומה</string> + <string name="ambient_display_summary">הפעל את המסך כשמתקבלות התראות</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">חיישן הטייה</string> + <string name="pick_up_title">הרמה</string> + <string name="pick_up_summary">הצג התראות כשהמכשיר מורם</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">חיישן קרבה</string> + <string name="hand_wave_gesture_title">הנפת יד</string> + <string name="hand_wave_gesture_summary">הדגש התראות בהנפת יד</string> + <string name="pocket_gesture_title">כיס</string> + <string name="pocket_gesture_summary">הצג התראות בהוצאה מהכיס</string> + <!-- Help text --> + <string name="dlg_ok">אישור</string> + <string name="doze_settings_help_title">עזרה</string> +</resources> diff --git a/doze/res/values-ja/strings.xml b/doze/res/values-ja/strings.xml new file mode 100644 index 0000000..fe7481a --- /dev/null +++ b/doze/res/values-ja/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">ON</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">OFF</string> + <string name="ambient_display_title">アンビエント表示</string> + <string name="ambient_display_summary">通知を受信したときに画面を点灯する</string> + <string name="ambient_display_summary_on">通知を受信したときに画面を点灯する</string> + <string name="ambient_display_summary_off">通知を受信したときに画面を点灯しない</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">傾きセンサー</string> + <string name="pick_up_title">持ち上げ</string> + <string name="pick_up_summary">端末を持ち上げたときに通知を点滅表示する</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">接近センサー</string> + <string name="hand_wave_gesture_title">手を振る</string> + <string name="hand_wave_gesture_summary">手を振ったときに通知を点滅表示する</string> + <string name="pocket_gesture_title">ポケット</string> + <string name="pocket_gesture_summary">ポケットから取り出したときに通知を点滅表示する</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">ヘルプ</string> + <string name="doze_settings_help_text">これらの機能は、Doze通知点滅表示を起動するためにセンサーイベントを使用します。それによって、電池の使用量が多くなります。</string> +</resources> diff --git a/doze/res/values-ka-rGE/strings.xml b/doze/res/values-ka-rGE/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ka-rGE/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-kk-rKZ/strings.xml b/doze/res/values-kk-rKZ/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-kk-rKZ/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-km-rKH/strings.xml b/doze/res/values-km-rKH/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-km-rKH/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-kn-rIN/strings.xml b/doze/res/values-kn-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-kn-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ko/strings.xml b/doze/res/values-ko/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ko/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ku/strings.xml b/doze/res/values-ku/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ku/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ky-rKG/strings.xml b/doze/res/values-ky-rKG/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ky-rKG/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-lb/strings.xml b/doze/res/values-lb/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-lb/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-lo-rLA/strings.xml b/doze/res/values-lo-rLA/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-lo-rLA/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-lt/strings.xml b/doze/res/values-lt/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-lt/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-lv/strings.xml b/doze/res/values-lv/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-lv/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-mk-rMK/strings.xml b/doze/res/values-mk-rMK/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-mk-rMK/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ml-rIN/strings.xml b/doze/res/values-ml-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ml-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-mn-rMN/strings.xml b/doze/res/values-mn-rMN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-mn-rMN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-mr-rIN/strings.xml b/doze/res/values-mr-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-mr-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ms-rMY/strings.xml b/doze/res/values-ms-rMY/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ms-rMY/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-my-rMM/strings.xml b/doze/res/values-my-rMM/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-my-rMM/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-nb/strings.xml b/doze/res/values-nb/strings.xml new file mode 100644 index 0000000..3b70738 --- /dev/null +++ b/doze/res/values-nb/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">På</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Av</string> + <string name="ambient_display_title">Ambient visning</string> + <string name="ambient_display_summary">Våkne skjermen når du får varsler</string> + <string name="ambient_display_summary_on">Skjermen våkner når du mottar varsler</string> + <string name="ambient_display_summary_off">Skjermen vil ikke våkne når du mottar varsler</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Tilt sensor</string> + <string name="pick_up_title">Opp-plukking</string> + <string name="pick_up_summary">Pulseringsnotifikasjon når telefonen er plukket opp</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Avstandsmåler</string> + <string name="hand_wave_gesture_title">Håndvink</string> + <string name="hand_wave_gesture_summary">Pulseringsnotifikasjon ved håndvink</string> + <string name="pocket_gesture_title">Lomme</string> + <string name="pocket_gesture_summary">Pulseringsnotifikasjon når telefonen er tatt opp av lommen</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Hjelp</string> + <string name="doze_settings_help_text">Disse funksjonene bruker sensor aktiviteter for å åpne en doze pulseringsnotifikasjon. Den valgte sensoren er bare slått på når du har fått et varsel, for å spare batteriet. Du kan også slå på så sensoren slår seg på når skjermen slår seg av, som vill tappe mer strøm.</string> +</resources> diff --git a/doze/res/values-ne-rNP/strings.xml b/doze/res/values-ne-rNP/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ne-rNP/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-nl/strings.xml b/doze/res/values-nl/strings.xml new file mode 100644 index 0000000..2b65d6f --- /dev/null +++ b/doze/res/values-nl/strings.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Omgevingsdisplay</string> + <string name="ambient_display_summary">Scherm aan bij het ontvangen van meldingen</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Hellingssensor</string> + <string name="pick_up_title">Oppakken</string> + <string name="pick_up_summary">Meldingen laten knipperen bij oppakken</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Nabijheidssensor</string> + <string name="hand_wave_gesture_title">Handgebaar</string> + <string name="hand_wave_gesture_summary">Meldingen laten knipperen bij handgebaar</string> + <string name="pocket_gesture_title">Broekzak</string> + <string name="pocket_gesture_summary">Meldingen laten knipperen bij verwijderen uit broekzak</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Help</string> + <string name="doze_settings_help_text">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.</string> +</resources> diff --git a/doze/res/values-oc-rFR/strings.xml b/doze/res/values-oc-rFR/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-oc-rFR/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-or-rIN/strings.xml b/doze/res/values-or-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-or-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-pa-rIN/strings.xml b/doze/res/values-pa-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-pa-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-pl/strings.xml b/doze/res/values-pl/strings.xml new file mode 100644 index 0000000..44873ae --- /dev/null +++ b/doze/res/values-pl/strings.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Wł.</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Wył.</string> + <string name="ambient_display_title">Aktywny wyświetlacz</string> + <string name="ambient_display_summary">Wybudź ekran po odebraniu powiadomienia</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Czujnik pochylenia</string> + <string name="pick_up_title">Podniesienie</string> + <string name="pick_up_summary">Pokaż powiadomienia, gdy urządzenie zostało podniesione</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Czujnik zbliżeniowy</string> + <string name="hand_wave_gesture_title">Gest fali</string> + <string name="hand_wave_gesture_summary">Pokaż powiadomienia po geście fali</string> + <string name="pocket_gesture_title">Wyjęcie z kieszeni</string> + <string name="pocket_gesture_summary">Pokaż powiadomienia po wyjęciu z kieszeni</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Pomoc</string> +</resources> diff --git a/doze/res/values-pt-rBR/strings.xml b/doze/res/values-pt-rBR/strings.xml new file mode 100644 index 0000000..c9a8c49 --- /dev/null +++ b/doze/res/values-pt-rBR/strings.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Tela ambiente</string> + <string name="ambient_display_summary">Ligar a tela ao receber notificações</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Sensor de inclinação</string> + <string name="pick_up_title">Pegar</string> + <string name="pick_up_summary">Pulsar notificações ao pegar o dispositivo</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Sensor de proximidade</string> + <string name="hand_wave_gesture_title">Acenar com a mão</string> + <string name="hand_wave_gesture_summary">Pulsar notificações ao acenar com a mão</string> + <string name="pocket_gesture_title">Bolso</string> + <string name="pocket_gesture_summary">Pulsar notificações ao retirar do bolso</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Ajuda</string> + <string name="doze_settings_help_text">Esses recursos monitoram o sensor para que o dispositivo possa despertar do estado de repouso e pulsar notificações. O sensor escolhido só é habilitado quando o dispositivo recebe uma notificação, isso ajuda a reduzir o uso de bateria. Há também uma opção para ativar o sensor escolhido assim que a tela desliga, isso causará o maior uso da bateria.</string> +</resources> diff --git a/doze/res/values-pt-rPT/strings.xml b/doze/res/values-pt-rPT/strings.xml new file mode 100644 index 0000000..fa22bd1 --- /dev/null +++ b/doze/res/values-pt-rPT/strings.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Visualização de ambiente</string> + <string name="ambient_display_summary">Ligar o ecrã quando receber notificações</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Sensor de inclinação</string> + <string name="pick_up_title">Pegar</string> + <string name="pick_up_summary">Mostrar as notificações ao pegar no dispositivo</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Sensor de proximidade</string> + <string name="hand_wave_gesture_title">Passar a mão</string> + <string name="hand_wave_gesture_summary">Mostrar notificações ao passar a mão</string> + <string name="pocket_gesture_title">Bolso</string> + <string name="pocket_gesture_summary">Mostrar notificações ao retirar do bolso</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Ajuda</string> + <string name="doze_settings_help_text">Estes recursos utilizam eventos de sensores para mostrarem notificações enquanto o dispositivo está em repouso. O sensor escolhido só é ativado quando o dispositivo recebe uma notificação, o que ajuda a reduzir a utilização da bateria. Há também uma opção para ativar o sensor escolhido assim que o ecrã se desliga, o que resultará numa maior utilização da bateria.</string> +</resources> diff --git a/doze/res/values-rm/strings.xml b/doze/res/values-rm/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-rm/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ro/strings.xml b/doze/res/values-ro/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ro/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ru/strings.xml b/doze/res/values-ru/strings.xml new file mode 100644 index 0000000..b0c02d1 --- /dev/null +++ b/doze/res/values-ru/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Включено</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Выключено</string> + <string name="ambient_display_title">Индикация событий</string> + <string name="ambient_display_summary">Включать экран при получении уведомлений</string> + <string name="ambient_display_summary_on">Включать экран при получении уведомлений</string> + <string name="ambient_display_summary_off">Не включать экран при получении уведомлений</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Датчик наклона</string> + <string name="pick_up_title">Поднять</string> + <string name="pick_up_summary">Отображать уведомления при поднятии устройства</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Датчик приближения</string> + <string name="hand_wave_gesture_title">Взмах</string> + <string name="hand_wave_gesture_summary">Проведите ладонью над экраном для просмотра уведомлений</string> + <string name="pocket_gesture_title">Карман</string> + <string name="pocket_gesture_summary">Отображать уведомления при извлечении устройства из кармана</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Информация</string> + <string name="doze_settings_help_text">Эти функции используют события датчиков для отображения уведомлений. Датчик проверяется только при поступлении нового уведомления, что помогает сэкономить заряд батареи. Можно активировать включение датчика сразу при отключении экрана устройства, однако это может ускорить разряд батареи.</string> +</resources> diff --git a/doze/res/values-si-rLK/strings.xml b/doze/res/values-si-rLK/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-si-rLK/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-sk/strings.xml b/doze/res/values-sk/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-sk/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-sl/strings.xml b/doze/res/values-sl/strings.xml new file mode 100644 index 0000000..ebec755 --- /dev/null +++ b/doze/res/values-sl/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">Vkl.</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">Izk.</string> + <string name="ambient_display_title">Okoliški zaslon</string> + <string name="ambient_display_summary">Zbudi zaslon ob prejemu obvestila</string> + <string name="ambient_display_summary_on">Zaslon se bo vklopil, ko prejmete obvestila</string> + <string name="ambient_display_summary_off">Zaslon se ne bo vklopil, ko prejmete obvestila</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Tipalo nagiba</string> + <string name="pick_up_title">Dvig</string> + <string name="pick_up_summary">Utripaj obvestila ob dvigu naprave</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Tipalo bližine</string> + <string name="hand_wave_gesture_title">Mahanje z roko</string> + <string name="hand_wave_gesture_summary">Utripaj obvestila ob mahanju z roko</string> + <string name="pocket_gesture_title">Žep</string> + <string name="pocket_gesture_summary">Utripaj obvestila ob odstranitvi iz žepa</string> + <!-- Help text --> + <string name="dlg_ok">V redu</string> + <string name="doze_settings_help_title">Pomoč</string> + <string name="doze_settings_help_text">Te značilnosti uporabljajo dogodke tipal za sprožitev utripanja obvestil. To bo povzročilo večjo porabo energije.</string> +</resources> diff --git a/doze/res/values-sq-rAL/strings.xml b/doze/res/values-sq-rAL/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-sq-rAL/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-sr/strings.xml b/doze/res/values-sr/strings.xml new file mode 100644 index 0000000..413044d --- /dev/null +++ b/doze/res/values-sr/strings.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="ambient_display_title">Амбијент приказ</string> + <string name="ambient_display_summary">Пробуди екран кад добијеш обавештење</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Тилт сензор</string> + <string name="pick_up_title">Купљење</string> + <string name="pick_up_summary">Пулсно обавештење када је уређај покупљен</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Сензор близине</string> + <string name="hand_wave_gesture_title">Покрет руком</string> + <string name="hand_wave_gesture_summary">Пулсно обавештење при покрету руком</string> + <string name="pocket_gesture_title">Џеп</string> + <string name="pocket_gesture_summary">Пулсно обавештење при уклањању из џепа</string> + <!-- Help text --> + <string name="dlg_ok">У реду</string> + <string name="doze_settings_help_title">Помоћ</string> + <string name="doze_settings_help_text">Ова функција користи активирање сензора да покрене пулсно обавештење. Изабрани сензор је омогућен једино када уређај прима обавештење, то помаже смањењу потрожње батерије. Ту је и опција омогућења изабраног сензора чим се екран искључи, то ће узроковати већој потрожњи батерије.</string> +</resources> diff --git a/doze/res/values-sv/strings.xml b/doze/res/values-sv/strings.xml new file mode 100644 index 0000000..efa4e4a --- /dev/null +++ b/doze/res/values-sv/strings.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <string name="pick_up_title">Plocka upp</string> + <string name="pick_up_summary">Pulsera aviseringarna när enheten plockas upp</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Närhetscensor</string> + <string name="pocket_gesture_summary">Pulsera aviseringar när telefonen tas upp ur fickan</string> + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Hjälp</string> +</resources> diff --git a/doze/res/values-sw/strings.xml b/doze/res/values-sw/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-sw/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ta-rIN/strings.xml b/doze/res/values-ta-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ta-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-te-rIN/strings.xml b/doze/res/values-te-rIN/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-te-rIN/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-th/strings.xml b/doze/res/values-th/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-th/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-tr/strings.xml b/doze/res/values-tr/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-tr/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ug/strings.xml b/doze/res/values-ug/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ug/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-uk/strings.xml b/doze/res/values-uk/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-uk/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-ur-rPK/strings.xml b/doze/res/values-ur-rPK/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-ur-rPK/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-uz-rUZ/strings.xml b/doze/res/values-uz-rUZ/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-uz-rUZ/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-vi/strings.xml b/doze/res/values-vi/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-vi/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-zh-rCN/strings.xml b/doze/res/values-zh-rCN/strings.xml new file mode 100644 index 0000000..e956bfa --- /dev/null +++ b/doze/res/values-zh-rCN/strings.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_on">开</string> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <string name="switch_bar_off">关</string> + <string name="ambient_display_title">环境显示</string> + <string name="ambient_display_summary">当接收到通知时唤醒屏幕</string> + <string name="ambient_display_summary_on">当接收到通知时将唤醒屏幕</string> + <string name="ambient_display_summary_off">当接收到通知时将不会唤醒屏幕</string> + <!-- Tilt sensor --> + <string name="tilt_sensor_title">倾斜传感器</string> + <string name="pick_up_title">拿起</string> + <string name="pick_up_summary">当拿起设备时闪烁通知灯</string> + <!-- Proximity sensor --> + <string name="priximity_sensor_title">距离传感器</string> + <string name="hand_wave_gesture_title">挥手</string> + <string name="hand_wave_gesture_summary">挥手时闪烁通知呼吸灯</string> + <string name="pocket_gesture_title">口袋</string> + <string name="pocket_gesture_summary">从口袋中拿出时闪烁通知呼吸灯</string> + <!-- Help text --> + <string name="dlg_ok">确定</string> + <string name="doze_settings_help_title">帮助</string> + <string name="doze_settings_help_text">这些功能使用传感器启用打盹通知指示灯,选择的传感器将仅在设备收到通知时开启,这将有助于优化电池用量。还有一个选项是当屏幕关闭后立即启用传感器,这会导致更多的电池用量。</string> +</resources> diff --git a/doze/res/values-zh-rHK/strings.xml b/doze/res/values-zh-rHK/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-zh-rHK/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-zh-rTW/strings.xml b/doze/res/values-zh-rTW/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-zh-rTW/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values-zu/strings.xml b/doze/res/values-zu/strings.xml new file mode 100644 index 0000000..b2eccaa --- /dev/null +++ b/doze/res/values-zu/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!--Generated by crowdin.com--> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Label for feature switch [CHAR LIMIT=30] --> + <!-- Tilt sensor --> + <!-- Proximity sensor --> + <!-- Help text --> +</resources> diff --git a/doze/res/values/strings.xml b/doze/res/values/strings.xml new file mode 100644 index 0000000..c7ab9f7 --- /dev/null +++ b/doze/res/values/strings.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <string name="ambient_display_title">OnePlus Doze</string> + <string name="ambient_display_summary">Wake screen when you receive notifications</string> + + <!-- Tilt sensor --> + <string name="tilt_sensor_title">Tilt sensor</string> + <string name="pick_up_title">Pick up</string> + <string name="pick_up_summary">Pulse notifications when device is picked up</string> + + <!-- Proximity sensor --> + <string name="priximity_sensor_title">Proximity sensor</string> + <string name="hand_wave_gesture_title">Hand wave</string> + <string name="hand_wave_gesture_summary">Pulse notifications on hand wave</string> + <string name="pocket_gesture_title">Pocket</string> + <string name="pocket_gesture_summary">Pulse notifications on removal from pocket</string> + + <!-- Help text --> + <string name="dlg_ok">OK</string> + <string name="doze_settings_help_title">Help</string> + <string name="doze_settings_help_text">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.</string> +</resources> diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml new file mode 100644 index 0000000..dfa608b --- /dev/null +++ b/doze/res/xml/doze_settings.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 The CyanogenMod 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. +--> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + + <SwitchPreference + android:key="ambient_display" + android:defaultValue="true" + android:title="@string/ambient_display_title" + android:summary="@string/ambient_display_summary" /> + + <PreferenceCategory + android:key="tilt_sensor" + android:title="@string/tilt_sensor_title" > + + <SwitchPreference + android:key="pick_up" + android:defaultValue="false" + android:title="@string/pick_up_title" + android:summary="@string/pick_up_summary" + android:dependency="ambient_display" /> + + </PreferenceCategory> + + <PreferenceCategory + android:key="priximity_sensor" + android:title="@string/priximity_sensor_title" > + + <SwitchPreference + 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" /> + + <SwitchPreference + android:key="gesture_pocket" + android:defaultValue="false" + android:title="@string/pocket_gesture_title" + android:summary="@string/pocket_gesture_summary" + android:dependency="ambient_display" /> + + </PreferenceCategory> + +</PreferenceScreen> diff --git a/doze/src/com/cyanogenmod/settings/doze/BootCompletedReceiver.java b/doze/src/com/cyanogenmod/settings/doze/BootCompletedReceiver.java new file mode 100644 index 0000000..e1b2b50 --- /dev/null +++ b/doze/src/com/cyanogenmod/settings/doze/BootCompletedReceiver.java @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2015 The CyanogenMod 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.cyanogenmod.settings.doze; + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.util.Log; + +public class BootCompletedReceiver extends BroadcastReceiver { + + private static final boolean DEBUG = false; + private static final String TAG = "ZukDoze"; + + @Override + public void onReceive(final Context context, Intent intent) { + if (Utils.isDozeEnabled(context) && Utils.sensorsEnabled(context)) { + if (DEBUG) Log.d(TAG, "Starting service"); + Utils.startService(context); + } + } + +} diff --git a/doze/src/com/cyanogenmod/settings/doze/DozeService.java b/doze/src/com/cyanogenmod/settings/doze/DozeService.java new file mode 100644 index 0000000..2ee79bf --- /dev/null +++ b/doze/src/com/cyanogenmod/settings/doze/DozeService.java @@ -0,0 +1,97 @@ +/* + * Copyright (c) 2015 The CyanogenMod 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.cyanogenmod.settings.doze; + +import android.app.Service; +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.content.IntentFilter; +import android.os.IBinder; +import android.util.Log; + +public class DozeService extends Service { + private static final String TAG = "DozeService"; + private static final boolean DEBUG = false; + + private ProximitySensor mProximitySensor; + private TiltSensor mTiltSensor; + + @Override + public void onCreate() { + if (DEBUG) Log.d(TAG, "Creating service"); + mProximitySensor = new ProximitySensor(this); + mTiltSensor = new TiltSensor(this); + + IntentFilter screenStateFilter = new IntentFilter(Intent.ACTION_SCREEN_ON); + screenStateFilter.addAction(Intent.ACTION_SCREEN_OFF); + registerReceiver(mScreenStateReceiver, screenStateFilter); + } + + @Override + public int onStartCommand(Intent intent, int flags, int startId) { + if (DEBUG) Log.d(TAG, "Starting service"); + return START_STICKY; + } + + @Override + public void onDestroy() { + if (DEBUG) Log.d(TAG, "Destroying service"); + super.onDestroy(); + this.unregisterReceiver(mScreenStateReceiver); + mProximitySensor.disable(); + mTiltSensor.disable(); + } + + @Override + public IBinder onBind(Intent intent) { + return null; + } + + private void onDisplayOn() { + if (DEBUG) Log.d(TAG, "Display on"); + if (Utils.pickUpEnabled(this)) { + mTiltSensor.disable(); + } + if (Utils.handwaveGestureEnabled(this) || + Utils.pocketGestureEnabled(this)) { + mProximitySensor.disable(); + } + } + + private void onDisplayOff() { + if (DEBUG) Log.d(TAG, "Display off"); + if (Utils.pickUpEnabled(this)) { + mTiltSensor.enable(); + } + if (Utils.handwaveGestureEnabled(this) || + Utils.pocketGestureEnabled(this)) { + mProximitySensor.enable(); + } + } + + private BroadcastReceiver mScreenStateReceiver = new BroadcastReceiver() { + @Override + public void onReceive(Context context, Intent intent) { + if (intent.getAction().equals(Intent.ACTION_SCREEN_ON)) { + onDisplayOn(); + } else if (intent.getAction().equals(Intent.ACTION_SCREEN_OFF)) { + onDisplayOff(); + } + } + }; +} diff --git a/doze/src/com/cyanogenmod/settings/doze/DozeSettings.java b/doze/src/com/cyanogenmod/settings/doze/DozeSettings.java new file mode 100644 index 0000000..2e179bc --- /dev/null +++ b/doze/src/com/cyanogenmod/settings/doze/DozeSettings.java @@ -0,0 +1,148 @@ +/* + * Copyright (C) 2015 The CyanogenMod 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.cyanogenmod.settings.doze; + +import android.app.ActionBar; +import android.app.Activity; +import android.app.AlertDialog; +import android.app.Dialog; +import android.app.DialogFragment; +import android.content.Context; +import android.content.DialogInterface; +import android.content.SharedPreferences; +import android.os.Bundle; +import android.preference.Preference; +import android.preference.Preference.OnPreferenceChangeListener; +import android.preference.PreferenceActivity; +import android.preference.PreferenceScreen; +import android.preference.SwitchPreference; +import android.provider.Settings; +import android.view.Menu; +import android.view.MenuItem; + +public class DozeSettings extends PreferenceActivity implements OnPreferenceChangeListener { + + private Context mContext; + private SharedPreferences mPreferences; + + private SwitchPreference mAmbientDisplayPreference; + private SwitchPreference mPickUpPreference; + private SwitchPreference mHandwavePreference; + private SwitchPreference mPocketPreference; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + addPreferencesFromResource(R.xml.doze_settings); + mContext = getApplicationContext(); + boolean dozeEnabled = Utils.isDozeEnabled(mContext); + + // get shared preference + mPreferences = mContext.getSharedPreferences("doze_settings", Activity.MODE_PRIVATE); + if (savedInstanceState == null && !mPreferences.getBoolean("first_help_shown", false)) { + showHelp(); + } + + mAmbientDisplayPreference = + (SwitchPreference) findPreference(Utils.AMBIENT_DISPLAY_KEY); + // Read from DOZE_ENABLED secure setting + mAmbientDisplayPreference.setChecked(dozeEnabled); + mAmbientDisplayPreference.setOnPreferenceChangeListener(this); + + mPickUpPreference = + (SwitchPreference) findPreference(Utils.PICK_UP_KEY); + mPickUpPreference.setOnPreferenceChangeListener(this); + + mHandwavePreference = + (SwitchPreference) findPreference(Utils.GESTURE_HAND_WAVE_KEY); + mHandwavePreference.setOnPreferenceChangeListener(this); + + mPocketPreference = + (SwitchPreference) findPreference(Utils.GESTURE_POCKET_KEY); + mPocketPreference.setOnPreferenceChangeListener(this); + + final ActionBar actionBar = getActionBar(); + actionBar.setDisplayHomeAsUpEnabled(true); + } + + @Override + protected void onResume() { + super.onResume(); + } + + @Override + public boolean onOptionsItemSelected(MenuItem item) { + if (item.getItemId() == android.R.id.home) { + onBackPressed(); + return true; + } + return false; + } + + @Override + public boolean onPreferenceChange(Preference preference, Object newValue) { + final String key = preference.getKey(); + final boolean value = (Boolean) newValue; + if (Utils.AMBIENT_DISPLAY_KEY.equals(key)) { + mAmbientDisplayPreference.setChecked(value); + Utils.enableDoze(value, mContext); + return true; + } else if (Utils.PICK_UP_KEY.equals(key)) { + mPickUpPreference.setChecked(value); + Utils.startService(mContext); + return true; + } else if (Utils.GESTURE_HAND_WAVE_KEY.equals(key)) { + mHandwavePreference.setChecked(value); + Utils.startService(mContext); + return true; + } else if (Utils.GESTURE_POCKET_KEY.equals(key)) { + mPocketPreference.setChecked(value); + Utils.startService(mContext); + return true; + } + return false; + } + + public static class HelpDialogFragment extends DialogFragment { + @Override + public Dialog onCreateDialog(Bundle savedInstanceState) { + return new AlertDialog.Builder(getActivity()) + .setTitle(R.string.doze_settings_help_title) + .setMessage(R.string.doze_settings_help_text) + .setNegativeButton(R.string.dlg_ok, new DialogInterface.OnClickListener() { + @Override + public void onClick(DialogInterface dialog, int which) { + dialog.cancel(); + } + }) + .create(); + } + + @Override + public void onCancel(DialogInterface dialog) { + getActivity().getSharedPreferences("doze_settings", Activity.MODE_PRIVATE) + .edit() + .putBoolean("first_help_shown", true) + .commit(); + } + } + + private void showHelp() { + HelpDialogFragment fragment = new HelpDialogFragment(); + fragment.show(getFragmentManager(), "help_dialog"); + } +} diff --git a/doze/src/com/cyanogenmod/settings/doze/ProximitySensor.java b/doze/src/com/cyanogenmod/settings/doze/ProximitySensor.java new file mode 100644 index 0000000..0f62b11 --- /dev/null +++ b/doze/src/com/cyanogenmod/settings/doze/ProximitySensor.java @@ -0,0 +1,91 @@ +/* + * Copyright (c) 2015 The CyanogenMod 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.cyanogenmod.settings.doze; + +import android.content.Context; +import android.hardware.Sensor; +import android.hardware.SensorEvent; +import android.hardware.SensorEventListener; +import android.hardware.SensorManager; +import android.util.Log; + +public class ProximitySensor implements SensorEventListener { + + private static final boolean DEBUG = false; + private static final String TAG = "ProximitySensor"; + + private static final int POCKET_DELTA_NS = 1000 * 1000 * 1000; + + private SensorManager mSensorManager; + private Sensor mSensor; + private Context mContext; + + private boolean mSawNear = false; + private long mInPocketTime = 0; + + public ProximitySensor(Context context) { + mContext = context; + mSensorManager = (SensorManager) + mContext.getSystemService(Context.SENSOR_SERVICE); + mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); + } + + @Override + public void onSensorChanged(SensorEvent event) { + boolean isNear = event.values[0] < mSensor.getMaximumRange(); + if (mSawNear && !isNear) { + if (shouldPulse(event.timestamp)) { + Utils.launchDozePulse(mContext); + } + } else { + mInPocketTime = event.timestamp; + } + mSawNear = isNear; + } + + private boolean shouldPulse(long timestamp) { + long delta = timestamp - mInPocketTime; + + if (Utils.handwaveGestureEnabled(mContext) + && Utils.pocketGestureEnabled(mContext)) { + return true; + } else if (Utils.handwaveGestureEnabled(mContext) + && !Utils.pocketGestureEnabled(mContext)) { + return delta < POCKET_DELTA_NS; + } else if (!Utils.handwaveGestureEnabled(mContext) + && Utils.pocketGestureEnabled(mContext)) { + return delta >= POCKET_DELTA_NS; + } + return false; + } + + @Override + public void onAccuracyChanged(Sensor sensor, int accuracy) { + /* Empty */ + } + + protected void enable() { + if (DEBUG) Log.d(TAG, "Enabling"); + mSensorManager.registerListener(this, mSensor, + SensorManager.SENSOR_DELAY_NORMAL); + } + + protected void disable() { + if (DEBUG) Log.d(TAG, "Disabling"); + mSensorManager.unregisterListener(this, mSensor); + } +} diff --git a/doze/src/com/cyanogenmod/settings/doze/TiltSensor.java b/doze/src/com/cyanogenmod/settings/doze/TiltSensor.java new file mode 100644 index 0000000..443a10d --- /dev/null +++ b/doze/src/com/cyanogenmod/settings/doze/TiltSensor.java @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2015 The CyanogenMod 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.cyanogenmod.settings.doze; + +import android.content.Context; +import android.hardware.Sensor; +import android.hardware.SensorEvent; +import android.hardware.SensorEventListener; +import android.hardware.SensorManager; +import android.os.PowerManager; +import android.os.PowerManager.WakeLock; +import android.os.SystemClock; +import android.util.Log; + +public class TiltSensor implements SensorEventListener { + + private static final boolean DEBUG = false; + private static final String TAG = "TiltSensor"; + + private static final int SENSOR_WAKELOCK_DURATION = 200; + private static final int BATCH_LATENCY_IN_MS = 100; + private static final int MIN_PULSE_INTERVAL_MS = 2500; + + private PowerManager mPowerManager; + private SensorManager mSensorManager; + private Sensor mSensor; + private WakeLock mSensorWakeLock; + private Context mContext; + + private long mEntryTimestamp; + + public TiltSensor(Context context) { + mContext = context; + mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); + mSensorManager = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE); + mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_TILT_DETECTOR); + mSensorWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, + "SensorWakeLock"); + } + + @Override + public void onSensorChanged(SensorEvent event) { + if (DEBUG) Log.d(TAG, "Got sensor event: " + event.values[0]); + + long delta = SystemClock.elapsedRealtime() - mEntryTimestamp; + if (delta < MIN_PULSE_INTERVAL_MS) { + return; + } else { + mEntryTimestamp = SystemClock.elapsedRealtime(); + } + + if (event.values[0] == 1) { + Utils.launchDozePulse(mContext); + } + } + + @Override + public void onAccuracyChanged(Sensor sensor, int accuracy) { + /* Empty */ + } + + protected void enable() { + if (DEBUG) Log.d(TAG, "Enabling"); + mSensorManager.registerListener(this, mSensor, + SensorManager.SENSOR_DELAY_NORMAL, BATCH_LATENCY_IN_MS * 1000); + mEntryTimestamp = SystemClock.elapsedRealtime(); + } + + protected void disable() { + if (DEBUG) Log.d(TAG, "Disabling"); + mSensorManager.unregisterListener(this, mSensor); + } +} diff --git a/doze/src/com/cyanogenmod/settings/doze/Utils.java b/doze/src/com/cyanogenmod/settings/doze/Utils.java new file mode 100644 index 0000000..767cd96 --- /dev/null +++ b/doze/src/com/cyanogenmod/settings/doze/Utils.java @@ -0,0 +1,92 @@ +/* + * Copyright (c) 2015 The CyanogenMod 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.cyanogenmod.settings.doze; + +import android.app.ActivityManager; +import android.app.ActivityManager.RunningServiceInfo; +import android.content.Context; +import android.content.Intent; +import android.content.SharedPreferences; +import android.os.UserHandle; +import android.preference.PreferenceManager; +import android.provider.Settings; +import android.util.Log; + +public final class Utils { + + private static final String TAG = "DozeUtils"; + private static final boolean DEBUG = false; + + private static final String DOZE_INTENT = "com.android.systemui.doze.pulse"; + + protected static final String AMBIENT_DISPLAY_KEY = "ambient_display"; + protected static final String PICK_UP_KEY = "pick_up"; + protected static final String GESTURE_HAND_WAVE_KEY = "gesture_hand_wave"; + protected static final String GESTURE_POCKET_KEY = "gesture_pocket"; + + protected static void startService(Context context) { + if (DEBUG) Log.d(TAG, "Starting service"); + context.startService(new Intent(context, DozeService.class)); + } + + protected static void stopService(Context context) { + if (DEBUG) Log.d(TAG, "Stopping service"); + context.stopService(new Intent(context, DozeService.class)); + } + + protected static boolean isDozeEnabled(Context context) { + return Settings.Secure.getInt(context.getContentResolver(), + Settings.Secure.DOZE_ENABLED, 1) != 0; + } + + protected static boolean enableDoze(boolean enable, Context context) { + boolean dozeEnabled = Settings.Secure.putInt(context.getContentResolver(), + Settings.Secure.DOZE_ENABLED, enable ? 1 : 0); + if (enable) { + startService(context); + } else { + stopService(context); + } + return dozeEnabled; + } + + protected static void launchDozePulse(Context context) { + if (DEBUG) Log.d(TAG, "Launch doze pulse"); + context.sendBroadcastAsUser(new Intent(DOZE_INTENT), + new UserHandle(UserHandle.USER_CURRENT)); + } + + protected static boolean pickUpEnabled(Context context) { + return PreferenceManager.getDefaultSharedPreferences(context) + .getBoolean(PICK_UP_KEY, false); + } + + protected static boolean handwaveGestureEnabled(Context context) { + return PreferenceManager.getDefaultSharedPreferences(context) + .getBoolean(GESTURE_HAND_WAVE_KEY, false); + } + + protected static boolean pocketGestureEnabled(Context context) { + return PreferenceManager.getDefaultSharedPreferences(context) + .getBoolean(GESTURE_POCKET_KEY, false); + } + + protected static boolean sensorsEnabled(Context context) { + return pickUpEnabled(context) || handwaveGestureEnabled(context) + || pocketGestureEnabled(context); + } +} diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 7e9db88..7c38a51 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -321,6 +321,61 @@ <!-- Whether Multiuser UI should be shown --> <bool name="config_enableMultiUserUI">true</bool> + <!-- ComponentName of a dream to show whenever the system would otherwise have + gone to sleep. When the PowerManager is asked to go to sleep, it will instead + try to start this dream if possible. The dream should typically call startDozing() + to put the display into a low power state and allow the application processor + to be suspended. When the dream ends, the system will go to sleep as usual. + Specify the component name or an empty string if none. + + Note that doze dreams are not subject to the same start conditions as ordinary dreams. + Doze dreams will run whenever the power manager is in a dozing state. --> + <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> + + <!-- If true, the doze component is not started until after the screen has been + turned off and the screen off animation has been performed. --> + <bool name="config_dozeAfterScreenOff">true</bool> + + <!-- Power Management: Specifies whether to decouple the auto-suspend state of the + device from the display on/off state. + + When false, autosuspend_disable() will be called before the display is turned on + and autosuspend_enable() will be called after the display is turned off. + This mode provides best compatibility for devices using legacy power management + features such as early suspend / late resume. + + When true, autosuspend_display() and autosuspend_enable() will be called + independently of whether the display is being turned on or off. This mode + enables the power manager to suspend the application processor while the + display is on. + + This resource should be set to "true" when a doze component has been specified + to maximize power savings but not all devices support it. + + Refer to autosuspend.h for details. + --> + <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool> + + <!-- Power Management: Specifies whether to decouple the interactive state of the + device from the display on/off state. + When false, setInteractive(..., true) will be called before the display is turned on + and setInteractive(..., false) will be called after the display is turned off. + This mode provides best compatibility for devices that expect the interactive + state to be tied to the display state. + When true, setInteractive(...) will be called independently of whether the display + is being turned on or off. This mode enables the power manager to reduce + clocks and disable the touch controller while the display is on. + This resource should be set to "true" when a doze component has been specified + to maximize power savings but not all devices support it. + Refer to power.h for details. + --> + <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool> + + <!-- Screen brightness used to dim the screen while dozing in a very low power state. + May be less than the minimum allowed brightness setting + that can be set by the user. --> + <integer name="config_screenBrightnessDoze">17</integer> + <!-- Whether device supports double tap to wake --> <bool name="config_supportDoubleTapWake">true</bool> @@ -375,6 +430,15 @@ rotations as the default behavior. --> <bool name="config_allowAllRotations">true</bool> + <!-- Set this to true to enable the platform's auto-power-save modes like doze and + app standby. These are not enabled by default because they require a standard + cloud-to-device messaging service for apps to interact correctly with the modes + (such as to be able to deliver an instant message to the device even when it is + dozing). This should be enabled if you have such services and expect apps to + correctly use them when installed on your device. Otherwise, keep this disabled + so that applications can still use their own mechanisms. --> + <bool name="config_enableAutoPowerModes">true</bool> + <!-- Integer parameters of the wifi to cellular handover feature wifi should not stick to bad networks --> <integer name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-100</integer> |