# PdfView

Artifact: [androidx.pdf:pdf-viewer](https://developer.android.com/jetpack/androidx/releases/pdf) [View Source](https://cs.android.com/search?q=file:androidx/pdf/view/PdfView.kt+class:androidx.pdf.view.PdfView) Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

*** ** * ** ***


```
public class PdfView extends ViewGroup
```

<br />

|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||||
| ↳ | [android.view.View](https://developer.android.com/reference/android/view/View.html) |||
|   | ↳ | [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) ||
|   |   | ↳ | [androidx.pdf.view.PdfView](https://developer.android.com/reference/androidx/pdf/view/PdfView) |

*** ** * ** ***

A `https://developer.android.com/reference/android/view/View.html` for presenting PDF content, represented by `https://developer.android.com/reference/androidx/pdf/PdfDocument`.

This View supports zooming, scrolling, and flinging. Zooming is supported via pinch gesture, quick scale gesture, and double tap to zoom in or snap back to fitting the page width inside its bounds. Zoom can be changed using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property, which is notably distinct from `https://developer.android.com/reference/android/view/View.html#getScaleX()` / `https://developer.android.com/reference/android/view/View.html#getScaleY()`. Scroll position is based on the `https://developer.android.com/reference/android/view/View.html#getScrollX()` / `https://developer.android.com/reference/android/view/View.html#getScrollY()` properties.

This inherits `https://developer.android.com/reference/android/view/ViewGroup.html` but does not support adding arbitrary children via `https://developer.android.com/reference/androidx/pdf/view/PdfView#addView(android.view.View)` or in a layout.

## Summary

| ### Nested types |
|---|
| `public interface https://developer.android.com/reference/androidx/pdf/view/PdfView.LinkClickListener` Listener interface for handling clicks on links in a PDF document. |
| `public fun interface https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFirstContentLoadListener` Listener interface to receive a callback on the UI thread when the content of the PDF document has been loaded for the first time. |
| `public interface https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFormWidgetInfoUpdatedListener` Listener interface for handling form edits on a PDF Document. |
| `public interface https://developer.android.com/reference/androidx/pdf/view/PdfView.OnGestureStateChangedListener` Listener interface to receive callbacks when the PdfView starts and stops being affected by an external input like user touch. |
| `public interface https://developer.android.com/reference/androidx/pdf/view/PdfView.OnSelectionChangedListener` Listener interface to receive updates when the `https://developer.android.com/reference/androidx/pdf/view/PdfView#currentSelection()` changes |
| `public interface https://developer.android.com/reference/androidx/pdf/view/PdfView.OnViewportChangedListener` Listener interface to receive changes to the viewport, i.e. the window of visible PDF content |
| `public interface https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer` Interface to customize the set of actions in the selection menu |

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#GESTURE_STATE_IDLE() = 0` The PdfView is not currently being affected by an outside input, e.g. user touch |
| `static final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#GESTURE_STATE_INTERACTING() = 1` The PdfView is currently being affected by an outside input, e.g. user touch |
| `static final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#GESTURE_STATE_SETTLING() = 2` The PdfView is currently animating to a final position while not under outside control, e.g. settling on a final position following a fling gesture. |
| `static final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#VERTICAL_ALIGNMENT_CENTER() = 1` Vertically aligns the page to the center of the PdfView. |
| `static final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#VERTICAL_ALIGNMENT_TOP() = 0` Vertically aligns the page to the top of the PdfView. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/pdf/view/PdfView#PdfView(android.content.Context,android.util.AttributeSet,kotlin.Int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html context, https://developer.android.com/reference/android/util/AttributeSet.html attrs, int defStyle)` |

| ### Public methods |
|---|---|
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addOnFirstContentLoadListener(androidx.pdf.view.PdfView.OnFirstContentLoadListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFirstContentLoadListener listener )` Adds the specified listener to the list of listeners that will be notified on first content load. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addOnFormWidgetInfoUpdatedListener(androidx.pdf.view.PdfView.OnFormWidgetInfoUpdatedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFormWidgetInfoUpdatedListener listener )` Adds the specified listener to the list of listeners that is notified when any form widget is updated due to an edit action on a widget e.g. click on a radio button. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addOnGestureStateChangedListener(androidx.pdf.view.PdfView.OnGestureStateChangedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnGestureStateChangedListener listener )` Adds the specified listener to the list of listeners that will be notified of changes in state with respect to this PdfView being affected by an external input, e.g. user touch. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addOnSelectionChangedListener(androidx.pdf.view.PdfView.OnSelectionChangedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnSelectionChangedListener listener )` Adds the specified listener to the list of listeners that will be notified of selection change events. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addOnViewportChangedListener(androidx.pdf.view.PdfView.OnViewportChangedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnViewportChangedListener listener )` Adds the specified listener to the list of listeners that will be notified of viewport change events. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addSelectionMenuItemPreparer(androidx.pdf.view.PdfView.SelectionMenuItemPreparer)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer selectionMenuItemPreparer )` Adds the specified listener to the chain of `https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer`. |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addView(android.view.View)(https://developer.android.com/reference/android/view/View.html child)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addView(android.view.View,kotlin.Int)(https://developer.android.com/reference/android/view/View.html child, int index)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addView(android.view.View,android.view.ViewGroup.LayoutParams)(https://developer.android.com/reference/android/view/View.html child, https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addView(android.view.View,kotlin.Int,android.view.ViewGroup.LayoutParams)(https://developer.android.com/reference/android/view/View.html child, int index, https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#addView(android.view.View,kotlin.Int,kotlin.Int)(https://developer.android.com/reference/android/view/View.html child, int width, int height)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#autofill(android.util.SparseArray)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/autofill/AutofillValue.html> values)` |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#clearCurrentSelection()()` Clears the current selection, if one exists. |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#computeScroll()()` |
| `boolean` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#dispatchKeyEvent(android.view.KeyEvent)(https://developer.android.com/reference/android/view/KeyEvent.html event)` Prioritizes standard keyboard shortcuts over accessibility-specific handling of certain keys. |
| `final https://developer.android.com/reference/androidx/pdf/selection/Selection` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getCurrentSelection()()` The currently selected PDF content, as `https://developer.android.com/reference/androidx/pdf/selection/Selection`, or 'null' if no content is currently selected. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getFastScrollPageIndicatorBackgroundDrawable()()` |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getFastScrollPageIndicatorMarginEnd()()` |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getFastScrollVerticalThumbDrawable()()` |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getFastScrollVerticalThumbMarginEnd()()` |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getFirstVisiblePage()()` The first page in the viewport, including partially-visible pages. |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getGestureState()()` The current state of the PDF view with respect to external inputs, e.g. user touch. |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getHorizontalPageSpacing()()` The spacing between two horizontally adjacent pages in pixels. |
| `final @https://developer.android.com/reference/androidx/annotation/FloatRange(from = 0.5, to = 25.0) float` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getMaxZoom()()` The maximum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. |
| `final @https://developer.android.com/reference/androidx/annotation/FloatRange(from = 0.5, to = 25.0) float` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getMinZoom()()` The minimum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getPagesPerRow()()` The number of pages displayed side-by-side in a single row. |
| `final https://developer.android.com/reference/androidx/pdf/PdfDocument` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getPdfDocument()()` Supply a `https://developer.android.com/reference/androidx/pdf/PdfDocument` to process the PDF content for rendering |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getVerticalAlignment()()` Controls the vertical alignment of a page within the `https://developer.android.com/reference/androidx/pdf/view/PdfView`. |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getVerticalPageSpacing()()` The spacing between vertically adjacent pages in pixels. |
| `final int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getVisiblePagesCount()()` The number of pages visible in the viewport, including partially visible pages |
| `final float` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#getZoom()()` The zoom level of this view, as a factor of the content's natural size with when 1 pixel is equal to 1 PDF point. |
| `final boolean` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#isFormFillingEnabled()()` Enables / Disables the form-filling feature surface. |
| `final boolean` | `@https://developer.android.com/reference/androidx/annotation/RequiresExtension(extension = 31, version = 19) https://developer.android.com/reference/androidx/pdf/view/PdfView#isImageSelectionEnabled()()` Enable or disable the image-selection feature surface. |
| `boolean` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onGenericMotionEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html event)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onProvideAutofillVirtualStructure(android.view.ViewStructure,kotlin.Int)(https://developer.android.com/reference/android/view/ViewStructure.html structure, int flags)` |
| `boolean` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onTouchEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html event)` |
| `final https://developer.android.com/reference/android/graphics/PointF.html` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#pdfToViewPoint(androidx.pdf.PdfPoint)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/PdfPoint pdfPoint)` Returns the View coordinate location of `https://developer.android.com/reference/androidx/pdf/view/PdfView#pdfToViewPoint(androidx.pdf.PdfPoint)`, or null if that PDF content has not been laid out yet. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeOnFirstContentLoadListener(androidx.pdf.view.PdfView.OnFirstContentLoadListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFirstContentLoadListener listener )` Removes the specified listener from the list of listeners that will be notified on first content load. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeOnFormWidgetInfoUpdatedListener(androidx.pdf.view.PdfView.OnFormWidgetInfoUpdatedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFormWidgetInfoUpdatedListener listener )` Removes the specified listener from the list of listeners that is notified when any form widget is updated due to an edit action on the widget e.g. click on a radio button. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeOnGestureStateChangedListener(androidx.pdf.view.PdfView.OnGestureStateChangedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnGestureStateChangedListener listener )` Removes the specified listener from the list of listeners that will be notified of changes in state with respect to this PdfView being affected by an external input, e.g. user touch. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeOnSelectionChangedListener(androidx.pdf.view.PdfView.OnSelectionChangedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnSelectionChangedListener listener )` Removes the specified listener from the list of listeners that will be notified of selection change events. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeOnViewportChangedListener(androidx.pdf.view.PdfView.OnViewportChangedListener)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnViewportChangedListener listener )` Removes the specified listener from the list of listeners that will be notified of viewport change events. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeSelectionMenuItemPreparer(androidx.pdf.view.PdfView.SelectionMenuItemPreparer)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer selectionMenuItemPreparer )` Removes the specified listener from the chain of `https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer`. |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollBy(kotlin.Int,kotlin.Int)(int x, int y)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollTo(kotlin.Int,kotlin.Int)(int x, int y)` |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPage(kotlin.Int)(int pageNum)` Scrolls to the 0-indexed `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPage(kotlin.Int)`, optionally animating the scroll |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPosition(androidx.pdf.PdfPoint)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/PdfPoint position)` Scrolls to `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPosition(androidx.pdf.PdfPoint)`, aligns vertically to center, optionally animating the scroll |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setFastScrollPageIndicatorBackgroundDrawable(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html value)` |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setFastScrollPageIndicatorMarginEnd(kotlin.Int)(int value)` |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setFastScrollVerticalThumbDrawable(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html value)` |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setFastScrollVerticalThumbMarginEnd(kotlin.Int)(int value)` |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setFormFillingEnabled(kotlin.Boolean)(boolean value)` Enables / Disables the form-filling feature surface. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setHighlights(kotlin.collections.List)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/Highlight> highlights)` Applies a set of `https://developer.android.com/reference/androidx/pdf/Highlight` to be drawn over this PDF. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setHorizontalPageSpacing(kotlin.Int)(int value)` The spacing between two horizontally adjacent pages in pixels. |
| `final void` | `@https://developer.android.com/reference/androidx/annotation/RequiresExtension(extension = 31, version = 19) https://developer.android.com/reference/androidx/pdf/view/PdfView#setImageSelectionEnabled(kotlin.Boolean)(boolean value)` Enable or disable the image-selection feature surface. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setLinkClickListener(androidx.pdf.view.PdfView.LinkClickListener)(https://developer.android.com/reference/androidx/pdf/view/PdfView.LinkClickListener listener)` Registers `https://developer.android.com/reference/androidx/pdf/view/PdfView#setLinkClickListener(androidx.pdf.view.PdfView.LinkClickListener)` as the callback to be invoked when an external link in the PDF is clicked. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setMaxZoom(kotlin.Float)(@https://developer.android.com/reference/androidx/annotation/FloatRange(from = 0.5, to = 25.0) float value)` The maximum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setMinZoom(kotlin.Float)(@https://developer.android.com/reference/androidx/annotation/FloatRange(from = 0.5, to = 25.0) float value)` The minimum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. |
| `final void` | `@https://developer.android.com/reference/androidx/pdf/ExperimentalPdfApi https://developer.android.com/reference/androidx/pdf/view/PdfView#setOcrProvider(androidx.pdf.ocr.OcrProvider)(https://developer.android.com/reference/androidx/pdf/ocr/OcrProvider ocrProvider)` Sets the `https://developer.android.com/reference/androidx/pdf/ocr/OcrProvider` used for recognizing text in image-based PDF content. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setPagesPerRow(kotlin.Int)(int value)` The number of pages displayed side-by-side in a single row. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setPdfDocument(androidx.pdf.PdfDocument)(https://developer.android.com/reference/androidx/pdf/PdfDocument value)` Supply a `https://developer.android.com/reference/androidx/pdf/PdfDocument` to process the PDF content for rendering |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setVerticalAlignment(kotlin.Int)(int value)` Controls the vertical alignment of a page within the `https://developer.android.com/reference/androidx/pdf/view/PdfView`. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setVerticalPageSpacing(kotlin.Int)(int value)` The spacing between vertically adjacent pages in pixels. |
| `final void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#setZoom(kotlin.Float)(float value)` The zoom level of this view, as a factor of the content's natural size with when 1 pixel is equal to 1 PDF point. |
| `final https://developer.android.com/reference/androidx/pdf/PdfPoint` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(android.graphics.PointF)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/PointF.html viewPoint)` Returns the `https://developer.android.com/reference/androidx/pdf/PdfPoint` corresponding to `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(android.graphics.PointF)` in View coordinates, or null if no PDF content has been laid out at `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(android.graphics.PointF)` |
| `final https://developer.android.com/reference/androidx/pdf/PdfPoint` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(kotlin.Float,kotlin.Float)(float x, float y)` Returns the `https://developer.android.com/reference/androidx/pdf/PdfPoint` corresponding to (`https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(kotlin.Float,kotlin.Float)`, `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(kotlin.Float,kotlin.Float)`)in View coordinates, or null if no PDF content has been laid out at that point. |

| ### Protected methods |
|---|---|
| `int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#computeHorizontalScrollRange()()` |
| `int` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#computeVerticalScrollRange()()` |
| `boolean` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#dispatchHoverEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html event)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onAttachedToWindow()()` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onConfigurationChanged(android.content.res.Configuration)(https://developer.android.com/reference/android/content/res/Configuration.html newConfig)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onDetachedFromWindow()()` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onDraw(android.graphics.Canvas)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Canvas.html canvas)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onFocusChanged(kotlin.Boolean,kotlin.Int,android.graphics.Rect)( boolean gainFocus, int direction, https://developer.android.com/reference/android/graphics/Rect.html previouslyFocusedRect )` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onLayout(kotlin.Boolean,kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int)(boolean changed, int left, int top, int right, int bottom)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onRestoreInstanceState(android.os.Parcelable)(https://developer.android.com/reference/android/os/Parcelable.html state)` |
| `https://developer.android.com/reference/android/os/Parcelable.html` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onSaveInstanceState()()` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onScrollChanged(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int)(int l, int t, int oldl, int oldt)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onSizeChanged(kotlin.Int,kotlin.Int,kotlin.Int,kotlin.Int)(int w, int h, int oldw, int oldh)` |
| `void` | `https://developer.android.com/reference/androidx/pdf/view/PdfView#onWindowVisibilityChanged(kotlin.Int)(int visibility)` |

### Inherited methods

From [android.view.View](https://developer.android.com/reference/android/view/View.html) `void` `https://developer.android.com/reference/android/view/View.html#addFocusables(java.util.ArrayList&lt;android.view.View&gt;, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/ArrayList.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html> views, int direction)` `void` `https://developer.android.com/reference/android/view/View.html#addOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html listener
)` `void` `https://developer.android.com/reference/android/view/View.html#addOnLayoutChangeListener(android.view.View.OnLayoutChangeListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html listener)` `void` `https://developer.android.com/reference/android/view/View.html#addOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnUnhandledKeyEventListener.html listener
)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewPropertyAnimator.html` `https://developer.android.com/reference/android/view/View.html#animate()()` `void` `https://developer.android.com/reference/android/view/View.html#announceForAccessibility(java.lang.CharSequence)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html text)` `void` `https://developer.android.com/reference/android/view/View.html#autofill(android.view.autofill.AutofillValue)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/autofill/AutofillValue.html value)` `boolean` `https://developer.android.com/reference/android/view/View.html#awakenScrollBars()()` `boolean` `https://developer.android.com/reference/android/view/View.html#awakenScrollBars(int)(int startDelay)` `boolean` `https://developer.android.com/reference/android/view/View.html#awakenScrollBars(int, boolean)(int startDelay, boolean invalidate)` `void` `https://developer.android.com/reference/android/view/View.html#bringToFront()()` `void` `https://developer.android.com/reference/android/view/View.html#buildDrawingCache()()` `void` `https://developer.android.com/reference/android/view/View.html#buildDrawingCache(boolean)(boolean autoScale)` `void` `https://developer.android.com/reference/android/view/View.html#buildLayer()()` `boolean` `https://developer.android.com/reference/android/view/View.html#callOnClick()()` `boolean` `https://developer.android.com/reference/android/view/View.html#canResolveLayoutDirection()()` `boolean` `https://developer.android.com/reference/android/view/View.html#canResolveTextAlignment()()` `boolean` `https://developer.android.com/reference/android/view/View.html#canResolveTextDirection()()` `boolean` `https://developer.android.com/reference/android/view/View.html#canScrollHorizontally(int)(int direction)` `boolean` `https://developer.android.com/reference/android/view/View.html#canScrollVertically(int)(int direction)` `final void` `https://developer.android.com/reference/android/view/View.html#cancelDragAndDrop()()` `void` `https://developer.android.com/reference/android/view/View.html#cancelLongPress()()` `final void` `https://developer.android.com/reference/android/view/View.html#cancelPendingInputEvents()()` `boolean` `https://developer.android.com/reference/android/view/View.html#checkInputConnectionProxy(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html view)` `void` `https://developer.android.com/reference/android/view/View.html#clearAnimation()()` `void` `https://developer.android.com/reference/android/view/View.html#clearPendingCredentialRequest()()` `void` `https://developer.android.com/reference/android/view/View.html#clearViewTranslationCallback()()` `int` `https://developer.android.com/reference/android/view/View.html#computeHorizontalScrollExtent()()` `int` `https://developer.android.com/reference/android/view/View.html#computeHorizontalScrollOffset()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html` `https://developer.android.com/reference/android/view/View.html#computeSystemWindowInsets(android.view.WindowInsets, android.graphics.Rect)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html in,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html outLocalInsets
)` `int` `https://developer.android.com/reference/android/view/View.html#computeVerticalScrollExtent()()` `int` `https://developer.android.com/reference/android/view/View.html#computeVerticalScrollOffset()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html` `https://developer.android.com/reference/android/view/View.html#createAccessibilityNodeInfo()()` `void` `https://developer.android.com/reference/android/view/View.html#createContextMenu(android.view.ContextMenu)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ContextMenu.html menu)` `void` `https://developer.android.com/reference/android/view/View.html#destroyDrawingCache()()` `boolean` `https://developer.android.com/reference/android/view/View.html#dispatchGenericMotionEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/View.html#dispatchNestedFling(float, float, boolean)(float velocityX, float velocityY, boolean consumed)` `boolean` `https://developer.android.com/reference/android/view/View.html#dispatchNestedPreFling(float, float)(float velocityX, float velocityY)` `boolean` `https://developer.android.com/reference/android/view/View.html#dispatchNestedPrePerformAccessibilityAction(int, android.os.Bundle)(
int action,
https://developer.android.com/reference/android/os/Bundle.html arguments
)` `boolean` `https://developer.android.com/reference/android/view/View.html#dispatchNestedPreScroll(int, int, int[], int[])(
int dx,
int dy,
int[] consumed,
int[] offsetInWindow
)` `boolean` `https://developer.android.com/reference/android/view/View.html#dispatchNestedScroll(int, int, int, int, int[])(
int dxConsumed,
int dyConsumed,
int dxUnconsumed,
int dyUnconsumed,
int[] offsetInWindow
)` `boolean` `https://developer.android.com/reference/android/view/View.html#dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#draw(android.graphics.Canvas)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Canvas.html canvas)` `void` `https://developer.android.com/reference/android/view/View.html#drawableHotspotChanged(float, float)(float x, float y)` `final https://developer.android.com/reference/android/window/OnBackInvokedDispatcher.html` `https://developer.android.com/reference/android/view/View.html#findOnBackInvokedDispatcher()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull T` `<T extends https://developer.android.com/reference/android/view/View.html> https://developer.android.com/reference/android/view/View.html#findViewById(int)(int id)` `final @https://developer.android.com/reference/androidx/annotation/NonNull T` `<T extends https://developer.android.com/reference/android/view/View.html> https://developer.android.com/reference/android/view/View.html#findViewWithTag(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Object.html tag)` `boolean` `https://developer.android.com/reference/android/view/View.html#fitSystemWindows(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html insets)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/view/View.html#focusSearch(int)(int direction)` `void` `https://developer.android.com/reference/android/view/View.html#forceHasOverlappingRendering(boolean)(boolean hasOverlappingRendering)` `void` `https://developer.android.com/reference/android/view/View.html#forceLayout()()` `void` `https://developer.android.com/reference/android/view/View.html#generateDisplayHash(java.lang.String, android.graphics.Rect, java.util.concurrent.Executor, android.view.displayhash.DisplayHashResultCallback)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html hashAlgorithm,
https://developer.android.com/reference/android/graphics/Rect.html bounds,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/concurrent/Executor.html executor,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/displayhash/DisplayHashResultCallback.html callback
)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.AccessibilityDelegate.html` `https://developer.android.com/reference/android/view/View.html#getAccessibilityDelegate()()` `int` `https://developer.android.com/reference/android/view/View.html#getAccessibilityLiveRegion()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeProvider.html` `https://developer.android.com/reference/android/view/View.html#getAccessibilityNodeProvider()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/CharSequence.html` `https://developer.android.com/reference/android/view/View.html#getAccessibilityPaneTitle()()` `int` `https://developer.android.com/reference/android/view/View.html#getAccessibilityTraversalAfter()()` `int` `https://developer.android.com/reference/android/view/View.html#getAccessibilityTraversalBefore()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#getAllowedHandwritingDelegatePackageName()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#getAllowedHandwritingDelegatorPackageName()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getAlpha()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/Animation.html` `https://developer.android.com/reference/android/view/View.html#getAnimation()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/Matrix.html` `https://developer.android.com/reference/android/view/View.html#getAnimationMatrix()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/IBinder.html` `https://developer.android.com/reference/android/view/View.html#getApplicationWindowToken()()` `@https://developer.android.com/reference/androidx/annotation/NonNull int[]` `https://developer.android.com/reference/android/view/View.html#getAttributeResolutionStack(int)(int attribute)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Map.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` `https://developer.android.com/reference/android/view/View.html#getAttributeSourceResourceMap()()` `@https://developer.android.com/reference/androidx/annotation/Nullable String[]` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#getAutofillHints()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/autofill/AutofillId.html` `https://developer.android.com/reference/android/view/View.html#getAutofillId()()` `int` `https://developer.android.com/reference/android/view/View.html#getAutofillType()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/view/autofill/AutofillValue.html` `https://developer.android.com/reference/android/view/View.html#getAutofillValue()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/view/View.html#getBackground()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/BlendMode.html` `https://developer.android.com/reference/android/view/View.html#getBackgroundTintBlendMode()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/content/res/ColorStateList.html` `https://developer.android.com/reference/android/view/View.html#getBackgroundTintList()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html` `https://developer.android.com/reference/android/view/View.html#getBackgroundTintMode()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "layout")
https://developer.android.com/reference/android/view/View.html#getBaseline()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.CapturedViewProperty.html
https://developer.android.com/reference/android/view/View.html#getBottom()()` `float` `https://developer.android.com/reference/android/view/View.html#getBottomFadingEdgeStrength()()` `int` `https://developer.android.com/reference/android/view/View.html#getBottomPaddingOffset()()` `float` `https://developer.android.com/reference/android/view/View.html#getCameraDistance()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html` `https://developer.android.com/reference/android/view/View.html#getClipBounds()()` `boolean` `https://developer.android.com/reference/android/view/View.html#getClipBounds(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html outRect)` `final boolean` `https://developer.android.com/reference/android/view/View.html#getClipToOutline()()` `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/view/contentcapture/ContentCaptureSession.html` `https://developer.android.com/reference/android/view/View.html#getContentCaptureSession()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "accessibility")
https://developer.android.com/reference/android/view/View.html#getContentDescription()()` `final int` `https://developer.android.com/reference/android/view/View.html#getContentSensitivity()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html` `@https://developer.android.com/reference/android/view/ViewDebug.CapturedViewProperty.html
https://developer.android.com/reference/android/view/View.html#getContext()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html` `https://developer.android.com/reference/android/view/View.html#getContextMenuInfo()()` `final boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus")
https://developer.android.com/reference/android/view/View.html#getDefaultFocusHighlightEnabled()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/Display.html` `https://developer.android.com/reference/android/view/View.html#getDisplay()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull int[]` `https://developer.android.com/reference/android/view/View.html#getDrawableState()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Bitmap.html` `[getDrawingCache](https://developer.android.com/reference/android/view/View.html#getDrawingCache())()`

