|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.preference.Preference
android.preference.DialogPreference
android.preference.SeekBarPreference
android.preference.VolumePreference
public class VolumePreference
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.preference.Preference |
|---|
Preference.BaseSavedState, Preference.OnPreferenceChangeInternalListener, Preference.OnPreferenceChangeListener, Preference.OnPreferenceClickListener |
| Field Summary |
|---|
| Fields inherited from class android.preference.Preference |
|---|
DEFAULT_ORDER |
| Constructor Summary | |
|---|---|
VolumePreference(Context context,
AttributeSet attrs)
|
|
| Method Summary | |
|---|---|
void |
onActivityStop()
See Activity's onStop. |
protected void |
onBindDialogView(View view)
Binds views in the content View of the dialog to data. |
protected void |
onDialogClosed(boolean positiveResult)
Called when the dialog is dismissed and should be used to save data to the SharedPreferences. |
void |
onProgressChanged(SeekBar seekBar,
int progress,
boolean fromTouch)
Notification that the progress level has changed. |
void |
onStartTrackingTouch(SeekBar seekBar)
Notification that the user has started a touch gesture. |
void |
onStopTrackingTouch(SeekBar seekBar)
Notification that the user has finished a touch gesture. |
void |
run()
Begin doing the active part of the class' code. |
| Methods inherited from class android.preference.SeekBarPreference |
|---|
getSeekBar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VolumePreference(Context context,
AttributeSet attrs)
| Method Detail |
|---|
protected void onBindDialogView(View view)
DialogPreferenceMake sure to call through to the superclass implementation.
onBindDialogView in class SeekBarPreferenceview - The content View of the dialog, if it is custom.protected void onDialogClosed(boolean positiveResult)
DialogPreferenceSharedPreferences.
onDialogClosed in class DialogPreferencepositiveResult - Whether the positive button was clicked (true), or
the negative button was clicked or the dialog was canceled (false).public void onActivityStop()
PreferenceManager.OnActivityStopListener
onActivityStop in interface PreferenceManager.OnActivityStopListener
public void onProgressChanged(SeekBar seekBar,
int progress,
boolean fromTouch)
SeekBar.OnSeekBarChangeListener
onProgressChanged in interface SeekBar.OnSeekBarChangeListenerseekBar - The SeekBar whose progress has changedprogress - The current progress level. This will be in the range 0..max where max
was set by ProgressBar.setMax(int). (The default value for max is 100.)fromTouch - True if the progress change was initiated by a user's touch gesture.public void onStartTrackingTouch(SeekBar seekBar)
SeekBar.OnSeekBarChangeListener
onStartTrackingTouch in interface SeekBar.OnSeekBarChangeListenerseekBar - The SeekBar in which the touch gesture beganpublic void onStopTrackingTouch(SeekBar seekBar)
SeekBar.OnSeekBarChangeListener
onStopTrackingTouch in interface SeekBar.OnSeekBarChangeListenerseekBar - The SeekBar in which the touch gesture beganpublic void run()
Runnable
run in interface Runnable
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||