Home
last modified time | relevance | path

Searched refs:NumberPicker (Results 1 – 12 of 12) 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.java111 public class NumberPicker extends LinearLayout { class
181 private static class TwoDigitFormatter implements NumberPicker.Formatter {
535 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange()
575 public void onScrollStateChange(NumberPicker view, @ScrollState int scrollState); in onScrollStateChange()
597 public NumberPicker(Context context) { in NumberPicker() method in NumberPicker
607 public NumberPicker(Context context, AttributeSet attrs) { in NumberPicker() method in NumberPicker
620 public NumberPicker(Context context, AttributeSet attrs, int defStyleAttr) { in NumberPicker() method in NumberPicker
637 public NumberPicker(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in NumberPicker() method in NumberPicker
642 attrs, R.styleable.NumberPicker, defStyleAttr, defStyleRes); in NumberPicker()
643 saveAttributeDataForStyleable(context, R.styleable.NumberPicker, in NumberPicker()
[all …]
DTimePickerSpinnerDelegate.java47 private final NumberPicker mHourSpinner;
48 private final NumberPicker mMinuteSpinner;
49 private final NumberPicker mAmPmSpinner;
89 mHourSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePickerSpinnerDelegate()
90 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
116 mMinuteSpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); in TimePickerSpinnerDelegate()
117 mMinuteSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePickerSpinnerDelegate()
118 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
162 mAmPmSpinner = (NumberPicker) amPmView; in TimePickerSpinnerDelegate()
166 mAmPmSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { in TimePickerSpinnerDelegate()
[all …]
DDatePickerSpinnerDelegate.java35 import android.widget.NumberPicker.OnValueChangeListener;
62 private final NumberPicker mDaySpinner;
64 private final NumberPicker mMonthSpinner;
66 private final NumberPicker mYearSpinner;
121 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePickerSpinnerDelegate()
169 mDaySpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.day); in DatePickerSpinnerDelegate()
170 mDaySpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); in DatePickerSpinnerDelegate()
176 mMonthSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.month); in DatePickerSpinnerDelegate()
185 mYearSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.year); in DatePickerSpinnerDelegate()
597 private void setImeOptions(NumberPicker spinner, int spinnerCount, int spinnerIndex) { in setImeOptions()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java51 import android.widget.NumberPicker;
475 else if (view instanceof NumberPicker) { in setupViewInContext()
476 NumberPicker numberPicker = (NumberPicker) view; in setupViewInContext()
/frameworks/base/config/
Dhiddenapi-greylist-max-q.txt78 Landroid/R$styleable;->NumberPicker:[I
557 Lcom/android/internal/R$styleable;->NumberPicker:[I
Dhiddenapi-greylist-max-o.txt82775 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->createAccessibilityNodeInfoForNumberPi…
82776 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->createAccessibilityNodeInfoForVirtualB…
82777 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->createAccessibiltyNodeInfoForInputText…
82778 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->findAccessibilityNodeInfosByTextInChil…
82779 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->getVirtualDecrementButtonText()Ljava/l…
82780 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->getVirtualIncrementButtonText()Ljava/l…
82781 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->hasVirtualDecrementButton()Z
82782 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->hasVirtualIncrementButton()Z
82783 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->mAccessibilityFocusedView:I
82784 Landroid/widget/NumberPicker$AccessibilityNodeProviderImpl;->mTempArray:[I
[all …]
/frameworks/base/api/
Dtest-lint-baseline.txt2202 MissingNullability: android.widget.NumberPicker#getDisplayedValueForCurrentSelection():
Dtest-current.txt4617 public class NumberPicker extends android.widget.LinearLayout {
Dcurrent.txt57635 public class NumberPicker extends android.widget.LinearLayout {
57636 ctor public NumberPicker(android.content.Context);
57637 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
57638 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
57639 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int, int);
57649 method public void setFormatter(android.widget.NumberPicker.Formatter);
57653 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
57654 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
57662 public static interface NumberPicker.Formatter {
57666 public static interface NumberPicker.OnScrollListener {
[all …]
/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 …]
/frameworks/base/non-updatable-api/
Dcurrent.txt57491 public class NumberPicker extends android.widget.LinearLayout {
57492 ctor public NumberPicker(android.content.Context);
57493 ctor public NumberPicker(android.content.Context, android.util.AttributeSet);
57494 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int);
57495 ctor public NumberPicker(android.content.Context, android.util.AttributeSet, int, int);
57505 method public void setFormatter(android.widget.NumberPicker.Formatter);
57509 method public void setOnScrollListener(android.widget.NumberPicker.OnScrollListener);
57510 method public void setOnValueChangedListener(android.widget.NumberPicker.OnValueChangeListener);
57518 public static interface NumberPicker.Formatter {
57522 public static interface NumberPicker.OnScrollListener {
[all …]