**This method is deprecated.** Deprecated in Java
`@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Bitmap.html` `https://developer.android.com/reference/android/view/View.html#getDrawingCache(boolean)(boolean autoScale)` `int` `[getDrawingCacheBackgroundColor](https://developer.android.com/reference/android/view/View.html#getDrawingCacheBackgroundColor())()`

**This method is deprecated.** Deprecated in Java
`int` `[getDrawingCacheQuality](https://developer.android.com/reference/android/view/View.html#getDrawingCacheQuality())()`

**This method is deprecated.** Deprecated in Java
`void` `https://developer.android.com/reference/android/view/View.html#getDrawingRect(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html outRect)` `long` `https://developer.android.com/reference/android/view/View.html#getDrawingTime()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getElevation()()` `int` `https://developer.android.com/reference/android/view/View.html#getExplicitStyle()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#getFilterTouchesWhenObscured()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#getFitsSystemWindows()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "NOT_FOCUSABLE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "FOCUSABLE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 16, to = "FOCUSABLE_AUTO")])
https://developer.android.com/reference/android/view/View.html#getFocusable()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/ArrayList.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html>` `https://developer.android.com/reference/android/view/View.html#getFocusables(int)(int direction)` `void` `https://developer.android.com/reference/android/view/View.html#getFocusedRect(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html r)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/view/View.html#getForeground()()` `int` `https://developer.android.com/reference/android/view/View.html#getForegroundGravity()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/BlendMode.html` `https://developer.android.com/reference/android/view/View.html#getForegroundTintBlendMode()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/content/res/ColorStateList.html` `https://developer.android.com/reference/android/view/View.html#getForegroundTintList()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html` `https://developer.android.com/reference/android/view/View.html#getForegroundTintMode()()` `float` `https://developer.android.com/reference/android/view/View.html#getFrameContentVelocity()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#getGlobalVisibleRect(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html r)` `boolean` `https://developer.android.com/reference/android/view/View.html#getGlobalVisibleRect(android.graphics.Rect, android.graphics.Point)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html r, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Point.html globalOffset)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Handler.html` `https://developer.android.com/reference/android/view/View.html#getHandler()()` `float` `https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetBottom()()` `float` `https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetLeft()()` `float` `https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetRight()()` `float` `https://developer.android.com/reference/android/view/View.html#getHandwritingBoundsOffsetTop()()` `int` `https://developer.android.com/reference/android/view/View.html#getHandwritingDelegateFlags()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Runnable.html` `https://developer.android.com/reference/android/view/View.html#getHandwritingDelegatorCallback()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#getHasOverlappingRendering()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "layout")
https://developer.android.com/reference/android/view/View.html#getHeight()()` `void` `https://developer.android.com/reference/android/view/View.html#getHitRect(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html outRect)` `int` `https://developer.android.com/reference/android/view/View.html#getHorizontalFadingEdgeLength()()` `int` `https://developer.android.com/reference/android/view/View.html#getHorizontalScrollbarHeight()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/view/View.html#getHorizontalScrollbarThumbDrawable()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/view/View.html#getHorizontalScrollbarTrackDrawable()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.CapturedViewProperty.html
https://developer.android.com/reference/android/view/View.html#getId()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "accessibility", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "auto"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "yes"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "no"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "noHideDescendants")])
https://developer.android.com/reference/android/view/View.html#getImportantForAccessibility()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "auto"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "yes"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "no"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "yesExcludeDescendants"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 8, to = "noExcludeDescendants")])
https://developer.android.com/reference/android/view/View.html#getImportantForAutofill()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "auto"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "yes"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "no"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "yesExcludeDescendants"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 8, to = "noExcludeDescendants")])
https://developer.android.com/reference/android/view/View.html#getImportantForContentCapture()()` `boolean` `https://developer.android.com/reference/android/view/View.html#getKeepScreenOn()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.DispatcherState.html` `https://developer.android.com/reference/android/view/View.html#getKeyDispatcherState()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "accessibility")
https://developer.android.com/reference/android/view/View.html#getLabelFor()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "NONE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "SOFTWARE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "HARDWARE")])
https://developer.android.com/reference/android/view/View.html#getLayerType()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "layout", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "RESOLVED_DIRECTION_LTR"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "RESOLVED_DIRECTION_RTL")])
https://developer.android.com/reference/android/view/View.html#getLayoutDirection()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(deepExport = true, prefix = "layout_")
https://developer.android.com/reference/android/view/View.html#getLayoutParams()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.CapturedViewProperty.html
https://developer.android.com/reference/android/view/View.html#getLeft()()` `float` `https://developer.android.com/reference/android/view/View.html#getLeftFadingEdgeStrength()()` `int` `https://developer.android.com/reference/android/view/View.html#getLeftPaddingOffset()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#getLocalVisibleRect(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html r)` `void` `https://developer.android.com/reference/android/view/View.html#getLocationInSurface(int[])(@https://developer.android.com/reference/androidx/annotation/NonNull int[] location)` `void` `https://developer.android.com/reference/android/view/View.html#getLocationInWindow(int[])(@https://developer.android.com/reference/androidx/annotation/NonNull int[] outLocation)` `void` `https://developer.android.com/reference/android/view/View.html#getLocationOnScreen(int[])(@https://developer.android.com/reference/androidx/annotation/NonNull int[] outLocation)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Matrix.html` `https://developer.android.com/reference/android/view/View.html#getMatrix()()` `final int` `https://developer.android.com/reference/android/view/View.html#getMeasuredHeight()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "measurement", flagMapping = [@https://developer.android.com/reference/android/view/ViewDebug.FlagToString.html(equals = 16777216, mask = -16777216, name = "MEASURED_STATE_TOO_SMALL")])
https://developer.android.com/reference/android/view/View.html#getMeasuredHeightAndState()()` `final int` `https://developer.android.com/reference/android/view/View.html#getMeasuredState()()` `final int` `https://developer.android.com/reference/android/view/View.html#getMeasuredWidth()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "measurement", flagMapping = [@https://developer.android.com/reference/android/view/ViewDebug.FlagToString.html(equals = 16777216, mask = -16777216, name = "MEASURED_STATE_TOO_SMALL")])
https://developer.android.com/reference/android/view/View.html#getMeasuredWidthAndState()()` `int` `https://developer.android.com/reference/android/view/View.html#getMinimumHeight()()` `int` `https://developer.android.com/reference/android/view/View.html#getMinimumWidth()()` `int` `https://developer.android.com/reference/android/view/View.html#getNextClusterForwardId()()` `int` `https://developer.android.com/reference/android/view/View.html#getNextFocusDownId()()` `int` `https://developer.android.com/reference/android/view/View.html#getNextFocusForwardId()()` `int` `https://developer.android.com/reference/android/view/View.html#getNextFocusLeftId()()` `int` `https://developer.android.com/reference/android/view/View.html#getNextFocusRightId()()` `int` `https://developer.android.com/reference/android/view/View.html#getNextFocusUpId()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html` `https://developer.android.com/reference/android/view/View.html#getOnFocusChangeListener()()` `int` `https://developer.android.com/reference/android/view/View.html#getOutlineAmbientShadowColor()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewOutlineProvider.html` `https://developer.android.com/reference/android/view/View.html#getOutlineProvider()()` `int` `https://developer.android.com/reference/android/view/View.html#getOutlineSpotShadowColor()()` `int` `https://developer.android.com/reference/android/view/View.html#getOverScrollMode()()` `int` `https://developer.android.com/reference/android/view/View.html#getPaddingBottom()()` `int` `https://developer.android.com/reference/android/view/View.html#getPaddingEnd()()` `int` `https://developer.android.com/reference/android/view/View.html#getPaddingLeft()()` `int` `https://developer.android.com/reference/android/view/View.html#getPaddingRight()()` `int` `https://developer.android.com/reference/android/view/View.html#getPaddingStart()()` `int` `https://developer.android.com/reference/android/view/View.html#getPaddingTop()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewParent.html` `https://developer.android.com/reference/android/view/View.html#getParent()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewParent.html` `https://developer.android.com/reference/android/view/View.html#getParentForAccessibility()()` `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/os/OutcomeReceiver.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/credentials/GetCredentialResponse.html, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/credentials/GetCredentialException.html>` `https://developer.android.com/reference/android/view/View.html#getPendingCredentialCallback()()` `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/credentials/GetCredentialRequest.html` `https://developer.android.com/reference/android/view/View.html#getPendingCredentialRequest()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getPivotX()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getPivotY()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/PointerIcon.html` `https://developer.android.com/reference/android/view/View.html#getPointerIcon()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html>` `https://developer.android.com/reference/android/view/View.html#getPreferKeepClearRects()()` `@https://developer.android.com/reference/androidx/annotation/Nullable String[]` `https://developer.android.com/reference/android/view/View.html#getReceiveContentMimeTypes()()` `float` `https://developer.android.com/reference/android/view/View.html#getRequestedFrameRate()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/res/Resources.html` `https://developer.android.com/reference/android/view/View.html#getResources()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#getRevealOnFocusHint()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.CapturedViewProperty.html
https://developer.android.com/reference/android/view/View.html#getRight()()` `float` `https://developer.android.com/reference/android/view/View.html#getRightFadingEdgeStrength()()` `int` `https://developer.android.com/reference/android/view/View.html#getRightPaddingOffset()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/view/AttachedSurfaceControl.html` `https://developer.android.com/reference/android/view/View.html#getRootSurfaceControl()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/view/View.html#getRootView()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html` `https://developer.android.com/reference/android/view/View.html#getRootWindowInsets()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getRotation()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getRotationX()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getRotationY()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getScaleX()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getScaleY()()` `int` `https://developer.android.com/reference/android/view/View.html#getScrollBarDefaultDelayBeforeFade()()` `int` `https://developer.android.com/reference/android/view/View.html#getScrollBarFadeDuration()()` `int` `https://developer.android.com/reference/android/view/View.html#getScrollBarSize()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "INSIDE_OVERLAY"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 16777216, to = "INSIDE_INSET"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 33554432, to = "OUTSIDE_OVERLAY"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 50331648, to = "OUTSIDE_INSET")])
https://developer.android.com/reference/android/view/View.html#getScrollBarStyle()()` `int` `https://developer.android.com/reference/android/view/View.html#getScrollCaptureHint()()` `int` `https://developer.android.com/reference/android/view/View.html#getScrollIndicators()()` `final int` `https://developer.android.com/reference/android/view/View.html#getScrollX()()` `final int` `https://developer.android.com/reference/android/view/View.html#getScrollY()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getSolidColor()()` `int` `https://developer.android.com/reference/android/view/View.html#getSourceLayoutResId()()` `final @https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/CharSequence.html` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "accessibility")
https://developer.android.com/reference/android/view/View.html#getStateDescription()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/animation/StateListAnimator.html` `https://developer.android.com/reference/android/view/View.html#getStateListAnimator()()` `int` `https://developer.android.com/reference/android/view/View.html#getSuggestedMinimumHeight()()` `int` `https://developer.android.com/reference/android/view/View.html#getSuggestedMinimumWidth()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/CharSequence.html` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "accessibility")
https://developer.android.com/reference/android/view/View.html#getSupplementalDescription()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html>` `https://developer.android.com/reference/android/view/View.html#getSystemGestureExclusionRects()()` `int` `[getSystemUiVisibility](https://developer.android.com/reference/android/view/View.html#getSystemUiVisibility())()`

