Lines Matching refs:NumberPicker

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) {
573 public NumberPicker(Context context, AttributeSet attrs) {
586 public NumberPicker(Context context, AttributeSet attrs, int defStyleAttr) {
603 public NumberPicker(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
608 attrs, R.styleable.NumberPicker, defStyleAttr, defStyleRes);
1213 * If the argument is less than the {@link NumberPicker#getMinValue()} and
1214 * {@link NumberPicker#getWrapSelectorWheel()} is <code>false</code> the
1215 * current value is set to the {@link NumberPicker#getMinValue()} value.
1218 * If the argument is less than the {@link NumberPicker#getMinValue()} and
1219 * {@link NumberPicker#getWrapSelectorWheel()} is <code>true</code> the
1220 * current value is set to the {@link NumberPicker#getMaxValue()} value.
1223 * If the argument is less than the {@link NumberPicker#getMaxValue()} and
1224 * {@link NumberPicker#getWrapSelectorWheel()} is <code>false</code> the
1225 * current value is set to the {@link NumberPicker#getMaxValue()} value.
1228 * If the argument is less than the {@link NumberPicker#getMaxValue()} and
1229 * {@link NumberPicker#getWrapSelectorWheel()} is <code>true</code> the
1230 * current value is set to the {@link NumberPicker#getMinValue()} value.
1347 * wrap around the {@link NumberPicker#getMinValue()} and
1348 * {@link NumberPicker#getMaxValue()} values.
1639 event.setClassName(NumberPicker.class.getName());
1720 * Sets the current value of this NumberPicker.
1722 * @param current The new value of the NumberPicker.
1925 * Updates the view of this NumberPicker. If displayValues were specified in
1950 * NumberPicker.
2193 NumberPicker.this.removeCallbacks(this);
2208 NumberPicker.this.postDelayed(this, ViewConfiguration.getTapTimeout());
2215 NumberPicker.this.post(this);
2237 NumberPicker.this.postDelayed(this,
2245 NumberPicker.this.postDelayed(this,
2436 if (NumberPicker.this.isEnabled()
2443 if (NumberPicker.this.isEnabled()
2454 if (NumberPicker.this.isEnabled() && !mInputText.isFocused()) {
2459 if (NumberPicker.this.isEnabled() && mInputText.isFocused()) {
2466 if (NumberPicker.this.isEnabled()) {
2473 if (NumberPicker.this.isEnabled()) {
2505 if (NumberPicker.this.isEnabled()) {
2506 NumberPicker.this.changeValueByOne(true);
2535 if (NumberPicker.this.isEnabled()) {
2537 NumberPicker.this.changeValueByOne(increment);
2592 event.setSource(NumberPicker.this, VIRTUAL_VIEW_ID_INPUT);
2593 requestSendAccessibilityEvent(NumberPicker.this, event);
2604 event.setEnabled(NumberPicker.this.isEnabled());
2605 event.setSource(NumberPicker.this, virtualViewId);
2606 requestSendAccessibilityEvent(NumberPicker.this, event);
2647 info.setSource(NumberPicker.this, VIRTUAL_VIEW_ID_INPUT);
2671 info.setSource(NumberPicker.this, virtualViewId);
2672 info.setParent(NumberPicker.this);
2676 info.setEnabled(NumberPicker.this.isEnabled());
2693 if (NumberPicker.this.isEnabled()) {
2703 info.setClassName(NumberPicker.class.getName());
2705 info.setSource(NumberPicker.this);
2708 info.addChild(NumberPicker.this, VIRTUAL_VIEW_ID_DECREMENT);
2710 info.addChild(NumberPicker.this, VIRTUAL_VIEW_ID_INPUT);
2712 info.addChild(NumberPicker.this, VIRTUAL_VIEW_ID_INCREMENT);
2716 info.setEnabled(NumberPicker.this.isEnabled());
2742 if (NumberPicker.this.isEnabled()) {