Lines Matching refs:progress
117 public void setProgress(int progress) {
118 setProgress(progress, true);
121 private void setProgress(int progress, boolean notifyChanged) {
122 if (progress > mMax) {
123 progress = mMax;
125 if (progress < 0) {
126 progress = 0;
128 if (progress != mProgress) {
129 mProgress = progress;
130 persistInt(progress);
142 * Persist the seekBar's progress value if callChangeListener
143 * returns true, otherwise set the seekBar's progress to the stored value
146 int progress = seekBar.getProgress();
147 if (progress != mProgress) {
148 if (callChangeListener(progress)) {
149 setProgress(progress, false);
158 SeekBar seekBar, int progress, boolean fromUser) {
193 myState.progress = mProgress;
209 mProgress = myState.progress;
221 int progress;
228 progress = source.readInt();
237 dest.writeInt(progress);