android.view
public
class
android.view.ViewConfiguration
Contains methods to standard constants used in the UI for timeouts, sizes, and distances.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
ViewConfiguration()
Public Methods
public
static
float
getDisabledAlpha()
Returns
- The alpha to apply to views in the disabled state
public
static
int
getFadingEdgeLength()
Returns
- Defines the length of the fading edges in pixels
public
static
int
getLongPressTimeout()
Returns
- Defines the duration in milliseconds before a press turns into
a long press
public
static
int
getPressedStateDuration()
Returns
- Defines the duration in milliseconds of the pressed state in child
components.
public
static
int
getScrollBarFadeDuration()
Returns
- Duration of the fade when scrollbars fade away in milliseconds
public
static
int
getScrollBarSize()
Returns
- The width of the horizontal scrollbar and the height of the vertical
scrollbar in pixels
public
static
int
getScrollDefaultDelay()
Returns
- Default delay before the scrollbars fade in milliseconds
public
static
int
getTapTimeout()
Returns
- Defines the duration in milliseconds we will wait to see if a touch event
is a top or a scroll. If the user does not move within this interval, it is
considered to be a tap.
public
static
int
getTouchSlop()
Returns
- Distance a touch can wander before we think the user is scrolling in pixels