From 32c24f332a5acf61bb01d1c90eac448ad82cfce5 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sun, 9 Jun 2013 10:30:53 +0200 Subject: i9100: move device settings to common Change-Id: I5c2d1fe1b8e54ffda62650d4c089443705d26f95 --- DeviceSettings/Android.mk | 15 -- DeviceSettings/AndroidManifest.xml | 30 ---- .../res/drawable/ic_launcher_cmdevicesettings.png | Bin 8207 -> 0 bytes DeviceSettings/res/layout/top.xml | 5 - DeviceSettings/res/values-da/arrays.xml | 69 --------- DeviceSettings/res/values-da/strings.xml | 50 ------- DeviceSettings/res/values-de/arrays.xml | 70 --------- DeviceSettings/res/values-de/strings.xml | 50 ------- DeviceSettings/res/values-es/arrays.xml | 60 -------- DeviceSettings/res/values-es/strings.xml | 43 ------ DeviceSettings/res/values-fi/arrays.xml | 70 --------- DeviceSettings/res/values-fi/strings.xml | 50 ------- DeviceSettings/res/values-fr/arrays.xml | 75 ---------- DeviceSettings/res/values-fr/strings.xml | 57 -------- DeviceSettings/res/values-hu/arrays.xml | 70 --------- DeviceSettings/res/values-hu/strings.xml | 50 ------- DeviceSettings/res/values-it/strings.xml | 44 ------ DeviceSettings/res/values-nl/arrays.xml | 75 ---------- DeviceSettings/res/values-nl/strings.xml | 64 -------- DeviceSettings/res/values-pl/arrays.xml | 70 --------- DeviceSettings/res/values-pl/strings.xml | 50 ------- DeviceSettings/res/values-pt-rBR/arrays.xml | 62 -------- DeviceSettings/res/values-pt-rBR/strings.xml | 43 ------ DeviceSettings/res/values-ru/arrays.xml | 68 --------- DeviceSettings/res/values-ru/strings.xml | 50 ------- DeviceSettings/res/values-zh-rCN/arrays.xml | 86 ----------- DeviceSettings/res/values-zh-rCN/strings.xml | 65 --------- DeviceSettings/res/values/arrays.xml | 137 ----------------- DeviceSettings/res/values/strings.xml | 50 ------- DeviceSettings/res/xml/dock_preferences.xml | 13 -- DeviceSettings/res/xml/haptic_preferences.xml | 13 -- DeviceSettings/res/xml/radio_preferences.xml | 12 -- DeviceSettings/res/xml/screen_preferences.xml | 83 ----------- DeviceSettings/res/xml/sensors_preferences.xml | 20 --- .../settings/device/DeviceSettings.java | 162 --------------------- .../settings/device/DockFragmentActivity.java | 72 --------- .../settings/device/HapticFragmentActivity.java | 66 --------- .../src/com/cyanogenmod/settings/device/Hspa.java | 67 --------- .../cyanogenmod/settings/device/PanelGamma.java | 60 -------- .../settings/device/RadioFragmentActivity.java | 66 --------- .../settings/device/ScreenFragmentActivity.java | 112 -------------- .../settings/device/SensorsFragmentActivity.java | 84 ----------- .../com/cyanogenmod/settings/device/Startup.java | 39 ----- .../settings/device/TouchkeyTimeout.java | 59 -------- .../settings/device/TouchscreenSensitivity.java | 59 -------- .../src/com/cyanogenmod/settings/device/Utils.java | 143 ------------------ .../settings/device/VibratorIntensity.java | 59 -------- .../com/cyanogenmod/settings/device/mDNIeMode.java | 59 -------- .../cyanogenmod/settings/device/mDNIeNegative.java | 59 -------- .../cyanogenmod/settings/device/mDNIeOutdoor.java | 58 -------- .../cyanogenmod/settings/device/mDNIeScenario.java | 59 -------- i9100.mk | 2 +- 52 files changed, 1 insertion(+), 3053 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 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/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/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/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/VibratorIntensity.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 7225f50..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 := GalaxyS2Settings -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 66de9c3..0000000 Binary files a/DeviceSettings/res/drawable/ic_launcher_cmdevicesettings.png and /dev/null differ 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 2a63d1e..0000000 --- a/DeviceSettings/res/values-da/arrays.xml +++ /dev/null @@ -1,69 +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 - - - - 0% - 25% - 50% (Standard) - 75% - 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 eb1c678..0000000 --- a/DeviceSettings/res/values-da/strings.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - Galaxy S II Indstillinger - - 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. - - Haptik - Vibrator - Vibrator-styrke - Indstil vibratorens intensitet - - 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 d3cc471..0000000 --- a/DeviceSettings/res/values-de/arrays.xml +++ /dev/null @@ -1,70 +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 - - - - 0% - 25% - 50% (Standard) - 75% - 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 c144989..0000000 --- a/DeviceSettings/res/values-de/strings.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - Galaxy S II Einstellungen - - 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 - Vibration - Intensität - Vibrations-Intensität - - 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 412100c..0000000 --- a/DeviceSettings/res/values-es/arrays.xml +++ /dev/null @@ -1,60 +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 - - - 0% - 25% - 50% (por defecto) - 75% - 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 8d54bfc..0000000 --- a/DeviceSettings/res/values-es/strings.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - Ajustes avanzados - Pantalla - Colores - 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 - 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 e954025..0000000 --- a/DeviceSettings/res/values-fi/arrays.xml +++ /dev/null @@ -1,70 +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 - - - - 0% - 25% - 50% (Oletus) - 75% - 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 37087f6..0000000 --- a/DeviceSettings/res/values-fi/strings.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - Galaxy S II-asetukset - - 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 - - Haptinen - Värinä - Värinän voimakkuus - Säädä värinän voimakkuutta - - 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 89fa725..0000000 --- a/DeviceSettings/res/values-fr/arrays.xml +++ /dev/null @@ -1,75 +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 - - - Désactivé - 25% - 50% (Défaut) - 75% - 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 38c5e55..0000000 --- a/DeviceSettings/res/values-fr/strings.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - Paramètres avancés - Écran - Couleurs - 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 - 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 3363918..0000000 --- a/DeviceSettings/res/values-hu/arrays.xml +++ /dev/null @@ -1,70 +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 - - - - 0% - 25% - 50% (Alapbeállítás) - 75% - 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 1a27b0c..0000000 --- a/DeviceSettings/res/values-hu/strings.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - Galaxy S II Beállítások - - Kijelző - Színek - 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 - Rezgés erősségének beállítása - - 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/strings.xml b/DeviceSettings/res/values-it/strings.xml deleted file mode 100644 index c32640c..0000000 --- a/DeviceSettings/res/values-it/strings.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - Impostazioni Galaxy S II - Schermo - Colori - 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. - Feedback tattile - Vibratore - Intensità vibrazione - Imposta l\'intensità della vibrazione - 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 52fb181..0000000 --- a/DeviceSettings/res/values-nl/arrays.xml +++ /dev/null @@ -1,75 +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 - - - 0% - 25% - 50% (standaard) - 75% - 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 2872d3a..0000000 --- a/DeviceSettings/res/values-nl/strings.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - Geavanceerde instellingen - - Kleuren - Scherm - 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 - - Aanraakknop - Achtergrondlicht bij knoppen inschakelen - Aanraakknoppen oplichten indien scherm aan is - Time-out achtergrondlicht - Vertraging na druk op een knop voor uitschakelen achtergrondlicht - - 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 - Trillen - Trilintensiteit - Trilintensiteit instellen - - Radio - HSPA - HSDPA/HSUPA inschakelen - - Dock - Geluid - USB-geluidsdock - 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 e9554f1..0000000 --- a/DeviceSettings/res/values-pl/arrays.xml +++ /dev/null @@ -1,70 +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 - - - - 0% - 25% - 50% (domyślnie) - 75% - 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 054ac08..0000000 --- a/DeviceSettings/res/values-pl/strings.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - Ustawienia Galaxy S II - - 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. - - Dotyk - Wibracje - Intensywność wibracji - Ustaw intensywność wibracji - - 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 accfd51..0000000 --- a/DeviceSettings/res/values-pt-rBR/arrays.xml +++ /dev/null @@ -1,62 +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 - - - 0% - 25% - 50% (Padrão) - 75% - 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 1748a7b..0000000 --- a/DeviceSettings/res/values-pt-rBR/strings.xml +++ /dev/null @@ -1,43 +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 - Define a intensidade da vibração - 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 - \ 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 f3ff76f..0000000 --- a/DeviceSettings/res/values-ru/arrays.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - CyanogenMod (По умолч.) - Видео - Видео (тёпл.) - Видео (хол.) - Камера - Навигация - Галерея - VT - - - - Динамический - Стандартный (По умолч.) - Натуральный - Кино - - - - Выкл. (По умолчанию) - Вкл. - - - - Выкл. (По умолчанию) - Вкл. - - - - 2.2 (По умолчанию) - 1.9 - - - - 10 - 20 - 30 - 50 (По умолчанию) - 70 - 100 - - - - 0% - 25% - 50% (По умолчанию) - 75% - 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 e444fd5..0000000 --- a/DeviceSettings/res/values-ru/strings.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - Настройки Galaxy S II - - Экран - Цвета - Сценарий - Установка сценария mDNIe - Режим - Установка режима mDNIe - Инверсия - Включить/Выключить инверсию цветов - Повышенная яркость - Включить/Выключить режим повышенной яркости - Гамма - Установка значения цветовой гаммы - - Сенсорный экран - Чувствительность - Установка чувствительности сенсорного экрана - - Сенсорные кнопки - Подсветка кнопок - Включать подсветку сенсорных кнопок при включённом экране - Тайм-аут подсветки - Время до выключения подсветки после последнего нажатия на кнопки - - Датчики - Акселерометр - Использовать данные калибровки - Использовать откалиброванные значения. Необходимо выполнить калибровку! - Калибровка - Положите телефон на ровную поверхность и нажмите эту кнопку. - Калибровка выполнена - Датчик успешно откалиброван - - Отклик - Вибрация - Интенсивность вибрации - Установка интенсивности вибрации - - Модем - 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 849e1f2..0000000 --- a/DeviceSettings/res/values-zh-rCN/arrays.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - CyanogenMod (默认) - 界面 - 影片 - 影片 (温) - 影片 (冷) - 相机 - 导航 - 图库 - VT - - - - 动态 - 标准 (默认) - 自然 - 电影 - - - - 正常 - 反色 - - - - 禁用 (默认) - 启用 - - - - 2.2 (默认) - 1.9 - - - - 10 - 20 - 30 - 50 (默认) - 70 - 100 - - - - 0% - 25% - 50% (默认) - 75% - 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 df08dd2..0000000 --- a/DeviceSettings/res/values-zh-rCN/strings.xml +++ /dev/null @@ -1,65 +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 6a659f8..0000000 --- a/DeviceSettings/res/values/arrays.xml +++ /dev/null @@ -1,137 +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 - - - - 0% - 25% - 50% (Default) - 75% - 100% - - - - 0 - 25 - 50 - 75 - 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/strings.xml b/DeviceSettings/res/values/strings.xml deleted file mode 100644 index a848541..0000000 --- a/DeviceSettings/res/values/strings.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - Advanced settings - - Screen - Colors - 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 - Vibrator Intensity - Set vibrator intensity - - 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 31c0e21..0000000 --- a/DeviceSettings/res/xml/haptic_preferences.xml +++ /dev/null @@ -1,13 +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 d053bbd..0000000 --- a/DeviceSettings/res/xml/screen_preferences.xml +++ /dev/null @@ -1,83 +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/DeviceSettings.java b/DeviceSettings/src/com/cyanogenmod/settings/device/DeviceSettings.java deleted file mode 100644 index 7f7970c..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_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_VIBRATOR_INTENSITY = "vibrator_intensity"; - 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