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 66de9c3..0000000
Binary files a/DeviceSettings/res/drawable/ic_launcher_cmdevicesettings.png and /dev/null differ
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;
- }
-
-}