Skip navigation links
A C D E F G H I J L N O R S T U V 

A

abortAnimation() - Method in class com.shawnlin.numberpicker.Scroller
Stops the animation.
ASCENDING - Static variable in class com.shawnlin.numberpicker.NumberPicker
 

C

CENTER - Static variable in class com.shawnlin.numberpicker.NumberPicker
 
com.shawnlin.numberpicker - package com.shawnlin.numberpicker
 
computeHorizontalScrollExtent() - Method in class com.shawnlin.numberpicker.NumberPicker
 
computeHorizontalScrollOffset() - Method in class com.shawnlin.numberpicker.NumberPicker
 
computeHorizontalScrollRange() - Method in class com.shawnlin.numberpicker.NumberPicker
 
computeScroll() - Method in class com.shawnlin.numberpicker.NumberPicker
 
computeScrollOffset() - Method in class com.shawnlin.numberpicker.Scroller
Call this when you want to know the new location.
computeVerticalScrollExtent() - Method in class com.shawnlin.numberpicker.NumberPicker
 
computeVerticalScrollOffset() - Method in class com.shawnlin.numberpicker.NumberPicker
 
computeVerticalScrollRange() - Method in class com.shawnlin.numberpicker.NumberPicker
 

D

DESCENDING - Static variable in class com.shawnlin.numberpicker.NumberPicker
 
dispatchKeyEvent(KeyEvent) - Method in class com.shawnlin.numberpicker.NumberPicker
 
dispatchTouchEvent(MotionEvent) - Method in class com.shawnlin.numberpicker.NumberPicker
 
dispatchTrackballEvent(MotionEvent) - Method in class com.shawnlin.numberpicker.NumberPicker
 
drawableStateChanged() - Method in class com.shawnlin.numberpicker.NumberPicker
 

E

extendDuration(int) - Method in class com.shawnlin.numberpicker.Scroller
Extend the scroll animation.

F

fling(int, int, int, int, int, int, int, int) - Method in class com.shawnlin.numberpicker.Scroller
Start scrolling based on a fling gesture.
forceFinished(boolean) - Method in class com.shawnlin.numberpicker.Scroller
Force the finished field to a particular value.
format(int) - Method in interface com.shawnlin.numberpicker.NumberPicker.Formatter
Formats a string representation of the current value.

G

getBottomFadingEdgeStrength() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getCurrVelocity() - Method in class com.shawnlin.numberpicker.Scroller
Returns the current velocity.
getCurrX() - Method in class com.shawnlin.numberpicker.Scroller
Returns the current X offset in the scroll.
getCurrY() - Method in class com.shawnlin.numberpicker.Scroller
Returns the current Y offset in the scroll.
getDisplayedValues() - Method in class com.shawnlin.numberpicker.NumberPicker
Gets the values to be displayed instead of string values.
getDividerColor() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getDividerDistance() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getDividerThickness() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getDuration() - Method in class com.shawnlin.numberpicker.Scroller
Returns how long the scroll event will take, in milliseconds.
getFadingEdgeStrength() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getFinalX() - Method in class com.shawnlin.numberpicker.Scroller
Returns where the scroll will end.
getFinalY() - Method in class com.shawnlin.numberpicker.Scroller
Returns where the scroll will end.
getFormatter() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getLeftFadingEdgeStrength() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getLineSpacingMultiplier() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getMaxFlingVelocityCoefficient() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getMaxValue() - Method in class com.shawnlin.numberpicker.NumberPicker
Returns the max value of the picker.
getMinValue() - Method in class com.shawnlin.numberpicker.NumberPicker
Returns the min value of the picker.
getOrder() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getOrientation() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getRightFadingEdgeStrength() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getSelectedTextAlign() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getSelectedTextColor() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getSelectedTextSize() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getSelectedTextStrikeThru() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getSelectedTextUnderline() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getStartX() - Method in class com.shawnlin.numberpicker.Scroller
Returns the start X offset in the scroll.
getStartY() - Method in class com.shawnlin.numberpicker.Scroller
Returns the start Y offset in the scroll.
getTextAlign() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getTextColor() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getTextSize() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getTextStrikeThru() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getTextUnderline() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getTopFadingEdgeStrength() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getTwoDigitFormatter() - Static method in class com.shawnlin.numberpicker.NumberPicker
 
getTypeface() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getValue() - Method in class com.shawnlin.numberpicker.NumberPicker
Returns the value of the picker.
getWheelItemCount() - Method in class com.shawnlin.numberpicker.NumberPicker
 
