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 ViewConfigurationget(Context context)protected static intgetDoubleTapTimeout()protected static intgetEdgeSlop()protected static intgetFadingEdgeLength()protected static longgetGlobalActionKeyTimeout()protected static intgetJumpTapTimeout()protected static intgetLongPressTimeout()protected static intgetMaximumDrawingCacheSize()protected static intgetMaximumFlingVelocity()protected static intgetMinimumFlingVelocity()protected static intgetPressedStateDuration()protected intgetScaledDoubleTapSlop()protected intgetScaledEdgeSlop()protected intgetScaledFadingEdgeLength()protected intgetScaledMaximumFlingVelocity()protected intgetScaledMinimumFlingVelocity()protected intgetScaledPagingTouchSlop()protected intgetScaledScrollBarSize()protected intgetScaledTouchSlop()protected intgetScaledWindowTouchSlop()protected static intgetScrollBarFadeDuration()protected static intgetScrollBarSize()protected static intgetScrollDefaultDelay()protected static floatgetScrollFriction()protected static intgetTapTimeout()protected static intgetTouchSlop()protected static intgetWindowTouchSlop()protected static longgetZoomControlsTimeout()protected booleanhasPermanentMenuKey()static voidsetHasPermanentMenuKey(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)
-
-