SandboxedSdkView


public final class SandboxedSdkView extends ViewGroup


Summary

Public constructors

This method is deprecated. This library is no longer supported.

Public methods

void
addView(View view, int index, ViewGroup.LayoutParams params)
boolean
void
onVisibilityAggregated(boolean isVisible)
final void
orderProviderUiAboveClientUi(boolean providerUiOnTop)

Sets the Z-ordering of the SandboxedSdkView's surface, relative to its window.

final void
preserveSessionOnWindowDetachment(
    boolean preserveSessionOnWindowDetachment
)

Modifies the behaviour of closing the session on window detachment.

void
void
void
void
removeViewAt(int index)
void
void
removeViews(int start, int count)
void
removeViewsInLayout(int start, int count)
final void
setAdapter(SandboxedUiAdapter sandboxedUiAdapter)

Sets SandboxedUiAdapter to the SandboxedSdkView and tries to establish the session.

void
setAlpha(float alpha)
final void

Sets an event listener to the SandboxedSdkView and starts reporting the new events.

void
setTransitionGroup(boolean isTransitionGroup)

Protected methods

void
void
void
void
onLayout(boolean changed, int left, int top, int right, int bottom)
void
onMeasure(int widthMeasureSpec, int heightMeasureSpec)
void
onWindowVisibilityChanged(int visibility)

Inherited methods

From android.view.View
void
addFocusables(@NonNull ArrayList<@NonNull View> views, int direction)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull ViewPropertyAnimator

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
awakenScrollBars(int startDelay)

This method is deprecated. This library is no longer supported.

boolean
awakenScrollBars(int startDelay, boolean invalidate)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void
buildDrawingCache(boolean autoScale)

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
canScrollHorizontally(int direction)

This method is deprecated. This library is no longer supported.

boolean
canScrollVertically(int direction)

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull WindowInsets
computeSystemWindowInsets(
    @NonNull WindowInsets in,
    @NonNull Rect outLocalInsets
)

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull AccessibilityNodeInfo

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

boolean

This method is deprecated. This library is no longer supported.

boolean
dispatchNestedFling(float velocityX, float velocityY, boolean consumed)

This method is deprecated. This library is no longer supported.

boolean
dispatchNestedPreFling(float velocityX, float velocityY)

This method is deprecated. This library is no longer supported.

boolean
dispatchNestedPrePerformAccessibilityAction(
    int action,
    @Nullable Bundle arguments
)

This method is deprecated. This library is no longer supported.

boolean
dispatchNestedPreScroll(
    int dx,
    int dy,
    @Nullable int[] consumed,
    @Nullable int[] offsetInWindow
)

This method is deprecated. This library is no longer supported.

boolean
dispatchNestedScroll(
    int dxConsumed,
    int dyConsumed,
    int dxUnconsumed,
    int dyUnconsumed,
    @Nullable int[] offsetInWindow
)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void
draw(@NonNull Canvas canvas)

This method is deprecated. This library is no longer supported.

void
drawableHotspotChanged(float x, float y)

This method is deprecated. This library is no longer supported.

final @Nullable OnBackInvokedDispatcher

This method is deprecated. This library is no longer supported.

final @NonNull T
<T extends View> findViewById(int id)

This method is deprecated. This library is no longer supported.

final @NonNull T
<T extends View> findViewWithTag(@NonNull Object tag)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated.

@NonNull View
focusSearch(int direction)

This method is deprecated. This library is no longer supported.

void
forceHasOverlappingRendering(boolean hasOverlappingRendering)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
generateDisplayHash(
    @NonNull String hashAlgorithm,
    @Nullable Rect bounds,
    @NonNull Executor executor,
    @NonNull DisplayHashResultCallback callback
)

This method is deprecated. This library is no longer supported.

@NonNull View.AccessibilityDelegate

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull AccessibilityNodeProvider

This method is deprecated. This library is no longer supported.

@Nullable CharSequence

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable String

This method is deprecated. This library is no longer supported.

@Nullable String

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getAlpha()

This method is deprecated. This library is no longer supported.

@NonNull Animation

This method is deprecated. This library is no longer supported.

@Nullable Matrix

This method is deprecated. This library is no longer supported.

@NonNull IBinder

This method is deprecated. This library is no longer supported.

@NonNull int[]

This method is deprecated. This library is no longer supported.

@NonNull Map<@NonNull Integer, @NonNull Integer>

This method is deprecated. This library is no longer supported.

@Nullable String[]

This method is deprecated. This library is no longer supported.

final @NonNull AutofillId

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable AutofillValue

This method is deprecated. This library is no longer supported.

@NonNull Drawable

This method is deprecated. This library is no longer supported.

@Nullable BlendMode

This method is deprecated. This library is no longer supported.

@Nullable ColorStateList

This method is deprecated. This library is no longer supported.

