Interface | Description |
---|---|
AccessibilityIterators.TextSegmentIterator | |
ActionMode.Callback |
Callback interface for action modes.
|
ActionProvider.SubUiVisibilityListener | |
ActionProvider.VisibilityListener |
Listens to changes in visibility as reported by
ActionProvider.refreshVisibility() . |
Choreographer.FrameCallback |
Implement this interface to receive a callback when a new display frame is
being rendered.
|
CollapsibleActionView |
When a
View implements this interface it will receive callbacks
when expanded or collapsed as an action view alongside the optional,
app-specified callbacks to MenuItem.OnActionExpandListener . |
ContextMenu |
Extension of
Menu for context menus providing functionality to modify
the header of the context menu. |
ContextMenu.ContextMenuInfo |
Additional information regarding the creation of the context menu.
|
FallbackEventHandler | |
GestureDetector.OnContextClickListener |
The listener that is used to notify when a context click occurs.
|
GestureDetector.OnDoubleTapListener |
The listener that is used to notify when a double-tap or a confirmed
single-tap occur.
|
GestureDetector.OnGestureListener |
The listener that is used to notify when gestures occur.
|
InputEventReceiver.Factory | |
InputQueue.Callback |
Interface to receive notification of when an InputQueue is associated
and dissociated with a thread.
|
InputQueue.FinishedInputEventCallback | |
KeyEvent.Callback | |
LayoutInflater.Factory | |
LayoutInflater.Factory2 | |
LayoutInflater.Filter |
Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed
to be inflated.
|
Menu |
Interface for managing the items in a menu.
|
MenuItem |
Interface for direct access to a previously created menu item.
|
MenuItem.OnActionExpandListener |
Interface definition for a callback to be invoked when a menu item
marked with
MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW is
expanded or collapsed. |
MenuItem.OnMenuItemClickListener |
Interface definition for a callback to be invoked when a menu item is
clicked.
|
PixelCopy.OnPixelCopyFinishedListener |
Listener for observing the completion of a PixelCopy request.
|
ScaleGestureDetector.OnScaleGestureListener |
The listener for receiving notifications when gestures occur.
|
SubMenu |
Subclass of
Menu for sub menus. |
SurfaceHolder |
Abstract interface to someone holding a display surface.
|
SurfaceHolder.Callback |
A client may implement this interface to receive information about
changes to the surface.
|
SurfaceHolder.Callback2 |
Additional callbacks that can be received for
SurfaceHolder.Callback . |
TextureView.SurfaceTextureListener |
This listener can be used to be notified when the surface texture
associated with this texture view is available.
|
View.OnApplyWindowInsetsListener |
Listener for applying window insets on a view in a custom way.
|
View.OnAttachStateChangeListener |
Interface definition for a callback to be invoked when this view is attached
or detached from its window.
|
View.OnClickListener |
Interface definition for a callback to be invoked when a view is clicked.
|
View.OnContextClickListener |
Interface definition for a callback to be invoked when a view is context clicked.
|
View.OnCreateContextMenuListener |
Interface definition for a callback to be invoked when the context menu
for this view is being built.
|
View.OnDragListener |
Interface definition for a callback to be invoked when a drag is being dispatched
to this view.
|
View.OnFocusChangeListener |
Interface definition for a callback to be invoked when the focus state of
a view changed.
|
View.OnGenericMotionListener |
Interface definition for a callback to be invoked when a generic motion event is
dispatched to this view.
|
View.OnHoverListener |
Interface definition for a callback to be invoked when a hover event is
dispatched to this view.
|
View.OnKeyListener |
Interface definition for a callback to be invoked when a hardware key event is
dispatched to this view.
|
View.OnLayoutChangeListener |
Interface definition for a callback to be invoked when the layout bounds of a view
changes due to layout processing.
|
View.OnLongClickListener |
Interface definition for a callback to be invoked when a view has been clicked and held.
|
View.OnScrollChangeListener |
Interface definition for a callback to be invoked when the scroll
X or Y positions of a view change.
|
View.OnSystemUiVisibilityChangeListener |
Interface definition for a callback to be invoked when the status bar changes
visibility.
|
View.OnTouchListener |
Interface definition for a callback to be invoked when a touch event is
dispatched to this view.
|
ViewDebug.HierarchyHandler |
Allows a View to inject custom children into HierarchyViewer.
|
ViewGroup.OnHierarchyChangeListener |
Interface definition for a callback to be invoked when the hierarchy
within this view changed.
|
ViewManager |
Interface to let you add and remove child views to an Activity.
|
ViewParent |
Defines the responsibilities for a class that will be a parent of a View.
|
ViewStub.OnInflateListener |
Listener used to receive a notification after a ViewStub has successfully
inflated its layout resource.
|
ViewTreeObserver.OnComputeInternalInsetsListener |
Interface definition for a callback to be invoked when layout has
completed and the client can compute its interior insets.
|
ViewTreeObserver.OnDrawListener |
Interface definition for a callback to be invoked when the view tree is about to be drawn.
|
ViewTreeObserver.OnEnterAnimationCompleteListener | |
ViewTreeObserver.OnGlobalFocusChangeListener |
Interface definition for a callback to be invoked when the focus state within
the view tree changes.
|
ViewTreeObserver.OnGlobalLayoutListener |
Interface definition for a callback to be invoked when the global layout state
or the visibility of views within the view tree changes.
|
ViewTreeObserver.OnPreDrawListener |
Interface definition for a callback to be invoked when the view tree is about to be drawn.
|
ViewTreeObserver.OnScrollChangedListener |
Interface definition for a callback to be invoked when
something in the view tree has been scrolled.
|
ViewTreeObserver.OnTouchModeChangeListener |
Interface definition for a callback to be invoked when the touch mode changes.
|
ViewTreeObserver.OnWindowAttachListener |
Interface definition for a callback to be invoked when the view hierarchy is
attached to and detached from its window.
|
ViewTreeObserver.OnWindowFocusChangeListener |
Interface definition for a callback to be invoked when the view hierarchy's window
focus state changes.
|
ViewTreeObserver.OnWindowShownListener |
Interface definition for a callback noting when a system window has been displayed.
|
Window.Callback |
API from a Window back to its caller.
|
Window.OnFrameMetricsAvailableListener |
Callback for clients that want frame timing information for each
frame rendered by the Window.
|
Window.OnRestrictedCaptionAreaChangedListener |
Callback for clients that want to be aware of where caption draws content.
|
Window.OnWindowDismissedCallback | |
Window.WindowControllerCallback | |
WindowCallbacks |
These callbacks are used to communicate window configuration changes while the user is performing
window changes.
|
WindowManager |
The interface that apps use to talk to the window manager.
|
WindowManager.KeyboardShortcutsReceiver |
Used to asynchronously request Keyboard Shortcuts from the focused window.
|
WindowManagerInternal.MagnificationCallbacks |
Callbacks for contextual changes that affect the screen magnification
feature.
|
WindowManagerInternal.OnHardKeyboardStatusChangeListener |
An interface to be notified about hardware keyboard status.
|
WindowManagerInternal.WindowsForAccessibilityCallback |
Interface to receive a callback when the windows reported for
accessibility changed.
|
WindowManagerPolicy |
This interface supplies all UI-specific behavior of the window manager.
|
WindowManagerPolicy.InputConsumer |
Representation of a input consumer that the policy has added to the
window manager to consume input events going to windows below it.
|
WindowManagerPolicy.OnKeyguardExitResult | |
WindowManagerPolicy.PointerEventListener | |
WindowManagerPolicy.ScreenOnListener | |
WindowManagerPolicy.WindowManagerFuncs |
Interface for calling back in to the window manager that is private
between it and the policy.
|
WindowManagerPolicy.WindowState |
Interface to the Window Manager state associated with a particular
window.
|
Class | Description |
---|---|
AbsSavedState |
A
Parcelable implementation that should be used by inheritance
hierarchies to ensure the state of all classes along the chain is saved. |
AccessibilityIterators |
This class contains the implementation of text segment iterators
for accessibility support.
|
AccessibilityIterators.AbstractTextSegmentIterator | |
ActionMode |
Represents a contextual mode of the user interface.
|
ActionMode.Callback2 |
Extension of
ActionMode.Callback to provide content rect information. |
ActionProvider |
An ActionProvider defines rich menu interaction in a single component.
|
AppTransitionAnimationSpec |
Holds information about how the next app transition animation should be executed.
|
BatchedInputEventReceiver |
Similar to
InputEventReceiver , but batches events to vsync boundaries when possible. |
Choreographer |
Coordinates the timing of animations, input and drawing.
|
ContextThemeWrapper |
A context wrapper that allows you to modify or replace the theme of the
wrapped context.
|
Display |
Provides information about the size and density of a logical display.
|
Display.HdrCapabilities |
Encapsulates the HDR capabilities of a given display.
|
Display.Mode |
A mode supported by a given display.
|
DisplayAdjustments | |
DisplayEventReceiver |
Provides a low-level mechanism for an application to receive display events
such as vertical sync.
|
DisplayInfo |
Describes the characteristics of a particular logical display.
|
DisplayListCanvas |
An implementation of a GL canvas that records drawing operations.
|
DragAndDropPermissions |
DragAndDropPermissions controls the access permissions for the content URIs associated
with a DragEvent . |
DragEvent |
Represents an event that is sent out by the system at various times during a drag and drop
operation.
|
FocusFinder |
The algorithm used for finding the next focusable view in a given direction
from a view that currently has focus.
|
FocusFinderHelper |
A helper class that allows unit tests to access FocusFinder methods.
|
FrameMetrics |
Class containing timing data for various milestones in a frame
lifecycle reported by the rendering subsystem.
|
FrameMetricsObserver |
Provides streaming access to frame stats information from the rendering
subsystem to apps.
|
FrameStats |
This is the base class for frame statistics.
|
GestureDetector |
Detects various gestures and events using the supplied
MotionEvent s. |
GestureDetector.SimpleOnGestureListener |
A convenience class to extend when you only want to listen for a subset
of all the gestures.
|
GhostView |
This view draws another View in an Overlay without changing the parent.
|
GraphicBuffer |
Simple wrapper for the native GraphicBuffer class.
|
Gravity |
Standard constants and tools for placing an object within a potentially
larger container.
|
HandlerActionQueue |
Class used to enqueue pending work from Views when no Handler is attached.
|
HapticFeedbackConstants |
Constants to be used to perform haptic feedback effects via
View.performHapticFeedback(int) |
InputChannel |
An input channel specifies the file descriptors used to send input events to
a window in another process.
|
InputDevice |
Describes the capabilities of a particular input device.
|
InputDevice.MotionRange |
Provides information about the range of values for a particular
MotionEvent axis. |
InputEvent |
Common base class for input events.
|
InputEventConsistencyVerifier |
Checks whether a sequence of input events is self-consistent.
|
InputEventReceiver |
Provides a low-level mechanism for an application to receive input events.
|
InputEventSender |
Provides a low-level mechanism for an application to send input events.
|
InputFilter |
Filters input events before they are dispatched to the system.
|
InputQueue |
An input queue provides a mechanism for an application to receive incoming
input events.
|
KeyboardShortcutGroup |
A group of
KeyboardShortcutInfo . |
KeyboardShortcutInfo |
Information about a Keyboard Shortcut.
|
KeyCharacterMap |
Describes the keys provided by a keyboard device and their associated labels.
|
KeyCharacterMap.FallbackAction |
Specifies a substitute key code and meta state as a fallback action
for an unhandled key.
|
KeyCharacterMap.KeyData | Deprecated |
KeyEvent |
Object used to report key and button events.
|
KeyEvent.DispatcherState |
Use with
KeyEvent.dispatch(Callback, DispatcherState, Object)
for more advanced key dispatching, such as long presses. |
LayoutInflater |
Instantiates a layout XML file into its corresponding
View
objects. |
MagnificationSpec |
This class represents spec for performing screen magnification.
|
MenuInflater |
This class is used to instantiate menu XML files into Menu objects.
|
MotionEvent |
Object used to report movement (mouse, pen, finger, trackball) events.
|
MotionEvent.PointerCoords |
Transfer object for pointer coordinates.
|
MotionEvent.PointerProperties |
Transfer object for pointer properties.
|
NotificationHeaderView |
A header of a notification view
|
OrientationEventListener |
Helper class for receiving notifications from the SensorManager when
the orientation of the device has changed.
|
OrientationListener | Deprecated
use
OrientationEventListener instead. |
PixelCopy | |
PointerIcon |
Represents an icon that can be used as a mouse pointer.
|
RenderNode |
A display list records a series of graphics related operations and can replay
them later.
|
RenderNodeAnimator | |
RenderNodeAnimatorSetHelper |
This is a helper class to get access to methods and fields needed for RenderNodeAnimatorSet
that are internal or package private to android.view package.
|
ScaleGestureDetector |
Detects scaling transformation gestures using the supplied
MotionEvent s. |
ScaleGestureDetector.SimpleOnScaleGestureListener |
A convenience class to extend when you only want to listen for a subset
of scaling-related events.
|
SearchEvent |
Class that contains information about an event that triggers a search.
|
SoundEffectConstants |
Constants to be used to play sound effects via
View.playSoundEffect(int) |
Surface |
Handle onto a raw buffer that is being managed by the screen compositor.
|
SurfaceControl |
SurfaceControl
|
SurfaceControl.PhysicalDisplayInfo |
Describes the properties of a physical display known to surface flinger.
|
SurfaceSession |
An instance of this class represents a connection to the surface
flinger, from which you can create one or more Surface instances that will
be composited to the screen.
|
SurfaceView |
Provides a dedicated drawing surface embedded inside of a view hierarchy.
|
TextureView |
A TextureView can be used to display a content stream.
|
ThreadedRenderer |
Hardware renderer that proxies the rendering to a render thread.
|
TouchDelegate |
Helper class to handle situations where you want a view to have a larger touch area than its
actual view bounds.
|
VelocityTracker |
Helper for tracking the velocity of touch events, for implementing
flinging and other such gestures.
|
VelocityTracker.Estimator |
An estimator for the movements of a pointer based on a polynomial model.
|
View |
This class represents the basic building block for user interface components.
|
View.AccessibilityDelegate |
This class represents a delegate that can be registered in a
View
to enhance accessibility support via composition rather via inheritance. |
View.BaseSavedState |
Base class for derived classes that want to save and restore their own
state in
View.onSaveInstanceState() . |
View.DragShadowBuilder |
Creates an image that the system displays during the drag and drop
operation.
|
View.MeasureSpec |
A MeasureSpec encapsulates the layout requirements passed from parent to child.
|
ViewAnimationUtils |
Defines common utilities for working with View's animations.
|
ViewConfiguration |
Contains methods to standard constants used in the UI for timeouts, sizes, and distances.
|
ViewDebug |
Various debugging/tracing tools related to
View and the view hierarchy. |
ViewGroup |
A
ViewGroup is a special view that can contain other views
(called children.) |
ViewGroup.LayoutParams |
LayoutParams are used by views to tell their parents how they want to be
laid out.
|
ViewGroup.MarginLayoutParams |
Per-child layout information for layouts that support margins.
|
ViewGroupOverlay |
A group overlay is an extra layer that sits on top of a ViewGroup
(the "host view") which is drawn after all other content in that view
(including the view group's children).
|
ViewHierarchyEncoder |
ViewHierarchyEncoder is a serializer that is tailored towards writing out
view hierarchies (the view tree, along with the properties for each view) to a stream. |
ViewOutlineProvider |
Interface by which a View builds its
Outline , used for shadow casting and clipping. |
ViewOverlay |
An overlay is an extra layer that sits on top of a View (the "host view")
which is drawn after all other content in that view (including children,
if the view is a ViewGroup).
|
ViewPropertyAnimator |
This class enables automatic and optimized animation of select properties on View objects.
|
ViewRootImpl |
The top of a view hierarchy, implementing the needed protocol between View
and the WindowManager.
|
ViewStructure |
Container for storing additional per-view data generated by
View.onProvideStructure . |
ViewStub |
A ViewStub is an invisible, zero-sized View that can be used to lazily inflate
layout resources at runtime.
|
ViewTreeObserver |
A view tree observer is used to register listeners that can be notified of global
changes in the view tree.
|
ViewTreeObserver.InternalInsetsInfo |
Parameters used with OnComputeInternalInsetsListener.
|
Window |
Abstract base class for a top-level window look and behavior policy.
|
WindowAnimationFrameStats |
This class contains window animation frame statistics.
|
WindowCallbackWrapper |
A simple decorator stub for Window.Callback that passes through any calls
to the wrapped instance as a base implementation.
|
WindowContentFrameStats |
This class contains window content frame statistics.
|
WindowId |
Safe identifier for a window.
|
WindowId.FocusObserver |
Subclass for observing changes to the focus state of an
WindowId . |
WindowInfo |
This class represents information about a window from the
window manager to another part of the system.
|
WindowInsets |
Describes a set of insets for window content.
|
WindowManager.LayoutParams | |
WindowManagerGlobal |
Provides low-level communication with the system window manager for
operations that are not associated with any particular context.
|
WindowManagerImpl |
Provides low-level communication with the system window manager for
operations that are bound to a particular context, display or parent window.
|
WindowManagerInternal |
Window manager local system service interface.
|
WindowManagerInternal.AppTransitionListener |
Abstract class to be notified about
AppTransition events. |
Enum | Description |
---|---|
ViewDebug.HierarchyTraceType | Deprecated
This enum is now unused
|
ViewDebug.RecyclerTraceType | Deprecated
This enum is now unused
|
Exception | Description |
---|---|
InflateException |
This exception is thrown by an inflater on error conditions.
|
KeyCharacterMap.UnavailableException |
Thrown by
KeyCharacterMap.load(int) when a key character map could not be loaded. |
Surface.OutOfResourcesException |
Exception thrown when a Canvas couldn't be locked with
Surface.lockCanvas(android.graphics.Rect) , or
when a SurfaceTexture could not successfully be allocated. |
SurfaceHolder.BadSurfaceTypeException |
Exception that is thrown from
SurfaceHolder.lockCanvas() when called on a Surface
whose type is SURFACE_TYPE_PUSH_BUFFERS. |
ViewRootImpl.CalledFromWrongThreadException | |
WindowManager.BadTokenException |
Exception that is thrown when trying to add view whose
WindowManager.LayoutParams WindowManager.LayoutParams.token
is invalid. |
WindowManager.InvalidDisplayException |
Exception that is thrown when calling
ViewManager.addView(android.view.View, android.view.ViewGroup.LayoutParams) to a secondary display that cannot
be found. |
Annotation Type | Description |
---|---|
Display.HdrCapabilities.HdrType | |
FrameMetrics.Metric |
Identifiers for metrics available for each frame.
|
PixelCopy.CopyResultStatus | |
RemotableViewMethod | |
Surface.Rotation | |
Surface.ScalingMode | |
ThreadedRenderer.DumpFlags | |
View.DrawingCacheQuality | |
View.FindViewFlags | |
View.FocusableMode | |
View.FocusDirection | |
View.FocusRealDirection | |
View.LayoutDir | |
View.MeasureSpec.MeasureSpecMode | |
View.ResolvedLayoutDir | |
View.ScrollBarStyle | |
View.ScrollIndicators | |
View.TextAlignment | |
View.Visibility | |
ViewDebug.CapturedViewProperty |
This annotation can be used to mark fields and methods to be dumped when
the view is captured.
|
ViewDebug.ExportedProperty |
This annotation can be used to mark fields and methods to be dumped by
the view server.
|
ViewDebug.FlagToString |
Defines a mapping from a flag to a String.
|
ViewDebug.IntToString |
Defines a mapping from an int value to a String.
|
WindowManagerPolicy.UserRotationMode |