getWrapSelectorWheel() - Method in class com.shawnlin.numberpicker.NumberPicker
Gets whether the selector wheel wraps when reaching the min/max value.

H

HORIZONTAL - Static variable in class com.shawnlin.numberpicker.NumberPicker
 

I

isAccessibilityDescriptionEnabled() - Method in class com.shawnlin.numberpicker.NumberPicker
 
isAscendingOrder() - Method in class com.shawnlin.numberpicker.NumberPicker
 
isFadingEdgeEnabled() - Method in class com.shawnlin.numberpicker.NumberPicker
 
isFinished() - Method in class com.shawnlin.numberpicker.Scroller
Returns whether the scroller has finished scrolling.
isHorizontalMode() - Method in class com.shawnlin.numberpicker.NumberPicker
 
isScrollerEnabled() - Method in class com.shawnlin.numberpicker.NumberPicker
 
isScrollingInDirection(float, float) - Method in class com.shawnlin.numberpicker.Scroller
 

J

jumpDrawablesToCurrentState() - Method in class com.shawnlin.numberpicker.NumberPicker
 

L

LEFT - Static variable in class com.shawnlin.numberpicker.NumberPicker
 

N

NumberPicker - Class in com.shawnlin.numberpicker
A widget that enables the user to select a number from a predefined range.
NumberPicker(Context) - Constructor for class com.shawnlin.numberpicker.NumberPicker
Create a new number picker.
NumberPicker(Context, AttributeSet) - Constructor for class com.shawnlin.numberpicker.NumberPicker
Create a new number picker.
NumberPicker(Context, AttributeSet, int) - Constructor for class com.shawnlin.numberpicker.NumberPicker
Create a new number picker
NumberPicker.Align - Annotation Type in com.shawnlin.numberpicker
 
NumberPicker.DividerType - Annotation Type in com.shawnlin.numberpicker
 
NumberPicker.Formatter - Interface in com.shawnlin.numberpicker
Interface used to format current value into a string for presentation.
NumberPicker.OnScrollListener - Interface in com.shawnlin.numberpicker
Interface to listen for the picker scroll state.
NumberPicker.OnScrollListener.ScrollState - Annotation Type in com.shawnlin.numberpicker
 
NumberPicker.OnValueChangeListener - Interface in com.shawnlin.numberpicker
Interface to listen for changes of the current value.
NumberPicker.Order - Annotation Type in com.shawnlin.numberpicker
 
NumberPicker.Orientation - Annotation Type in com.shawnlin.numberpicker
 

O

onConfigurationChanged(Configuration) - Method in class com.shawnlin.numberpicker.NumberPicker
 
onDetachedFromWindow() - Method in class com.shawnlin.numberpicker.NumberPicker
 
onDraw(Canvas) - Method in class com.shawnlin.numberpicker.NumberPicker
 
onInitializeAccessibilityEvent(AccessibilityEvent) - Method in class com.shawnlin.numberpicker.NumberPicker
 
onInterceptTouchEvent(MotionEvent) - Method in class com.shawnlin.numberpicker.NumberPicker
 
