Home
last modified time | relevance | path

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

/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DDurationPicker.java36 private final NumberPicker mDayPicker;
37 private final NumberPicker mHourPicker;
38 private final NumberPicker mMinutePicker;
39 private final NumberPicker mSecondPicker;
55 mDayPicker = (NumberPicker) findViewById(R.id.day); in DurationPicker()
59 mDayPicker.setOnChangeListener(new NumberPicker.OnChangedListener() { in DurationPicker()
60 public void onChanged(NumberPicker spinner, int oldVal, int newVal) { in DurationPicker()
65 mHourPicker = (NumberPicker) findViewById(R.id.hour); in DurationPicker()
69 mHourPicker.setOnChangeListener(new NumberPicker.OnChangedListener() { in DurationPicker()
70 public void onChanged(NumberPicker spinner, int oldVal, int newVal) { in DurationPicker()
[all …]
DNumberPicker.java37 public class NumberPicker extends LinearLayout implements OnClickListener, OnFocusChangeListener, class
41 void onChanged(NumberPicker picker, int oldVal, int newVal); in onChanged()
53 public static final NumberPicker.Formatter TWO_DIGIT_FORMATTER = new NumberPicker.Formatter() {
94 public NumberPicker(Context context) { in NumberPicker() method in NumberPicker
98 public NumberPicker(Context context, AttributeSet attrs) { in NumberPicker() method in NumberPicker
102 public NumberPicker(Context context, AttributeSet attrs, int defStyle) { in NumberPicker() method in NumberPicker
DNumberPickerButton.java32 private NumberPicker mNumberPicker;
46 public void setNumberPicker(NumberPicker picker) { in setNumberPicker()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNumberPicker.java5 import android.widget.NumberPicker;
10 @Implements(value = NumberPicker.class)
12 @RealObject private NumberPicker realNumberPicker;
18 private NumberPicker.OnValueChangeListener onValueChangeListener;
71 protected void setOnValueChangedListener(NumberPicker.OnValueChangeListener listener) { in setOnValueChangedListener()
72 directlyOn(realNumberPicker, NumberPicker.class).setOnValueChangedListener(listener); in setOnValueChangedListener()
76 public NumberPicker.OnValueChangeListener getOnValueChangeListener() { in getOnValueChangeListener()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNumberPickerTest.java6 import android.widget.NumberPicker;
18 NumberPicker picker = new NumberPicker(ApplicationProvider.getApplicationContext()); in shouldFireListeners()
20 NumberPicker.OnValueChangeListener listener = mock(NumberPicker.OnValueChangeListener.class); in shouldFireListeners()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DCustomNumberPicker.java26 import android.widget.NumberPicker;
28 public class CustomNumberPicker extends NumberPicker {
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java61 import android.widget.NumberPicker;
91 private NumberPicker np;
440 np = (NumberPicker) view.findViewById(R.id.np); in onViewCreated()
445 new NumberPicker.OnValueChangeListener() { in onViewCreated()
447 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in onViewCreated()