**This method is deprecated.** Deprecated in Java
`@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Object.html` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#getTag()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Object.html` `https://developer.android.com/reference/android/view/View.html#getTag(int)(int key)` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "text", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "INHERIT"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "GRAVITY"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "TEXT_START"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 3, to = "TEXT_END"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "CENTER"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 5, to = "VIEW_START"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 6, to = "VIEW_END")])
https://developer.android.com/reference/android/view/View.html#getTextAlignment()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "text", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "INHERIT"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "FIRST_STRONG"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "ANY_RTL"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 3, to = "LTR"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "RTL"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 5, to = "LOCALE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 6, to = "FIRST_STRONG_LTR"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 7, to = "FIRST_STRONG_RTL")])
https://developer.android.com/reference/android/view/View.html#getTextDirection()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/CharSequence.html` `https://developer.android.com/reference/android/view/View.html#getTooltipText()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.CapturedViewProperty.html
https://developer.android.com/reference/android/view/View.html#getTop()()` `float` `https://developer.android.com/reference/android/view/View.html#getTopFadingEdgeStrength()()` `int` `https://developer.android.com/reference/android/view/View.html#getTopPaddingOffset()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/TouchDelegate.html` `https://developer.android.com/reference/android/view/View.html#getTouchDelegate()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/ArrayList.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html>` `https://developer.android.com/reference/android/view/View.html#getTouchables()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getTransitionAlpha()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#getTransitionName()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getTranslationX()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getTranslationY()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getTranslationZ()()` `long` `https://developer.android.com/reference/android/view/View.html#getUniqueDrawingId()()` `int` `https://developer.android.com/reference/android/view/View.html#getVerticalFadingEdgeLength()()` `int` `https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarPosition()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarThumbDrawable()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarTrackDrawable()()` `int` `https://developer.android.com/reference/android/view/View.html#getVerticalScrollbarWidth()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/view/translation/ViewTranslationResponse.html` `https://developer.android.com/reference/android/view/View.html#getViewTranslationResponse()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewTreeObserver.html` `https://developer.android.com/reference/android/view/View.html#getViewTreeObserver()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "VISIBLE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "INVISIBLE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 8, to = "GONE")])
https://developer.android.com/reference/android/view/View.html#getVisibility()()` `final int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "layout")
https://developer.android.com/reference/android/view/View.html#getWidth()()` `int` `https://developer.android.com/reference/android/view/View.html#getWindowAttachCount()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowId.html` `https://developer.android.com/reference/android/view/View.html#getWindowId()()` `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/android/view/WindowInsetsController.html` `https://developer.android.com/reference/android/view/View.html#getWindowInsetsController()()` `int` `[getWindowSystemUiVisibility](https://developer.android.com/reference/android/view/View.html#getWindowSystemUiVisibility())()`

**This method is deprecated.** Deprecated in Java
`@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/IBinder.html` `https://developer.android.com/reference/android/view/View.html#getWindowToken()()` `int` `https://developer.android.com/reference/android/view/View.html#getWindowVisibility()()` `void` `https://developer.android.com/reference/android/view/View.html#getWindowVisibleDisplayFrame(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html outRect)` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getX()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getY()()` `float` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#getZ()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasExplicitFocusable()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasFocusable()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasNestedScrollingParent()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasOnClickListeners()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasOnLongClickListeners()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasOverlappingRendering()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasPointerCapture()()` `boolean` `https://developer.android.com/reference/android/view/View.html#hasWindowFocus()()` `void` `https://developer.android.com/reference/android/view/View.html#invalidate()()` `void` `https://developer.android.com/reference/android/view/View.html#invalidate(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html dirty)` `void` `https://developer.android.com/reference/android/view/View.html#invalidate(int, int, int, int)(int l, int t, int r, int b)` `void` `https://developer.android.com/reference/android/view/View.html#invalidateDrawable(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)` `void` `https://developer.android.com/reference/android/view/View.html#invalidateOutline()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "accessibility")
https://developer.android.com/reference/android/view/View.html#isAccessibilityDataSensitive()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isAccessibilityFocused()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isAccessibilityHeading()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isActivated()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isAttachedToWindow()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isAutoHandwritingEnabled()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isClickable()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#isContentSensitive()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isContextClickable()()` `boolean` `[isCredential](https://developer.android.com/reference/android/view/View.html#isCredential())()`

