Home
last modified time | relevance | path

Searched refs:NumberPicker (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java34 import android.widget.NumberPicker;
56 private final NumberPicker mDayPicker;
57 private final NumberPicker mMonthPicker;
58 private final NumberPicker mYearPicker;
104 mDayPicker = (NumberPicker) findViewById(R.id.day); in DatePicker()
105 mDayPicker.setFormatter(NumberPicker.getTwoDigitFormatter()); in DatePicker()
107 mDayPicker.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in DatePicker()
108 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
113 mMonthPicker = (NumberPicker) findViewById(R.id.month); in DatePicker()
114 mMonthPicker.setFormatter(NumberPicker.getTwoDigitFormatter()); in DatePicker()
[all …]
/frameworks/base/core/java/android/widget/
DTimePicker.java33 import android.widget.NumberPicker.OnValueChangeListener;
77 private final NumberPicker mHourSpinner;
79 private final NumberPicker mMinuteSpinner;
81 private final NumberPicker mAmPmSpinner;
147 mHourSpinner = (NumberPicker) findViewById(R.id.hour); in TimePicker()
148 mHourSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePicker()
149 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePicker()
171 mMinuteSpinner = (NumberPicker) findViewById(R.id.minute); in TimePicker()
175 mMinuteSpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); in TimePicker()
176 mMinuteSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePicker()
[all …]
DNumberPicker.java90 public class NumberPicker extends LinearLayout { class
153 private static class TwoDigitFormatter implements NumberPicker.Formatter {
484 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange()
516 public void onScrollStateChange(NumberPicker view, int scrollState); in onScrollStateChange()
538 public NumberPicker(Context context) { in NumberPicker() method in NumberPicker
548 public NumberPicker(Context context, AttributeSet attrs) { in NumberPicker() method in NumberPicker
559 public NumberPicker(Context context, AttributeSet attrs, int defStyle) { in NumberPicker() method in NumberPicker
564 attrs, R.styleable.NumberPicker, defStyle, 0); in NumberPicker()
1461 event.setClassName(NumberPicker.class.getName()); in onInitializeAccessibilityEvent()
2002 NumberPicker.this.removeCallbacks(this); in cancel()
[all …]
DDatePicker.java37 import android.widget.NumberPicker.OnValueChangeListener;
89 private final NumberPicker mDaySpinner;
91 private final NumberPicker mMonthSpinner;
93 private final NumberPicker mYearSpinner;
174 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
222 mDaySpinner = (NumberPicker) findViewById(R.id.day); in DatePicker()
223 mDaySpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); in DatePicker()
229 mMonthSpinner = (NumberPicker) findViewById(R.id.month); in DatePicker()
238 mYearSpinner = (NumberPicker) findViewById(R.id.year); in DatePicker()
710 private void setImeOptions(NumberPicker spinner, int spinnerCount, int spinnerIndex) { in setImeOptions()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dolder-implementation.jd51 <p>{@link android.widget.NumberPicker} and {@link android.widget.Switch} widgets can be implemented…
/frameworks/base/docs/html/about/versions/
Dandroid-3.0.jd500 <li>{@link android.widget.NumberPicker}
/frameworks/base/
Dpreloaded-classes1207 android.widget.NumberPicker
/frameworks/base/docs/html/
Dsitemap.txt1504 http://developer.android.com/reference/android/widget/NumberPicker.Formatter.html
1505 http://developer.android.com/reference/android/widget/NumberPicker.OnScrollListener.html
1506 http://developer.android.com/reference/android/widget/NumberPicker.OnValueChangeListener.html
1564 http://developer.android.com/reference/android/widget/NumberPicker.html
/frameworks/base/api/
D14.txt26486 public class NumberPicker extends android.widget.LinearLayout {
26487 ctor public NumberPicker(android.content.Context);
26488 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
26489 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
26496 method public void setFormatter(android.widget.NumberPicker.Formatter);
26500 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
26501 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
26506 public static abstract interface NumberPicker.Formatter {
26510 public static abstract interface NumberPicker.OnScrollListener {
26511 method public abstract void onScrollStateChange(android.widget.NumberPicker, int);
[all …]
D15.txt26640 public class NumberPicker extends android.widget.LinearLayout {
26641 ctor public NumberPicker(android.content.Context);
26642 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
26643 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
26650 method public void setFormatter(android.widget.NumberPicker.Formatter);
26654 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
26655 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
26660 public static abstract interface NumberPicker.Formatter {
26664 public static abstract interface NumberPicker.OnScrollListener {
26665 method public abstract void onScrollStateChange(android.widget.NumberPicker, int);
[all …]
D16.txt27873 public class NumberPicker extends android.widget.LinearLayout {
27874 ctor public NumberPicker(android.content.Context);
27875 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
27876 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
27883 method public void setFormatter(android.widget.NumberPicker.Formatter);
27887 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
27888 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
27893 public static abstract interface NumberPicker.Formatter {
27897 public static abstract interface NumberPicker.OnScrollListener {
27898 method public abstract void onScrollStateChange(android.widget.NumberPicker, int);
[all …]
D17.txt28705 public class NumberPicker extends android.widget.LinearLayout {
28706 ctor public NumberPicker(android.content.Context);
28707 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
28708 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
28715 method public void setFormatter(android.widget.NumberPicker.Formatter);
28719 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
28720 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
28725 public static abstract interface NumberPicker.Formatter {
28729 public static abstract interface NumberPicker.OnScrollListener {
28730 method public abstract void onScrollStateChange(android.widget.NumberPicker, int);
[all …]
Dcurrent.txt28705 public class NumberPicker extends android.widget.LinearLayout {
28706 ctor public NumberPicker(android.content.Context);
28707 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
28708 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
28715 method public void setFormatter(android.widget.NumberPicker.Formatter);
28719 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
28720 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
28725 public static abstract interface NumberPicker.Formatter {
28729 public static abstract interface NumberPicker.OnScrollListener {
28730 method public abstract void onScrollStateChange(android.widget.NumberPicker, int);
[all …]