diff options
author | KalimochoAz <calimochoazucarado@gmail.com> | 2012-05-02 16:52:40 +0200 |
---|---|---|
committer | KalimochoAz <calimochoazucarado@gmail.com> | 2012-05-02 16:52:40 +0200 |
commit | 9577ac8ced1f1559a1bfcb7705612bfd2f4b2922 (patch) | |
tree | 1e740abc8f2d24e8fe3ec04620ca1e65c1fecd59 /GNexusParts/res | |
parent | 5ed4ae346ee91e1f58bb604355ecef74dd33cb01 (diff) | |
download | device_samsung_tuna-9577ac8ced1f1559a1bfcb7705612bfd2f4b2922.zip device_samsung_tuna-9577ac8ced1f1559a1bfcb7705612bfd2f4b2922.tar.gz device_samsung_tuna-9577ac8ced1f1559a1bfcb7705612bfd2f4b2922.tar.bz2 |
Add control for DSS gamma settings
Imoseyon discovered that patch from ti. With this setting
we can also control this new kernel feature alredy commited
Change-Id: Ie863edf1c45f73024ac4a0eab8ccfd048062e262
Diffstat (limited to 'GNexusParts/res')
-rw-r--r-- | GNexusParts/res/layout/preference_dialog_gamma_tuning.xml | 26 | ||||
-rw-r--r-- | GNexusParts/res/values/strings.xml | 1 |
2 files changed, 26 insertions, 1 deletions
diff --git a/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml b/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml index 110dc32..8df2204 100644 --- a/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml +++ b/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml @@ -80,11 +80,35 @@ android:paddingLeft="20dip" android:paddingRight="20dip" /> + <TextView android:id="@+id/gamma_dss_text" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/gamma_blue_seekbar" + android:text="@string/gamma_dss_title" + android:paddingTop="10dip" + android:paddingLeft="20dip" + android:paddingRight="20dip" /> + <TextView android:id="@+id/gamma_dss_value" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@id/gamma_blue_seekbar" + android:layout_alignParentRight="true" + android:paddingTop="10dip" + android:paddingLeft="20dip" + android:paddingRight="20dip" /> + <SeekBar android:id="@+id/gamma_dss_seekbar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/gamma_dss_text" + android:paddingTop="2dip" + android:paddingLeft="20dip" + android:paddingRight="20dip" /> + <ImageView android:id="@+id/black_scale_picture" android:src="@drawable/color_tuning_preview" android:layout_width="match_parent" android:layout_height="40dip" - android:layout_below="@id/gamma_blue_seekbar" + android:layout_below="@id/gamma_dss_seekbar" android:paddingTop="20dip" android:paddingLeft="20dip" android:paddingRight="20dip" /> diff --git a/GNexusParts/res/values/strings.xml b/GNexusParts/res/values/strings.xml index 43f27a5..37264c0 100644 --- a/GNexusParts/res/values/strings.xml +++ b/GNexusParts/res/values/strings.xml @@ -23,6 +23,7 @@ <string name="color_default_title">Default</string> <string name="color_CM_title">CM Sett.</string> <string name="color_dark_title">Dark Sett.</string> + <string name="gamma_dss_title">DSS Gamma Set.</string> <string name="preset1_default_title">Default.</string> <string name="preset2_default_title">Natural</string> |