**This method is deprecated.** Deprecated in Java
`boolean` `https://developer.android.com/reference/android/view/View.html#isDirty()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
[isDrawingCacheEnabled](https://developer.android.com/reference/android/view/View.html#isDrawingCacheEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `https://developer.android.com/reference/android/view/View.html#isDuplicateParentStateEnabled()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isEnabled()()` `final boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus")
https://developer.android.com/reference/android/view/View.html#isFocusable()()` `final boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus")
https://developer.android.com/reference/android/view/View.html#isFocusableInTouchMode()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus")
https://developer.android.com/reference/android/view/View.html#isFocused()()` `final boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus")
https://developer.android.com/reference/android/view/View.html#isFocusedByDefault()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#isForceDarkAllowed()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isHandwritingDelegate()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isHapticFeedbackEnabled()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#isHardwareAccelerated()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isHorizontalFadingEdgeEnabled()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isHorizontalScrollBarEnabled()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isHovered()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isImportantForAccessibility()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#isImportantForAutofill()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#isImportantForContentCapture()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isInEditMode()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isInLayout()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isInTouchMode()()` `final boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus")
https://developer.android.com/reference/android/view/View.html#isKeyboardNavigationCluster()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isLaidOut()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isLayoutDirectionResolved()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isLayoutRequested()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isLongClickable()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isNestedScrollingEnabled()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/View.html#isOpaque()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isPaddingOffsetRequired()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isPaddingRelative()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isPivotSet()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#isPreferKeepClear()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isPressed()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isSaveEnabled()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isSaveFromParentEnabled()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isScreenReaderFocusable()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isScrollContainer()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isScrollbarFadingEnabled()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isSelected()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#isShowingLayoutBounds()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isShown()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html
https://developer.android.com/reference/android/view/View.html#isSoundEffectsEnabled()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#isTemporarilyDetached()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isTextAlignmentResolved()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isTextDirectionResolved()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isVerticalFadingEdgeEnabled()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isVerticalScrollBarEnabled()()` `boolean` `https://developer.android.com/reference/android/view/View.html#isVisibleToUserForAutofill(int)(int virtualId)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/view/View.html#keyboardNavigationClusterSearch(android.view.View, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html currentCluster,
int direction
)` `final void` `https://developer.android.com/reference/android/view/View.html#measure(int, int)(int widthMeasureSpec, int heightMeasureSpec)` `void` `https://developer.android.com/reference/android/view/View.html#offsetLeftAndRight(int)(int offset)` `void` `https://developer.android.com/reference/android/view/View.html#offsetTopAndBottom(int)(int offset)` `void` `https://developer.android.com/reference/android/view/View.html#onAnimationEnd()()` `void` `https://developer.android.com/reference/android/view/View.html#onAnimationStart()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html` `https://developer.android.com/reference/android/view/View.html#onApplyWindowInsets(android.view.WindowInsets)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html insets)` `void` `https://developer.android.com/reference/android/view/View.html#onCancelPendingInputEvents()()` `boolean` `https://developer.android.com/reference/android/view/View.html#onCapturedPointerEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/View.html#onCheckIsTextEditor()()` `void` `https://developer.android.com/reference/android/view/View.html#onCreateContextMenu(android.view.ContextMenu)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ContextMenu.html menu)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/inputmethod/InputConnection.html` `https://developer.android.com/reference/android/view/View.html#onCreateInputConnection(android.view.inputmethod.EditorInfo)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html outAttrs)` `void` `https://developer.android.com/reference/android/view/View.html#onCreateViewTranslationRequest(int[], java.util.function.Consumer&lt;android.view.translation.ViewTranslationRequest&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull int[] supportedFormats,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/function/Consumer.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/translation/ViewTranslationRequest.html> requestsCollector
)` `void` `https://developer.android.com/reference/android/view/View.html#onCreateVirtualViewTranslationRequests(long[], int[], java.util.function.Consumer&lt;android.view.translation.ViewTranslationRequest&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull long[] virtualIds,
@https://developer.android.com/reference/androidx/annotation/NonNull int[] supportedFormats,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/function/Consumer.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/translation/ViewTranslationRequest.html> requestsCollector
)` `void` `https://developer.android.com/reference/android/view/View.html#onDisplayHint(int)(int hint)` `boolean` `https://developer.android.com/reference/android/view/View.html#onDragEvent(android.view.DragEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/DragEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#onDrawForeground(android.graphics.Canvas)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Canvas.html canvas)` `final void` `https://developer.android.com/reference/android/view/View.html#onDrawScrollBars(android.graphics.Canvas)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Canvas.html canvas)` `boolean` `https://developer.android.com/reference/android/view/View.html#onFilterTouchEventForSecurity(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#onFinishInflate()()` `void` `https://developer.android.com/reference/android/view/View.html#onFinishTemporaryDetach()()` `void` `https://developer.android.com/reference/android/view/View.html#onHoverChanged(boolean)(boolean hovered)` `boolean` `https://developer.android.com/reference/android/view/View.html#onHoverEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html info)` `boolean` `https://developer.android.com/reference/android/view/View.html#onKeyDown(int, android.view.KeyEvent)(int keyCode, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/View.html#onKeyLongPress(int, android.view.KeyEvent)(int keyCode, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/View.html#onKeyMultiple(int, int, android.view.KeyEvent)(int keyCode, int repeatCount, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/View.html#onKeyPreIme(int, android.view.KeyEvent)(int keyCode, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/View.html#onKeyShortcut(int, android.view.KeyEvent)(int keyCode, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/View.html#onKeyUp(int, android.view.KeyEvent)(int keyCode, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#onMeasure(int, int)(int widthMeasureSpec, int heightMeasureSpec)` `void` `https://developer.android.com/reference/android/view/View.html#onOverScrolled(int, int, boolean, boolean)(
int scrollX,
int scrollY,
boolean clampedX,
boolean clampedY
)` `void` `https://developer.android.com/reference/android/view/View.html#onPointerCaptureChange(boolean)(boolean hasCapture)` `void` `https://developer.android.com/reference/android/view/View.html#onPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#onProvideAutofillStructure(android.view.ViewStructure, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewStructure.html structure, int flags)` `void` `https://developer.android.com/reference/android/view/View.html#onProvideContentCaptureStructure(android.view.ViewStructure, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewStructure.html structure,
int flags
)` `void` `https://developer.android.com/reference/android/view/View.html#onProvideStructure(android.view.ViewStructure)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewStructure.html structure)` `void` `https://developer.android.com/reference/android/view/View.html#onProvideVirtualStructure(android.view.ViewStructure)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewStructure.html structure)` `https://developer.android.com/reference/android/view/ContentInfo.html` `https://developer.android.com/reference/android/view/View.html#onReceiveContent(android.view.ContentInfo)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ContentInfo.html payload)` `void` `https://developer.android.com/reference/android/view/View.html#onRtlPropertiesChanged(int)(int layoutDirection)` `void` `https://developer.android.com/reference/android/view/View.html#onScreenStateChanged(int)(int screenState)` `void` `https://developer.android.com/reference/android/view/View.html#onScrollCaptureSearch(android.graphics.Rect, android.graphics.Point, java.util.function.Consumer&lt;android.view.ScrollCaptureTarget&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html localVisibleRect,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Point.html windowOffset,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/function/Consumer.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ScrollCaptureTarget.html> targets
)` `boolean` `https://developer.android.com/reference/android/view/View.html#onSetAlpha(int)(int alpha)` `void` `https://developer.android.com/reference/android/view/View.html#onStartTemporaryDetach()()` `boolean` `https://developer.android.com/reference/android/view/View.html#onTrackballEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#onViewTranslationResponse(android.view.translation.ViewTranslationResponse)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/translation/ViewTranslationResponse.html response)` `void` `https://developer.android.com/reference/android/view/View.html#onVirtualViewTranslationResponses(android.util.LongSparseArray&lt;android.view.translation.ViewTranslationResponse&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/LongSparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/translation/ViewTranslationResponse.html> response
)` `void` `https://developer.android.com/reference/android/view/View.html#onVisibilityAggregated(boolean)(boolean isVisible)` `void` `https://developer.android.com/reference/android/view/View.html#onVisibilityChanged(android.view.View, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html changedView, int visibility)` `void` `https://developer.android.com/reference/android/view/View.html#onWindowFocusChanged(boolean)(boolean hasWindowFocus)` `void` `https://developer.android.com/reference/android/view/View.html#onWindowSystemUiVisibilityChanged(int)(int visible)` `boolean` `https://developer.android.com/reference/android/view/View.html#overScrollBy(int, int, int, int, int, int, int, int, boolean)(
int deltaX,
int deltaY,
int scrollX,
int scrollY,
int scrollRangeX,
int scrollRangeY,
int maxOverScrollX,
int maxOverScrollY,
boolean isTouchEvent
)` `boolean` `https://developer.android.com/reference/android/view/View.html#performAccessibilityAction(int, android.os.Bundle)(int action, https://developer.android.com/reference/android/os/Bundle.html arguments)` `boolean` `https://developer.android.com/reference/android/view/View.html#performClick()()` `boolean` `https://developer.android.com/reference/android/view/View.html#performContextClick()()` `boolean` `https://developer.android.com/reference/android/view/View.html#performContextClick(float, float)(float x, float y)` `boolean` `https://developer.android.com/reference/android/view/View.html#performHapticFeedback(int)(int feedbackConstant)` `boolean` `https://developer.android.com/reference/android/view/View.html#performHapticFeedback(android.os.vibrator.HapticFeedbackRequest)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/vibrator/HapticFeedbackRequest.html request)` `boolean` `https://developer.android.com/reference/android/view/View.html#performHapticFeedback(int, int)(int feedbackConstant, int flags)` `boolean` `https://developer.android.com/reference/android/view/View.html#performLongClick()()` `boolean` `https://developer.android.com/reference/android/view/View.html#performLongClick(float, float)(float x, float y)` `https://developer.android.com/reference/android/view/ContentInfo.html` `https://developer.android.com/reference/android/view/View.html#performReceiveContent(android.view.ContentInfo)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ContentInfo.html payload)` `void` `https://developer.android.com/reference/android/view/View.html#playSoundEffect(int)(int soundConstant)` `boolean` `https://developer.android.com/reference/android/view/View.html#post(java.lang.Runnable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Runnable.html action)` `boolean` `https://developer.android.com/reference/android/view/View.html#postDelayed(java.lang.Runnable, long)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Runnable.html action, long delayMillis)` `void` `https://developer.android.com/reference/android/view/View.html#postInvalidate()()` `void` `https://developer.android.com/reference/android/view/View.html#postInvalidate(int, int, int, int)(int left, int top, int right, int bottom)` `void` `https://developer.android.com/reference/android/view/View.html#postInvalidateDelayed(long)(long delayMilliseconds)` `void` `https://developer.android.com/reference/android/view/View.html#postInvalidateDelayed(long, int, int, int, int)(
long delayMilliseconds,
int left,
int top,
int right,
int bottom
)` `void` `https://developer.android.com/reference/android/view/View.html#postInvalidateOnAnimation()()` `void` `https://developer.android.com/reference/android/view/View.html#postInvalidateOnAnimation(int, int, int, int)(int left, int top, int right, int bottom)` `void` `https://developer.android.com/reference/android/view/View.html#postOnAnimation(java.lang.Runnable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Runnable.html action)` `void` `https://developer.android.com/reference/android/view/View.html#postOnAnimationDelayed(java.lang.Runnable, long)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Runnable.html action, long delayMillis)` `void` `https://developer.android.com/reference/android/view/View.html#refreshDrawableState()()` `void` `https://developer.android.com/reference/android/view/View.html#releasePointerCapture()()` `boolean` `https://developer.android.com/reference/android/view/View.html#removeCallbacks(java.lang.Runnable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Runnable.html action)` `void` `https://developer.android.com/reference/android/view/View.html#removeOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html listener
)` `void` `https://developer.android.com/reference/android/view/View.html#removeOnLayoutChangeListener(android.view.View.OnLayoutChangeListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html listener
)` `void` `https://developer.android.com/reference/android/view/View.html#removeOnUnhandledKeyEventListener(android.view.View.OnUnhandledKeyEventListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnUnhandledKeyEventListener.html listener
)` `void` `https://developer.android.com/reference/android/view/View.html#reportAppJankStats(android.app.jank.AppJankStats)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/app/jank/AppJankStats.html appJankStats)` `void` `https://developer.android.com/reference/android/view/View.html#requestApplyInsets()()` `void` `[requestFitSystemWindows](https://developer.android.com/reference/android/view/View.html#requestFitSystemWindows())()`

**This method is deprecated.** Deprecated in Java
`final boolean` `https://developer.android.com/reference/android/view/View.html#requestFocus()()` `final boolean` `https://developer.android.com/reference/android/view/View.html#requestFocus(int)(int direction)` `final boolean` `https://developer.android.com/reference/android/view/View.html#requestFocusFromTouch()()` `void` `https://developer.android.com/reference/android/view/View.html#requestLayout()()` `void` `https://developer.android.com/reference/android/view/View.html#requestPointerCapture()()` `void` `https://developer.android.com/reference/android/view/View.html#requestPointerCapture(int)(int mode)` `boolean` `https://developer.android.com/reference/android/view/View.html#requestRectangleOnScreen(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html rectangle)` `boolean` `https://developer.android.com/reference/android/view/View.html#requestRectangleOnScreen(android.graphics.Rect, boolean)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html rectangle, boolean immediate)` `boolean` `https://developer.android.com/reference/android/view/View.html#requestRectangleOnScreen(android.graphics.Rect, boolean, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html rectangle,
boolean immediate,
int source
)` `final void` `https://developer.android.com/reference/android/view/View.html#requestUnbufferedDispatch(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `final void` `https://developer.android.com/reference/android/view/View.html#requestUnbufferedDispatch(int)(int source)` `final @https://developer.android.com/reference/androidx/annotation/NonNull T` `<T extends https://developer.android.com/reference/android/view/View.html> https://developer.android.com/reference/android/view/View.html#requireViewById(int)(int id)` `void` `https://developer.android.com/reference/android/view/View.html#resetPivot()()` `void` `https://developer.android.com/reference/android/view/View.html#restoreHierarchyState(android.util.SparseArray&lt;android.os.Parcelable&gt;)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Parcelable.html> container)` `final void` `https://developer.android.com/reference/android/view/View.html#saveAttributeDataForStyleable(android.content.Context, int[], android.util.AttributeSet, android.content.res.TypedArray, int, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/Context.html context,
@https://developer.android.com/reference/androidx/annotation/NonNull int[] styleable,
https://developer.android.com/reference/android/util/AttributeSet.html attrs,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/res/TypedArray.html t,
int defStyleAttr,
int defStyleRes
)` `void` `https://developer.android.com/reference/android/view/View.html#saveHierarchyState(android.util.SparseArray&lt;android.os.Parcelable&gt;)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Parcelable.html> container)` `void` `https://developer.android.com/reference/android/view/View.html#scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html who, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Runnable.html what, long when)` `void` `https://developer.android.com/reference/android/view/View.html#sendAccessibilityEvent(int)(int eventType)` `void` `https://developer.android.com/reference/android/view/View.html#sendAccessibilityEventUnchecked(android.view.accessibility.AccessibilityEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)` `void` `https://developer.android.com/reference/android/view/View.html#setAccessibilityDataSensitive(int)(int accessibilityDataSensitive)` `void` `https://developer.android.com/reference/android/view/View.html#setAccessibilityDelegate(android.view.View.AccessibilityDelegate)(https://developer.android.com/reference/android/view/View.AccessibilityDelegate.html delegate)` `void` `https://developer.android.com/reference/android/view/View.html#setAccessibilityHeading(boolean)(boolean isHeading)` `void` `https://developer.android.com/reference/android/view/View.html#setAccessibilityLiveRegion(int)(int mode)` `void` `https://developer.android.com/reference/android/view/View.html#setAccessibilityPaneTitle(java.lang.CharSequence)(https://developer.android.com/reference/java/lang/CharSequence.html accessibilityPaneTitle)` `void` `https://developer.android.com/reference/android/view/View.html#setAccessibilityTraversalAfter(int)(int afterId)` `void` `https://developer.android.com/reference/android/view/View.html#setAccessibilityTraversalBefore(int)(int beforeId)` `void` `https://developer.android.com/reference/android/view/View.html#setActivated(boolean)(boolean activated)` `void` `https://developer.android.com/reference/android/view/View.html#setAllowClickWhenDisabled(boolean)(boolean clickableWhenDisabled)` `void` `https://developer.android.com/reference/android/view/View.html#setAllowedHandwritingDelegatePackage(java.lang.String)(https://developer.android.com/reference/java/lang/String.html allowedPackageName)` `void` `https://developer.android.com/reference/android/view/View.html#setAllowedHandwritingDelegatorPackage(java.lang.String)(https://developer.android.com/reference/java/lang/String.html allowedPackageName)` `void` `https://developer.android.com/reference/android/view/View.html#setAlpha(float)(float alpha)` `void` `https://developer.android.com/reference/android/view/View.html#setAnimation(android.view.animation.Animation)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/Animation.html animation)` `void` `https://developer.android.com/reference/android/view/View.html#setAnimationMatrix(android.graphics.Matrix)(https://developer.android.com/reference/android/graphics/Matrix.html matrix)` `void` `https://developer.android.com/reference/android/view/View.html#setAutoHandwritingEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/View.html#setAutofillHints(java.lang.String...)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html... autofillHints)` `void` `https://developer.android.com/reference/android/view/View.html#setAutofillId(android.view.autofill.AutofillId)(https://developer.android.com/reference/android/view/autofill/AutofillId.html id)` `void` `https://developer.android.com/reference/android/view/View.html#setBackground(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html background)` `void` `https://developer.android.com/reference/android/view/View.html#setBackgroundColor(int)(int color)` `void` `https://developer.android.com/reference/android/view/View.html#setBackgroundDrawable(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html background)` `void` `https://developer.android.com/reference/android/view/View.html#setBackgroundResource(int)(int resid)` `void` `https://developer.android.com/reference/android/view/View.html#setBackgroundTintBlendMode(android.graphics.BlendMode)(https://developer.android.com/reference/android/graphics/BlendMode.html blendMode)` `void` `https://developer.android.com/reference/android/view/View.html#setBackgroundTintList(android.content.res.ColorStateList)(https://developer.android.com/reference/android/content/res/ColorStateList.html tint)` `void` `https://developer.android.com/reference/android/view/View.html#setBackgroundTintMode(android.graphics.PorterDuff.Mode)(https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html tintMode)` `final void` `https://developer.android.com/reference/android/view/View.html#setBottom(int)(int bottom)` `void` `https://developer.android.com/reference/android/view/View.html#setCameraDistance(float)(float distance)` `void` `https://developer.android.com/reference/android/view/View.html#setClickable(boolean)(boolean clickable)` `void` `https://developer.android.com/reference/android/view/View.html#setClipBounds(android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html clipBounds)` `void` `https://developer.android.com/reference/android/view/View.html#setClipToOutline(boolean)(boolean clipToOutline)` `void` `https://developer.android.com/reference/android/view/View.html#setContentCaptureSession(android.view.contentcapture.ContentCaptureSession)(https://developer.android.com/reference/android/view/contentcapture/ContentCaptureSession.html contentCaptureSession)` `void` `https://developer.android.com/reference/android/view/View.html#setContentDescription(java.lang.CharSequence)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html contentDescription)` `final void` `https://developer.android.com/reference/android/view/View.html#setContentSensitivity(int)(int mode)` `void` `https://developer.android.com/reference/android/view/View.html#setContextClickable(boolean)(boolean contextClickable)` `void` `https://developer.android.com/reference/android/view/View.html#setDefaultFocusHighlightEnabled(boolean)(boolean defaultFocusHighlightEnabled)` `void` `[setDrawingCacheBackgroundColor](https://developer.android.com/reference/android/view/View.html#setDrawingCacheBackgroundColor(int))(int color)`