@Nullable PorterDuff.Mode

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "layout")
getBaseline()

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

@NonNull Rect

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

final @Nullable ContentCaptureSession

This method is deprecated. This library is no longer supported.

@NonNull CharSequence
@ViewDebug.ExportedProperty(category = "accessibility")
getContentDescription()

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

final @NonNull Context

This method is deprecated. This library is no longer supported.

@NonNull ContextMenu.ContextMenuInfo

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

@NonNull Display

This method is deprecated. This library is no longer supported.

final @NonNull int[]

This method is deprecated. This library is no longer supported.

@NonNull Bitmap

This method is deprecated.

@NonNull Bitmap
getDrawingCache(boolean autoScale)

This method is deprecated.

int

This method is deprecated.

int

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

long

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getElevation()

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(mapping = [@ViewDebug.IntToString(from = 0, to = "NOT_FOCUSABLE"), @ViewDebug.IntToString(from = 1, to = "FOCUSABLE"), @ViewDebug.IntToString(from = 16, to = "FOCUSABLE_AUTO")], category = "focus")
getFocusable()

This method is deprecated. This library is no longer supported.

@NonNull ArrayList<@NonNull View>
getFocusables(int direction)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull Drawable

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable BlendMode

This method is deprecated. This library is no longer supported.

@Nullable ColorStateList

This method is deprecated. This library is no longer supported.

@Nullable PorterDuff.Mode

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

@NonNull Handler

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable Runnable

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

final int
@ViewDebug.ExportedProperty(category = "layout")
getHeight()

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable Drawable

This method is deprecated. This library is no longer supported.

@Nullable Drawable

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "accessibility", mapping = [@ViewDebug.IntToString(from = 0, to = "auto"), @ViewDebug.IntToString(from = 1, to = "yes"), @ViewDebug.IntToString(from = 2, to = "no"), @ViewDebug.IntToString(from = 4, to = "noHideDescendants")])
getImportantForAccessibility()

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(mapping = [@ViewDebug.IntToString(from = 0, to = "auto"), @ViewDebug.IntToString(from = 1, to = "yes"), @ViewDebug.IntToString(from = 2, to = "no"), @ViewDebug.IntToString(from = 4, to = "yesExcludeDescendants"), @ViewDebug.IntToString(from = 8, to = "noExcludeDescendants")])
getImportantForAutofill()

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(mapping = [@ViewDebug.IntToString(from = 0, to = "auto"), @ViewDebug.IntToString(from = 1, to = "yes"), @ViewDebug.IntToString(from = 2, to = "no"), @ViewDebug.IntToString(from = 4, to = "yesExcludeDescendants"), @ViewDebug.IntToString(from = 8, to = "noExcludeDescendants")])
getImportantForContentCapture()

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

@NonNull KeyEvent.DispatcherState

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "accessibility")
getLabelFor()

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "drawing", mapping = [@ViewDebug.IntToString(from = 0, to = "NONE"), @ViewDebug.IntToString(from = 1, to = "SOFTWARE"), @ViewDebug.IntToString(from = 2, to = "HARDWARE")])
getLayerType()

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "layout", mapping = [@ViewDebug.IntToString(from = 0, to = "RESOLVED_DIRECTION_LTR"), @ViewDebug.IntToString(from = 1, to = "RESOLVED_DIRECTION_RTL")])
getLayoutDirection()

This method is deprecated. This library is no longer supported.

@NonNull ViewGroup.LayoutParams
@ViewDebug.ExportedProperty(deepExport = true, prefix = "layout_")
getLayoutParams()

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

void
getLocationInSurface(@NonNull int[] location)

This method is deprecated. This library is no longer supported.

void
getLocationInWindow(@NonNull int[] outLocation)

This method is deprecated. This library is no longer supported.

void
getLocationOnScreen(@NonNull int[] outLocation)

This method is deprecated. This library is no longer supported.

@NonNull Matrix

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

final int
@ViewDebug.ExportedProperty(category = "measurement", flagMapping = [@ViewDebug.FlagToString(mask = -16777216, equals = 16777216, name = "MEASURED_STATE_TOO_SMALL")])
getMeasuredHeightAndState()

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

final int
@ViewDebug.ExportedProperty(category = "measurement", flagMapping = [@ViewDebug.FlagToString(mask = -16777216, equals = 16777216, name = "MEASURED_STATE_TOO_SMALL")])
getMeasuredWidthAndState()

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull View.OnFocusChangeListener

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull ViewOutlineProvider

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

final @NonNull ViewParent

This method is deprecated. This library is no longer supported.

@NonNull ViewParent

This method is deprecated. This library is no longer supported.

final @Nullable OutcomeReceiver<@NonNull GetCredentialResponse, @NonNull GetCredentialException>

This method is deprecated. This library is no longer supported.

