Lines Matching refs:seekbar
28 import android.widget.SeekBar;
29 import android.widget.SeekBar.OnSeekBarChangeListener;
78 SeekBar seekBar = (SeekBar) view.findViewById(
79 com.android.internal.R.id.seekbar);
80 seekBar.setOnSeekBarChangeListener(this);
81 seekBar.setMax(mMax);
82 seekBar.setProgress(mProgress);
83 seekBar.setEnabled(isEnabled());
108 SeekBar seekBar = (SeekBar) v.findViewById(com.android.internal.R.id.seekbar);
109 if (seekBar == null) {
112 return seekBar.onKeyDown(keyCode, event);
147 * Persist the seekBar's progress value if callChangeListener
148 * returns true, otherwise set the seekBar's progress to the stored value
150 void syncProgress(SeekBar seekBar) {
151 int progress = seekBar.getProgress();
156 seekBar.setProgress(mProgress);
163 SeekBar seekBar, int progress, boolean fromUser) {
165 syncProgress(seekBar);
170 public void onStartTrackingTouch(SeekBar seekBar) {
175 public void onStopTrackingTouch(SeekBar seekBar) {
177 if (seekBar.getProgress() != mProgress) {
178 syncProgress(seekBar);