**This method is deprecated.** Deprecated in Java
`void` `[setDrawingCacheEnabled](https://developer.android.com/reference/android/view/View.html#setDrawingCacheEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `[setDrawingCacheQuality](https://developer.android.com/reference/android/view/View.html#setDrawingCacheQuality(int))(int quality)`

**This method is deprecated.** Deprecated in Java
`void` `https://developer.android.com/reference/android/view/View.html#setDuplicateParentStateEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/View.html#setElevation(float)(float elevation)` `void` `https://developer.android.com/reference/android/view/View.html#setEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/View.html#setFadingEdgeLength(int)(int length)` `void` `https://developer.android.com/reference/android/view/View.html#setFilterTouchesWhenObscured(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/View.html#setFitsSystemWindows(boolean)(boolean fitSystemWindows)` `void` `https://developer.android.com/reference/android/view/View.html#setFocusable(boolean)(boolean focusable)` `void` `https://developer.android.com/reference/android/view/View.html#setFocusable(int)(int focusable)` `void` `https://developer.android.com/reference/android/view/View.html#setFocusableInTouchMode(boolean)(boolean focusableInTouchMode)` `void` `https://developer.android.com/reference/android/view/View.html#setFocusedByDefault(boolean)(boolean isFocusedByDefault)` `void` `https://developer.android.com/reference/android/view/View.html#setForceDarkAllowed(boolean)(boolean allow)` `void` `https://developer.android.com/reference/android/view/View.html#setForeground(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html foreground)` `void` `https://developer.android.com/reference/android/view/View.html#setForegroundGravity(int)(int gravity)` `void` `https://developer.android.com/reference/android/view/View.html#setForegroundTintBlendMode(android.graphics.BlendMode)(https://developer.android.com/reference/android/graphics/BlendMode.html blendMode)` `void` `https://developer.android.com/reference/android/view/View.html#setForegroundTintList(android.content.res.ColorStateList)(https://developer.android.com/reference/android/content/res/ColorStateList.html tint)` `void` `https://developer.android.com/reference/android/view/View.html#setForegroundTintMode(android.graphics.PorterDuff.Mode)(https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html tintMode)` `void` `https://developer.android.com/reference/android/view/View.html#setFrameContentVelocity(float)(float pixelsPerSecond)` `void` `https://developer.android.com/reference/android/view/View.html#setHandwritingBoundsOffsets(float, float, float, float)(
float offsetLeft,
float offsetTop,
float offsetRight,
float offsetBottom
)` `void` `https://developer.android.com/reference/android/view/View.html#setHandwritingDelegateFlags(int)(int flags)` `void` `https://developer.android.com/reference/android/view/View.html#setHandwritingDelegatorCallback(java.lang.Runnable)(https://developer.android.com/reference/java/lang/Runnable.html callback)` `void` `https://developer.android.com/reference/android/view/View.html#setHapticFeedbackEnabled(boolean)(boolean hapticFeedbackEnabled)` `void` `https://developer.android.com/reference/android/view/View.html#setHasTransientState(boolean)(boolean hasTransientState)` `void` `https://developer.android.com/reference/android/view/View.html#setHorizontalFadingEdgeEnabled(boolean)(boolean horizontalFadingEdgeEnabled)` `void` `https://developer.android.com/reference/android/view/View.html#setHorizontalScrollBarEnabled(boolean)(boolean horizontalScrollBarEnabled)` `void` `https://developer.android.com/reference/android/view/View.html#setHorizontalScrollbarThumbDrawable(android.graphics.drawable.Drawable)(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)` `void` `https://developer.android.com/reference/android/view/View.html#setHorizontalScrollbarTrackDrawable(android.graphics.drawable.Drawable)(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)` `void` `https://developer.android.com/reference/android/view/View.html#setHovered(boolean)(boolean hovered)` `void` `https://developer.android.com/reference/android/view/View.html#setId(int)(int id)` `void` `https://developer.android.com/reference/android/view/View.html#setImportantForAccessibility(int)(int mode)` `void` `https://developer.android.com/reference/android/view/View.html#setImportantForAutofill(int)(int mode)` `void` `https://developer.android.com/reference/android/view/View.html#setImportantForContentCapture(int)(int mode)` `void` `https://developer.android.com/reference/android/view/View.html#setIsCredential(boolean)(boolean isCredential)` `void` `https://developer.android.com/reference/android/view/View.html#setIsHandwritingDelegate(boolean)(boolean isHandwritingDelegate)` `void` `https://developer.android.com/reference/android/view/View.html#setKeepScreenOn(boolean)(boolean keepScreenOn)` `void` `https://developer.android.com/reference/android/view/View.html#setKeyboardNavigationCluster(boolean)(boolean isCluster)` `void` `https://developer.android.com/reference/android/view/View.html#setLabelFor(int)(int id)` `void` `https://developer.android.com/reference/android/view/View.html#setLayerPaint(android.graphics.Paint)(https://developer.android.com/reference/android/graphics/Paint.html paint)` `void` `https://developer.android.com/reference/android/view/View.html#setLayerType(int, android.graphics.Paint)(int layerType, https://developer.android.com/reference/android/graphics/Paint.html paint)` `void` `https://developer.android.com/reference/android/view/View.html#setLayoutDirection(int)(int layoutDirection)` `void` `https://developer.android.com/reference/android/view/View.html#setLayoutParams(android.view.ViewGroup.LayoutParams)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)` `final void` `https://developer.android.com/reference/android/view/View.html#setLeft(int)(int left)` `final void` `https://developer.android.com/reference/android/view/View.html#setLeftTopRightBottom(int, int, int, int)(int left, int top, int right, int bottom)` `void` `https://developer.android.com/reference/android/view/View.html#setLongClickable(boolean)(boolean longClickable)` `final void` `https://developer.android.com/reference/android/view/View.html#setMeasuredDimension(int, int)(int measuredWidth, int measuredHeight)` `void` `https://developer.android.com/reference/android/view/View.html#setMinimumHeight(int)(int minHeight)` `void` `https://developer.android.com/reference/android/view/View.html#setMinimumWidth(int)(int minWidth)` `void` `https://developer.android.com/reference/android/view/View.html#setNestedScrollingEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/View.html#setNextClusterForwardId(int)(int nextClusterForwardId)` `void` `https://developer.android.com/reference/android/view/View.html#setNextFocusDownId(int)(int nextFocusDownId)` `void` `https://developer.android.com/reference/android/view/View.html#setNextFocusForwardId(int)(int nextFocusForwardId)` `void` `https://developer.android.com/reference/android/view/View.html#setNextFocusLeftId(int)(int nextFocusLeftId)` `void` `https://developer.android.com/reference/android/view/View.html#setNextFocusRightId(int)(int nextFocusRightId)` `void` `https://developer.android.com/reference/android/view/View.html#setNextFocusUpId(int)(int nextFocusUpId)` `void` `https://developer.android.com/reference/android/view/View.html#setOnApplyWindowInsetsListener(android.view.View.OnApplyWindowInsetsListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnApplyWindowInsetsListener.html listener
)` `void` `https://developer.android.com/reference/android/view/View.html#setOnCapturedPointerListener(android.view.View.OnCapturedPointerListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnCapturedPointerListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnClickListener(android.view.View.OnClickListener)(https://developer.android.com/reference/android/view/View.OnClickListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnContextClickListener(android.view.View.OnContextClickListener)(https://developer.android.com/reference/android/view/View.OnContextClickListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnCreateContextMenuListener(android.view.View.OnCreateContextMenuListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html l
)` `void` `https://developer.android.com/reference/android/view/View.html#setOnDragListener(android.view.View.OnDragListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnDragListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnFocusChangeListener(android.view.View.OnFocusChangeListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnGenericMotionListener(android.view.View.OnGenericMotionListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnGenericMotionListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnHoverListener(android.view.View.OnHoverListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnHoverListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnKeyListener(android.view.View.OnKeyListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnKeyListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnLongClickListener(android.view.View.OnLongClickListener)(https://developer.android.com/reference/android/view/View.OnLongClickListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnReceiveContentListener(java.lang.String[], android.view.OnReceiveContentListener)(
String[] mimeTypes,
https://developer.android.com/reference/android/view/OnReceiveContentListener.html listener
)` `void` `https://developer.android.com/reference/android/view/View.html#setOnScrollChangeListener(android.view.View.OnScrollChangeListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnScrollChangeListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOnSystemUiVisibilityChangeListener(android.view.View.OnSystemUiVisibilityChangeListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnSystemUiVisibilityChangeListener.html l
)` `void` `https://developer.android.com/reference/android/view/View.html#setOnTouchListener(android.view.View.OnTouchListener)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.OnTouchListener.html l)` `void` `https://developer.android.com/reference/android/view/View.html#setOutlineAmbientShadowColor(int)(int color)` `void` `https://developer.android.com/reference/android/view/View.html#setOutlineProvider(android.view.ViewOutlineProvider)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewOutlineProvider.html provider)` `void` `https://developer.android.com/reference/android/view/View.html#setOutlineSpotShadowColor(int)(int color)` `void` `https://developer.android.com/reference/android/view/View.html#setOverScrollMode(int)(int overScrollMode)` `void` `https://developer.android.com/reference/android/view/View.html#setPadding(int, int, int, int)(int left, int top, int right, int bottom)` `void` `https://developer.android.com/reference/android/view/View.html#setPaddingRelative(int, int, int, int)(int start, int top, int end, int bottom)` `void` `https://developer.android.com/reference/android/view/View.html#setPendingCredentialRequest(android.credentials.GetCredentialRequest, android.os.OutcomeReceiver&lt;android.credentials.GetCredentialResponse,android.credentials.GetCredentialException&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/credentials/GetCredentialRequest.html request,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/OutcomeReceiver.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/credentials/GetCredentialResponse.html, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/credentials/GetCredentialException.html> callback
)` `void` `https://developer.android.com/reference/android/view/View.html#setPivotX(float)(float pivotX)` `void` `https://developer.android.com/reference/android/view/View.html#setPivotY(float)(float pivotY)` `void` `https://developer.android.com/reference/android/view/View.html#setPointerIcon(android.view.PointerIcon)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/PointerIcon.html pointerIcon)` `final void` `https://developer.android.com/reference/android/view/View.html#setPreferKeepClear(boolean)(boolean preferKeepClear)` `final void` `https://developer.android.com/reference/android/view/View.html#setPreferKeepClearRects(java.util.List&lt;android.graphics.Rect&gt;)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html> rects)` `void` `https://developer.android.com/reference/android/view/View.html#setPressed(boolean)(boolean pressed)` `void` `https://developer.android.com/reference/android/view/View.html#setRenderEffect(android.graphics.RenderEffect)(https://developer.android.com/reference/android/graphics/RenderEffect.html renderEffect)` `final void` `https://developer.android.com/reference/android/view/View.html#setRevealOnFocusHint(boolean)(boolean revealOnFocus)` `final void` `https://developer.android.com/reference/android/view/View.html#setRight(int)(int right)` `void` `https://developer.android.com/reference/android/view/View.html#setRotation(float)(float rotation)` `void` `https://developer.android.com/reference/android/view/View.html#setRotationX(float)(float rotationX)` `void` `https://developer.android.com/reference/android/view/View.html#setRotationY(float)(float rotationY)` `void` `https://developer.android.com/reference/android/view/View.html#setSaveEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/View.html#setSaveFromParentEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/View.html#setScaleX(float)(float scaleX)` `void` `https://developer.android.com/reference/android/view/View.html#setScaleY(float)(float scaleY)` `void` `https://developer.android.com/reference/android/view/View.html#setScreenReaderFocusable(boolean)(boolean screenReaderFocusable)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollBarDefaultDelayBeforeFade(int)(
int scrollBarDefaultDelayBeforeFade
)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollBarFadeDuration(int)(int scrollBarFadeDuration)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollBarSize(int)(int scrollBarSize)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollBarStyle(int)(int style)` `final void` `https://developer.android.com/reference/android/view/View.html#setScrollCaptureCallback(android.view.ScrollCaptureCallback)(https://developer.android.com/reference/android/view/ScrollCaptureCallback.html callback)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollCaptureHint(int)(int hint)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollContainer(boolean)(boolean isScrollContainer)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollIndicators(int)(int indicators)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollIndicators(int, int)(int indicators, int mask)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollX(int)(int value)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollY(int)(int value)` `void` `https://developer.android.com/reference/android/view/View.html#setScrollbarFadingEnabled(boolean)(boolean fadeScrollbars)` `void` `https://developer.android.com/reference/android/view/View.html#setSelected(boolean)(boolean selected)` `void` `https://developer.android.com/reference/android/view/View.html#setSoundEffectsEnabled(boolean)(boolean soundEffectsEnabled)` `void` `https://developer.android.com/reference/android/view/View.html#setStateDescription(java.lang.CharSequence)(https://developer.android.com/reference/java/lang/CharSequence.html stateDescription)` `void` `https://developer.android.com/reference/android/view/View.html#setStateListAnimator(android.animation.StateListAnimator)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/animation/StateListAnimator.html stateListAnimator)` `void` `https://developer.android.com/reference/android/view/View.html#setSupplementalDescription(java.lang.CharSequence)(https://developer.android.com/reference/java/lang/CharSequence.html supplementalDescription)` `void` `https://developer.android.com/reference/android/view/View.html#setSystemGestureExclusionRects(java.util.List&lt;android.graphics.Rect&gt;)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html> rects)` `void` `[setSystemUiVisibility](https://developer.android.com/reference/android/view/View.html#setSystemUiVisibility(int))(int visibility)`

**This method is deprecated.** Deprecated in Java
`void` `https://developer.android.com/reference/android/view/View.html#setTag(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Object.html tag)` `void` `https://developer.android.com/reference/android/view/View.html#setTag(int, java.lang.Object)(int key, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Object.html tag)` `void` `https://developer.android.com/reference/android/view/View.html#setTextAlignment(int)(int textAlignment)` `void` `https://developer.android.com/reference/android/view/View.html#setTextDirection(int)(int textDirection)` `void` `https://developer.android.com/reference/android/view/View.html#setTooltipText(java.lang.CharSequence)(https://developer.android.com/reference/java/lang/CharSequence.html tooltipText)` `final void` `https://developer.android.com/reference/android/view/View.html#setTop(int)(int top)` `void` `https://developer.android.com/reference/android/view/View.html#setTouchDelegate(android.view.TouchDelegate)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/TouchDelegate.html delegate)` `void` `https://developer.android.com/reference/android/view/View.html#setTransitionAlpha(float)(float alpha)` `final void` `https://developer.android.com/reference/android/view/View.html#setTransitionName(java.lang.String)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html transitionName)` `void` `https://developer.android.com/reference/android/view/View.html#setTransitionVisibility(int)(int visibility)` `void` `https://developer.android.com/reference/android/view/View.html#setTranslationX(float)(float translationX)` `void` `https://developer.android.com/reference/android/view/View.html#setTranslationY(float)(float translationY)` `void` `https://developer.android.com/reference/android/view/View.html#setTranslationZ(float)(float translationZ)` `void` `https://developer.android.com/reference/android/view/View.html#setVerticalFadingEdgeEnabled(boolean)(boolean verticalFadingEdgeEnabled)` `void` `https://developer.android.com/reference/android/view/View.html#setVerticalScrollBarEnabled(boolean)(boolean verticalScrollBarEnabled)` `void` `https://developer.android.com/reference/android/view/View.html#setVerticalScrollbarPosition(int)(int position)` `void` `https://developer.android.com/reference/android/view/View.html#setVerticalScrollbarThumbDrawable(android.graphics.drawable.Drawable)(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)` `void` `https://developer.android.com/reference/android/view/View.html#setVerticalScrollbarTrackDrawable(android.graphics.drawable.Drawable)(https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)` `void` `https://developer.android.com/reference/android/view/View.html#setViewTranslationCallback(android.view.translation.ViewTranslationCallback)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/translation/ViewTranslationCallback.html callback)` `void` `https://developer.android.com/reference/android/view/View.html#setVisibility(int)(int visibility)` `void` `https://developer.android.com/reference/android/view/View.html#setWillNotCacheDrawing(boolean)(boolean willNotCacheDrawing)` `void` `https://developer.android.com/reference/android/view/View.html#setWillNotDraw(boolean)(boolean willNotDraw)` `void` `https://developer.android.com/reference/android/view/View.html#setX(float)(float x)` `void` `https://developer.android.com/reference/android/view/View.html#setY(float)(float y)` `void` `https://developer.android.com/reference/android/view/View.html#setZ(float)(float z)` `boolean` `https://developer.android.com/reference/android/view/View.html#showContextMenu()()` `boolean` `https://developer.android.com/reference/android/view/View.html#showContextMenu(float, float)(float x, float y)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.html` `https://developer.android.com/reference/android/view/View.html#startActionMode(android.view.ActionMode.Callback)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.Callback.html callback)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.html` `https://developer.android.com/reference/android/view/View.html#startActionMode(android.view.ActionMode.Callback, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.Callback.html callback, int type)` `void` `https://developer.android.com/reference/android/view/View.html#startAnimation(android.view.animation.Animation)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/Animation.html animation)` `final boolean` `https://developer.android.com/reference/android/view/View.html#startDrag(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/ClipData.html data,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.DragShadowBuilder.html shadowBuilder,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Object.html myLocalState,
int flags
)` `final boolean` `https://developer.android.com/reference/android/view/View.html#startDragAndDrop(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/ClipData.html data,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.DragShadowBuilder.html shadowBuilder,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Object.html myLocalState,
int flags
)` `boolean` `https://developer.android.com/reference/android/view/View.html#startNestedScroll(int)(int axes)` `void` `https://developer.android.com/reference/android/view/View.html#stopNestedScroll()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/view/View.html#toString()()` `void` `https://developer.android.com/reference/android/view/View.html#transformMatrixToGlobal(android.graphics.Matrix)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Matrix.html matrix)` `void` `https://developer.android.com/reference/android/view/View.html#transformMatrixToLocal(android.graphics.Matrix)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Matrix.html matrix)` `void` `https://developer.android.com/reference/android/view/View.html#unscheduleDrawable(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html who)` `void` `https://developer.android.com/reference/android/view/View.html#unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html who, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Runnable.html what)` `final void` `https://developer.android.com/reference/android/view/View.html#updateDragShadow(android.view.View.DragShadowBuilder)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.DragShadowBuilder.html shadowBuilder)` `boolean` `https://developer.android.com/reference/android/view/View.html#verifyDrawable(android.graphics.drawable.Drawable)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/drawable/Drawable.html who)` `boolean` `https://developer.android.com/reference/android/view/View.html#willNotCacheDrawing()()` `boolean` `https://developer.android.com/reference/android/view/View.html#willNotDraw()()` From [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) `void` `https://developer.android.com/reference/android/view/ViewGroup.html#addChildrenForAccessibility(java.util.ArrayList&lt;android.view.View&gt;)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/ArrayList.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html> outChildren)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#addExtraDataToAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo, java.lang.String, android.os.Bundle)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html info,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html extraDataKey,
https://developer.android.com/reference/android/os/Bundle.html arguments
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#addFocusables(java.util.ArrayList&lt;android.view.View&gt;, int, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/ArrayList.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html> views,
int direction,
int focusableMode
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#addKeyboardNavigationClusters(java.util.Collection&lt;android.view.View&gt;, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Collection.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html> views,
int direction
)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#addStatesFromChildren()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#addTouchables(java.util.ArrayList&lt;android.view.View&gt;)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/ArrayList.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html> views)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#addViewInLayout(android.view.View, int, android.view.ViewGroup.LayoutParams)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
int index,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params
)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#addViewInLayout(android.view.View, int, android.view.ViewGroup.LayoutParams, boolean)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
int index,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params,
boolean preventRequestLayout
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#attachLayoutAnimationParameters(android.view.View, android.view.ViewGroup.LayoutParams, int, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params,
int index,
int count
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#attachViewToParent(android.view.View, int, android.view.ViewGroup.LayoutParams)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
int index,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#bringChildToFront(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#canAnimate()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#checkLayoutParams(android.view.ViewGroup.LayoutParams)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html p)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#childDrawableStateChanged(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#childHasTransientStateChanged(android.view.View, boolean)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
boolean childHasTransientState
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#cleanupLayoutState(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#clearChildFocus(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#clearDisappearingChildren()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#clearFocus()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#debug(int)(int depth)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#detachAllViewsFromParent()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#detachViewFromParent(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#detachViewFromParent(int)(int index)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#detachViewsFromParent(int, int)(int start, int count)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchApplyWindowInsets(android.view.WindowInsets)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html insets)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchCapturedPointerEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchConfigurationChanged(android.content.res.Configuration)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/content/res/Configuration.html newConfig)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchCreateViewTranslationRequest(java.util.Map&lt;android.view.autofill.AutofillId,long[]&gt;, int[], android.view.translation.TranslationCapability, java.util.List&lt;android.view.translation.ViewTranslationRequest&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Map.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/autofill/AutofillId.html, @https://developer.android.com/reference/androidx/annotation/NonNull long[]> viewIds,
@https://developer.android.com/reference/androidx/annotation/NonNull int[] supportedFormats,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/translation/TranslationCapability.html capability,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/translation/ViewTranslationRequest.html> requests
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDisplayHint(int)(int hint)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDragEvent(android.view.DragEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/DragEvent.html event)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDraw(android.graphics.Canvas)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Canvas.html canvas)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchDrawableHotspotChanged(float, float)(float x, float y)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchFinishTemporaryDetach()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchFreezeSelfOnly(android.util.SparseArray&lt;android.os.Parcelable&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Parcelable.html> container
)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchGenericFocusedEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchGenericPointerEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchKeyEventPreIme(android.view.KeyEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchKeyShortcutEvent(android.view.KeyEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/KeyEvent.html event)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchPointerCaptureChanged(boolean)(boolean hasCapture)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchProvideAutofillStructure(android.view.ViewStructure, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewStructure.html structure,
int flags
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchProvideStructure(android.view.ViewStructure)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewStructure.html structure)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchRestoreInstanceState(android.util.SparseArray&lt;android.os.Parcelable&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Parcelable.html> container
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSaveInstanceState(android.util.SparseArray&lt;android.os.Parcelable&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Parcelable.html> container
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchScrollCaptureSearch(android.graphics.Rect, android.graphics.Point, java.util.function.Consumer&lt;android.view.ScrollCaptureTarget&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html localVisibleRect,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Point.html windowOffset,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/function/Consumer.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ScrollCaptureTarget.html> targets
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetActivated(boolean)(boolean activated)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetPressed(boolean)(boolean pressed)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSetSelected(boolean)(boolean selected)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchStartTemporaryDetach()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchSystemUiVisibilityChanged(int)(int visible)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchThawSelfOnly(android.util.SparseArray&lt;android.os.Parcelable&gt;)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/SparseArray.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/os/Parcelable.html> container)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchTouchEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html ev)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchTrackballEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchUnhandledMove(android.view.View, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html focused, int direction)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchVisibilityChanged(android.view.View, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html changedView, int visibility)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowFocusChanged(boolean)(boolean hasFocus)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationEnd(android.view.WindowInsetsAnimation)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsetsAnimation.html animation
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationPrepare(android.view.WindowInsetsAnimation)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsetsAnimation.html animation
)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationProgress(android.view.WindowInsets, java.util.List&lt;android.view.WindowInsetsAnimation&gt;)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsets.html insets,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsetsAnimation.html> runningAnimations
)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsetsAnimation.Bounds.html` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowInsetsAnimationStart(android.view.WindowInsetsAnimation, android.view.WindowInsetsAnimation.Bounds)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsetsAnimation.html animation,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/WindowInsetsAnimation.Bounds.html bounds
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowSystemUiVisiblityChanged(int)(int visible)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#dispatchWindowVisibilityChanged(int)(int visibility)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#drawChild(android.graphics.Canvas, android.view.View, long)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Canvas.html canvas, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child, long drawingTime)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#drawableStateChanged()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#endViewTransition(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html view)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/view/ViewGroup.html#findFocus()()` `https://developer.android.com/reference/android/window/OnBackInvokedDispatcher.html` `https://developer.android.com/reference/android/view/ViewGroup.html#findOnBackInvokedDispatcherForChild(android.view.View, android.view.View)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html requester
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#findViewsWithText(java.util.ArrayList&lt;android.view.View&gt;, java.lang.CharSequence, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/ArrayList.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html> outViews,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html text,
int flags
)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/view/ViewGroup.html#focusSearch(android.view.View, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html focused, int direction)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#focusableViewAvailable(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html v)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#gatherTransparentRegion(android.graphics.Region)(https://developer.android.com/reference/android/graphics/Region.html region)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html` `https://developer.android.com/reference/android/view/ViewGroup.html#generateDefaultLayoutParams()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html` `https://developer.android.com/reference/android/view/ViewGroup.html#generateLayoutParams(android.util.AttributeSet)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/util/AttributeSet.html attrs)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html` `https://developer.android.com/reference/android/view/ViewGroup.html#generateLayoutParams(android.view.ViewGroup.LayoutParams)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html p)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getAccessibilityClassName()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getChildAt(int)(int index)` `int` `https://developer.android.com/reference/android/view/ViewGroup.html#getChildCount()()` `final int` `https://developer.android.com/reference/android/view/ViewGroup.html#getChildDrawingOrder(int)(int drawingPosition)` `int` `https://developer.android.com/reference/android/view/ViewGroup.html#getChildDrawingOrder(int, int)(int childCount, int drawingPosition)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#getChildStaticTransformation(android.view.View, android.view.animation.Transformation)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/Transformation.html t
)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#getChildVisibleRect(android.view.View, android.graphics.Rect, android.graphics.Point)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html r,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Point.html offset
)` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/ViewGroup.html#getClipChildren()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/ViewGroup.html#getClipToPadding()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 131072, to = "FOCUS_BEFORE_DESCENDANTS"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 262144, to = "FOCUS_AFTER_DESCENDANTS"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 393216, to = "FOCUS_BLOCK_DESCENDANTS")])
https://developer.android.com/reference/android/view/ViewGroup.html#getDescendantFocusability()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getFocusedChild()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutAnimation()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutAnimationListener()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "layout", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "RESOLVED_DIRECTION_LTR"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "RESOLVED_DIRECTION_RTL")])
https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutDirection()()` `int` `https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutMode()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/animation/LayoutTransition.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getLayoutTransition()()` `int` `https://developer.android.com/reference/android/view/ViewGroup.html#getNestedScrollAxes()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroupOverlay.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getOverlay()()` `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewParent.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getParent()()` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewParent.html` `https://developer.android.com/reference/android/view/ViewGroup.html#getParentForAccessibility()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "NONE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "ANIMATION"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "SCROLLING"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 3, to = "ALL")])
[getPersistentDrawingCache](https://developer.android.com/reference/android/view/ViewGroup.html#getPersistentDrawingCache())()`

**This method is deprecated.** Deprecated in Java
`int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "text", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "INHERIT"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "GRAVITY"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "TEXT_START"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 3, to = "TEXT_END"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "CENTER"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 5, to = "VIEW_START"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 6, to = "VIEW_END")])
https://developer.android.com/reference/android/view/ViewGroup.html#getTextAlignment()()` `int` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "text", mapping = [@https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 0, to = "INHERIT"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 1, to = "FIRST_STRONG"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 2, to = "ANY_RTL"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 3, to = "LTR"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 4, to = "RTL"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 5, to = "LOCALE"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 6, to = "FIRST_STRONG_LTR"), @https://developer.android.com/reference/android/view/ViewDebug.IntToString.html(from = 7, to = "FIRST_STRONG_RTL")])
https://developer.android.com/reference/android/view/ViewGroup.html#getTextDirection()()` `boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "focus")
https://developer.android.com/reference/android/view/ViewGroup.html#getTouchscreenBlocksFocus()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#hasFocus()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#hasTransientState()()` `int` `https://developer.android.com/reference/android/view/ViewGroup.html#indexOfChild(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `final void` `https://developer.android.com/reference/android/view/ViewGroup.html#invalidateChild(android.view.View, android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html dirty)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewParent.html` `https://developer.android.com/reference/android/view/ViewGroup.html#invalidateChildInParent(int[], android.graphics.Rect)(@https://developer.android.com/reference/androidx/annotation/NonNull int[] location, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html dirty)` `boolean` `[isAlwaysDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isAlwaysDrawnWithCacheEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `[isAnimationCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isAnimationCacheEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `@https://developer.android.com/reference/android/view/ViewDebug.ExportedProperty.html(category = "drawing")
https://developer.android.com/reference/android/view/ViewGroup.html#isChildrenDrawingOrderEnabled()()` `boolean` `[isChildrenDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#isChildrenDrawnWithCacheEnabled())()`

**This method is deprecated.** Deprecated in Java
`boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#isLayoutDirectionResolved()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#isLayoutRequested()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#isLayoutSuppressed()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#isMotionEventSplittingEnabled()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#isTextAlignmentResolved()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#isTextDirectionResolved()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#isTransitionGroup()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#jumpDrawablesToCurrentState()()` `final void` `https://developer.android.com/reference/android/view/ViewGroup.html#layout(int, int, int, int)(int l, int t, int r, int b)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#measureChild(android.view.View, int, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
int parentWidthMeasureSpec,
int parentHeightMeasureSpec
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#measureChildWithMargins(android.view.View, int, int, int, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
int parentWidthMeasureSpec,
int widthUsed,
int parentHeightMeasureSpec,
int heightUsed
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#measureChildren(int, int)(int widthMeasureSpec, int heightMeasureSpec)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#notifySubtreeAccessibilityStateChanged(android.view.View, android.view.View, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html source,
int changeType
)` `final void` `https://developer.android.com/reference/android/view/ViewGroup.html#offsetDescendantRectToMyCoords(android.view.View, android.graphics.Rect)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html descendant,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html rect
)` `final void` `https://developer.android.com/reference/android/view/ViewGroup.html#offsetRectIntoDescendantCoords(android.view.View, android.graphics.Rect)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html descendant,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html rect
)` `@https://developer.android.com/reference/androidx/annotation/NonNull int[]` `https://developer.android.com/reference/android/view/ViewGroup.html#onCreateDrawableState(int)(int extraSpace)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#onDescendantInvalidated(android.view.View, android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onInterceptHoverEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onInterceptTouchEvent(android.view.MotionEvent)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html ev)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onNestedFling(android.view.View, float, float, boolean)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target,
float velocityX,
float velocityY,
boolean consumed
)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onNestedPreFling(android.view.View, float, float)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target, float velocityX, float velocityY)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onNestedPrePerformAccessibilityAction(android.view.View, int, android.os.Bundle)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target,
int action,
https://developer.android.com/reference/android/os/Bundle.html args
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#onNestedPreScroll(android.view.View, int, int, int[])(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target,
int dx,
int dy,
@https://developer.android.com/reference/androidx/annotation/NonNull int[] consumed
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#onNestedScroll(android.view.View, int, int, int, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target,
int dxConsumed,
int dyConsumed,
int dxUnconsumed,
int dyUnconsumed
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#onNestedScrollAccepted(android.view.View, android.view.View, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target, int axes)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onRequestFocusInDescendants(int, android.graphics.Rect)(
int direction,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html previouslyFocusedRect
)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onRequestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event
)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/PointerIcon.html` `https://developer.android.com/reference/android/view/ViewGroup.html#onResolvePointerIcon(android.view.MotionEvent, int)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/MotionEvent.html event, int pointerIndex)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#onStartNestedScroll(android.view.View, android.view.View, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html target,
int nestedScrollAxes
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#onStopNestedScroll(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#onViewAdded(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#onViewRemoved(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#propagateRequestedFrameRate(float, boolean)(float frameRate, boolean forceOverride)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#recomputeViewAttributes(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeAllViews()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeAllViewsInLayout()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeDetachedView(android.view.View, boolean)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child, boolean animate)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeView(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html view)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeViewAt(int)(int index)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeViewInLayout(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html view)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeViews(int, int)(int start, int count)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#removeViewsInLayout(int, int)(int start, int count)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#requestChildFocus(android.view.View, android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html focused)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html rectangle,
boolean immediate
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#requestDisallowInterceptTouchEvent(boolean)(boolean disallowIntercept)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#requestFocus(int, android.graphics.Rect)(int direction, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html previouslyFocusedRect)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#requestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#requestTransparentRegion(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#restoreDefaultFocus()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#scheduleLayoutAnimation()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setAddStatesFromChildren(boolean)(boolean addsStates)` `void` `[setAlwaysDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setAlwaysDrawnWithCacheEnabled(boolean))(boolean always)`

**This method is deprecated.** Deprecated in Java
`void` `[setAnimationCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setAnimationCacheEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawingCacheEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawingOrderEnabled(boolean)(boolean enabled)` `void` `[setChildrenDrawnWithCacheEnabled](https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawnWithCacheEnabled(boolean))(boolean enabled)`

**This method is deprecated.** Deprecated in Java
`void` `https://developer.android.com/reference/android/view/ViewGroup.html#setClipChildren(boolean)(boolean clipChildren)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setClipToPadding(boolean)(boolean clipToPadding)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setDescendantFocusability(int)(int focusability)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutAnimation(android.view.animation.LayoutAnimationController)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html controller)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutAnimationListener(android.view.animation.Animation.AnimationListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html animationListener
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutMode(int)(int layoutMode)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setLayoutTransition(android.animation.LayoutTransition)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/animation/LayoutTransition.html transition)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setMotionEventSplittingEnabled(boolean)(boolean split)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setOnHierarchyChangeListener(android.view.ViewGroup.OnHierarchyChangeListener)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.OnHierarchyChangeListener.html listener
)` `void` `[setPersistentDrawingCache](https://developer.android.com/reference/android/view/ViewGroup.html#setPersistentDrawingCache(int))(int drawingCacheToKeep)`

**This method is deprecated.** Deprecated in Java
`void` `https://developer.android.com/reference/android/view/ViewGroup.html#setRequestedFrameRate(float)(float frameRate)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setStaticTransformationsEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setTouchscreenBlocksFocus(boolean)(boolean touchscreenBlocksFocus)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setTransitionGroup(boolean)(boolean isTransitionGroup)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#setWindowInsetsAnimationCallback(android.view.WindowInsetsAnimation.Callback)(
https://developer.android.com/reference/android/view/WindowInsetsAnimation.Callback.html callback
)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#shouldDelayChildPressedState()()` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#showContextMenuForChild(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html originalView)` `boolean` `https://developer.android.com/reference/android/view/ViewGroup.html#showContextMenuForChild(android.view.View, float, float)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html originalView, float x, float y)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.html` `https://developer.android.com/reference/android/view/ViewGroup.html#startActionModeForChild(android.view.View, android.view.ActionMode.Callback)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html originalView,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.Callback.html callback
)` `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.html` `https://developer.android.com/reference/android/view/ViewGroup.html#startActionModeForChild(android.view.View, android.view.ActionMode.Callback, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html originalView,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ActionMode.Callback.html callback,
int type
)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#startLayoutAnimation()()` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#startViewTransition(android.view.View)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html view)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#suppressLayout(boolean)(boolean suppress)` `void` `https://developer.android.com/reference/android/view/ViewGroup.html#updateViewLayout(android.view.View, android.view.ViewGroup.LayoutParams)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html view,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params
)` From [android.view.ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) `boolean` `https://developer.android.com/reference/android/view/ViewParent.html#requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean, int)(
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/view/View.html child,
@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Rect.html rectangle,
boolean immediate,
int source
)`

## Constants

### GESTURE_STATE_IDLE

```
public static final int GESTURE_STATE_IDLE = 0
```

The PdfView is not currently being affected by an outside input, e.g. user touch

### GESTURE_STATE_INTERACTING

```
public static final int GESTURE_STATE_INTERACTING = 1
```

The PdfView is currently being affected by an outside input, e.g. user touch

### GESTURE_STATE_SETTLING

```
public static final int GESTURE_STATE_SETTLING = 2
```

The PdfView is currently animating to a final position while not under outside control, e.g. settling on a final position following a fling gesture.

### VERTICAL_ALIGNMENT_CENTER

```
public static final int VERTICAL_ALIGNMENT_CENTER = 1
```

Vertically aligns the page to the center of the PdfView.

This alignment is used when the page is scaled to fit the view's width, and the resulting page height is less than the view's height. The top of the page will be positioned at the center of the `https://developer.android.com/reference/androidx/pdf/view/PdfView`. If the scaled page height is greater than the height of `https://developer.android.com/reference/androidx/pdf/view/PdfView`, the top of the first page is always at the top of the view by default, and this alignment will have no effect.