final @Nullable GetCredentialRequest

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getPivotX()

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getPivotY()

This method is deprecated. This library is no longer supported.

@NonNull PointerIcon

This method is deprecated. This library is no longer supported.

final @NonNull List<@NonNull Rect>

This method is deprecated. This library is no longer supported.

@Nullable String[]

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

@NonNull Resources

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable AttachedSurfaceControl

This method is deprecated. This library is no longer supported.

@NonNull View

This method is deprecated. This library is no longer supported.

@NonNull WindowInsets

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getRotation()

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getRotationX()

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getRotationY()

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getScaleX()

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getScaleY()

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(mapping = [@ViewDebug.IntToString(from = 0, to = "INSIDE_OVERLAY"), @ViewDebug.IntToString(from = 16777216, to = "INSIDE_INSET"), @ViewDebug.IntToString(from = 33554432, to = "OUTSIDE_OVERLAY"), @ViewDebug.IntToString(from = 50331648, to = "OUTSIDE_INSET")])
getScrollBarStyle()

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "drawing")
getSolidColor()

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

final @Nullable CharSequence
@ViewDebug.ExportedProperty(category = "accessibility")
getStateDescription()

This method is deprecated. This library is no longer supported.

@NonNull StateListAnimator

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable CharSequence

This method is deprecated. This library is no longer supported.

@NonNull List<@NonNull Rect>

This method is deprecated. This library is no longer supported.

int

This method is deprecated.

@NonNull Object

This method is deprecated. This library is no longer supported.

@NonNull Object
getTag(int key)

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "text", mapping = [@ViewDebug.IntToString(from = 0, to = "INHERIT"), @ViewDebug.IntToString(from = 1, to = "GRAVITY"), @ViewDebug.IntToString(from = 2, to = "TEXT_START"), @ViewDebug.IntToString(from = 3, to = "TEXT_END"), @ViewDebug.IntToString(from = 4, to = "CENTER"), @ViewDebug.IntToString(from = 5, to = "VIEW_START"), @ViewDebug.IntToString(from = 6, to = "VIEW_END")])
getTextAlignment()

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "text", mapping = [@ViewDebug.IntToString(from = 0, to = "INHERIT"), @ViewDebug.IntToString(from = 1, to = "FIRST_STRONG"), @ViewDebug.IntToString(from = 2, to = "ANY_RTL"), @ViewDebug.IntToString(from = 3, to = "LTR"), @ViewDebug.IntToString(from = 4, to = "RTL"), @ViewDebug.IntToString(from = 5, to = "LOCALE"), @ViewDebug.IntToString(from = 6, to = "FIRST_STRONG_LTR"), @ViewDebug.IntToString(from = 7, to = "FIRST_STRONG_RTL")])
getTextDirection()

This method is deprecated. This library is no longer supported.

@Nullable CharSequence

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull TouchDelegate

This method is deprecated. This library is no longer supported.

@NonNull ArrayList<@NonNull View>

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

@NonNull String

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

float

This method is deprecated. This library is no longer supported.

long

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable Drawable

This method is deprecated. This library is no longer supported.

@Nullable Drawable

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@Nullable ViewTranslationResponse

This method is deprecated. This library is no longer supported.

@NonNull ViewTreeObserver

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(mapping = [@ViewDebug.IntToString(from = 0, to = "VISIBLE"), @ViewDebug.IntToString(from = 4, to = "INVISIBLE"), @ViewDebug.IntToString(from = 8, to = "GONE")])
getVisibility()

This method is deprecated. This library is no longer supported.

final int
@ViewDebug.ExportedProperty(category = "layout")
getWidth()

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull WindowId

This method is deprecated. This library is no longer supported.

@Nullable WindowInsetsController

This method is deprecated. This library is no longer supported.

int

This method is deprecated.

@NonNull IBinder

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getX()

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getY()

This method is deprecated. This library is no longer supported.

float
@ViewDebug.ExportedProperty(category = "drawing")
getZ()

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void
invalidate(int l, int t, int r, int b)

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean
@ViewDebug.ExportedProperty(category = "focus")
isFocusable()

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean
@ViewDebug.ExportedProperty(category = "focus")
isFocused()

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
@ViewDebug.ExportedProperty(category = "drawing")
isOpaque()

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

@NonNull View
keyboardNavigationClusterSearch(
    @NonNull View currentCluster,
    int direction
)

This method is deprecated. This library is no longer supported.

final void
measure(int widthMeasureSpec, int heightMeasureSpec)

This method is deprecated. This library is no longer supported.

void
offsetLeftAndRight(int offset)

This method is deprecated. This library is no longer supported.

void
offsetTopAndBottom(int offset)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull WindowInsets

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull InputConnection

This method is deprecated. This library is no longer supported.

