HomeSort by relevance Sort by last modified time
    Searched defs:NumberPicker (Results 1 - 12 of 12) sorted by null

  /frameworks/base/core/java/android/widget/
NumberPicker.java 90 public class NumberPicker extends LinearLayout {
148 * Use a custom NumberPicker formatting callback to use two-digit minutes
153 private static class TwoDigitFormatter implements NumberPicker.Formatter {
261 * Lower value of the range of numbers allowed for the NumberPicker
266 * Upper value of the range of numbers allowed for the NumberPicker
271 * Current value of this NumberPicker
485 * @param picker The NumberPicker associated with this listener.
489 void onValueChange(NumberPicker picker, int oldVal, int newVal);
521 public void onScrollStateChange(NumberPicker view, int scrollState);
543 public NumberPicker(Context context)
    [all...]
DatePicker.java 38 import android.widget.NumberPicker.OnValueChangeListener;
93 private final NumberPicker mDaySpinner;
95 private final NumberPicker mMonthSpinner;
97 private final NumberPicker mYearSpinner;
178 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
226 mDaySpinner = (NumberPicker) findViewById(R.id.day);
227 mDaySpinner.setFormatter(NumberPicker.getTwoDigitFormatter());
233 mMonthSpinner = (NumberPicker) findViewById(R.id.month);
242 mYearSpinner = (NumberPicker) findViewById(R.id.year);
310 * Sets the minimal date supported by this {@link NumberPicker} i
    [all...]
TimePicker.java 35 import android.widget.NumberPicker.OnValueChangeListener;
79 private final NumberPicker mHourSpinner;
81 private final NumberPicker mMinuteSpinner;
83 private final NumberPicker mAmPmSpinner;
95 // version uses a NumberPicker spinner. Therefore the code
152 mHourSpinner = (NumberPicker) findViewById(R.id.hour);
153 mHourSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() {
154 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) {
176 mMinuteSpinner = (NumberPicker) findViewById(R.id.minute);
180 mMinuteSpinner.setFormatter(NumberPicker.getTwoDigitFormatter())
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DatePicker.java 34 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);
105 mDayPicker.setFormatter(NumberPicker.getTwoDigitFormatter());
107 mDayPicker.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() {
108 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
113 mMonthPicker = (NumberPicker) findViewById(R.id.month);
114 mMonthPicker.setFormatter(NumberPicker.getTwoDigitFormatter())
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePicker.java 38 import android.widget.NumberPicker;
39 import android.widget.NumberPicker.OnValueChangeListener;
69 private final NumberPicker mDayPicker;
70 private final NumberPicker mMonthPicker;
71 private final NumberPicker mYearPicker;
115 mDayPicker = (NumberPicker) findViewById(R.id.day);
116 mDayPicker.setFormatter(NumberPicker.getTwoDigitFormatter());
120 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
125 mMonthPicker = (NumberPicker) findViewById(R.id.month);
126 mMonthPicker.setFormatter(NumberPicker.getTwoDigitFormatter())
    [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/19/
android.jar 

Completed in 561 milliseconds