### VERTICAL_ALIGNMENT_TOP

```
public static final int VERTICAL_ALIGNMENT_TOP = 0
```

Vertically aligns the page to the top of the PdfView.

This alignment is used when the page is scaled to fit the view's width, and the resulting page height is less than the view's height. The top of the page will be positioned at the top of the `https://developer.android.com/reference/androidx/pdf/view/PdfView`. If the scaled page height is greater than the height of `https://developer.android.com/reference/androidx/pdf/view/PdfView`, the top of the first page is always at the top of the view by default, and this alignment will have no effect.

## Public constructors

### PdfView

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public PdfView(@NonNull Context context, AttributeSet attrs, int defStyle)
```

## Public methods

### addOnFirstContentLoadListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void addOnFirstContentLoadListener(
    @NonNull PdfView.OnFirstContentLoadListener listener
)
```

Adds the specified listener to the list of listeners that will be notified on first content load.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFirstContentLoadListener listener` | The listener to add. |

### addOnFormWidgetInfoUpdatedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void addOnFormWidgetInfoUpdatedListener(
    @NonNull PdfView.OnFormWidgetInfoUpdatedListener listener
)
```

Adds the specified listener to the list of listeners that is notified when any form widget is updated due to an edit action on a widget e.g. click on a radio button.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFormWidgetInfoUpdatedListener listener` | The listener to add |

### addOnGestureStateChangedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void addOnGestureStateChangedListener(
    @NonNull PdfView.OnGestureStateChangedListener listener
)
```

