Lines Matching refs:seekBar
29 import android.widget.SeekBar;
30 import android.widget.SeekBar.OnSeekBarChangeListener;
68 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
76 public void onStartTrackingTouch(SeekBar seekBar) {
81 public void onStopTrackingTouch(SeekBar seekBar) {
108 // The maximum SeekBar value always needs to be non-zero. If there's
113 final LabeledSeekBar seekBar = (LabeledSeekBar) content.findViewById(R.id.seek_bar);
114 seekBar.setLabels(mEntries);
115 seekBar.setMax(max);
116 seekBar.setProgress(mInitialIndex);
117 seekBar.setOnSeekBarChangeListener(new onPreviewSeekBarChangeListener());
123 final int progress = seekBar.getProgress();
125 seekBar.setProgress(progress - 1, true);
134 final int progress = seekBar.getProgress();
135 if (progress < seekBar.getMax()) {
136 seekBar.setProgress(progress + 1, true);
144 seekBar.setEnabled(false);
176 * Creates new configuration based on the current position of the SeekBar.