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
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
get
@Implementation protected static ViewConfiguration get(Context context)
-
getScrollBarSize
@Implementation protected static int getScrollBarSize()
-
getScaledScrollBarSize
@Implementation protected int getScaledScrollBarSize()
-
getScrollBarFadeDuration
@Implementation protected static int getScrollBarFadeDuration()
-
getScrollDefaultDelay
@Implementation protected static int getScrollDefaultDelay()
-
getFadingEdgeLength
@Implementation protected static int getFadingEdgeLength()
-
getScaledFadingEdgeLength
@Implementation protected int getScaledFadingEdgeLength()
-
getPressedStateDuration
@Implementation protected static int getPressedStateDuration()
-
getLongPressTimeout
@Implementation protected static int getLongPressTimeout()
-
getTapTimeout
@Implementation protected static int getTapTimeout()
-
getJumpTapTimeout
@Implementation protected static int getJumpTapTimeout()
-
getDoubleTapTimeout
@Implementation protected static int getDoubleTapTimeout()
-
getEdgeSlop
@Implementation protected static int getEdgeSlop()
-
getScaledEdgeSlop
@Implementation protected int getScaledEdgeSlop()
-
getTouchSlop
@Implementation protected static int getTouchSlop()
-
getScaledTouchSlop
@Implementation protected int getScaledTouchSlop()
-
getScaledPagingTouchSlop
@Implementation protected int getScaledPagingTouchSlop()
-
getScaledDoubleTapSlop
@Implementation protected int getScaledDoubleTapSlop()
-
getWindowTouchSlop
@Implementation protected static int getWindowTouchSlop()
-
getScaledWindowTouchSlop
@Implementation protected int getScaledWindowTouchSlop()
-
getMinimumFlingVelocity
@Implementation protected static int getMinimumFlingVelocity()
-
getScaledMinimumFlingVelocity
@Implementation protected int getScaledMinimumFlingVelocity()
-
getMaximumFlingVelocity
@Implementation protected static int getMaximumFlingVelocity()
-
getScaledMaximumFlingVelocity
@Implementation protected int getScaledMaximumFlingVelocity()
-
getMaximumDrawingCacheSize
@Implementation protected static int getMaximumDrawingCacheSize()
-
getZoomControlsTimeout
@Implementation protected static long getZoomControlsTimeout()
-
getGlobalActionKeyTimeout
@Implementation protected static long getGlobalActionKeyTimeout()
-
getScrollFriction
@Implementation protected static float getScrollFriction()
-
hasPermanentMenuKey
@Implementation protected boolean hasPermanentMenuKey()
-
setHasPermanentMenuKey
public static void setHasPermanentMenuKey(boolean value)
-
-