Package org.robolectric.shadows
Class ShadowViewConfiguration
java.lang.Object
org.robolectric.shadows.ShadowViewConfiguration
@Implements(android.view.ViewConfiguration.class) public class ShadowViewConfiguration extends Object
-
Constructor Summary
Constructors Constructor Description ShadowViewConfiguration()
-
Method Summary
Modifier and Type Method Description protected static ViewConfiguration
get(Context context)
protected static int
getDoubleTapTimeout()
protected static int
getEdgeSlop()
protected static int
getFadingEdgeLength()
protected static long
getGlobalActionKeyTimeout()
protected static int
getJumpTapTimeout()
protected static int
getLongPressTimeout()
protected static int
getMaximumDrawingCacheSize()
protected static int
getMaximumFlingVelocity()
protected static int
getMinimumFlingVelocity()
protected static int
getPressedStateDuration()
protected int
getScaledDoubleTapSlop()
protected int
getScaledEdgeSlop()
protected int
getScaledFadingEdgeLength()
protected int
getScaledMaximumFlingVelocity()
protected int
getScaledMinimumFlingVelocity()
protected int
getScaledPagingTouchSlop()
protected int
getScaledScrollBarSize()
protected int
getScaledTouchSlop()
protected int
getScaledWindowTouchSlop()
protected static int
getScrollBarFadeDuration()
protected static int
getScrollBarSize()
protected static int
getScrollDefaultDelay()
protected static float
getScrollFriction()
protected static int
getTapTimeout()
protected static int
getTouchSlop()
protected static int
getWindowTouchSlop()
protected static long
getZoomControlsTimeout()
protected boolean
hasPermanentMenuKey()
static void
setHasPermanentMenuKey(boolean value)
-
Constructor Details
-
ShadowViewConfiguration
public ShadowViewConfiguration()
-
-
Method Details
-
get
-
getScrollBarSize
-
getScaledScrollBarSize
-
getScrollBarFadeDuration
-
getScrollDefaultDelay
-
getFadingEdgeLength
-
getScaledFadingEdgeLength
-
getPressedStateDuration
-
getLongPressTimeout
-
getTapTimeout
-
getJumpTapTimeout
-
getDoubleTapTimeout
-
getEdgeSlop
-
getScaledEdgeSlop
-
getTouchSlop
-
getScaledTouchSlop
-
getScaledPagingTouchSlop
-
getScaledDoubleTapSlop
-
getWindowTouchSlop
-
getScaledWindowTouchSlop
-
getMinimumFlingVelocity
-
getScaledMinimumFlingVelocity
-
getMaximumFlingVelocity
-
getScaledMaximumFlingVelocity
-
getMaximumDrawingCacheSize
-
getZoomControlsTimeout
-
getGlobalActionKeyTimeout
-
getScrollFriction
-
hasPermanentMenuKey
-
setHasPermanentMenuKey
public static void setHasPermanentMenuKey(boolean value)
-