Home
last modified time | relevance | path

Searched refs:NumberPicker (Results 1 – 11 of 11) 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;
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()
114 mMonthPicker.setFormatter(NumberPicker.getTwoDigitFormatter()); in DatePicker()
136 mMonthPicker.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in DatePicker()
137 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
[all …]
/frameworks/base/core/java/android/widget/
DNumberPicker.java112 public class NumberPicker extends LinearLayout { class
182 private static class TwoDigitFormatter implements NumberPicker.Formatter {
536 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange()
576 public void onScrollStateChange(NumberPicker view, @ScrollState int scrollState); in onScrollStateChange()
598 public NumberPicker(Context context) { in NumberPicker() method in NumberPicker
608 public NumberPicker(Context context, AttributeSet attrs) { in NumberPicker() method in NumberPicker
621 public NumberPicker(Context context, AttributeSet attrs, int defStyleAttr) { in NumberPicker() method in NumberPicker
638 public NumberPicker(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in NumberPicker() method in NumberPicker
643 attrs, R.styleable.NumberPicker, defStyleAttr, defStyleRes); in NumberPicker()
644 saveAttributeDataForStyleable(context, R.styleable.NumberPicker, in NumberPicker()
[all …]
DTimePickerSpinnerDelegate.java49 private final NumberPicker mHourSpinner;
50 private final NumberPicker mMinuteSpinner;
51 private final NumberPicker mAmPmSpinner;
91 mHourSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePickerSpinnerDelegate()
92 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
118 mMinuteSpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); in TimePickerSpinnerDelegate()
119 mMinuteSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePickerSpinnerDelegate()
120 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
164 mAmPmSpinner = (NumberPicker) amPmView; in TimePickerSpinnerDelegate()
168 mAmPmSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePickerSpinnerDelegate()
[all …]
DDatePickerSpinnerDelegate.java35 import android.widget.NumberPicker.OnValueChangeListener;
64 private final NumberPicker mDaySpinner;
66 private final NumberPicker mMonthSpinner;
68 private final NumberPicker mYearSpinner;
123 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePickerSpinnerDelegate()
171 mDaySpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.day); in DatePickerSpinnerDelegate()
172 mDaySpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); in DatePickerSpinnerDelegate()
178 mMonthSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.month); in DatePickerSpinnerDelegate()
187 mYearSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.year); in DatePickerSpinnerDelegate()
599 private void setImeOptions(NumberPicker spinner, int spinnerCount, int spinnerIndex) { in setImeOptions()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java49 import android.widget.NumberPicker;
474 else if (view instanceof NumberPicker) { in setupViewInContext()
475 NumberPicker numberPicker = (NumberPicker) view; in setupViewInContext()
/frameworks/base/config/
Dhiddenapi-greylist-max-q.txt78 Landroid/R$styleable;->NumberPicker:[I
555 Lcom/android/internal/R$styleable;->NumberPicker:[I
/frameworks/base/api/
Dtest-lint-baseline.txt2198 MissingNullability: android.widget.NumberPicker#getDisplayedValueForCurrentSelection():
Dtest-current.txt5477 public class NumberPicker extends android.widget.LinearLayout {
Dcurrent.txt60062 public class NumberPicker extends android.widget.LinearLayout {
60063 ctor public NumberPicker(android.content.Context);
60064 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
60065 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
60066 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int, int);
60076 method public void setFormatter(android.widget.NumberPicker.Formatter);
60080 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
60081 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
60089 public static interface NumberPicker.Formatter {
60093 public static interface NumberPicker.OnScrollListener {
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt37883 public class NumberPicker extends android.widget.LinearLayout {
37884 ctor public NumberPicker(android.content.Context);
37885 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
37886 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
37887 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int, int);
37894 method public void setFormatter(android.widget.NumberPicker.Formatter);
37898 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
37899 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
37904 public static abstract interface NumberPicker.Formatter {
37908 public static abstract interface NumberPicker.OnScrollListener {
[all …]