/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 | 24 import android.widget.SeekBar; 33 public class SeekBar1 extends Activity implements SeekBar.OnSeekBarChangeListener { 35 SeekBar mSeekBar; 45 mSeekBar = (SeekBar) findViewById(R.id.seek); 61 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { 66 public void onStartTrackingTouch(SeekBar seekBar) { 70 public void onStopTrackingTouch(SeekBar seekBar) { [all...] |
/external/robolectric/v1/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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
SeekBarBindingAdapter.java | 22 import android.widget.SeekBar; 23 import android.widget.SeekBar.OnSeekBarChangeListener; 26 @InverseBindingMethod(type = SeekBar.class, attribute = "android:progress"), 31 public static void setProgress(SeekBar view, int progress) { 39 public static void setOnSeekBarChangeListener(SeekBar view, final OnStartTrackingTouch start, 47 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 49 progressChanged.onProgressChanged(seekBar, progress, fromUser); 57 public void onStartTrackingTouch(SeekBar seekBar) { [all...] |
/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...] |
/developers/build/prebuilts/gradle/CardView/Application/src/main/java/com/example/android/cardview/ |
CardViewFragment.java | 26 import android.widget.SeekBar; 40 * SeekBar that changes the cornerRadius attribute for the {@link #mCardView} widget. 43 SeekBar mRadiusSeekBar; 46 * SeekBar that changes the Elevation attribute for the {@link #mCardView} widget. 49 SeekBar mElevationSeekBar; 83 mRadiusSeekBar = (SeekBar) view.findViewById(R.id.cardview_radius_seekbar); 84 mRadiusSeekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { 86 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 87 Log.d(TAG, String.format("SeekBar Radius progress : %d", progress)) [all...] |
/developers/samples/android/ui/views/CardView/Application/src/main/java/com/example/android/cardview/ |
CardViewFragment.java | 26 import android.widget.SeekBar; 40 * SeekBar that changes the cornerRadius attribute for the {@link #mCardView} widget. 43 SeekBar mRadiusSeekBar; 46 * SeekBar that changes the Elevation attribute for the {@link #mCardView} widget. 49 SeekBar mElevationSeekBar; 83 mRadiusSeekBar = (SeekBar) view.findViewById(R.id.cardview_radius_seekbar); 84 mRadiusSeekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { 86 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 87 Log.d(TAG, String.format("SeekBar Radius progress : %d", progress)) [all...] |
/development/samples/browseable/CardView/src/com.example.android.cardview/ |
CardViewFragment.java | 26 import android.widget.SeekBar; 40 * SeekBar that changes the cornerRadius attribute for the {@link #mCardView} widget. 43 SeekBar mRadiusSeekBar; 46 * SeekBar that changes the Elevation attribute for the {@link #mCardView} widget. 49 SeekBar mElevationSeekBar; 83 mRadiusSeekBar = (SeekBar) view.findViewById(R.id.cardview_radius_seekbar); 84 mRadiusSeekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { 86 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 87 Log.d(TAG, String.format("SeekBar Radius progress : %d", progress)) [all...] |
/frameworks/base/core/java/android/preference/ |
SeekBarPreference.java | 26 import android.widget.SeekBar; 27 import android.widget.SeekBar.OnSeekBarChangeListener; 73 SeekBar seekBar = (SeekBar) view.findViewById( 74 com.android.internal.R.id.seekbar); 75 seekBar.setOnSeekBarChangeListener(this); 76 seekBar.setMax(mMax); 77 seekBar.setProgress(mProgress); 78 seekBar.setEnabled(isEnabled()) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SeekBarPreference.java | 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()) [all...] |
PreviewSeekBarPreferenceFragment.java | 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) [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
VolumePreference.java | 24 import android.widget.SeekBar; 25 import android.widget.SeekBar.OnSeekBarChangeListener; 53 SeekBar sb = new SeekBar(getContext()); 64 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { 68 public void onStartTrackingTouch(SeekBar seekBar) { } 70 public void onStopTrackingTouch(SeekBar seekBar) { } [all...] |
/frameworks/base/core/java/android/widget/ |
SeekBar.java | 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); 57 * to disable advancing the seekbar [all...] |
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
MainActivity.java | 22 import android.widget.SeekBar;
54 SeekBar seekBar = (SeekBar) findViewById(R.id.focusbar);
55 seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {
57 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
58 mPreviewView.setFocusInMeters(seekBar.getProgress() / 10.f);
62 public void onStartTrackingTouch(SeekBar seekBar) { [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...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
SeekBarCtsActivity.java | 24 import android.widget.SeekBar; 27 * Stub activity for testing {@link SeekBar} 38 View v = findViewById(R.id.seekBar);
|
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, android.R.attr.seekBarStyle); 123 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) [all...] |
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
SimplePieChartActivity.java | 22 import android.widget.SeekBar; 36 private SeekBar donutSizeSeekBar; 56 donutSizeSeekBar = (SeekBar) findViewById(R.id.donutSizeSeekBar); 58 donutSizeSeekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { 60 public void onProgressChanged(SeekBar seekBar, int i, boolean b) {} 63 public void onStartTrackingTouch(SeekBar seekBar) {} 66 public void onStopTrackingTouch(SeekBar seekBar) { [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...] |
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
R$id.class | |
/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...] |