diff options
author | Jeff Brown <jeffbrown@android.com> | 2011-06-02 17:26:05 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-06-02 17:26:05 -0700 |
commit | e1718de61c20c8d401633f83589f18d2c0c652db (patch) | |
tree | 41ae6698588756d77f4fef1ba967f0e13721eb2f /packages | |
parent | 10c3f367a3eb66081c06f1d75107d26e64ce248f (diff) | |
parent | 1a84fd1fb7a51f3fe4f8865e1cdd09f3490f696c (diff) | |
download | frameworks_base-e1718de61c20c8d401633f83589f18d2c0c652db.zip frameworks_base-e1718de61c20c8d401633f83589f18d2c0c652db.tar.gz frameworks_base-e1718de61c20c8d401633f83589f18d2c0c652db.tar.bz2 |
Merge "Add a preference panel for mouse speed." into honeycomb-mr2
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SettingsProvider/res/values/defaults.xml | 3 | ||||
-rw-r--r-- | packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml index bf06f947..2e2768f 100644 --- a/packages/SettingsProvider/res/values/defaults.xml +++ b/packages/SettingsProvider/res/values/defaults.xml @@ -125,4 +125,7 @@ <!-- Default for Settings.Secure.LONG_PRESS_TIMEOUT_MILLIS --> <integer name="def_long_press_timeout_millis">500</integer> + <!-- Default for Settings.System.POINTER_SPEED --> + <integer name="def_pointer_speed">0</integer> + </resources> diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java index d901c2c..2ed968b 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java @@ -1214,6 +1214,9 @@ public class DatabaseHelper extends SQLiteOpenHelper { loadBooleanSetting(stmt, Settings.System.NOTIFICATIONS_USE_RING_VOLUME, R.bool.def_notifications_use_ring_volume); + loadIntegerSetting(stmt, Settings.System.POINTER_SPEED, + R.integer.def_pointer_speed); + } finally { if (stmt != null) stmt.close(); } |