ViewConfiguration

Class of android.view · ViewConfiguration.java · Android's reference

public class ViewConfiguration

Touch slop, timeouts and velocities, scaled by the display's density.

Methods

public static ViewConfiguration get(Context context) source
public static int getTapTimeout() source
public static int getDoubleTapTimeout() source
public static int getLongPressTimeout() source
public static int getKeyRepeatTimeout() source
public static int getKeyRepeatDelay() source
public static int getPressedStateDuration() source
public static int getJumpTapTimeout() source
public static int getScrollBarFadeDuration() source
public static int getScrollDefaultDelay() source
public static long getZoomControlsTimeout() source
public static long getGlobalActionKeyTimeout() source
public static float getScrollFriction() source
public static int getMultiPressTimeout() source
public static int getHoverTooltipShowTimeout() source
public static int getHoverTooltipHideTimeout() source
public static int getEdgeSlop() source
public static int getScrollBarSize() deprecated source
public static int getFadingEdgeLength() deprecated source
public static int getWindowTouchSlop() deprecated source
public static int getMinimumFlingVelocity() deprecated source
public static int getMaximumFlingVelocity() deprecated source
public static int getMaximumDrawingCacheSize() deprecated source
public static long getDefaultActionModeHideDuration() source
public static int getTouchSlop() deprecated source
public int getScaledTouchSlop() source
public int getScaledHoverSlop() source
public int getScaledPagingTouchSlop() source
public int getScaledDoubleTapSlop() source
public int getScaledEdgeSlop() source
public int getScaledWindowTouchSlop() source
public int getScaledMinimumFlingVelocity() source
public int getScaledMaximumFlingVelocity() source
public int getScaledMinimumFlingVelocity(int inputDeviceId, int axis, int source) source
public int getScaledMaximumFlingVelocity(int inputDeviceId, int axis, int source) source
public int getScaledScrollBarSize() source
public int getScaledFadingEdgeLength() source
public int getScaledOverscrollDistance() source
public int getScaledOverflingDistance() source
public float getScaledHorizontalScrollFactor() source
public float getScaledVerticalScrollFactor() source
public int getScaledMinimumScalingSpan() source
public int getScaledHandwritingSlop() source
public int getScaledHandwritingGestureLineMargin() source
public boolean hasPermanentMenuKey() source
public boolean shouldShowMenuShortcutsWhenKeyboardPresent() source
public static boolean isScreenshotChordEnabled() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.