Dela via


ViewConfiguration Class

Definition

Contains methods to standard constants used in the UI for timeouts, sizes, and distances.

[Android.Runtime.Register("android/view/ViewConfiguration", DoNotGenerateAcw=true)]
public class ViewConfiguration : Java.Lang.Object
[<Android.Runtime.Register("android/view/ViewConfiguration", DoNotGenerateAcw=true)>]
type ViewConfiguration = class
    inherit Object
Inheritance
ViewConfiguration
Attributes

Remarks

Contains methods to standard constants used in the UI for timeouts, sizes, and distances.

Java documentation for android.view.ViewConfiguration.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

ViewConfiguration()
Obsolete.

This member is deprecated.

ViewConfiguration(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

AmbiguousGestureMultiplier

The multiplication factor for inhibiting default gestures.

Class

Returns the runtime class of this Object.

(Inherited from Object)
DefaultActionModeHideDuration
DoubleTapTimeout
EdgeSlop
Obsolete.

This member is deprecated.

FadingEdgeLength
Obsolete.

This member is deprecated.

GlobalActionKeyTimeout
Obsolete.

The amount of time a user needs to press the relevant key to bring up the global actions dialog.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
HasPermanentMenuKey

Report if the device has a permanent menu key available to the user.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
JumpTapTimeout
KeyRepeatDelay
KeyRepeatTimeout
LongPressTimeout

Used for both key and motion events.

MaximumDrawingCacheSize
Obsolete.

The maximum drawing cache size expressed in bytes.

MaximumFlingVelocity
Obsolete.

This member is deprecated.

MinimumFlingVelocity
Obsolete.

This member is deprecated.

MultiPressTimeout
PeerReference (Inherited from Object)
PressedStateDuration
ScaledAmbiguousGestureMultiplier

The multiplication factor for inhibiting default gestures.

ScaledDoubleTapSlop
ScaledEdgeSlop
ScaledFadingEdgeLength
ScaledHandwritingGestureLineMargin
ScaledHandwritingSlop
ScaledHorizontalScrollFactor
ScaledHoverSlop
ScaledMaximumDrawingCacheSize

The maximum drawing cache size expressed in bytes.

ScaledMaximumFlingVelocity
ScaledMinimumFlingVelocity
ScaledMinimumScalingSpan

Retrieves the distance in pixels between touches that must be reached for a gesture to be interpreted as scaling.

ScaledOverflingDistance
ScaledOverscrollDistance
ScaledPagingTouchSlop
ScaledScrollBarSize
ScaledTouchSlop
ScaledVerticalScrollFactor
ScaledWindowTouchSlop
ScrollBarFadeDuration
ScrollBarSize
Obsolete.

This member is deprecated.

ScrollDefaultDelay
ScrollFriction

The amount of friction applied to scrolls and flings.

TapTimeout
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

TouchSlop
Obsolete.

This member is deprecated.

WindowTouchSlop
Obsolete.

This member is deprecated.

ZoomControlsTimeout

The amount of time that the zoom controls should be displayed on the screen expressed in milliseconds.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
Get(Context)

Returns a configuration for the specified visual Context.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetScaledMaximumFlingVelocity(Int32, Axis, Int32)

Maximum absolute value of velocity to initiate a fling for a motion generated by an InputDevice with an id of inputDeviceId, from an input source and on a given motion event axis.

GetScaledMinimumFlingVelocity(Int32, Axis, Int32)

Minimum absolute value of velocity to initiate a fling for a motion generated by an InputDevice with an id of inputDeviceId, from an input source and on a given motion event axis.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ShouldShowMenuShortcutsWhenKeyboardPresent()

Check if shortcuts should be displayed in menus.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to