Commit Graph
9 Commits
Author SHA1 Message Date
Reece H. Dunn dde42239f3 SeekBarPreference: update the persisted value when the SeekBar changes value
The idea here is that whenever the user changes one of the parameter
values via the SeekBar control, it is reflected immediately by eSpeak.
This is similar to how e.g. the brightness preference UI works.
However, instead of updating every time the value changes while the
slider is being moved, it is updated once the touch interaction is
finished.

Also, if the user Cancels or exits the dialog with the back button,
the old setting value is restored.
2013-05-05 11:09:46 +01:00
Reece H. Dunn 8d6465d6ca SeekBarPreference: ensure that the base class is called in onBindDialogView. 2013-05-04 11:28:13 +01:00
Reece H. Dunn a601d8afb1 SeekBarPreference: set the content description to the value of the parameter. 2013-05-03 18:39:31 +01:00
Reece H. Dunn 16164c1c52 SeekBarPreference: fix handling of the minimum value option. 2013-05-03 16:03:27 +01:00
Reece H. Dunn d0ba13ae1d SeekBarPreference: support resetting to the default value. 2013-05-03 12:43:20 +01:00
Reece H. Dunn 20010daac3 SeekBarPreference: show the formatted current value in the preference dialog. 2013-05-03 12:21:30 +01:00
Reece H. Dunn 8e4b6044dc SeekBarPreference: make formatter an explicit property instead of using the extras bundle. 2013-05-03 11:54:25 +01:00
Reece H. Dunn 5370341abf SeekBarPreference: only commit the preference if requested to. 2013-05-03 11:24:59 +01:00
Reece H. Dunn ac6099ebf1 Hook up the volume parameter to a slider preference dialog. 2013-05-03 11:11:59 +01:00