/development/samples/ApiDemos/src/com/example/android/apis/view/ |
RotatingButton.java | 26 import android.widget.SeekBar; 41 SeekBar seekBar; 42 seekBar = (SeekBar) findViewById(R.id.translationX); 43 seekBar.setMax(400); 44 seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { 45 public void onStopTrackingTouch(SeekBar seekBar) { [all...] |
SeekBar1.java | 21 import android.widget.SeekBar; 30 public class SeekBar1 extends Activity implements SeekBar.OnSeekBarChangeListener { 32 SeekBar mSeekBar; 42 mSeekBar = (SeekBar)findViewById(R.id.seek); 48 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { 53 public void onStartTrackingTouch(SeekBar seekBar) { 57 public void onStopTrackingTouch(SeekBar seekBar) { [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SeekBarTest.java | 12 import android.widget.SeekBar; 21 private SeekBar seekBar; 23 private SeekBar.OnSeekBarChangeListener listener; 28 seekBar = new SeekBar(new Activity()); 29 shadow = Robolectric.shadowOf(seekBar); 32 seekBar.setOnSeekBarChangeListener(listener); 38 seekBar.setOnSeekBarChangeListener(null); 44 seekBar.setProgress(5) [all...] |
AbsSeekBarTest.java | 19 TestAbsSeekBar seekBar = new TestAbsSeekBar(new Activity()); 20 ShadowAbsSeekBar shadow = Robolectric.shadowOf(seekBar);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
EffectParameter.java | 22 import android.widget.SeekBar; 25 abstract class EffectParameter implements SeekBar.OnSeekBarChangeListener { 32 protected SeekBar mSeekBar; 35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { 38 mSeekBar = seekBar; 64 // SeekBar.OnSeekBarChangeListener 65 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { 67 if (seekBar != mSeekBar) [all...] |
EnvReverbTest.java | 31 import android.widget.SeekBar; 44 public class EnvReverbTest extends Activity implements OnCheckedChangeListener, SeekBar.OnSeekBarChangeListener { 57 SeekBar mSendLevelSeekBar; 71 SeekBar seekBar; 90 mSendLevelSeekBar = (SeekBar)findViewById(R.id.sendLevelSeekBar); 113 seekBar = (SeekBar)findViewById(R.id.rvbParam1SeekBar); 115 mParameters[0] = new RoomLevelParam(mReverb, seekBar, textView); 116 seekBar.setOnSeekBarChangeListener(mParameters[0]) [all...] |
EqualizerTest.java | 32 import android.widget.SeekBar; 70 SeekBar seekBar; 99 seekBar = (SeekBar)findViewById(R.id.eqParam1SeekBar); 101 mParameters[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, textView); 102 seekBar.setOnSeekBarChangeListener(mParameters[0]); 110 seekBar = (SeekBar)findViewById(R.id.eqParam2SeekBar); 112 mParameters[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, textView) [all...] |
BassBoostTest.java | 32 import android.widget.SeekBar; 68 SeekBar seekBar; 91 seekBar = (SeekBar)findViewById(R.id.bbStrengthSeekBar); 93 mStrength = new BassBoostParam(mBassBoost, 0, 1000, seekBar, textView); 94 seekBar.setOnSeekBarChangeListener(mStrength); 163 public BassBoostParam(BassBoost bassboost, int min, int max, SeekBar seekBar, TextView textView) { 164 super (min, max, seekBar, textView, "o/oo") [all...] |
/frameworks/base/core/java/android/preference/ |
SeekBarPreference.java | 26 import android.widget.SeekBar; 27 import android.widget.SeekBar.OnSeekBarChangeListener; 60 SeekBar seekBar = (SeekBar) view.findViewById( 61 com.android.internal.R.id.seekbar); 62 seekBar.setOnSeekBarChangeListener(this); 63 seekBar.setMax(mMax); 64 seekBar.setProgress(mProgress); 65 seekBar.setEnabled(isEnabled()) [all...] |
VolumePreference.java | 38 import android.widget.SeekBar; 39 import android.widget.SeekBar.OnSeekBarChangeListener; 71 final SeekBar seekBar = (SeekBar) view.findViewById(com.android.internal.R.id.seekbar); 72 mSeekBarVolumizer = new SeekBarVolumizer(getContext(), seekBar, mStreamType); 135 .findViewById(com.android.internal.R.id.seekbar); 224 * Turns a {@link SeekBar} into a volume control. 237 private SeekBar mSeekBar [all...] |
/frameworks/base/core/java/android/widget/ |
SeekBar.java | 27 * A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch 29 * Placing focusable widgets to the left or right of a SeekBar is discouraged. 31 * Clients of the SeekBar can attach a {@link SeekBar.OnSeekBarChangeListener} to 36 public class SeekBar extends AbsSeekBar { 50 * @param seekBar The SeekBar whose progress has changed 55 void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser); 59 * to disable advancing the seekbar. [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
SeekBar.java | 17 package com.android.musicfx.seekbar; 25 * A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch 27 * Placing focusable widgets to the left or right of a SeekBar is discouraged. 29 * Clients of the SeekBar can attach a {@link SeekBar.OnSeekBarChangeListener} to 34 public class SeekBar extends AbsSeekBar { 48 * @param seekBar The SeekBar whose progress has changed 53 void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
BasicSlider.java | 24 import android.widget.SeekBar; 25 import android.widget.SeekBar.OnSeekBarChangeListener; 31 private SeekBar mSeekBar; 45 mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar); 51 public void onStopTrackingTouch(SeekBar seekBar) { 55 public void onStartTrackingTouch(SeekBar seekBar) { 59 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) [all...] |
TitledSlider.java | 24 import android.widget.SeekBar; 25 import android.widget.SeekBar.OnSeekBarChangeListener; 33 private SeekBar mSeekBar; 51 mSeekBar = (SeekBar) mTopView.findViewById(R.id.controlValueSeekBar); 58 public void onStopTrackingTouch(SeekBar seekBar) { 62 public void onStartTrackingTouch(SeekBar seekBar) { 66 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) [all...] |
/cts/tests/src/android/widget/cts/ |
SeekBarStubActivity.java | 24 import android.widget.SeekBar; 27 * Stub activity for testing {@link SeekBar} 36 setContentView(R.layout.seekbar); 38 View v = findViewById(R.id.seekBar);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
SeekBarTest.java | 27 import android.widget.SeekBar; 28 import android.widget.SeekBar.OnSeekBarChangeListener; 31 * Test {@link SeekBar}. 34 private SeekBar mSeekBar; 49 mSeekBar = (SeekBar) mActivity.findViewById(R.id.seekBar); 53 new SeekBar(mActivity); 55 new SeekBar(mActivity, null); 57 new SeekBar(mActivity, null, com.android.internal.R.attr.seekBarStyle); 123 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) [all...] |
AbsSeekBarTest.java | 34 import android.widget.SeekBar; 147 // AbsSeekBar is an abstract class, use its subclass: SeekBar to do this test. 150 mActivity.setContentView(R.layout.seekbar); 155 final SeekBar seekBar = (SeekBar) mActivity.findViewById(R.id.seekBar); 159 seekBar.setKeyProgressIncrement(keyProgressIncrement); 160 seekBar.setFocusable(true); 161 seekBar.requestFocus() [all...] |
/development/samples/RenderScript/Levels/src/com/android/rs/levels/ |
LevelsRSActivity.java | 33 import android.widget.SeekBar; 37 implements SeekBar.OnSeekBarChangeListener, 43 private SeekBar mInBlackSeekBar; 45 private SeekBar mOutBlackSeekBar; 47 private SeekBar mInWhiteSeekBar; 49 private SeekBar mOutWhiteSeekBar; 51 private SeekBar mGammaSeekBar; 53 private SeekBar mSaturationSeekBar; 97 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) [all...] |
LevelsDalvikActivity.java | 28 import android.widget.SeekBar; 32 implements SeekBar.OnSeekBarChangeListener { 37 private SeekBar mInBlackSeekBar; 39 private SeekBar mOutBlackSeekBar; 41 private SeekBar mInWhiteSeekBar; 43 private SeekBar mOutWhiteSeekBar; 45 private SeekBar mGammaSeekBar; 47 private SeekBar mSaturationSeekBar; 82 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
SeekBarSummaryPreference.java | 24 import android.widget.SeekBar; 80 public void onStartTrackingTouch(SeekBar seekBar) { 85 public void onStopTrackingTouch(SeekBar seekBar) {
|
/external/replicaisland/src/com/replica/replicaisland/ |
SliderPreference.java | 21 import android.widget.SeekBar; 23 import android.widget.SeekBar.OnSeekBarChangeListener; 76 SeekBar bar = (SeekBar)view.findViewById(R.id.slider); 82 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 89 public void onStartTrackingTouch(SeekBar seekBar) { 92 public void onStopTrackingTouch(SeekBar seekBar) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationSeeking.java | 42 import android.widget.SeekBar; 45 * This application demonstrates the seeking capability of ValueAnimator. The SeekBar in the 52 private SeekBar mSeekBar; 70 mSeekBar = (SeekBar) findViewById(R.id.seekBar); 72 mSeekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { 73 public void onStopTrackingTouch(SeekBar seekBar) { 76 public void onStartTrackingTouch(SeekBar seekBar) { [all...] |
/packages/apps/Settings/src/com/android/settings/ |
PointerSpeedPreference.java | 31 import android.widget.SeekBar; 34 SeekBar.OnSeekBarChangeListener { 36 private SeekBar mSeekBar; 77 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { 83 public void onStartTrackingTouch(SeekBar seekBar) { 87 public void onStopTrackingTouch(SeekBar seekBar) { 89 mIm.tryPointerSpeed(seekBar.getProgress() + InputManager.MIN_POINTER_SPEED) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SeekBarDialogPreference.java | 26 import android.widget.SeekBar; 32 implements SeekBar.OnSeekBarChangeListener { 47 private SeekBar mSeekBar; 71 mSeekBar = (SeekBar)view.findViewById(R.id.seek_bar_dialog_bar); 131 public void onProgressChanged(final SeekBar seekBar, final int progress, 141 public void onStartTrackingTouch(final SeekBar seekBar) {} 144 public void onStopTrackingTouch(final SeekBar seekBar) { [all...] |
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/ |
NativeAudio.java | 28 import android.widget.SeekBar; 29 import android.widget.SeekBar.OnSeekBarChangeListener; 216 ((SeekBar) findViewById(R.id.volume_uri)).setOnSeekBarChangeListener( 219 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 223 public void onStartTrackingTouch(SeekBar seekBar) { 225 public void onStopTrackingTouch(SeekBar seekBar) { 232 ((SeekBar) findViewById(R.id.pan_uri)).setOnSeekBarChangeListener [all...] |