/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
NumberPickerBindingAdapter.java | 26 import android.widget.NumberPicker; 27 import android.widget.NumberPicker.OnValueChangeListener; 30 @BindingMethod(type = NumberPicker.class, attribute = "android:format", method = "setFormatter"), 31 @BindingMethod(type = NumberPicker.class, attribute = "android:onScrollStateChange", method = "setOnScrollListener"), 34 @InverseBindingMethod(type = NumberPicker.class, attribute = "android:value"), 39 public static void setValue(NumberPicker view, int value) { 47 public static void setListeners(NumberPicker view, final OnValueChangeListener listener, 54 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/ |
DurationPicker.java | 36 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); 58 // mHourPicker.setFormatter(NumberPicker.TWO_DIGIT_FORMATTER); 59 mDayPicker.setOnChangeListener(new NumberPicker.OnChangedListener() { 60 public void onChanged(NumberPicker spinner, int oldVal, int newVal) { 65 mHourPicker = (NumberPicker) findViewById(R.id.hour); 68 // mHourPicker.setFormatter(NumberPicker.TWO_DIGIT_FORMATTER) [all...] |
NumberPickerButton.java | 32 private NumberPicker mNumberPicker; 46 public void setNumberPicker(NumberPicker picker) {
|
NumberPicker.java | 37 public class NumberPicker extends LinearLayout implements OnClickListener, OnFocusChangeListener, 41 void onChanged(NumberPicker picker, int oldVal, int newVal); 49 * Use a custom NumberPicker formatting callback to use two-digit minutes strings like "01". 53 public static final NumberPicker.Formatter TWO_DIGIT_FORMATTER = new NumberPicker.Formatter() { 94 public NumberPicker(Context context) { 98 public NumberPicker(Context context, AttributeSet attrs) { 102 public NumberPicker(Context context, AttributeSet attrs, int defStyle) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
NumberPickerActivity.java | 26 import android.widget.NumberPicker; 33 private NumberPicker mNumberPicker; 41 mNumberPicker = (NumberPicker) findViewById(R.id.number_picker);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
NumberPickerCtsActivity.java | 21 import android.widget.NumberPicker; 24 * A minimal application for {@link NumberPicker} test.
|
NumberPickerTest.java | 40 import android.widget.NumberPicker; 61 private NumberPicker mNumberPicker; 72 mNumberPicker = (NumberPicker) mActivity.findViewById(R.id.number_picker); 78 new NumberPicker(mActivity); 80 new NumberPicker(mActivity, null); 82 new NumberPicker(mActivity, null, android.R.attr.numberPickerStyle); 84 new NumberPicker(mActivity, null, 0, android.R.style.Widget_Material_NumberPicker); 86 new NumberPicker(mActivity, null, 0, android.R.style.Widget_Material_Light_NumberPicker); 271 final NumberPicker.OnValueChangeListener mockValueChangeListener = 272 mock(NumberPicker.OnValueChangeListener.class) [all...] |
RemoteViewsTest.java | 64 import android.widget.NumberPicker; 433 assertFalse(mRemoteViews.onLoadClass(NumberPicker.class)); [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 33 import android.widget.NumberPicker; 34 import android.widget.NumberPicker.OnValueChangeListener; 64 private final NumberPicker mDayPicker; 65 private final NumberPicker mMonthPicker; 66 private final NumberPicker mYearPicker; 110 mDayPicker = (NumberPicker) findViewById(R.id.day); 115 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 120 mMonthPicker = (NumberPicker) findViewById(R.id.month); 145 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 157 mYearPicker = (NumberPicker) findViewById(R.id.year) [all...] |
TwoDigitFormatter.java | 3 import android.widget.NumberPicker; 9 * Copy of {@link android.widget.NumberPicker.TwoDigitFormatter}, modified 12 * Use a custom NumberPicker formatting callback to use two-digit minutes 17 public class TwoDigitFormatter implements NumberPicker.Formatter {
|
/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; 105 mDayPicker.setFormatter(NumberPicker.getTwoDigitFormatter()); 107 mDayPicker.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { 108 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 114 mMonthPicker.setFormatter(NumberPicker.getTwoDigitFormatter()); 136 mMonthPicker.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { 137 public void onValueChange(NumberPicker picker, int oldVal, int newVal) [all...] |
/frameworks/base/core/java/android/widget/ |
NumberPicker.java | 96 public class NumberPicker extends LinearLayout { 159 * Use a custom NumberPicker formatting callback to use two-digit minutes 164 private static class TwoDigitFormatter implements NumberPicker.Formatter { 272 * Lower value of the range of numbers allowed for the NumberPicker 277 * Upper value of the range of numbers allowed for the NumberPicker 282 * Current value of this NumberPicker 501 * @param picker The NumberPicker associated with this listener. 505 void onValueChange(NumberPicker picker, int oldVal, int newVal); 541 public void onScrollStateChange(NumberPicker view, @ScrollState int scrollState); 563 public NumberPicker(Context context) [all...] |
TimePickerSpinnerDelegate.java | 49 private final NumberPicker mHourSpinner; 50 private final NumberPicker mMinuteSpinner; 51 private final NumberPicker mAmPmSpinner; 59 // version uses a NumberPicker spinner. Therefore the code 91 mHourSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { 92 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 118 mMinuteSpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); 119 mMinuteSpinner.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() { 120 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 164 mAmPmSpinner = (NumberPicker) amPmView [all...] |
DatePickerSpinnerDelegate.java | 34 import android.widget.NumberPicker.OnValueChangeListener; 63 private final NumberPicker mDaySpinner; 65 private final NumberPicker mMonthSpinner; 67 private final NumberPicker mYearSpinner; 122 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 170 mDaySpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.day); 171 mDaySpinner.setFormatter(NumberPicker.getTwoDigitFormatter()); 177 mMonthSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.month); 186 mYearSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.year); 418 // All-text would require custom NumberPicker formatters for day and year [all...] |
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
CustomNumberPicker.java | 26 import android.widget.NumberPicker; 28 public class CustomNumberPicker extends NumberPicker {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
CallbackBindingObject.java | 39 import android.widget.NumberPicker;
|
ListenerBindingObject.java | 39 import android.widget.NumberPicker; 114 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { } 116 public void onScrollStateChange(NumberPicker view, int scrollState) { }
|
/development/samples/UiAutomator/src/com/android/test/uiautomator/demos/ |
SetTwoMinuteAlarm.java | 106 android.widget.NumberPicker.class.getName()).instance(1);
|
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/settings/ |
SettingsActivity.java | 31 import android.widget.NumberPicker; 95 NumberPicker numberOfDatasetsPicker = LayoutInflater
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/settings/ |
SettingsActivity.java | 31 import android.widget.NumberPicker; 95 NumberPicker numberOfDatasetsPicker = LayoutInflater
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
EmbmsTestDownloadApp.java | 41 import android.widget.NumberPicker; 255 NumberPicker downloadDelayPicker = (NumberPicker) findViewById(R.id.delay_factor);
|
/frameworks/layoutlib/bridge/src/android/view/ |
BridgeInflater.java | 45 import android.widget.NumberPicker; 398 else if (view instanceof NumberPicker) { 399 NumberPicker numberPicker = (NumberPicker) view; 402 numberPicker.setMinValue(Integer.parseInt(minValue)); 406 numberPicker.setMaxValue(Integer.parseInt(maxValue));
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
BillingCycleSettings.java | 41 import android.widget.NumberPicker; 332 private NumberPicker mCycleDayPicker; 361 mCycleDayPicker = (NumberPicker) view.findViewById(R.id.cycle_day);
|
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |