From 99d12c6a903a3199ba4956add53b82837d90ca9c Mon Sep 17 00:00:00 2001 From: codeworkx Date: Fri, 9 Aug 2013 19:45:45 +0200 Subject: [PATCH] galaxys2: remove DeviceSettings Change-Id: I7a5bfb220a2a2a23920b8b3d4e59add3b046a5dc --- DeviceSettings/Android.mk | 15 -- DeviceSettings/AndroidManifest.xml | 30 --- .../drawable/ic_launcher_cmdevicesettings.png | Bin 8207 -> 0 bytes .../preference_dialog_vibrator_tuning.xml | 59 ----- DeviceSettings/res/layout/top.xml | 5 - DeviceSettings/res/values-da/arrays.xml | 75 ------ DeviceSettings/res/values-da/strings.xml | 59 ----- DeviceSettings/res/values-de/arrays.xml | 75 ------ DeviceSettings/res/values-de/strings.xml | 70 ------ DeviceSettings/res/values-es/arrays.xml | 68 ------ DeviceSettings/res/values-es/strings.xml | 61 ----- DeviceSettings/res/values-fi/arrays.xml | 75 ------ DeviceSettings/res/values-fi/strings.xml | 59 ----- DeviceSettings/res/values-fr/arrays.xml | 68 ------ DeviceSettings/res/values-fr/strings.xml | 61 ----- DeviceSettings/res/values-hu/arrays.xml | 68 ------ DeviceSettings/res/values-hu/strings.xml | 61 ----- DeviceSettings/res/values-it/arrays.xml | 68 ------ DeviceSettings/res/values-it/strings.xml | 60 ----- DeviceSettings/res/values-nl/arrays.xml | 68 ------ DeviceSettings/res/values-nl/strings.xml | 71 ------ DeviceSettings/res/values-pl/arrays.xml | 75 ------ DeviceSettings/res/values-pl/strings.xml | 59 ----- DeviceSettings/res/values-pt-rBR/arrays.xml | 69 ------ DeviceSettings/res/values-pt-rBR/strings.xml | 61 ----- DeviceSettings/res/values-ru/arrays.xml | 74 ------ DeviceSettings/res/values-ru/strings.xml | 68 ------ DeviceSettings/res/values-zh-rCN/arrays.xml | 75 ------ DeviceSettings/res/values-zh-rCN/strings.xml | 59 ----- DeviceSettings/res/values/arrays.xml | 134 ----------- DeviceSettings/res/values/config.xml | 29 --- DeviceSettings/res/values/strings.xml | 82 ------- DeviceSettings/res/xml/dock_preferences.xml | 13 - DeviceSettings/res/xml/haptic_preferences.xml | 10 - DeviceSettings/res/xml/radio_preferences.xml | 12 - DeviceSettings/res/xml/screen_preferences.xml | 89 ------- .../res/xml/sensors_preferences.xml | 20 -- .../com/cyanogenmod/settings/device/CABC.java | 58 ----- .../settings/device/DeviceSettings.java | 162 ------------- .../settings/device/DockFragmentActivity.java | 72 ------ .../device/HapticFragmentActivity.java | 72 ------ .../com/cyanogenmod/settings/device/Hspa.java | 67 ------ .../settings/device/PanelGamma.java | 60 ----- .../device/RadioFragmentActivity.java | 66 ------ .../device/ScreenFragmentActivity.java | 116 --------- .../device/SensorsFragmentActivity.java | 84 ------- .../cyanogenmod/settings/device/Startup.java | 40 ---- .../settings/device/TouchkeyTimeout.java | 59 ----- .../device/TouchscreenSensitivity.java | 59 ----- .../cyanogenmod/settings/device/Utils.java | 163 ------------- .../device/VibratorTuningPreference.java | 223 ------------------ .../settings/device/mDNIeMode.java | 59 ----- .../settings/device/mDNIeNegative.java | 59 ----- .../settings/device/mDNIeOutdoor.java | 58 ----- .../settings/device/mDNIeScenario.java | 59 ----- 55 files changed, 3641 deletions(-) delete mode 100644 DeviceSettings/Android.mk delete mode 100644 DeviceSettings/AndroidManifest.xml delete mode 100755 DeviceSettings/res/drawable/ic_launcher_cmdevicesettings.png delete mode 100644 DeviceSettings/res/layout/preference_dialog_vibrator_tuning.xml delete mode 100755 DeviceSettings/res/layout/top.xml delete mode 100644 DeviceSettings/res/values-da/arrays.xml delete mode 100644 DeviceSettings/res/values-da/strings.xml delete mode 100644 DeviceSettings/res/values-de/arrays.xml delete mode 100644 DeviceSettings/res/values-de/strings.xml delete mode 100644 DeviceSettings/res/values-es/arrays.xml delete mode 100644 DeviceSettings/res/values-es/strings.xml delete mode 100644 DeviceSettings/res/values-fi/arrays.xml delete mode 100644 DeviceSettings/res/values-fi/strings.xml delete mode 100644 DeviceSettings/res/values-fr/arrays.xml delete mode 100644 DeviceSettings/res/values-fr/strings.xml delete mode 100644 DeviceSettings/res/values-hu/arrays.xml delete mode 100644 DeviceSettings/res/values-hu/strings.xml delete mode 100644 DeviceSettings/res/values-it/arrays.xml delete mode 100644 DeviceSettings/res/values-it/strings.xml delete mode 100644 DeviceSettings/res/values-nl/arrays.xml delete mode 100644 DeviceSettings/res/values-nl/strings.xml delete mode 100644 DeviceSettings/res/values-pl/arrays.xml delete mode 100644 DeviceSettings/res/values-pl/strings.xml delete mode 100644 DeviceSettings/res/values-pt-rBR/arrays.xml delete mode 100644 DeviceSettings/res/values-pt-rBR/strings.xml delete mode 100644 DeviceSettings/res/values-ru/arrays.xml delete mode 100644 DeviceSettings/res/values-ru/strings.xml delete mode 100644 DeviceSettings/res/values-zh-rCN/arrays.xml delete mode 100644 DeviceSettings/res/values-zh-rCN/strings.xml delete mode 100644 DeviceSettings/res/values/arrays.xml delete mode 100644 DeviceSettings/res/values/config.xml delete mode 100644 DeviceSettings/res/values/strings.xml delete mode 100644 DeviceSettings/res/xml/dock_preferences.xml delete mode 100644 DeviceSettings/res/xml/haptic_preferences.xml delete mode 100644 DeviceSettings/res/xml/radio_preferences.xml delete mode 100644 DeviceSettings/res/xml/screen_preferences.xml delete mode 100644 DeviceSettings/res/xml/sensors_preferences.xml delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/CABC.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/DockFragmentActivity.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/HapticFragmentActivity.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/Hspa.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/PanelGamma.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/RadioFragmentActivity.java delete mode 100755 DeviceSettings/src/com/cyanogenmod/settings/device/ScreenFragmentActivity.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/SensorsFragmentActivity.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/Startup.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/TouchkeyTimeout.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/TouchscreenSensitivity.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/Utils.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/VibratorTuningPreference.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeMode.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeNegative.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeOutdoor.java delete mode 100644 DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeScenario.java diff --git a/DeviceSettings/Android.mk b/DeviceSettings/Android.mk deleted file mode 100644 index 6605185..0000000 --- a/DeviceSettings/Android.mk +++ /dev/null @@ -1,15 +0,0 @@ -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_MODULE_TAGS := optional - -LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13 - -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_PACKAGE_NAME := DeviceSettings -LOCAL_CERTIFICATE := platform - -include $(BUILD_PACKAGE) - -include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/DeviceSettings/AndroidManifest.xml b/DeviceSettings/AndroidManifest.xml deleted file mode 100644 index f117bb2..0000000 --- a/DeviceSettings/AndroidManifest.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/DeviceSettings/res/drawable/ic_launcher_cmdevicesettings.png b/DeviceSettings/res/drawable/ic_launcher_cmdevicesettings.png deleted file mode 100755 index 66de9c39a16e398679a44c88a16c5b685e63d8cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8207 zcmV+qAn@ObP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(v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hWoo4!7uNfoKj8M zC;FsqT$pXgq%Ba4j}rl7q?T#huQuS)1kUaMjC$!Y?E5dlE7_~I9r~@>6w9@e+07VeaM`J&^r^dJ>W)hmI{3+l;vSZH73wJuos! zqK_fAE!x2^f*1?v1VDLsvzl^kC^^f2&kZ~iqo|kGpwGlWrP7A!- zHWj-s6?rpbEEx}$EGS9=@R(K9t1Gysb}#k&gCK8s4fl;brw|(#FuXGUmp6SZgvU z72VC`rg2=CUZ+HM_FPI9QrcmTf?P9`E|0+5^T7sIDn-j-AN!oMdeR5w;(5;X`))gBsyMd(%0?ZG(X)Wn&=RZ-fo9W&g_v*BVFp5O=Y^Bz#LS7 z+;|f}=^5BxD#eU7e|&#fdgp5!w}okxhivmv?j(<(P_&tK)uIuTIa#|GURhLUt(%e- zG&OBv4Pyci4tq>gw94i5$oRwGfAJ?nSF!r1Q5ezi{GfPzP7IvO|F2Erq=v19r6P3@ zRy^pVdpxo4V6tnm*QW8)!1safMBQw%vv+uu(9|*K6w4`jU!d&cd8_BJP2YRK)xZYe zh9acz!*;EPt@lQyEcM<)-lnFL?``h^wC~%04FG&Fehv2(aV!7;002ovPDHLkV1gi( B$jATy diff --git a/DeviceSettings/res/layout/preference_dialog_vibrator_tuning.xml b/DeviceSettings/res/layout/preference_dialog_vibrator_tuning.xml deleted file mode 100644 index 1cf116b..0000000 --- a/DeviceSettings/res/layout/preference_dialog_vibrator_tuning.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - diff --git a/DeviceSettings/res/layout/top.xml b/DeviceSettings/res/layout/top.xml deleted file mode 100755 index 744b568..0000000 --- a/DeviceSettings/res/layout/top.xml +++ /dev/null @@ -1,5 +0,0 @@ - - diff --git a/DeviceSettings/res/values-da/arrays.xml b/DeviceSettings/res/values-da/arrays.xml deleted file mode 100644 index baaadcd..0000000 --- a/DeviceSettings/res/values-da/arrays.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - CyanogenMod (Standard) - UI - Video - Varm Video - Kold Video - Kamera - Navigation - Galleri - VT - - - - Dynamisk - Standard (Standard) - Naturlig - Film - - - - Normal - Negativ - - - - Fra (Standard) - Til - - - - 2.2 (Standard) - 1.9 - - - - 10 - 20 - 30 - 50 (Standard) - 70 - 100 - - - - Kun UMTS - Kun HSDPA - HSDPA + HSUPA - - - - Aldrig - 1 sekund - 2 sekunder - 3 sekunder (Standard) - 4 sekunder - 5 sekunder - 6 sekunder - - diff --git a/DeviceSettings/res/values-da/strings.xml b/DeviceSettings/res/values-da/strings.xml deleted file mode 100644 index 1e85ced..0000000 --- a/DeviceSettings/res/values-da/strings.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - Advanced settings - - Skærm - Farver - Scenarie - Vælg mDNIe-scenarie - Tilstand - Vælg mDNIe-tilstand - Negativ tilstand - Slå negative farver til/fra - Udendørs tilstand - Slå udendørs tilstand til/fra - Gamma - Indstil gamma - - Touchscreen - Følsomhed - Indstil skærmens følsomhed - - Berøringstaster - Brug baggrundslys - Lys tasterne op når skærmen er tændt - Timeout - Tid før lyset slukker - - Sensorer - Accelerometer - Brug data fra kalibrering - Brug værdier fra kalibrering. Udfør kalibrering efter du vælger denne! - Kalibrér - Læg din telefon på en vandret overflade og tryk her for kalibrering - Kalibrering fuldført - Accelerometeret er kalibreret. - - Radio - HSPA - Slå HSDPA/HSUPA til/fra - - Dock - Lyd - Brug Dockens USB lyd - Spil lyden gennem dockens højttaler - diff --git a/DeviceSettings/res/values-de/arrays.xml b/DeviceSettings/res/values-de/arrays.xml deleted file mode 100644 index 2105e4b..0000000 --- a/DeviceSettings/res/values-de/arrays.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - CyanogenMod (Standard) - UI - Video - Video warm - Video kalt - Kamera - Navigation - Gallerie - VT - - - - Dynamisch - Standard (Standard) - Natürlich - Film - - - - Normal - Invertiert - - - - Deaktiviert - Aktiviert - - - - 2.2 (Standard) - 1.9 - - - - 10 - 20 - 30 - 50 (Standard) - 70 - 100 - - - - Nur UMTS - Nur HSDPA - HSDPA + HSUPA - - - - Niemals - 1 Sekunde - 2 Sekunden - 3 Sekunden (Standard) - 4 Sekunden - 5 Sekunden - 6 Sekunden - - diff --git a/DeviceSettings/res/values-de/strings.xml b/DeviceSettings/res/values-de/strings.xml deleted file mode 100644 index 1b98c13..0000000 --- a/DeviceSettings/res/values-de/strings.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - Erweiterte Einstellungen - - Zurücksetzen - - Bildschirm - Farben - mDNIe-Szenario - mDNIe-Szenario auswählen - mDNIe-Modus - mDNIe-Modus auswählen - Negativ - Farben invertieren an/aus - Outdoor - Outdoor-Modus an/aus - Gamma - Gamma Wert - - Touchscreen - Empfindlichkeit - Berührungs-Empfindlichkeit - - Touchkeys - Beleuchtung - Touchkeys leuchten auf während das Display aktiv ist - Beleuchtungs-Timeout - Zeit für die autom. Abschaltung der Touchkey-Beleuchtung - - Sensoren - Beschleunigungssensor - Kalibrierungsdaten - Kalibrierungswerte verwenden\nNach Aktivierung bitte Kalibrierung ausführen - Kalibrieren - Sensor kalibrieren\nZum Starten das Telefon auf eine horizontale, ebene Fläche legen - Kalibrierung beendet - Der Beschleunigungssensor wurde kalibriert - - - Haptik - - - Vibrator - Vibrationsstärke - Stärke des Vibrationseffektes einstellen - Vorsicht: Höhere Werte als %1$d werden nicht empfohlen - - Mobilfunk - HSPA - HSDPA/HSUPA an/aus - - Dock - Audio - USB-Dock Audio - Passive Audio-Ausgabe des USB-Docks verwenden - diff --git a/DeviceSettings/res/values-es/arrays.xml b/DeviceSettings/res/values-es/arrays.xml deleted file mode 100644 index 603abd0..0000000 --- a/DeviceSettings/res/values-es/arrays.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - CyanogenMod (por defecto) - UI - Vídeo - Vídeo cálido - Vídeo frío - Camara - Navegación - Galería - VT - - - Dinámico - Estándar (por defecto) - Natural - Película - - - Normal - Invertido - - - Apagado (por defecto) - Encendido - - - 2,2 (por defecto) - 1,9 - - - 10 - 20 - 30 - 50 (por defecto) - 70 - 100 - - - Sólo UMTS - Sólo HSDPA - HSDPA + HSUPA - - - Nunca - 1 segundo - 2 segundos - 3 segundos (por defecto) - 4 segundos - 5 segundos - 6 segundos - - diff --git a/DeviceSettings/res/values-es/strings.xml b/DeviceSettings/res/values-es/strings.xml deleted file mode 100644 index 67a5d9c..0000000 --- a/DeviceSettings/res/values-es/strings.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - Ajustes avanzados - Restablecer - Pantalla - Colores - Brillo adaptativo - Activar el control de brillo adaptado al contenido - Escenario - Establecer escenario mDNIe - Modo - Establecer modo mDNIe - Modo Negativo - Habilitar/deshabilitar colores invertidos - Modo al aire libre - Habilitar/deshabilitar modo al aire libre - Gamma - Establece el valor Gamma de la pantalla - Pantalla táctil - Sensibilidad táctil - Establecer la sensibilidad del panel táctil - Teclas táctiles - Habilitar retroiluminación de teclas táctiles - Retroiluminación teclas táctiles cuando la pantalla está activa - Tiempo de espera de retroiluminación - Tiempo tras pulsar una tecla antes de apagar la retroiluminación - Sensores - Acelerómetro - Usar datos de calibración - Usar los valores de calibración del acelerómetro. ¡Realizar una calibración después de habilitar esta funcionalidad! - Calibrar - Poner el teléfono sobre una superficie plana, y presionar este menú para calibrar de nuevo - Calibración realizada - El sensor ha sido calibrado satisfactoriamente - Háptica - Vibración - Intensidad de vibración - Establecer la intensidad de vibración - No son recomendables valores mayores de %1$d - Radio - HSPA - Habilitar HSDPA/HSUPA - Base - Sonido - Usar sonido USB - Utilizar la salida de audio de la base - diff --git a/DeviceSettings/res/values-fi/arrays.xml b/DeviceSettings/res/values-fi/arrays.xml deleted file mode 100644 index c576efa..0000000 --- a/DeviceSettings/res/values-fi/arrays.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - CyanogenMod (Oletus) - Käyttöliittymä - Video - Video(Lämmin) - Video(Kylmä) - Kamera - Navigointi - Galleria - VT - - - - Dynaaminen - Standardi (Oletus) - Luonnollinen - Elokuva - - - - Normaali - Käänteinen - - - - Pois päältä (Oletus) - Päällä - - - - 2.2 (Oletus) - 1.9 - - - - 10 - 20 - 30 - 50 (Oletus) - 70 - 100 - - - - Vain UMTS - Vain HSDPA - HSDPA + HSUPA - - - - Never - 1 second - 2 seconds - 3 seconds (Oletus) - 4 seconds - 5 seconds - 6 seconds - - diff --git a/DeviceSettings/res/values-fi/strings.xml b/DeviceSettings/res/values-fi/strings.xml deleted file mode 100644 index ec434a8..0000000 --- a/DeviceSettings/res/values-fi/strings.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - Advanced settings - - Näyttö - Värit - Skenaario - Vaihda mDNIe-skenaario - Tila - Vaihda mDNIe-tila - Negatiivi-tila - Käytä käänteisiä värejä - Ulkoilma-tila - Ota ulkoilma-tila käyttöön - Näytön gamma - Säädä näytön gamma-arvo - - Kosketusnäyttö - Kosketuksen herkkyys - Säädä näytön herkkyyttä - - Kosketusnäppäimet - Ota näppäinten taustavalo käyttöön - Näytön ollessa päällä valot syttyvät - Taustavalon aikakatkaisu - Säädä taustavalon sammumisen aikaväliä kosketuksesta - - Sensorit - Kiihtyvyysanturi - Käytä kalibrointitietoja - Käytä kiihtyvyysanturin kalibrointiarvoja. Kalibroi merkattuasi tämän! - Kalibroi - Aseta puhelin tasaiselle alustalle ja paina tätä kalibroidaksesi - Kalibrointi valmis - Sensori kalibroitu onnistuneesti - - Radio - HSPA - Ota HSDPA/HSUPA käyttöön - - Telakka - Audio - Käytä USB-audiotelakkaa - Käytä telakan audioulostuloa - diff --git a/DeviceSettings/res/values-fr/arrays.xml b/DeviceSettings/res/values-fr/arrays.xml deleted file mode 100644 index 79b4926..0000000 --- a/DeviceSettings/res/values-fr/arrays.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - CyanogenMod (Défaut) - UI - Vidéo - Vidéo chaude - Vidéo froide - Caméra - Navigation - Galerie - VT - - - Dynamique - Standard (Défaut) - Naturel - Vidéo - - - Normal - Inversé - - - Désactivé (Défaut) - Activer - - - 2.2 (Défaut) - 1.9 - - - 10 - 20 - 30 - 50 (Défaut) - 70 - 100 - - - UMTS seulement - HSDPA seulement - HSDPA + HSUPA - - - Désactivé - 1 seconde - 2 secondes - 3 secondes (Défaut) - 4 secondes - 5 secondes - 6 secondes - - diff --git a/DeviceSettings/res/values-fr/strings.xml b/DeviceSettings/res/values-fr/strings.xml deleted file mode 100644 index 55395c7..0000000 --- a/DeviceSettings/res/values-fr/strings.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - Paramètres avancés - Réinitialiser - Écran - Couleurs - CABC - Activer le contrôle adaptatif du rétroéclairage - Scénario - Définir le scénario mDNIe - Mode - Définir le mode mDNIe - Mode négatif - Activer/désactiver les couleurs inversées - Mode extérieur - Activer/désactiver le mode extérieur - Gamma écran - Définir la valeur de gamma de l\'écran - Tactile - Sensibilité - Définir la sensibilité du toucher - Touches tactiles - Rétroéclairage - Activer le rétroéclairage des touches tactiles lorsque l\'écran est activé - Délai avant extinction - Définir le délai avant l\'extinction des touches - Capteurs - Accéléromètre - Utiliser les données de calibrage - Utiliser les données de calibrage de l\'accéléromètre. Faire un calibrage après avoir coché cette option\u00A0! - Calibrer - Poser le téléphone sur une surface plane puis appuyer ici pour le calibrer - Calibrage terminé - Le capteur a été correctement calibré. - Haptique - Vibreur - Intensité du vibreur - Définir l\'intensité du vibreur - Les valeurs supérieurs à %1$d ne sont pas recommandées - Radio - HSPA - Activer HSDPA/HSUPA - Station d\'accueil - Audio - Sortie audio - Utiliser la sortie audio de la station d\'accueil - diff --git a/DeviceSettings/res/values-hu/arrays.xml b/DeviceSettings/res/values-hu/arrays.xml deleted file mode 100644 index 352189b..0000000 --- a/DeviceSettings/res/values-hu/arrays.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - CyanogenMod (Alapbeállítás) - Felhasználói felület - Videó - Videó (Meleg árnyalat) - Videó (Hideg árnyalat) - Kamera - Navigáció - Galéria - VT - - - Dinamikus - Hagyományos (Alapbeállítás) - Természetes - Film - - - Hagyományos - Fordított - - - Kikapcsolva (Alapbeállítás) - Bekapcsolva - - - 2.2 (Alapbeállítás) - 1.9 - - - 10 - 20 - 30 - 50 (Alapbeállítás) - 70 - 100 - - - UMTS - HSDPA - HSDPA + HSUPA - - - Soha - 1 másodperc - 2 másodperc - 3 másodperc (Alapbeállítás) - 4 másodperc - 5 másodperc - 6 másodperc - - diff --git a/DeviceSettings/res/values-hu/strings.xml b/DeviceSettings/res/values-hu/strings.xml deleted file mode 100644 index 4a5cad4..0000000 --- a/DeviceSettings/res/values-hu/strings.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - Speciális beállítások - Beállítások alaphelyzetbe állítása - Kijelző - Színek - CABC - Tartalomhoz alkalmazkodó háttérvilágítás engedélyezése - Megjelenítés - mDNIe megjelenítési beállítások - Üzemmód - mDNIe üzemmódok - Negatív üzemmód - Fordított színek ki/be - Szabadtéri üzemmód - Szabadtéri üzemmód ki/be - Kijelző gamma-értéke - Kijelző gamma-érték beállítása - Érintőképernyő - Érzékenység - Érintőképernyő érzékenységének beállítása - Érintőgombok - Érintőgombok háttérvilágítása - Bekapcsolja az érintőgombok háttérvilágítását bekapcsolt képernyőnél - Háttérvilágítás időkorlátja - Háttérvilágítás késleltetése - Szenzorok - Giroszkóp - Kalibrálási érték használata - Kalibrálási érték használata. Érdemes újra kalibrálni, ha ez a funkció használatban van! - Kalibrálás - Kalibráláshoz a telefont vízszintes felületre kell helyezni, és megérinteni ezt a gombot - Kalibrálás befejezve - Az érzékelő sikeresen bekalibrálva. - Érintési visszajelzés - Rezgés - Rezgés erőssége - Állítsa be a rezgés erősségét - Nem ajánlott %1$d értéknél nagyobbra állítani - GSM Rádió - HSPA - HSDPA/HSUPA engedélyezése - Dokkoló - Dokkoló hangszórók - Dokkoló hangszóróinak használata - Használja a dokkoló passzív hangkimenetét - diff --git a/DeviceSettings/res/values-it/arrays.xml b/DeviceSettings/res/values-it/arrays.xml deleted file mode 100644 index 4120514..0000000 --- a/DeviceSettings/res/values-it/arrays.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - CyanogenMod (predefinito) - UI - Video - Video caldo - Video freddo - Camera - Navigazione - Galleria - VT - - - Dinamico - Standard (predefinito) - Naturale - Film - - - Normale - Invertito - - - Off (predefinito) - On - - - 2,2 (predefinito) - 1,9 - - - 10 - 20 - 30 - 50 (predefinito) - 70 - 100 - - - Solo UMTS - Solo HSDPA - HSDPA + HSUPA - - - Mai - 1 secondo - 2 secondi - 3 secondi (predefinito) - 4 secondi - 5 secondi - 6 secondi - - diff --git a/DeviceSettings/res/values-it/strings.xml b/DeviceSettings/res/values-it/strings.xml deleted file mode 100644 index 8ddfd82..0000000 --- a/DeviceSettings/res/values-it/strings.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - Impostazioni avanzate - Ripristina a predefinite - Schermo - Colori - Abilita controllo luminosità adattativo - Scenario - Imposta lo scenario mDNIe - Modalità - Imposta la modalità mDNIe - Negativo - Abilita/disabilita i colori invertiti - Esterno - Abilita/disabilita la modalità esterno - Gamma schermo - Imposta il valore gamma dello schermo - Schermo tattile - Sensibilità tocco - Imposta la sensibilità al tocco dello schermo - Tasti a sfioramento - Retroilluminazione - Abilita la retroilluminazione dei tasti a sfioramento quando lo schermo è attivo - Timer retroilluminazione - Imposta l\'intervallo dopo cui la retroilluminazione dei tasti si spegne - Sensori - Accelerometro - Usa dati di calibrazione - Usa i valori di calibrazione dell\'accelerometro. Effettuare una calibrazione dopo aver attivato questa impostazione! - Calibrazione - Posizionare il telefono su una superficie orizzontale piana e premere per effettuare la calibrazione - Calibrazione effettuata - Il sensore è stato correttamente calibrato. - Aptico - Vibrazione - Intensità vibrazione - Modifica l\'intensità della vibrazione del feedback aptico - Valori superiori a %1$d non sono raccomandati - Radio - HSPA - Abilita HSDPA/HSUPA - Dock - Audio - Usa USB audio in dock - Usa l\'uscita audio passiva quando in dock - diff --git a/DeviceSettings/res/values-nl/arrays.xml b/DeviceSettings/res/values-nl/arrays.xml deleted file mode 100644 index 67c1691..0000000 --- a/DeviceSettings/res/values-nl/arrays.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - CyanogenMod (standaard) - Uiterlijk - Video - Video (warm) - Video (koud) - Camera - Navigatie - Galerij - VT - - - Dynamisch - Standaard (standaard) - Natuurlijk - Film - - - Normaal - Omgedraaid - - - Uit (standaard) - Aan - - - 2,2 (standaard) - 1,9 - - - 10 - 20 - 30 - 50 (standaard) - 70 - 100 - - - Alleen UMTS - Alleen HSDPA - HSDPA & HSUPA - - - Nooit - 1 seconde - 2 seconden - 3 seconden (standaard) - 4 seconden - 5 seconden - 6 seconden - - diff --git a/DeviceSettings/res/values-nl/strings.xml b/DeviceSettings/res/values-nl/strings.xml deleted file mode 100644 index 4853ee1..0000000 --- a/DeviceSettings/res/values-nl/strings.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - Geavanceerde instellingen - - Standaardwaarden - - Scherm - Kleuren - - Inhoud (CABC) - Inhoudsafhankelijke achtergrondverlichting inschakelen - - Scenario - mDNIe-scenario instellen - Modus - mDNIe-modus instellen - Negatieve modus - Negatieve kleuren in-/uitschakelen - Buitenmodus - Buitenmodus in-/uitschakelen - Schermgamma - Schermgammawaarden instellen - - Aanraakscherm - Aanraakgevoeligheid - Gevoeligheid aanraakscherm instellen - - Aanraakknoppen - Verlichting - Aanraakknoppen oplichten indien scherm aan is - Time-out verlichting - Vertraging van uitschakelen verlichting aanraakknoppen - - Sensoren - Gyroscoop - Kalibratiegegevens gebruiken - Kalibratiewaarden van de gyroscoop gebruiken. Voer hierna a.u.b. een kalibratie uit. - Kalibreren - Plaats de telefoon op een vlakke ondergrond en tik hier om te kalibreren - Kalibratie afgerond - De sensor is succesvol gekalibreerd. - - Trillen - Trilapparaat - Trilintensiteit - Trilintensiteit instellen - Waarden hoger dan %1$d worden niet aangeraden - - Radio - HSPA - HSDPA/HSUPA inschakelen - - Dock - Geluid - USB-geluid van dock - Passieve geluidsuitgang van het dock gebruiken - diff --git a/DeviceSettings/res/values-pl/arrays.xml b/DeviceSettings/res/values-pl/arrays.xml deleted file mode 100644 index e1de031..0000000 --- a/DeviceSettings/res/values-pl/arrays.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - CyanogenMod (domyślnie) - UI - Wideo - Ciepły film - Zimny film - Kamera - Nawigacja - Galeria - VT - - - - Dynamicznie - Standardowo (domyślnie) - Naturalnie - Film - - - - Normalnie - Odwrócony - - - - Wyłączony (domyślnie) - Włączony - - - - 2.2 (domyślnie) - 1.9 - - - - 10 - 20 - 30 - 50 (domyślnie) - 70 - 100 - - - - Tylko UMTS - Tylko HSDPA - HSDPA + HSUPA - - - - Nigdy - 1 sekunda - 2 sekundy - 3 sekundy (domyślnie) - 4 sekundy - 5 sekund - 6 sekund - - diff --git a/DeviceSettings/res/values-pl/strings.xml b/DeviceSettings/res/values-pl/strings.xml deleted file mode 100644 index 7d4d1a1..0000000 --- a/DeviceSettings/res/values-pl/strings.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - Advanced settings - - Ekran - Kolory - Technologia mDNIe - Ustaw scenariusz mDNIe - Tryb - Ustaw tryb mDNIe - Tryb negatywu - Włącz/wyłącz odwrócone kolory - Tryb plenerowy - Aktywuj/deaktywuj tryb plenerowy - Poziom gamma ekranu - Ustaw poziom gamma ekranu - - Ekran dotykowy - Czułość ekranu dotykowego - Ustaw czułość ekranu dotykowego - - Przyciski dotykowe - Włącz podświetlenie przycisków - Podświetl przyciski kiedy ekran jest włączony - Opóźnienie podświetlenia - Opóźnienie wyłączenia podświetlenia po naciśnięciu przycisku - - Czujniki - Akcelerometr - Używaj danych z kalibracji - Używaj danych z kalibracji akcelerometru. Wykonaj kalibrację po zaznaczeniu tej opcji! - Kalibruj - Połóż telefon na płaskiej powierzchni i naciśnij to, aby skalibrować - Skalibrowano - Akcelerometr został poprawnie skalibrowany. - - Radio - HSPA - Aktywuj HSDPA/HSUPA - - Stacja dokująca - Dźwięk w stacji dokującej - Użyj stacji dokującej - Użyj pasywnego wyjścia audio w stacji dokującej - diff --git a/DeviceSettings/res/values-pt-rBR/arrays.xml b/DeviceSettings/res/values-pt-rBR/arrays.xml deleted file mode 100644 index b9ae6e6..0000000 --- a/DeviceSettings/res/values-pt-rBR/arrays.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - CyanogenMod (Padrão) - IU - Vídeo - Vídeo Quente - Vídeo Frio - Câmera - Navegação - Galeria - VT - - - - Dinâmico - Padrão (Padrão) - Natural - Filme - - - Normal - Invertido - - - Desligado (Padrão) - Ligado - - - 2.2 (Padrão) - 1.9 - - - 10 - 20 - 30 - 50 (Padrão) - 70 - 100 - - - Somente UMTS - Somente HSDPA - HSDPA + HSUPA - - - Nunca - 1 segundo - 2 segundos - 3 segundos (padrão) - 4 segundos - 5 segundos - 6 segundos - - diff --git a/DeviceSettings/res/values-pt-rBR/strings.xml b/DeviceSettings/res/values-pt-rBR/strings.xml deleted file mode 100644 index 9c9bc99..0000000 --- a/DeviceSettings/res/values-pt-rBR/strings.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - Configurações avançadas - Cores - Cenário - Define o Cenário mDNIe - Modo - Define o Modo mDNIe - Modo Negativo - Ativa/Desativa cores invertidas - Modo Ao Ar Livre - Ativa/Desativa modo ao ar livre - Gama da Tela - Define valor da gama da tela - Tela sensível ao toque - Sensitividade do toque - Define a sensitividade do toque na tela - Tecla sensível ao toque - Ativar luz de fundo das teclas - Acender as teclas sensíveis ao toque quando a tela estiver ligada - Tempo limite da luz de fundo - Quanto tempo a luz de fundo irá ficar acesa depois do botão ser pressionado - Sensores - Resposta tátil - Vibração - Intensidade da vibração - Ajusar a intensidade da resposta por vibração - Valores maiores que %1$d não são recomendados - Rádio - HSPA - Ativa HSDPA/HSUPA - Tela - Acelerômetro - Usar dados de calibragem - Usa os valores dos dados de calibragem. Calibre após marcar isto! - Calibrar - Coloque seu telefone em uma superfície plana, e pressione isto para calibrar - Calibragem terminada - O sensor foi calibrado com sucesso. - Dock - Áudio - Usar áudio USB do dock - Usar a saída de áudio passiva no dock - Redefinir para padrão - Ativar controle de luz de fundo adaptivo ao conteúdo - CLAC - \ No newline at end of file diff --git a/DeviceSettings/res/values-ru/arrays.xml b/DeviceSettings/res/values-ru/arrays.xml deleted file mode 100644 index 9d595c9..0000000 --- a/DeviceSettings/res/values-ru/arrays.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - CyanogenMod (По умолч.) - Видео - Видео (тёпл.) - Видео (хол.) - Камера - Навигация - Галерея - VT - - - - Динамический - Стандартный (По умолч.) - Натуральный - Кино - - - - Выкл. (По умолчанию) - Вкл. - - - - Выкл. (По умолчанию) - Вкл. - - - - 2.2 (По умолчанию) - 1.9 - - - - 10 - 20 - 30 - 50 (По умолчанию) - 70 - 100 - - - - Только UMTS - Только HSDPA - HSDPA + HSUPA - - - - Никогда - 1 секунда - 2 секунды - 3 секунды (По умолчанию) - 4 секунды - 5 секунд - 6 секунд - - diff --git a/DeviceSettings/res/values-ru/strings.xml b/DeviceSettings/res/values-ru/strings.xml deleted file mode 100644 index 8c7b9c5..0000000 --- a/DeviceSettings/res/values-ru/strings.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - Advanced settings - - Экран - Цвета - Сценарий - Установка сценария mDNIe - Режим - Установка режима mDNIe - Инверсия - Включить/Выключить инверсию цветов - Повышенная яркость - Включить/Выключить режим повышенной яркости - Гамма - Установка значения цветовой гаммы - - Сенсорный экран - Чувствительность - Установка чувствительности сенсорного экрана - - Сенсорные кнопки - Подсветка кнопок - Включать подсветку сенсорных кнопок при включённом экране - Тайм-аут подсветки - Время до выключения подсветки после последнего нажатия на кнопки - - Датчики - Акселерометр - Использовать данные калибровки - Использовать откалиброванные значения. Необходимо выполнить калибровку! - Калибровка - Положите телефон на ровную поверхность и нажмите эту кнопку. - Калибровка выполнена - Датчик успешно откалиброван - - - Отклик - - - Вибрация - Интенсивность вибрации - Установка интенсивности вибрации - Не рекомендуется установка значения выше %1$d - - Модем - HSPA - Включить HSDPA/HSUPA - - Док-станция - Аудио - USB аудио док-станция - Использовать пассивный режим аудио док-станции - diff --git a/DeviceSettings/res/values-zh-rCN/arrays.xml b/DeviceSettings/res/values-zh-rCN/arrays.xml deleted file mode 100644 index adde160..0000000 --- a/DeviceSettings/res/values-zh-rCN/arrays.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - CyanogenMod (默认) - 界面 - 影片 - 影片 (温) - 影片 (冷) - 相机 - 导航 - 图库 - VT - - - - 动态 - 标准 (默认) - 自然 - 电影 - - - - 正常 - 反色 - - - - 禁用 (默认) - 启用 - - - - 2.2 (默认) - 1.9 - - - - 10 - 20 - 30 - 50 (默认) - 70 - 100 - - - - 仅使用 UMTS - 仅使用 HSDPA - 使用 HSDPA + HSUPA - - - - 从不 - 1 秒 - 2 秒 - 3 秒 (默认) - 4 秒 - 5 秒 - 6 秒 - - diff --git a/DeviceSettings/res/values-zh-rCN/strings.xml b/DeviceSettings/res/values-zh-rCN/strings.xml deleted file mode 100644 index 9512def..0000000 --- a/DeviceSettings/res/values-zh-rCN/strings.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - 高级设置 - - 屏幕 - 颜色 - 场景 - 设置 mDNIe 场景 - 模式 - 设置 mDNIe 模式 - 负极模式 - 启用/禁用反色 - 户外模式 - 启用/禁用户外模式 - 屏幕珈玛 - 设置屏幕珈玛 - - 触摸屏 - 触摸屏灵敏度 - 设置触摸屏灵敏度 - - 触摸键 - 启用触摸键背光灯 - 屏幕开启时触摸键将会点亮 - 背光灯超时 - 设置背光灯超时时间 - - 感应器 - 加速规 - 使用校准数据 - 使用加速规的校准数据。请在检查此之后重新校准! - 校准 - 把手机放在平面上,然后点击此按键进行校准 - 校准完成 - 感应器已被成功的校准。 - - 无线电 - HSPA - 启用 HSDPA/HSUPA - - 基座 - 音频 - 使用基座的 USB 音频 - 使用基座上的被动音频输出 - diff --git a/DeviceSettings/res/values/arrays.xml b/DeviceSettings/res/values/arrays.xml deleted file mode 100644 index 662245e..0000000 --- a/DeviceSettings/res/values/arrays.xml +++ /dev/null @@ -1,134 +0,0 @@ - - - - - CyanogenMod (Default) - UI - Video - Video Warm - Video Cold - Camera - Navigation - Gallery - VT - - - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - - - - Dynamic - Standard (Default) - Natural - Movie - - - - 0 - 1 - 2 - 3 - - - - Normal - Inverted - - - - 0 - 1 - - - - Off (Default) - On - - - - 0 - 1 - - - - 2.2 (Default) - 1.9 - - - - 0 - 1 - - - - 10 - 20 - 30 - 50 (Default) - 70 - 100 - - - - 10 - 20 - 30 - 50 - 70 - 100 - - - - UMTS Only - HSDPA Only - HSDPA + HSUPA - - - - 21 - 22 - 23 - - - - Never - 1 second - 2 seconds - 3 seconds (Default) - 4 seconds - 5 seconds - 6 seconds - - - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - - diff --git a/DeviceSettings/res/values/config.xml b/DeviceSettings/res/values/config.xml deleted file mode 100644 index 8251320..0000000 --- a/DeviceSettings/res/values/config.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - true - "/sys/vibrator/pwm_val" - 100 - 75 - 50 - 0 - - diff --git a/DeviceSettings/res/values/strings.xml b/DeviceSettings/res/values/strings.xml deleted file mode 100644 index c291ee3..0000000 --- a/DeviceSettings/res/values/strings.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - Advanced settings - - Reset to default - - - Screen - Colors - - - CABC - Enable content adaptive backlight control - - - Scenario - Set the mDNIe Scenario - Mode - Set the mDNIe Mode - Negative Mode - Enable/Disable inverted colors - Outdoor Mode - Enable/Disable outdoor mode - Screen Gamma - Set screen gamma value - - - Touchscreen - Touch sensitivity - Set touch panel sensitivity - - - Touchkeys - Enable keys backlight - Light up touchkeys when screen is on - Backlight timeout - Delay after a keypress before backlight turns off - - - Sensors - Accelerometer - Use calibration data - Use the accelerometer calibration values. Do a calibration after checking this! - Calibrate - Put your phone on a flat surface, and press this to calibrate - Calibration done - The sensor has been successfully calibrated. - - - Haptic - - - Vibrator - Vibration strength - Adjust the strength of the vibration feedback - Values higher than %1$d are not recommended - - - Radio - HSPA - Enable HSDPA/HSUPA - - - Dock - Audio - Use Dock USB Audio - Use the passive audio out on the dock - diff --git a/DeviceSettings/res/xml/dock_preferences.xml b/DeviceSettings/res/xml/dock_preferences.xml deleted file mode 100644 index 5f5fdf4..0000000 --- a/DeviceSettings/res/xml/dock_preferences.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - diff --git a/DeviceSettings/res/xml/haptic_preferences.xml b/DeviceSettings/res/xml/haptic_preferences.xml deleted file mode 100644 index 31070ed..0000000 --- a/DeviceSettings/res/xml/haptic_preferences.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/DeviceSettings/res/xml/radio_preferences.xml b/DeviceSettings/res/xml/radio_preferences.xml deleted file mode 100644 index b78ecde..0000000 --- a/DeviceSettings/res/xml/radio_preferences.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - diff --git a/DeviceSettings/res/xml/screen_preferences.xml b/DeviceSettings/res/xml/screen_preferences.xml deleted file mode 100644 index 0e05e3e..0000000 --- a/DeviceSettings/res/xml/screen_preferences.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/DeviceSettings/res/xml/sensors_preferences.xml b/DeviceSettings/res/xml/sensors_preferences.xml deleted file mode 100644 index 8c61e07..0000000 --- a/DeviceSettings/res/xml/sensors_preferences.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/CABC.java b/DeviceSettings/src/com/cyanogenmod/settings/device/CABC.java deleted file mode 100644 index af247d8..0000000 --- a/DeviceSettings/src/com/cyanogenmod/settings/device/CABC.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2013 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.device; - -import android.content.Context; -import android.content.SharedPreferences; -import android.preference.CheckBoxPreference; -import android.preference.Preference; -import android.preference.Preference.OnPreferenceChangeListener; -import android.preference.PreferenceManager; -import android.util.AttributeSet; - -public class CABC extends CheckBoxPreference implements OnPreferenceChangeListener { - - public CABC(Context context, AttributeSet attrs) { - super(context, attrs); - this.setOnPreferenceChangeListener(this); - } - - private static final String FILE = "/sys/class/lcd/panel/power_reduce"; - - public static boolean isSupported() { - return Utils.fileExists(FILE); - } - - /** - * Restore cabc setting from SharedPreferences. (Write to kernel.) - * @param context The context to read the SharedPreferences from - */ - public static void restore(Context context) { - if (!isSupported()) { - return; - } - - SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context); - Utils.writeValue(FILE, sharedPrefs.getBoolean(DeviceSettings.KEY_CABC, true) ? "1" : "0"); - } - - public boolean onPreferenceChange(Preference preference, Object newValue) { - Utils.writeValue(FILE, (Boolean)newValue ? "1" : "0"); - return true; - } - -} diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java b/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java deleted file mode 100644 index 9e35889..0000000 --- a/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java +++ /dev/null @@ -1,162 +0,0 @@ -/* - * Copyright (C) 2012 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.device; - -import android.app.ActionBar; -import android.app.ActionBar.Tab; -import android.app.Activity; -import android.app.Fragment; -import android.app.FragmentTransaction; -import android.content.Context; -import android.os.Bundle; -import android.support.v4.app.FragmentActivity; -import android.support.v13.app.FragmentPagerAdapter; -import android.support.v4.view.ViewPager; - -import com.cyanogenmod.settings.device.R; - -import java.util.ArrayList; - -public class DeviceSettings extends FragmentActivity { - - public static final String SHARED_PREFERENCES_BASENAME = "com.cyanogenmod.settings.device"; - public static final String ACTION_UPDATE_PREFERENCES = "com.cyanogenmod.settings.device.UPDATE"; - public static final String KEY_CABC = "cabc"; - public static final String KEY_MDNIE_SCENARIO = "mdnie_scenario"; - public static final String KEY_MDNIE_MODE = "mdnie_mode"; - public static final String KEY_MDNIE_NEGATIVE = "mdnie_negative"; - public static final String KEY_MDNIE_OUTDOOR = "mdnie_outdoor"; - public static final String KEY_PANEL_GAMMA = "panel_gamma"; - public static final String KEY_HSPA = "hspa"; - public static final String KEY_USE_ACCELEROMETER_CALIBRATION = "use_accelerometer_calibration"; - public static final String KEY_CALIBRATE_ACCELEROMETER = "calibrate_accelerometer"; - public static final String KEY_TOUCHSCREEN_SENSITIVITY = "touchscreen_sensitivity"; - public static final String KEY_TOUCHKEY_LIGHT = "touchkey_light"; - public static final String KEY_TOUCHKEY_TIMEOUT = "touchkey_timeout"; - public static final String KEY_USE_DOCK_AUDIO = "dock_audio"; - - ViewPager mViewPager; - TabsAdapter mTabsAdapter; - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - - mViewPager = new ViewPager(this); - mViewPager.setId(R.id.viewPager); - setContentView(mViewPager); - - final ActionBar bar = getActionBar(); - bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); - bar.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_TITLE); - bar.setTitle(R.string.app_name); - - mTabsAdapter = new TabsAdapter(this, mViewPager); - mTabsAdapter.addTab(bar.newTab().setText(R.string.category_radio_title), - RadioFragmentActivity.class, null); - mTabsAdapter.addTab(bar.newTab().setText(R.string.category_screen_title), - ScreenFragmentActivity.class, null); - mTabsAdapter.addTab(bar.newTab().setText(R.string.category_sensors_title), - SensorsFragmentActivity.class, null); - mTabsAdapter.addTab(bar.newTab().setText(R.string.category_haptic_title), - HapticFragmentActivity.class, null); - mTabsAdapter.addTab(bar.newTab().setText(R.string.category_dock_title), - DockFragmentActivity.class, null); - - if (savedInstanceState != null) { - bar.setSelectedNavigationItem(savedInstanceState.getInt("tab", 0)); - } - } - - @Override - protected void onSaveInstanceState(Bundle outState) { - super.onSaveInstanceState(outState); - outState.putInt("tab", getActionBar().getSelectedNavigationIndex()); - } - - public static class TabsAdapter extends FragmentPagerAdapter - implements ActionBar.TabListener, ViewPager.OnPageChangeListener { - private final Context mContext; - private final ActionBar mActionBar; - private final ViewPager mViewPager; - private final ArrayList mTabs = new ArrayList(); - - static final class TabInfo { - private final Class clss; - private final Bundle args; - - TabInfo(Class _class, Bundle _args) { - clss = _class; - args = _args; - } - } - - public TabsAdapter(Activity activity, ViewPager pager) { - super(activity.getFragmentManager()); - mContext = activity; - mActionBar = activity.getActionBar(); - mViewPager = pager; - mViewPager.setAdapter(this); - mViewPager.setOnPageChangeListener(this); - } - - public void addTab(ActionBar.Tab tab, Class clss, Bundle args) { - TabInfo info = new TabInfo(clss, args); - tab.setTag(info); - tab.setTabListener(this); - mTabs.add(info); - mActionBar.addTab(tab); - notifyDataSetChanged(); - } - - @Override - public int getCount() { - return mTabs.size(); - } - - @Override - public Fragment getItem(int position) { - TabInfo info = mTabs.get(position); - return Fragment.instantiate(mContext, info.clss.getName(), info.args); - } - - public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { - } - - public void onPageSelected(int position) { - mActionBar.setSelectedNavigationItem(position); - } - - public void onPageScrollStateChanged(int state) { - } - - public void onTabSelected(Tab tab, FragmentTransaction ft) { - Object tag = tab.getTag(); - for (int i=0; i= strengthToPercent(WARNING_THRESHOLD); - if (mProgressDrawable != null) { - mProgressDrawable.setColorFilter(shouldWarn ? mRedFilter : null); - } - if (mProgressThumb != null) { - mProgressThumb.setColorFilter(shouldWarn ? mRedFilter : null); - } - Utils.writeValue(FILE_PATH, String.valueOf(percentToStrength(progress))); - mValue.setText(String.format("%d%%", progress)); - } - - @Override - public void onStartTrackingTouch(SeekBar seekBar) { - // Do nothing - } - - @Override - public void onStopTrackingTouch(SeekBar seekBar) { - Vibrator vib = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE); - vib.vibrate(200); - } - - /** - * Convert vibrator strength to percent - */ - public static int strengthToPercent(int strength) { - double maxValue = MAX_VALUE; - double minValue = MIN_VALUE; - - double percent = (strength - minValue) * (100 / (maxValue - minValue)); - - if (percent > 100) - percent = 100; - else if (percent < 0) - percent = 0; - - return (int) percent; - } - - /** - * Convert percent to vibrator strength - */ - public static int percentToStrength(int percent) { - int strength = Math.round((((MAX_VALUE - MIN_VALUE) * percent) / 100) + MIN_VALUE); - - if (strength > MAX_VALUE) - strength = MAX_VALUE; - else if (strength < MIN_VALUE) - strength = MIN_VALUE; - - return strength; - } -} diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeMode.java b/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeMode.java deleted file mode 100644 index c7fc94b..0000000 --- a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeMode.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2012 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.device; - -import android.content.Context; - -import android.content.SharedPreferences; -import android.util.AttributeSet; -import android.preference.Preference; -import android.preference.ListPreference; -import android.preference.Preference.OnPreferenceChangeListener; -import android.preference.PreferenceManager; - -public class mDNIeMode extends ListPreference implements OnPreferenceChangeListener { - - public mDNIeMode(Context context, AttributeSet attrs) { - super(context, attrs); - this.setOnPreferenceChangeListener(this); - } - - private static final String FILE = "/sys/class/mdnie/mdnie/mode"; - - public static boolean isSupported() { - return Utils.fileExists(FILE); - } - - /** - * Restore mdnie user mode setting from SharedPreferences. (Write to kernel.) - * @param context The context to read the SharedPreferences from - */ - public static void restore(Context context) { - if (!isSupported()) { - return; - } - - SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context); - Utils.writeValue(FILE, sharedPrefs.getString(DeviceSettings.KEY_MDNIE_MODE, "1")); - } - - public boolean onPreferenceChange(Preference preference, Object newValue) { - Utils.writeValue(FILE, (String) newValue); - return true; - } - -} diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeNegative.java b/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeNegative.java deleted file mode 100644 index c2ccc7b..0000000 --- a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeNegative.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2012 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.device; - -import java.io.IOException; -import android.content.Context; -import android.util.AttributeSet; -import android.content.SharedPreferences; -import android.preference.Preference; -import android.preference.ListPreference; -import android.preference.Preference.OnPreferenceChangeListener; -import android.preference.PreferenceManager; - -public class mDNIeNegative extends ListPreference implements OnPreferenceChangeListener { - - public mDNIeNegative(Context context, AttributeSet attrs) { - super(context, attrs); - this.setOnPreferenceChangeListener(this); - } - - private static final String FILE = "/sys/class/mdnie/mdnie/negative"; - - public static boolean isSupported() { - return Utils.fileExists(FILE); - } - - /** - * Restore mdnie user mode setting from SharedPreferences. (Write to kernel.) - * @param context The context to read the SharedPreferences from - */ - public static void restore(Context context) { - if (!isSupported()) { - return; - } - - SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context); - Utils.writeValue(FILE, sharedPrefs.getString(DeviceSettings.KEY_MDNIE_NEGATIVE, "0")); - } - - public boolean onPreferenceChange(Preference preference, Object newValue) { - Utils.writeValue(FILE, (String) newValue); - return true; - } - -} diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeOutdoor.java b/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeOutdoor.java deleted file mode 100644 index 7fcdacd..0000000 --- a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeOutdoor.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (C) 2012 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.device; - -import android.content.Context; -import android.util.AttributeSet; -import android.content.SharedPreferences; -import android.preference.Preference; -import android.preference.ListPreference; -import android.preference.Preference.OnPreferenceChangeListener; -import android.preference.PreferenceManager; - -public class mDNIeOutdoor extends ListPreference implements OnPreferenceChangeListener { - - public mDNIeOutdoor(Context context, AttributeSet attrs) { - super(context, attrs); - this.setOnPreferenceChangeListener(this); - } - - private static final String FILE = "/sys/class/mdnie/mdnie/outdoor"; - - public static boolean isSupported() { - return Utils.fileExists(FILE); - } - - /** - * Restore mdnie user mode setting from SharedPreferences. (Write to kernel.) - * @param context The context to read the SharedPreferences from - */ - public static void restore(Context context) { - if (!isSupported()) { - return; - } - - SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context); - Utils.writeValue(FILE, sharedPrefs.getString(DeviceSettings.KEY_MDNIE_OUTDOOR, "0")); - } - - public boolean onPreferenceChange(Preference preference, Object newValue) { - Utils.writeValue(FILE, (String) newValue); - return true; - } - -} diff --git a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeScenario.java b/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeScenario.java deleted file mode 100644 index a9c935a..0000000 --- a/DeviceSettings/src/com/cyanogenmod/settings/device/mDNIeScenario.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2012 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.device; - -import android.content.Context; - -import android.content.SharedPreferences; -import android.util.AttributeSet; -import android.preference.Preference; -import android.preference.ListPreference; -import android.preference.Preference.OnPreferenceChangeListener; -import android.preference.PreferenceManager; - -public class mDNIeScenario extends ListPreference implements OnPreferenceChangeListener { - - public mDNIeScenario(Context context, AttributeSet attrs) { - super(context,attrs); - this.setOnPreferenceChangeListener(this); - } - - private static final String FILE = "/sys/class/mdnie/mdnie/scenario"; - - public static boolean isSupported() { - return Utils.fileExists(FILE); - } - - /** - * Restore mdnie "camera" setting from SharedPreferences. (Write to kernel.) - * @param context The context to read the SharedPreferences from - */ - public static void restore(Context context) { - if (!isSupported()) { - return; - } - - SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context); - Utils.writeValue(FILE, sharedPrefs.getString(DeviceSettings.KEY_MDNIE_SCENARIO, "0")); - } - - public boolean onPreferenceChange(Preference preference, Object newValue) { - Utils.writeValue(FILE, (String) newValue); - return true; - } - -}