onLayout(boolean, int, int, int, int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
onMeasure(int, int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
onScrollStateChange(NumberPicker, int) - Method in interface com.shawnlin.numberpicker.NumberPicker.OnScrollListener
Callback invoked while the number picker scroll state has changed.
onTouchEvent(MotionEvent) - Method in class com.shawnlin.numberpicker.NumberPicker
 
onValueChange(NumberPicker, int, int) - Method in interface com.shawnlin.numberpicker.NumberPicker.OnValueChangeListener
Called upon a change of the current value.

R

resolveSizeAndState(int, int, int) - Static method in class com.shawnlin.numberpicker.NumberPicker
Utility to reconcile a desired size and state, with constraints imposed by a MeasureSpec.
RIGHT - Static variable in class com.shawnlin.numberpicker.NumberPicker
 

S

SCROLL_STATE_FLING - Static variable in interface com.shawnlin.numberpicker.NumberPicker.OnScrollListener
The user had previously been scrolling using touch and performed a fling.
SCROLL_STATE_IDLE - Static variable in interface com.shawnlin.numberpicker.NumberPicker.OnScrollListener
The view is not scrolling.
SCROLL_STATE_TOUCH_SCROLL - Static variable in interface com.shawnlin.numberpicker.NumberPicker.OnScrollListener
The user is scrolling using touch, and his finger is still on the screen.
scrollBy(int, int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
Scroller - Class in com.shawnlin.numberpicker
This class encapsulates scrolling.
Scroller(Context) - Constructor for class com.shawnlin.numberpicker.Scroller
Create a Scroller with the default duration and interpolator.
Scroller(Context, Interpolator) - Constructor for class com.shawnlin.numberpicker.Scroller
Create a Scroller with the specified interpolator.
Scroller(Context, Interpolator, boolean) - Constructor for class com.shawnlin.numberpicker.Scroller
Create a Scroller with the specified interpolator.
setAccessibilityDescriptionEnabled(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setDisplayedValues(String[]) - Method in class com.shawnlin.numberpicker.NumberPicker
Sets the values to be displayed.
setDividerColor(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setDividerColorResource(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setDividerDistance(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setDividerDistanceResource(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setDividerThickness(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setDividerThicknessResource(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setDividerType(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setEnabled(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setFadingEdgeEnabled(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setFadingEdgeStrength(float) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setFinalX(int) - Method in class com.shawnlin.numberpicker.Scroller
Sets the final position (X) for this scroller.
setFinalY(int) - Method in class com.shawnlin.numberpicker.Scroller
Sets the final position (Y) for this scroller.
setFormatter(NumberPicker.Formatter) - Method in class com.shawnlin.numberpicker.NumberPicker
Set the formatter to be used for formatting the current value.
setFormatter(String) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setFormatter(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setFriction(float) - Method in class com.shawnlin.numberpicker.Scroller
The amount of friction applied to flings.
setItemSpacing(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setLineSpacingMultiplier(float) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setMaxFlingVelocityCoefficient(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setMaxValue(int) - Method in class com.shawnlin.numberpicker.NumberPicker
Sets the max value of the picker.
setMinValue(int) - Method in class com.shawnlin.numberpicker.NumberPicker
Sets the min value of the picker.
setOnClickListener(View.OnClickListener) - Method in class com.shawnlin.numberpicker.NumberPicker
Set listener to be notified on click of the current value.
setOnLongPressUpdateInterval(long) - Method in class com.shawnlin.numberpicker.NumberPicker
Sets the speed at which the numbers be incremented and decremented when the up and down buttons are long pressed respectively.
setOnScrollListener(NumberPicker.OnScrollListener) - Method in class com.shawnlin.numberpicker.NumberPicker
Set listener to be notified for scroll state changes.
setOnValueChangedListener(NumberPicker.OnValueChangeListener) - Method in class com.shawnlin.numberpicker.NumberPicker
Sets the listener to be notified on change of the current value.
setOrder(int) - Method in class com.shawnlin.numberpicker.NumberPicker
Should sort numbers in ascending or descending order.
setOrientation(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setScrollerEnabled(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTextAlign(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTextColor(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTextColorResource(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTextSize(float) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTextSize(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTextStrikeThru(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTextUnderline(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTypeface(Typeface) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTypeface(String, int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTypeface(String) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTypeface(int, int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setSelectedTypeface(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTextAlign(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTextColor(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTextColorResource(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTextSize(float) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTextSize(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTextStrikeThru(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTextUnderline(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTypeface(Typeface) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTypeface(String, int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTypeface(String) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTypeface(int, int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setTypeface(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setValue(int) - Method in class com.shawnlin.numberpicker.NumberPicker
Set the current value for the number picker.
setWheelItemCount(int) - Method in class com.shawnlin.numberpicker.NumberPicker
 
setWrapSelectorWheel(boolean) - Method in class com.shawnlin.numberpicker.NumberPicker
Sets whether the selector wheel shown during flinging/scrolling should wrap around the NumberPicker.getMinValue() and NumberPicker.getMaxValue() values.
SIDE_LINES - Static variable in class com.shawnlin.numberpicker.NumberPicker
 
smoothScroll(boolean, int) - Method in class com.shawnlin.numberpicker.NumberPicker
Starts a smooth scroll
smoothScrollToPosition(int) - Method in class com.shawnlin.numberpicker.NumberPicker
Starts a smooth scroll to wheel position.
startScroll(int, int, int, int) - Method in class com.shawnlin.numberpicker.Scroller
Start scrolling by providing a starting point and the distance to travel.
startScroll(int, int, int, int, int) - Method in class com.shawnlin.numberpicker.Scroller
Start scrolling by providing a starting point, the distance to travel, and the duration of the scroll.

T

timePassed() - Method in class com.shawnlin.numberpicker.Scroller
Returns the time elapsed since the beginning of the scrolling.

U

UNDERLINE - Static variable in class com.shawnlin.numberpicker.NumberPicker
 

V

VERTICAL - Static variable in class com.shawnlin.numberpicker.NumberPicker
 
A C D E F G H I J L N O R S T U V 
Skip navigation links