void
onCreateViewTranslationRequest(
    @NonNull int[] supportedFormats,
    @NonNull Consumer<@NonNull ViewTranslationRequest> requestsCollector
)

This method is deprecated. This library is no longer supported.

void
onCreateVirtualViewTranslationRequests(
    @NonNull long[] virtualIds,
    @NonNull int[] supportedFormats,
    @NonNull Consumer<@NonNull ViewTranslationRequest> requestsCollector
)

This method is deprecated. This library is no longer supported.

void
onDisplayHint(int hint)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
onFocusChanged(
    boolean gainFocus,
    int direction,
    @Nullable Rect previouslyFocusedRect
)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void
onHoverChanged(boolean hovered)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean
onKeyDown(int keyCode, @NonNull KeyEvent event)

This method is deprecated. This library is no longer supported.

boolean
onKeyLongPress(int keyCode, @NonNull KeyEvent event)

This method is deprecated. This library is no longer supported.

boolean
onKeyMultiple(int keyCode, int repeatCount, @NonNull KeyEvent event)

This method is deprecated. This library is no longer supported.

boolean
onKeyPreIme(int keyCode, @NonNull KeyEvent event)

This method is deprecated. This library is no longer supported.

boolean
onKeyShortcut(int keyCode, @NonNull KeyEvent event)

This method is deprecated. This library is no longer supported.

boolean
onKeyUp(int keyCode, @NonNull KeyEvent event)

This method is deprecated. This library is no longer supported.

void
onOverScrolled(
    int scrollX,
    int scrollY,
    boolean clampedX,
    boolean clampedY
)

This method is deprecated. This library is no longer supported.

void
onPointerCaptureChange(boolean hasCapture)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
onProvideAutofillVirtualStructure(
    @NonNull ViewStructure structure,
    int flags
)

This method is deprecated. This library is no longer supported.