Adds the specified listener to the list of listeners that will be notified of changes in state with respect to this PdfView being affected by an external input, e.g. user touch.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnGestureStateChangedListener listener` | listener to notify when interaction state change events occur |

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeOnGestureStateChangedListener(androidx.pdf.view.PdfView.OnGestureStateChangedListener)` |   |

### addOnSelectionChangedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void addOnSelectionChangedListener(
    @NonNull PdfView.OnSelectionChangedListener listener
)
```

Adds the specified listener to the list of listeners that will be notified of selection change events.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnSelectionChangedListener listener` | listener to notify when selection change events occur |

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeOnSelectionChangedListener(androidx.pdf.view.PdfView.OnSelectionChangedListener)` |   |

### addOnViewportChangedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void addOnViewportChangedListener(
    @NonNull PdfView.OnViewportChangedListener listener
)
```

Adds the specified listener to the list of listeners that will be notified of viewport change events.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnViewportChangedListener listener` | listener to add |

### addSelectionMenuItemPreparer

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void addSelectionMenuItemPreparer(
    @NonNull PdfView.SelectionMenuItemPreparer selectionMenuItemPreparer
)
```

Adds the specified listener to the chain of `https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer`. The listener will be invoked in the order they've been added.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer selectionMenuItemPreparer` | : The `https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer` to add to the chain. |

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/pdf/view/PdfView#removeSelectionMenuItemPreparer(androidx.pdf.view.PdfView.SelectionMenuItemPreparer)` |   |

### addView

```
public void addView(View child)
```

### addView

```
public void addView(View child, int index)
```

### addView

```
public void addView(View child, ViewGroup.LayoutParams params)
```

### addView

```
public void addView(View child, int index, ViewGroup.LayoutParams params)
```

### addView

```
public void addView(View child, int width, int height)
```

### autofill

```
public void autofill(@NonNull SparseArray<@NonNull AutofillValue> values)
```

### clearCurrentSelection

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void clearCurrentSelection()
```

Clears the current selection, if one exists. No-op if there is no current `https://developer.android.com/reference/androidx/pdf/selection/Selection`

### computeScroll

```
public void computeScroll()
```

### dispatchKeyEvent

```
public boolean dispatchKeyEvent(KeyEvent event)
```

Prioritizes standard keyboard shortcuts over accessibility-specific handling of certain keys. This ensures a consistent experience for all users, where shortcuts like D-pad scrolling work irrespective of whether accessibility is enabled or not, as both `https://developer.android.com/reference/androidx/pdf/view/PdfView#externalInputManager()` and `https://developer.android.com/reference/androidx/pdf/view/PdfView#pdfViewAccessibilityManager()` are capable of handling certain key events.

### getCurrentSelection

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final Selection getCurrentSelection()
```

The currently selected PDF content, as `https://developer.android.com/reference/androidx/pdf/selection/Selection`, or 'null' if no content is currently selected.

### getFastScrollPageIndicatorBackgroundDrawable

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final @NonNull Drawable getFastScrollPageIndicatorBackgroundDrawable()
```

### getFastScrollPageIndicatorMarginEnd

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getFastScrollPageIndicatorMarginEnd()
```

### getFastScrollVerticalThumbDrawable

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final @NonNull Drawable getFastScrollVerticalThumbDrawable()
```

### getFastScrollVerticalThumbMarginEnd

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getFastScrollVerticalThumbMarginEnd()
```

### getFirstVisiblePage

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getFirstVisiblePage()
```

The first page in the viewport, including partially-visible pages. 0-indexed.

### getGestureState

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getGestureState()
```

The current state of the PDF view with respect to external inputs, e.g. user touch. Returns one of `https://developer.android.com/reference/androidx/pdf/view/PdfView#GESTURE_STATE_IDLE()`, `https://developer.android.com/reference/androidx/pdf/view/PdfView#GESTURE_STATE_INTERACTING()`, or `https://developer.android.com/reference/androidx/pdf/view/PdfView#GESTURE_STATE_SETTLING()`

### getHorizontalPageSpacing

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getHorizontalPageSpacing()
```

The spacing between two horizontally adjacent pages in pixels.

Note: This value is only relevant when `https://developer.android.com/reference/androidx/pdf/view/PdfView#pagesPerRow()` is set to 2.

### getMaxZoom

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final @FloatRange(from = 0.5, to = 25.0) float getMaxZoom()
```

The maximum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. This value is a multiplier relative to the content's natural size, where '1.0' represents 100% (1x) zoom (similarly '2.5' represents 250% (2.5x) zoom).

The value is automatically clamped to stay within the defined range.

### getMinZoom

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final @FloatRange(from = 0.5, to = 25.0) float getMinZoom()
```

The minimum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. This value is a multiplier relative to the content's natural size, where '1.0' represents 100% (1x) zoom (similarly '0.5' represents 50% (0.5x) zoom).

The value is automatically clamped to stay within the defined range.

### getPagesPerRow

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getPagesPerRow()
```

The number of pages displayed side-by-side in a single row.

This property controls the layout mode and can be set to either 1 or 2.

- 1: Displays one page per row (standard display).

- 2: Displays two pages per row (like an open book).

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if the value is not either 1 or 2. |

### getPdfDocument

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final PdfDocument getPdfDocument()
```

Supply a `https://developer.android.com/reference/androidx/pdf/PdfDocument` to process the PDF content for rendering

### getVerticalAlignment

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getVerticalAlignment()
```

Controls the vertical alignment of a page within the `https://developer.android.com/reference/androidx/pdf/view/PdfView`.

This attribute aligns a page within the view when the page's height is smaller than the view's height. In this state, scrolling and panning are disabled as the entire page is visible. However, zooming in will re-enable scrolling and panning, aligning page to the top.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/pdf/view/PdfView.VerticalAlignment` |   |

### getVerticalPageSpacing

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getVerticalPageSpacing()
```

The spacing between vertically adjacent pages in pixels.

### getVisiblePagesCount

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final int getVisiblePagesCount()
```

The number of pages visible in the viewport, including partially visible pages

### getZoom

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final float getZoom()
```

The zoom level of this view, as a factor of the content's natural size with when 1 pixel is equal to 1 PDF point. Will always be clamped within (`https://developer.android.com/reference/androidx/pdf/view/PdfView#minZoom()`, `https://developer.android.com/reference/androidx/pdf/view/PdfView#maxZoom()`)

### isFormFillingEnabled

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final boolean isFormFillingEnabled()
```

Enables / Disables the form-filling feature surface.

### isImageSelectionEnabled

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
@RequiresExtension(extension = 31, version = 19)
public final boolean isImageSelectionEnabled()
```

Enable or disable the image-selection feature surface.

**Important:** Enabling this feature (setting to `true`) requires the device to run Android S+ (API Level 31 or above) with SDK Extension version 19 or higher. This requirement is due to dependencies on platform APIs introduced in that sdk-extension.

### onGenericMotionEvent

```
public boolean onGenericMotionEvent(MotionEvent event)
```

### onProvideAutofillVirtualStructure

```
public void onProvideAutofillVirtualStructure(ViewStructure structure, int flags)
```

### onTouchEvent

```
public boolean onTouchEvent(MotionEvent event)
```

### pdfToViewPoint

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final PointF pdfToViewPoint(@NonNull PdfPoint pdfPoint)
```

Returns the View coordinate location of `https://developer.android.com/reference/androidx/pdf/view/PdfView#pdfToViewPoint(androidx.pdf.PdfPoint)`, or null if that PDF content has not been laid out yet.

### removeOnFirstContentLoadListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void removeOnFirstContentLoadListener(
    @NonNull PdfView.OnFirstContentLoadListener listener
)
```

Removes the specified listener from the list of listeners that will be notified on first content load.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFirstContentLoadListener listener` | The listener to remove. |

### removeOnFormWidgetInfoUpdatedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void removeOnFormWidgetInfoUpdatedListener(
    @NonNull PdfView.OnFormWidgetInfoUpdatedListener listener
)
```

Removes the specified listener from the list of listeners that is notified when any form widget is updated due to an edit action on the widget e.g. click on a radio button.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnFormWidgetInfoUpdatedListener listener` | The listener to remove |

### removeOnGestureStateChangedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void removeOnGestureStateChangedListener(
    @NonNull PdfView.OnGestureStateChangedListener listener
)
```

Removes the specified listener from the list of listeners that will be notified of changes in state with respect to this PdfView being affected by an external input, e.g. user touch.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnGestureStateChangedListener listener` | listener to remove |

### removeOnSelectionChangedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void removeOnSelectionChangedListener(
    @NonNull PdfView.OnSelectionChangedListener listener
)
```

Removes the specified listener from the list of listeners that will be notified of selection change events.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnSelectionChangedListener listener` | listener to remove |

### removeOnViewportChangedListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void removeOnViewportChangedListener(
    @NonNull PdfView.OnViewportChangedListener listener
)
```

Removes the specified listener from the list of listeners that will be notified of viewport change events.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.OnViewportChangedListener listener` | listener to remove |

### removeSelectionMenuItemPreparer

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void removeSelectionMenuItemPreparer(
    @NonNull PdfView.SelectionMenuItemPreparer selectionMenuItemPreparer
)
```

Removes the specified listener from the chain of `https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer`.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer selectionMenuItemPreparer` | : The `https://developer.android.com/reference/androidx/pdf/view/PdfView.SelectionMenuItemPreparer` to remove from the chain. |

### scrollBy

```
public void scrollBy(int x, int y)
```

### scrollTo

```
public void scrollTo(int x, int y)
```

### scrollToPage

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void scrollToPage(int pageNum)
```

Scrolls to the 0-indexed `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPage(kotlin.Int)`, optionally animating the scroll

This View cannot scroll to a page until it knows its dimensions. If `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPage(kotlin.Int)` is distant from the currently-visible page in a large PDF, there may be some delay while dimensions are being loaded from the PDF.

### scrollToPosition

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void scrollToPosition(@NonNull PdfPoint position)
```

Scrolls to `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPosition(androidx.pdf.PdfPoint)`, aligns vertically to center, optionally animating the scroll

This View cannot scroll to a page until it knows its dimensions. If `https://developer.android.com/reference/androidx/pdf/view/PdfView#scrollToPosition(androidx.pdf.PdfPoint)` is distant from the currently-visible page in a large PDF, there may be some delay while dimensions are being loaded from the PDF.

### setFastScrollPageIndicatorBackgroundDrawable

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setFastScrollPageIndicatorBackgroundDrawable(@NonNull Drawable value)
```

### setFastScrollPageIndicatorMarginEnd

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setFastScrollPageIndicatorMarginEnd(int value)
```

### setFastScrollVerticalThumbDrawable

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setFastScrollVerticalThumbDrawable(@NonNull Drawable value)
```

### setFastScrollVerticalThumbMarginEnd

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setFastScrollVerticalThumbMarginEnd(int value)
```

### setFormFillingEnabled

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setFormFillingEnabled(boolean value)
```

Enables / Disables the form-filling feature surface.

### setHighlights

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setHighlights(@NonNull List<@NonNull Highlight> highlights)
```

Applies a set of `https://developer.android.com/reference/androidx/pdf/Highlight` to be drawn over this PDF. Each `https://developer.android.com/reference/androidx/pdf/Highlight` may be a different color. This overrides any previous highlights, there is no merging of new and previous values. `https://developer.android.com/reference/androidx/pdf/view/PdfView#setHighlights(kotlin.collections.List)` are defensively copied and the list or its contents may be modified after providing it here.

### setHorizontalPageSpacing

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setHorizontalPageSpacing(int value)
```

The spacing between two horizontally adjacent pages in pixels.

Note: This value is only relevant when `https://developer.android.com/reference/androidx/pdf/view/PdfView#pagesPerRow()` is set to 2.

### setImageSelectionEnabled

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
@RequiresExtension(extension = 31, version = 19)
public final void setImageSelectionEnabled(boolean value)
```

Enable or disable the image-selection feature surface.

**Important:** Enabling this feature (setting to `true`) requires the device to run Android S+ (API Level 31 or above) with SDK Extension version 19 or higher. This requirement is due to dependencies on platform APIs introduced in that sdk-extension.

### setLinkClickListener

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setLinkClickListener(PdfView.LinkClickListener listener)
```

Registers `https://developer.android.com/reference/androidx/pdf/view/PdfView#setLinkClickListener(androidx.pdf.view.PdfView.LinkClickListener)` as the callback to be invoked when an external link in the PDF is clicked. Supply `null` to clear any current listener.

### setMaxZoom

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setMaxZoom(@FloatRange(from = 0.5, to = 25.0) float value)
```

The maximum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. This value is a multiplier relative to the content's natural size, where '1.0' represents 100% (1x) zoom (similarly '2.5' represents 250% (2.5x) zoom).

The value is automatically clamped to stay within the defined range.

### setMinZoom

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setMinZoom(@FloatRange(from = 0.5, to = 25.0) float value)
```

The minimum scaling factor that can be applied to this View using the `https://developer.android.com/reference/androidx/pdf/view/PdfView#zoom()` property. This value is a multiplier relative to the content's natural size, where '1.0' represents 100% (1x) zoom (similarly '0.5' represents 50% (0.5x) zoom).

The value is automatically clamped to stay within the defined range.

### setOcrProvider

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
@ExperimentalPdfApi
public final void setOcrProvider(OcrProvider ocrProvider)
```

Sets the `https://developer.android.com/reference/androidx/pdf/ocr/OcrProvider` used for recognizing text in image-based PDF content.

When set, it enables text selection within images by delegating OCR (Optical Character Recognition) processing to the provided engine.

The caller retains ownership of the `https://developer.android.com/reference/androidx/pdf/ocr/OcrProvider` and is responsible for calling `https://developer.android.com/reference/androidx/pdf/ocr/OcrProvider#close()` when it is no longer needed.

| Parameters |
|---|---|
| `https://developer.android.com/reference/androidx/pdf/ocr/OcrProvider ocrProvider` | the `https://developer.android.com/reference/androidx/pdf/ocr/OcrProvider` to use for text recognition |

### setPagesPerRow

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setPagesPerRow(int value)
```

The number of pages displayed side-by-side in a single row.

This property controls the layout mode and can be set to either 1 or 2.

- 1: Displays one page per row (standard display).

- 2: Displays two pages per row (like an open book).

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if the value is not either 1 or 2. |

### setPdfDocument

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setPdfDocument(PdfDocument value)
```

Supply a `https://developer.android.com/reference/androidx/pdf/PdfDocument` to process the PDF content for rendering

### setVerticalAlignment

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setVerticalAlignment(int value)
```

Controls the vertical alignment of a page within the `https://developer.android.com/reference/androidx/pdf/view/PdfView`.

This attribute aligns a page within the view when the page's height is smaller than the view's height. In this state, scrolling and panning are disabled as the entire page is visible. However, zooming in will re-enable scrolling and panning, aligning page to the top.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/pdf/view/PdfView.VerticalAlignment` |   |

### setVerticalPageSpacing

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setVerticalPageSpacing(int value)
```

The spacing between vertically adjacent pages in pixels.

### setZoom

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final void setZoom(float value)
```

The zoom level of this view, as a factor of the content's natural size with when 1 pixel is equal to 1 PDF point. Will always be clamped within (`https://developer.android.com/reference/androidx/pdf/view/PdfView#minZoom()`, `https://developer.android.com/reference/androidx/pdf/view/PdfView#maxZoom()`)

### viewToPdfPoint

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final PdfPoint viewToPdfPoint(@NonNull PointF viewPoint)
```

Returns the `https://developer.android.com/reference/androidx/pdf/PdfPoint` corresponding to `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(android.graphics.PointF)` in View coordinates, or null if no PDF content has been laid out at `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(android.graphics.PointF)`

### viewToPdfPoint

Added in [1.0.0-beta01](https://developer.android.com/jetpack/androidx/releases/pdf#1.0.0-beta01)

```
public final PdfPoint viewToPdfPoint(float x, float y)
```

Returns the `https://developer.android.com/reference/androidx/pdf/PdfPoint` corresponding to (`https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(kotlin.Float,kotlin.Float)`, `https://developer.android.com/reference/androidx/pdf/view/PdfView#viewToPdfPoint(kotlin.Float,kotlin.Float)`)in View coordinates, or null if no PDF content has been laid out at that point.

## Protected methods

### computeHorizontalScrollRange

```
protected int computeHorizontalScrollRange()
```

### computeVerticalScrollRange

```
protected int computeVerticalScrollRange()
```

### dispatchHoverEvent

```
protected boolean dispatchHoverEvent(MotionEvent event)
```

### onAttachedToWindow

```
protected void onAttachedToWindow()
```

### onConfigurationChanged

```
protected void onConfigurationChanged(Configuration newConfig)
```

### onDetachedFromWindow

```
protected void onDetachedFromWindow()
```

### onDraw

```
protected void onDraw(@NonNull Canvas canvas)
```

### onFocusChanged

```
protected void onFocusChanged(
    boolean gainFocus,
    int direction,
    Rect previouslyFocusedRect
)
```

### onLayout

```
protected void onLayout(boolean changed, int left, int top, int right, int bottom)
```

### onRestoreInstanceState

```
protected void onRestoreInstanceState(Parcelable state)
```

### onSaveInstanceState

```
protected Parcelable onSaveInstanceState()
```

### onScrollChanged

```
protected void onScrollChanged(int l, int t, int oldl, int oldt)
```

### onSizeChanged

```
protected void onSizeChanged(int w, int h, int oldw, int oldh)
```

### onWindowVisibilityChanged

```
protected void onWindowVisibilityChanged(int visibility)
```