void
onProvideContentCaptureStructure(
    @NonNull ViewStructure structure,
    int flags
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@Nullable ContentInfo

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
onRtlPropertiesChanged(int layoutDirection)

This method is deprecated. This library is no longer supported.

@Nullable Parcelable

This method is deprecated. This library is no longer supported.

void
onScreenStateChanged(int screenState)

This method is deprecated. This library is no longer supported.

void
onScrollCaptureSearch(
    @NonNull Rect localVisibleRect,
    @NonNull Point windowOffset,
    @NonNull Consumer<@NonNull ScrollCaptureTarget> targets
)

This method is deprecated. This library is no longer supported.

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

This method is deprecated. This library is no longer supported.

boolean
onSetAlpha(int alpha)

This method is deprecated. This library is no longer supported.

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

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
onVisibilityChanged(@NonNull View changedView, int visibility)

This method is deprecated. This library is no longer supported.

void
onWindowFocusChanged(boolean hasWindowFocus)

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

boolean
overScrollBy(
    int deltaX,
    int deltaY,
    int scrollX,
    int scrollY,
    int scrollRangeX,
    int scrollRangeY,
    int maxOverScrollX,
    int maxOverScrollY,
    boolean isTouchEvent
)

This method is deprecated. This library is no longer supported.

boolean
performAccessibilityAction(int action, @Nullable Bundle arguments)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
performContextClick(float x, float y)

This method is deprecated. This library is no longer supported.

boolean
performHapticFeedback(int feedbackConstant)

This method is deprecated. This library is no longer supported.

boolean
performHapticFeedback(int feedbackConstant, int flags)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
performLongClick(float x, float y)

This method is deprecated. This library is no longer supported.

@Nullable ContentInfo

This method is deprecated. This library is no longer supported.

void
playSoundEffect(int soundConstant)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
postDelayed(@NonNull Runnable action, long delayMillis)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
postInvalidate(int left, int top, int right, int bottom)

This method is deprecated. This library is no longer supported.

void
postInvalidateDelayed(long delayMilliseconds)

This method is deprecated. This library is no longer supported.

void
postInvalidateDelayed(
    long delayMilliseconds,
    int left,
    int top,
    int right,
    int bottom
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
postInvalidateOnAnimation(int left, int top, int right, int bottom)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
postOnAnimationDelayed(@NonNull Runnable action, long delayMillis)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

final boolean

This method is deprecated. This library is no longer supported.

final boolean
requestFocus(int direction)

This method is deprecated. This library is no longer supported.

final boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
requestRectangleOnScreen(@NonNull Rect rectangle, boolean immediate)

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

final @NonNull T
<T extends View> requireViewById(int id)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void
saveAttributeDataForStyleable(
    @NonNull Context context,
    @NonNull int[] styleable,
    @Nullable AttributeSet attrs,
    @NonNull TypedArray t,
    int defStyleAttr,
    int defStyleRes
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
scheduleDrawable(@NonNull Drawable who, @NonNull Runnable what, long when)

This method is deprecated. This library is no longer supported.

void
scrollBy(int x, int y)

This method is deprecated. This library is no longer supported.

void
scrollTo(int x, int y)

This method is deprecated. This library is no longer supported.

void
sendAccessibilityEvent(int eventType)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setAccessibilityDataSensitive(int accessibilityDataSensitive)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setAccessibilityHeading(boolean isHeading)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setActivated(boolean activated)

This method is deprecated. This library is no longer supported.

void
setAllowClickWhenDisabled(boolean clickableWhenDisabled)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setAutoHandwritingEnabled(boolean enabled)

This method is deprecated. This library is no longer supported.

void
setAutofillHints(@Nullable String... autofillHints)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setBackgroundColor(int color)

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void
setBottom(int bottom)

This method is deprecated. This library is no longer supported.

void
setCameraDistance(float distance)

This method is deprecated. This library is no longer supported.

void
setClickable(boolean clickable)

This method is deprecated. This library is no longer supported.

void
setClipBounds(@NonNull Rect clipBounds)

This method is deprecated. This library is no longer supported.

void
setClipToOutline(boolean clipToOutline)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

void
setContextClickable(boolean contextClickable)

This method is deprecated. This library is no longer supported.

void
setDefaultFocusHighlightEnabled(boolean defaultFocusHighlightEnabled)

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void
setDrawingCacheEnabled(boolean enabled)

This method is deprecated.

void

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

void
setElevation(float elevation)

This method is deprecated. This library is no longer supported.

void
setEnabled(boolean enabled)

This method is deprecated. This library is no longer supported.

void
setFadingEdgeLength(int length)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setFitsSystemWindows(boolean fitSystemWindows)

This method is deprecated. This library is no longer supported.

void
setFocusable(boolean focusable)

This method is deprecated. This library is no longer supported.

void
setFocusable(int focusable)

This method is deprecated. This library is no longer supported.

void
setFocusableInTouchMode(boolean focusableInTouchMode)

This method is deprecated. This library is no longer supported.

void
setFocusedByDefault(boolean isFocusedByDefault)

This method is deprecated. This library is no longer supported.

void
setForceDarkAllowed(boolean allow)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setForegroundGravity(int gravity)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setFrameContentVelocity(float pixelsPerSecond)

This method is deprecated. This library is no longer supported.

void
setHandwritingBoundsOffsets(
    float offsetLeft,
    float offsetTop,
    float offsetRight,
    float offsetBottom
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setHapticFeedbackEnabled(boolean hapticFeedbackEnabled)

This method is deprecated. This library is no longer supported.

void
setHasTransientState(boolean hasTransientState)

This method is deprecated. This library is no longer supported.

void
setHorizontalFadingEdgeEnabled(boolean horizontalFadingEdgeEnabled)

This method is deprecated. This library is no longer supported.

void
setHorizontalScrollBarEnabled(boolean horizontalScrollBarEnabled)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setHovered(boolean hovered)

This method is deprecated. This library is no longer supported.

void
setId(int id)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setIsCredential(boolean isCredential)

This method is deprecated. This library is no longer supported.

void
setIsHandwritingDelegate(boolean isHandwritingDelegate)

This method is deprecated. This library is no longer supported.

void
setKeepScreenOn(boolean keepScreenOn)

This method is deprecated. This library is no longer supported.

void
setKeyboardNavigationCluster(boolean isCluster)

This method is deprecated. This library is no longer supported.

void
setLabelFor(int id)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setLayerType(int layerType, @Nullable Paint paint)

This method is deprecated. This library is no longer supported.

void
setLayoutDirection(int layoutDirection)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void
setLeft(int left)

This method is deprecated. This library is no longer supported.

final void
setLeftTopRightBottom(int left, int top, int right, int bottom)

This method is deprecated. This library is no longer supported.

void
setLongClickable(boolean longClickable)

This method is deprecated. This library is no longer supported.

final void
setMeasuredDimension(int measuredWidth, int measuredHeight)

This method is deprecated. This library is no longer supported.

void
setMinimumHeight(int minHeight)

This method is deprecated. This library is no longer supported.

void
setMinimumWidth(int minWidth)

This method is deprecated. This library is no longer supported.

void
setNestedScrollingEnabled(boolean enabled)

This method is deprecated. This library is no longer supported.

void
setNextClusterForwardId(int nextClusterForwardId)

This method is deprecated. This library is no longer supported.

void
setNextFocusDownId(int nextFocusDownId)

This method is deprecated. This library is no longer supported.

void
setNextFocusForwardId(int nextFocusForwardId)

This method is deprecated. This library is no longer supported.

void
setNextFocusLeftId(int nextFocusLeftId)

This method is deprecated. This library is no longer supported.

void
setNextFocusRightId(int nextFocusRightId)

This method is deprecated. This library is no longer supported.

void
setNextFocusUpId(int nextFocusUpId)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setOnReceiveContentListener(
    @Nullable String[] mimeTypes,
    @Nullable OnReceiveContentListener listener
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setOverScrollMode(int overScrollMode)

This method is deprecated. This library is no longer supported.

void
setPadding(int left, int top, int right, int bottom)

This method is deprecated. This library is no longer supported.

void
setPaddingRelative(int start, int top, int end, int bottom)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setPivotX(float pivotX)

This method is deprecated. This library is no longer supported.

void
setPivotY(float pivotY)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void
setPreferKeepClear(boolean preferKeepClear)

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

void
setPressed(boolean pressed)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void
setRevealOnFocusHint(boolean revealOnFocus)

This method is deprecated. This library is no longer supported.

final void
setRight(int right)

This method is deprecated. This library is no longer supported.

void
setRotation(float rotation)

This method is deprecated. This library is no longer supported.

void
setRotationX(float rotationX)

This method is deprecated. This library is no longer supported.

void
setRotationY(float rotationY)

This method is deprecated. This library is no longer supported.

void
setSaveEnabled(boolean enabled)

This method is deprecated. This library is no longer supported.

void
setSaveFromParentEnabled(boolean enabled)

This method is deprecated. This library is no longer supported.

void
setScaleX(float scaleX)

This method is deprecated. This library is no longer supported.

void
setScaleY(float scaleY)

This method is deprecated. This library is no longer supported.

void
setScreenReaderFocusable(boolean screenReaderFocusable)

This method is deprecated. This library is no longer supported.

void
setScrollBarDefaultDelayBeforeFade(
    int scrollBarDefaultDelayBeforeFade
)

This method is deprecated. This library is no longer supported.

void
setScrollBarFadeDuration(int scrollBarFadeDuration)

This method is deprecated. This library is no longer supported.

void
setScrollBarSize(int scrollBarSize)

This method is deprecated. This library is no longer supported.

void
setScrollBarStyle(int style)

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setScrollContainer(boolean isScrollContainer)

This method is deprecated. This library is no longer supported.

void
setScrollIndicators(int indicators)

This method is deprecated. This library is no longer supported.

void
setScrollIndicators(int indicators, int mask)

This method is deprecated. This library is no longer supported.

void
setScrollX(int value)

This method is deprecated. This library is no longer supported.

void
setScrollY(int value)

This method is deprecated. This library is no longer supported.

void
setScrollbarFadingEnabled(boolean fadeScrollbars)

This method is deprecated. This library is no longer supported.

void
setSelected(boolean selected)

This method is deprecated. This library is no longer supported.

void
setSoundEffectsEnabled(boolean soundEffectsEnabled)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setSupplementalDescription(
    @Nullable CharSequence supplementalDescription
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setSystemUiVisibility(int visibility)

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

void
setTag(int key, @NonNull Object tag)

This method is deprecated. This library is no longer supported.

void
setTextAlignment(int textAlignment)

This method is deprecated. This library is no longer supported.

void
setTextDirection(int textDirection)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void
setTop(int top)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setTransitionAlpha(float alpha)

This method is deprecated. This library is no longer supported.

final void
setTransitionName(@NonNull String transitionName)

This method is deprecated. This library is no longer supported.

void
setTransitionVisibility(int visibility)

This method is deprecated. This library is no longer supported.

void
setTranslationX(float translationX)

This method is deprecated. This library is no longer supported.

void
setTranslationY(float translationY)

This method is deprecated. This library is no longer supported.

void
setTranslationZ(float translationZ)

This method is deprecated. This library is no longer supported.

void
setVerticalFadingEdgeEnabled(boolean verticalFadingEdgeEnabled)

This method is deprecated. This library is no longer supported.

void
setVerticalScrollBarEnabled(boolean verticalScrollBarEnabled)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setVisibility(int visibility)

This method is deprecated. This library is no longer supported.

void
setWillNotCacheDrawing(boolean willNotCacheDrawing)

This method is deprecated.

void
setWillNotDraw(boolean willNotDraw)

This method is deprecated. This library is no longer supported.

void
setX(float x)

This method is deprecated. This library is no longer supported.

void
setY(float y)

This method is deprecated. This library is no longer supported.

void
setZ(float z)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
showContextMenu(float x, float y)

This method is deprecated. This library is no longer supported.

@NonNull ActionMode

This method is deprecated. This library is no longer supported.

@NonNull ActionMode

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final boolean
startDrag(
    @NonNull ClipData data,
    @NonNull View.DragShadowBuilder shadowBuilder,
    @NonNull Object myLocalState,
    int flags
)

This method is deprecated.

final boolean
startDragAndDrop(
    @NonNull ClipData data,
    @NonNull View.DragShadowBuilder shadowBuilder,
    @NonNull Object myLocalState,
    int flags
)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull String

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated.

boolean
@ViewDebug.ExportedProperty(category = "drawing")
willNotDraw()

This method is deprecated. This library is no longer supported.

From android.view.ViewGroup
void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
addFocusables(@NonNull ArrayList<@NonNull View> p0, int p1, int p2)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
addView(@NonNull View p0, int p1)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
addView(@NonNull View p0, int p1, int p2)

This method is deprecated. This library is no longer supported.

boolean
addViewInLayout(
    @NonNull View p0,
    int p1,
    @NonNull ViewGroup.LayoutParams p2
)

This method is deprecated. This library is no longer supported.

boolean
addViewInLayout(
    @NonNull View p0,
    int p1,
    @NonNull ViewGroup.LayoutParams p2,
    boolean p3
)

This method is deprecated. This library is no longer supported.

void
attachLayoutAnimationParameters(
    @NonNull View p0,
    @NonNull ViewGroup.LayoutParams p1,
    int p2,
    int p3
)

This method is deprecated. This library is no longer supported.

void
attachViewToParent(
    @NonNull View p0,
    int p1,
    @NonNull ViewGroup.LayoutParams p2
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
debug(int p0)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
detachViewsFromParent(int p0, int p1)

This method is deprecated. This library is no longer supported.

@NonNull WindowInsets

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
dispatchDrawableHotspotChanged(float p0, float p1)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
dispatchSetPressed(boolean p0)

This method is deprecated. This library is no longer supported.

void
dispatchSetSelected(boolean p0)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull WindowInsets

This method is deprecated. This library is no longer supported.

@NonNull WindowInsetsAnimation.Bounds

This method is deprecated. This library is no longer supported.

void

This method is deprecated.

void

This method is deprecated. This library is no longer supported.

boolean
drawChild(@NonNull Canvas p0, @NonNull View p1, long p2)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

@NonNull View

This method is deprecated. This library is no longer supported.

@Nullable OnBackInvokedDispatcher

This method is deprecated. This library is no longer supported.

void
findViewsWithText(
    @NonNull ArrayList<@NonNull View> p0,
    @NonNull CharSequence p1,
    int p2
)

This method is deprecated. This library is no longer supported.

@NonNull View
focusSearch(@NonNull View p0, int p1)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

@NonNull ViewGroup.LayoutParams

This method is deprecated. This library is no longer supported.

@NonNull ViewGroup.LayoutParams

This method is deprecated. This library is no longer supported.

@NonNull ViewGroup.LayoutParams

This method is deprecated. This library is no longer supported.

@NonNull CharSequence

This method is deprecated. This library is no longer supported.

@NonNull View
getChildAt(int p0)

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

final int

This method is deprecated. This library is no longer supported.

int
getChildDrawingOrder(int p0, int p1)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "focus", mapping = [@ViewDebug.IntToString(from = 131072, to = "FOCUS_BEFORE_DESCENDANTS"), @ViewDebug.IntToString(from = 262144, to = "FOCUS_AFTER_DESCENDANTS"), @ViewDebug.IntToString(from = 393216, to = "FOCUS_BLOCK_DESCENDANTS")])
getDescendantFocusability()

This method is deprecated. This library is no longer supported.

@NonNull View

This method is deprecated. This library is no longer supported.

@NonNull LayoutAnimationController

This method is deprecated. This library is no longer supported.

@NonNull Animation.AnimationListener

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull LayoutTransition

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

@NonNull ViewGroupOverlay

This method is deprecated. This library is no longer supported.

int
@ViewDebug.ExportedProperty(category = "drawing", mapping = [@ViewDebug.IntToString(from = 0, to = "NONE"), @ViewDebug.IntToString(from = 1, to = "ANIMATION"), @ViewDebug.IntToString(from = 2, to = "SCROLLING"), @ViewDebug.IntToString(from = 3, to = "ALL")])
getPersistentDrawingCache()

This method is deprecated. Deprecated in Java

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

int

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. Deprecated in Java

@NonNull ViewParent

This method is deprecated. Deprecated in Java

boolean

This method is deprecated. Deprecated in Java

boolean

This method is deprecated. Deprecated in Java

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. Deprecated in Java

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

final void
layout(int p0, int p1, int p2, int p3)

This method is deprecated. This library is no longer supported.

void
measureChild(@NonNull View p0, int p1, int p2)

This method is deprecated. This library is no longer supported.

void
measureChildWithMargins(@NonNull View p0, int p1, int p2, int p3, int p4)

This method is deprecated. This library is no longer supported.

void
measureChildren(int p0, int p1)

This method is deprecated. This library is no longer supported.

void
notifySubtreeAccessibilityStateChanged(
    @NonNull View p0,
    @NonNull View p1,
    int p2
)

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

final void

This method is deprecated. This library is no longer supported.

@NonNull int[]

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
onNestedFling(@NonNull View p0, float p1, float p2, boolean p3)

This method is deprecated. This library is no longer supported.

boolean
onNestedPreFling(@NonNull View p0, float p1, float p2)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void
onNestedPreScroll(@NonNull View p0, int p1, int p2, @NonNull int[] p3)

This method is deprecated. This library is no longer supported.

void
onNestedScroll(@NonNull View p0, int p1, int p2, int p3, int p4)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

@NonNull PointerIcon

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
propagateRequestedFrameRate(float p0, boolean p1)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
removeDetachedView(@NonNull View p0, boolean p1)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean
requestChildRectangleOnScreen(
    @NonNull View p0,
    @NonNull Rect p1,
    boolean p2
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean
requestFocus(int p0, @NonNull Rect p1)

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. Deprecated in Java

void

This method is deprecated. Deprecated in Java

void

This method is deprecated. Deprecated in Java

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. Deprecated in Java

void
setClipChildren(boolean p0)

This method is deprecated. This library is no longer supported.

void
setClipToPadding(boolean p0)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
setLayoutMode(int p0)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. Deprecated in Java

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean

This method is deprecated. This library is no longer supported.

boolean
showContextMenuForChild(@NonNull View p0, float p1, float p2)

This method is deprecated. This library is no longer supported.

@NonNull ActionMode

This method is deprecated. This library is no longer supported.

@NonNull ActionMode
startActionModeForChild(
    @NonNull View p0,
    @NonNull ActionMode.Callback p1,
    int p2
)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

void
suppressLayout(boolean p0)

This method is deprecated. This library is no longer supported.

void

This method is deprecated. This library is no longer supported.

Public constructors

SandboxedSdkView

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
public SandboxedSdkView(@NonNull Context context, AttributeSet attrs)

Public methods

addView

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

isTransitionGroup

public boolean isTransitionGroup()

onVisibilityAggregated

public void onVisibilityAggregated(boolean isVisible)

orderProviderUiAboveClientUi

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
public final void orderProviderUiAboveClientUi(boolean providerUiOnTop)

Sets the Z-ordering of the SandboxedSdkView's surface, relative to its window.

When providerUiOnTop is true, every android.view.MotionEvent on the SandboxedSdkView area will be sent to the UI provider. When providerUiOnTop is false, every android.view.MotionEvent will be sent to the client and will also be transferred to the UI provider. By default, providerUiOnTop is false.

When providerUiOnTop is true, the UI provider's surface will be placed above the client's window. In this case, none of the contents of the client's window beneath the provider's surface will be visible.

preserveSessionOnWindowDetachment

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
public final void preserveSessionOnWindowDetachment(
    boolean preserveSessionOnWindowDetachment
)

Modifies the behaviour of closing the session on window detachment. This method has no effect when the SandboxedSdkView is parented by a PoolingContainer where session is closed only on onRelease of PoolingContainerListener.

Parameters
boolean preserveSessionOnWindowDetachment

when true, session is not closed by SandboxedSdkView on window detachment. When false, it will follow the default behaviour that the session will be closed by SandboxedSdkView on window detachment.

removeAllViews

public void removeAllViews()

removeAllViewsInLayout

public void removeAllViewsInLayout()

removeView

public void removeView(View view)

removeViewAt

public void removeViewAt(int index)

removeViewInLayout

public void removeViewInLayout(View view)

removeViews

public void removeViews(int start, int count)

removeViewsInLayout

public void removeViewsInLayout(int start, int count)

setAdapter

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
public final void setAdapter(SandboxedUiAdapter sandboxedUiAdapter)

Sets SandboxedUiAdapter to the SandboxedSdkView and tries to establish the session.

Parameters
SandboxedUiAdapter sandboxedUiAdapter

instance of SandboxedUiAdapter. If same instance of SandboxedUiAdapter is passed then it's no-op. If null value is passed then it closes any existing sessions.

setAlpha

public void setAlpha(float alpha)

setEventListener

Added in 1.0.0-alpha17
Deprecated in 1.0.0-alpha17
public final void setEventListener(SandboxedSdkViewEventListener eventListener)

Sets an event listener to the SandboxedSdkView and starts reporting the new events. To listen to all the events during the lifecycle of the SandboxedSdkView, the listener should be set before calling setAdapter.

To remove the eventListener, set the eventListener as null.

setTransitionGroup

public void setTransitionGroup(boolean isTransitionGroup)

Protected methods

onAttachedToWindow

protected void onAttachedToWindow()

onConfigurationChanged

protected void onConfigurationChanged(Configuration config)

onDetachedFromWindow

protected void onDetachedFromWindow()

onLayout

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

onMeasure

protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)

onWindowVisibilityChanged

protected void onWindowVisibilityChanged(int visibility)