# OpenGlView

@RequiresApi(api = 18)
open class OpenGlView : SurfaceView, GlInterface, SurfaceTexture.OnFrameAvailableListener, SurfaceHolder.Callback

Created by pedro on 10/03/18.

## Constructors

OpenGlView
Link copied to clipboard
constructor(context: Context?)
constructor(context: Context, attrs: AttributeSet?)

## Properties

accessibilityClassName
Link copied to clipboard
open val accessibilityClassName: CharSequence?
accessibilityDelegate
Link copied to clipboard
open var accessibilityDelegate: View.AccessibilityDelegate?
accessibilityLiveRegion
Link copied to clipboard
open var accessibilityLiveRegion: Int
accessibilityNodeProvider
Link copied to clipboard
open val accessibilityNodeProvider: AccessibilityNodeProvider?
accessibilityPaneTitle
Link copied to clipboard
open var accessibilityPaneTitle: CharSequence?
accessibilityTraversalAfter
Link copied to clipboard
open var accessibilityTraversalAfter: Int
accessibilityTraversalBefore
Link copied to clipboard
open var accessibilityTraversalBefore: Int
allowedHandwritingDelegatePackageName
Link copied to clipboard
open val allowedHandwritingDelegatePackageName: String?
allowedHandwritingDelegatorPackageName
Link copied to clipboard
open val allowedHandwritingDelegatorPackageName: String?
alpha
Link copied to clipboard
open var alpha: Float
animation
Link copied to clipboard
open var animation: Animation?
animationMatrix
Link copied to clipboard
open var animationMatrix: Matrix?
applicationWindowToken
Link copied to clipboard
open val applicationWindowToken: IBinder?
attributeSourceResourceMap
Link copied to clipboard
open val attributeSourceResourceMap: Map<Int?, Int?>
autofillHints
Link copied to clipboard
open val autofillHints: Array<out String?>??
autofillId
Link copied to clipboard
var autofillId: AutofillId?
autofillType
Link copied to clipboard
open val autofillType: Int
autofillValue
Link copied to clipboard
open val autofillValue: AutofillValue?
background
Link copied to clipboard
open var background: Drawable?
backgroundTintBlendMode
Link copied to clipboard
open var backgroundTintBlendMode: BlendMode?
backgroundTintList
Link copied to clipboard
open var backgroundTintList: ColorStateList?
backgroundTintMode
Link copied to clipboard
open var backgroundTintMode: PorterDuff.Mode?
baseline
Link copied to clipboard
open val baseline: Int
bottom
Link copied to clipboard
var bottom: Int
cameraDistance
Link copied to clipboard
open var cameraDistance: Float
childSurfacePackage
Link copied to clipboard
open val childSurfacePackage: SurfaceControlViewHost.SurfacePackage?
clipBounds
Link copied to clipboard
open var clipBounds: Rect?
clipToOutline
Link copied to clipboard
var clipToOutline: Boolean
compositionOrder
Link copied to clipboard
open var compositionOrder: Int
contentCaptureSession
Link copied to clipboard
var contentCaptureSession: ContentCaptureSession?
contentDescription
Link copied to clipboard
open var contentDescription: CharSequence?
contentSensitivity
Link copied to clipboard
var contentSensitivity: Int
context
Link copied to clipboard
val context: Context?
defaultFocusHighlightEnabled
Link copied to clipboard
var defaultFocusHighlightEnabled: Boolean
display
Link copied to clipboard
open val display: Display?
drawableState
Link copied to clipboard
val drawableState: IntArray?
drawingCache
Link copied to clipboard
open val drawingCache: Bitmap?
drawingCacheBackgroundColor
Link copied to clipboard
open var drawingCacheBackgroundColor: Int
drawingCacheQuality
Link copied to clipboard
open var drawingCacheQuality: Int
drawingTime
Link copied to clipboard
open val drawingTime: Long
elevation
Link copied to clipboard
open var elevation: Float
encoderSize
Link copied to clipboard
open override val encoderSize: Point
explicitStyle
Link copied to clipboard
open val explicitStyle: Int
filterTouchesWhenObscured
Link copied to clipboard
open var filterTouchesWhenObscured: Boolean
fitsSystemWindows
Link copied to clipboard
open var fitsSystemWindows: Boolean
focusable
Link copied to clipboard
open var focusable: Int
foreground
Link copied to clipboard
open var foreground: Drawable?
foregroundGravity
Link copied to clipboard
open var foregroundGravity: Int
foregroundTintBlendMode
Link copied to clipboard
open var foregroundTintBlendMode: BlendMode?
foregroundTintList
Link copied to clipboard
open var foregroundTintList: ColorStateList?
foregroundTintMode
Link copied to clipboard
open var foregroundTintMode: PorterDuff.Mode?
frameContentVelocity
Link copied to clipboard
open var frameContentVelocity: Float
handler
Link copied to clipboard
open val handler: Handler?
handwritingBoundsOffsetBottom
Link copied to clipboard
open val handwritingBoundsOffsetBottom: Float
handwritingBoundsOffsetLeft
Link copied to clipboard
open val handwritingBoundsOffsetLeft: Float
handwritingBoundsOffsetRight
Link copied to clipboard
open val handwritingBoundsOffsetRight: Float
handwritingBoundsOffsetTop
Link copied to clipboard
open val handwritingBoundsOffsetTop: Float
handwritingDelegateFlags
Link copied to clipboard
open var handwritingDelegateFlags: Int
handwritingDelegatorCallback
Link copied to clipboard
open var handwritingDelegatorCallback: Runnable?
hasOverlappingRendering
Link copied to clipboard
val hasOverlappingRendering: Boolean
height
Link copied to clipboard
val height: Int
holder
Link copied to clipboard
open val holder: SurfaceHolder?
horizontalFadingEdgeLength
Link copied to clipboard
open val horizontalFadingEdgeLength: Int
horizontalScrollbarThumbDrawable
Link copied to clipboard
open var horizontalScrollbarThumbDrawable: Drawable?
horizontalScrollbarTrackDrawable
Link copied to clipboard
open var horizontalScrollbarTrackDrawable: Drawable?
hostToken
Link copied to clipboard
open val hostToken: IBinder?
id
Link copied to clipboard
open var id: Int
importantForAccessibility
Link copied to clipboard
open var importantForAccessibility: Int
importantForAutofill
Link copied to clipboard
open var importantForAutofill: Int
importantForContentCapture
Link copied to clipboard
open var importantForContentCapture: Int
isAccessibilityDataSensitive
Link copied to clipboard
open val isAccessibilityDataSensitive: Boolean
isAccessibilityFocused
Link copied to clipboard
open val isAccessibilityFocused: Boolean
isAccessibilityHeading
Link copied to clipboard
open var isAccessibilityHeading: Boolean
isActivated
Link copied to clipboard
open var isActivated: Boolean
isAttachedToWindow
Link copied to clipboard
open val isAttachedToWindow: Boolean
isAutoHandwritingEnabled
Link copied to clipboard
open var isAutoHandwritingEnabled: Boolean
isClickable
Link copied to clipboard
open var isClickable: Boolean
isContentSensitive
Link copied to clipboard
val isContentSensitive: Boolean
isContextClickable
Link copied to clipboard
open var isContextClickable: Boolean
isCredential
Link copied to clipboard
open val isCredential: Boolean
isDirty
Link copied to clipboard
open val isDirty: Boolean
isDrawingCacheEnabled
Link copied to clipboard
open var isDrawingCacheEnabled: Boolean
isDuplicateParentStateEnabled
Link copied to clipboard
open var isDuplicateParentStateEnabled: Boolean
isEnabled
Link copied to clipboard
open var isEnabled: Boolean
isFocusable
Link copied to clipboard
var isFocusable: Boolean
isFocusableInTouchMode
Link copied to clipboard
var isFocusableInTouchMode: Boolean
isFocused
Link copied to clipboard
open val isFocused: Boolean
isFocusedByDefault
Link copied to clipboard
var isFocusedByDefault: Boolean
isForceDarkAllowed
Link copied to clipboard
open var isForceDarkAllowed: Boolean
isHandwritingDelegate
Link copied to clipboard
open val isHandwritingDelegate: Boolean
isHapticFeedbackEnabled
Link copied to clipboard
open var isHapticFeedbackEnabled: Boolean
isHardwareAccelerated
Link copied to clipboard
open val isHardwareAccelerated: Boolean
isHorizontalFadingEdgeEnabled
Link copied to clipboard
open var isHorizontalFadingEdgeEnabled: Boolean
isHorizontalScrollBarEnabled
Link copied to clipboard
open var isHorizontalScrollBarEnabled: Boolean
isHovered
Link copied to clipboard
open var isHovered: Boolean
isImportantForAccessibility
Link copied to clipboard
open val isImportantForAccessibility: Boolean
isImportantForAutofill
Link copied to clipboard
val isImportantForAutofill: Boolean
isImportantForContentCapture
Link copied to clipboard
val isImportantForContentCapture: Boolean
isInEditMode
Link copied to clipboard
open val isInEditMode: Boolean
isInLayout
Link copied to clipboard
open val isInLayout: Boolean
isInTouchMode
Link copied to clipboard
open val isInTouchMode: Boolean
isKeyboardNavigationCluster
Link copied to clipboard
var isKeyboardNavigationCluster: Boolean
isLaidOut
Link copied to clipboard
open val isLaidOut: Boolean
isLayoutDirectionResolved
Link copied to clipboard
open val isLayoutDirectionResolved: Boolean
isLayoutRequested
Link copied to clipboard
open val isLayoutRequested: Boolean
isLongClickable
Link copied to clipboard
open var isLongClickable: Boolean
isNestedScrollingEnabled
Link copied to clipboard
open var isNestedScrollingEnabled: Boolean
isOpaque
Link copied to clipboard
open val isOpaque: Boolean
isPaddingRelative
Link copied to clipboard
open val isPaddingRelative: Boolean
isPivotSet
Link copied to clipboard
open val isPivotSet: Boolean
isPreferKeepClear
Link copied to clipboard
var isPreferKeepClear: Boolean
isPressed
Link copied to clipboard
open var isPressed: Boolean
isRunning
Link copied to clipboard
open override val isRunning: Boolean
isSaveEnabled
Link copied to clipboard
open var isSaveEnabled: Boolean
isSaveFromParentEnabled
Link copied to clipboard
open var isSaveFromParentEnabled: Boolean
isScreenReaderFocusable
Link copied to clipboard
open var isScreenReaderFocusable: Boolean
isScrollbarFadingEnabled
Link copied to clipboard
open var isScrollbarFadingEnabled: Boolean
isScrollContainer
Link copied to clipboard
open var isScrollContainer: Boolean
isSelected
Link copied to clipboard
open var isSelected: Boolean
isShowingLayoutBounds
Link copied to clipboard
val isShowingLayoutBounds: Boolean
isShown
Link copied to clipboard
open val isShown: Boolean
isSoundEffectsEnabled
Link copied to clipboard
open var isSoundEffectsEnabled: Boolean
isTemporarilyDetached
Link copied to clipboard
val isTemporarilyDetached: Boolean
isTextAlignmentResolved
Link copied to clipboard
open val isTextAlignmentResolved: Boolean
isTextDirectionResolved
Link copied to clipboard
open val isTextDirectionResolved: Boolean
isVerticalFadingEdgeEnabled
Link copied to clipboard
open var isVerticalFadingEdgeEnabled: Boolean
isVerticalScrollBarEnabled
Link copied to clipboard
open var isVerticalScrollBarEnabled: Boolean
isVideoMuted
Link copied to clipboard
open override val isVideoMuted: Boolean
keepScreenOn
Link copied to clipboard
open var keepScreenOn: Boolean
keyDispatcherState
Link copied to clipboard
open val keyDispatcherState: KeyEvent.DispatcherState?
labelFor
Link copied to clipboard
open var labelFor: Int
layerType
Link copied to clipboard
open val layerType: Int
layoutDirection
Link copied to clipboard
open var layoutDirection: Int
layoutParams
Link copied to clipboard
open var layoutParams: ViewGroup.LayoutParams?
left
Link copied to clipboard
var left: Int
matrix
Link copied to clipboard
open val matrix: Matrix?
measuredHeight
Link copied to clipboard
val measuredHeight: Int
measuredHeightAndState
Link copied to clipboard
val measuredHeightAndState: Int
measuredState
Link copied to clipboard
val measuredState: Int
measuredWidth
Link copied to clipboard
val measuredWidth: Int
measuredWidthAndState
Link copied to clipboard
val measuredWidthAndState: Int
minimumHeight
Link copied to clipboard
open var minimumHeight: Int
minimumWidth
Link copied to clipboard
open var minimumWidth: Int
nextClusterForwardId
Link copied to clipboard
open var nextClusterForwardId: Int
nextFocusDownId
Link copied to clipboard
open var nextFocusDownId: Int
nextFocusForwardId
Link copied to clipboard
open var nextFocusForwardId: Int
nextFocusLeftId
Link copied to clipboard
open var nextFocusLeftId: Int
nextFocusRightId
Link copied to clipboard
open var nextFocusRightId: Int
nextFocusUpId
Link copied to clipboard
open var nextFocusUpId: Int
onFocusChangeListener
Link copied to clipboard
open var onFocusChangeListener: View.OnFocusChangeListener?
outlineAmbientShadowColor
Link copied to clipboard
open var outlineAmbientShadowColor: Int
outlineProvider
Link copied to clipboard
open var outlineProvider: ViewOutlineProvider?
outlineSpotShadowColor
Link copied to clipboard
open var outlineSpotShadowColor: Int
overlay
Link copied to clipboard
open val overlay: ViewOverlay?
overScrollMode
Link copied to clipboard
open var overScrollMode: Int
paddingBottom
Link copied to clipboard
open val paddingBottom: Int
paddingEnd
Link copied to clipboard
open val paddingEnd: Int
paddingLeft
Link copied to clipboard
open val paddingLeft: Int
paddingRight
Link copied to clipboard
open val paddingRight: Int
paddingStart
Link copied to clipboard
open val paddingStart: Int
paddingTop
Link copied to clipboard
open val paddingTop: Int
parent
Link copied to clipboard
val parent: ViewParent?
parentForAccessibility
Link copied to clipboard
open val parentForAccessibility: ViewParent?
pendingCredentialCallback
Link copied to clipboard
val pendingCredentialCallback: OutcomeReceiver<GetCredentialResponse?, GetCredentialException?>?
pendingCredentialRequest
Link copied to clipboard
val pendingCredentialRequest: GetCredentialRequest?
pivotX
Link copied to clipboard
open var pivotX: Float
pivotY
Link copied to clipboard
open var pivotY: Float
pointerIcon
Link copied to clipboard
open var pointerIcon: PointerIcon?
preferKeepClearRects
Link copied to clipboard
var preferKeepClearRects: List<Rect?>
receiveContentMimeTypes
Link copied to clipboard
open val receiveContentMimeTypes: Array<out String?>??
requestedFrameRate
Link copied to clipboard
open var requestedFrameRate: Float
resources
Link copied to clipboard
open val resources: Resources?
revealOnFocusHint
Link copied to clipboard
var revealOnFocusHint: Boolean
right
Link copied to clipboard
var right: Int
rootSurfaceControl
Link copied to clipboard
open val rootSurfaceControl: AttachedSurfaceControl?
rootView
Link copied to clipboard
open val rootView: View?
rootWindowInsets
Link copied to clipboard
open val rootWindowInsets: WindowInsets?
rotation
Link copied to clipboard
open var rotation: Float
rotationX
Link copied to clipboard
open var rotationX: Float
rotationY
Link copied to clipboard
open var rotationY: Float
scaleX
Link copied to clipboard
open var scaleX: Float
scaleY
Link copied to clipboard
open var scaleY: Float
scrollBarDefaultDelayBeforeFade
Link copied to clipboard
open var scrollBarDefaultDelayBeforeFade: Int
scrollBarFadeDuration
Link copied to clipboard
open var scrollBarFadeDuration: Int
scrollBarSize
Link copied to clipboard
open var scrollBarSize: Int
scrollBarStyle
Link copied to clipboard
open var scrollBarStyle: Int
scrollCaptureHint
Link copied to clipboard
open var scrollCaptureHint: Int
scrollIndicators
Link copied to clipboard
open var scrollIndicators: Int
scrollX
Link copied to clipboard
var scrollX: Int
scrollY
Link copied to clipboard
var scrollY: Int
solidColor
Link copied to clipboard
open val solidColor: Int
sourceLayoutResId
Link copied to clipboard
open val sourceLayoutResId: Int
stateDescription
Link copied to clipboard
var stateDescription: CharSequence?
stateListAnimator
Link copied to clipboard
open var stateListAnimator: StateListAnimator?
supplementalDescription
Link copied to clipboard
open var supplementalDescription: CharSequence?
surface
Link copied to clipboard
open override val surface: Surface
surfaceControl
Link copied to clipboard
open val surfaceControl: SurfaceControl?
surfaceTexture
Link copied to clipboard
open override val surfaceTexture: SurfaceTexture
systemGestureExclusionRects
Link copied to clipboard
open var systemGestureExclusionRects: List<Rect?>
systemUiVisibility
Link copied to clipboard
open var systemUiVisibility: Int
tag
Link copied to clipboard
open var tag: Any?
textAlignment
Link copied to clipboard
open var textAlignment: Int
textDirection
Link copied to clipboard
open var textDirection: Int
tooltipText
Link copied to clipboard
open var tooltipText: CharSequence?
top
Link copied to clipboard
var top: Int
touchables
Link copied to clipboard
open val touchables: ArrayList<View?>?
touchDelegate
Link copied to clipboard
open var touchDelegate: TouchDelegate?
transitionAlpha
Link copied to clipboard
open var transitionAlpha: Float
transitionName
Link copied to clipboard
open var transitionName: String?
translationX
Link copied to clipboard
open var translationX: Float
translationY
Link copied to clipboard
open var translationY: Float
translationZ
Link copied to clipboard
open var translationZ: Float
uniqueDrawingId
Link copied to clipboard
open val uniqueDrawingId: Long
verticalFadingEdgeLength
Link copied to clipboard
open val verticalFadingEdgeLength: Int
verticalScrollbarPosition
Link copied to clipboard
open var verticalScrollbarPosition: Int
verticalScrollbarThumbDrawable
Link copied to clipboard
open var verticalScrollbarThumbDrawable: Drawable?
verticalScrollbarTrackDrawable
Link copied to clipboard
open var verticalScrollbarTrackDrawable: Drawable?
verticalScrollbarWidth
Link copied to clipboard
open val verticalScrollbarWidth: Int
viewTranslationResponse
Link copied to clipboard
open val viewTranslationResponse: ViewTranslationResponse?
viewTreeObserver
Link copied to clipboard
open val viewTreeObserver: ViewTreeObserver?
visibility
Link copied to clipboard
open var visibility: Int
width
Link copied to clipboard
val width: Int
windowId
Link copied to clipboard
open val windowId: WindowId?
windowInsetsController
Link copied to clipboard
open val windowInsetsController: WindowInsetsController?
windowSystemUiVisibility
Link copied to clipboard
open val windowSystemUiVisibility: Int
windowToken
Link copied to clipboard
open val windowToken: IBinder?
windowVisibility
Link copied to clipboard
open val windowVisibility: Int
x
Link copied to clipboard
open var x: Float
y
Link copied to clipboard
open var y: Float
z
Link copied to clipboard
open var z: Float

## Functions

addChildrenForAccessibility
Link copied to clipboard
open fun addChildrenForAccessibility(outChildren: ArrayList<View?>?)
addExtraDataToAccessibilityNodeInfo
Link copied to clipboard
open fun addExtraDataToAccessibilityNodeInfo(info: AccessibilityNodeInfo, extraDataKey: String, arguments: Bundle?)
addFilter
Link copied to clipboard
open override fun addFilter(baseFilterRender: BaseFilterRender)

Appends the specified filter to the end. You can modify filter's parameters after set it to stream.

open override fun addFilter(filterPosition: Int, baseFilterRender: BaseFilterRender)

Inserts the specified filter at the specified position. You can modify filter's parameters after set it to stream.

addFocusables
Link copied to clipboard
open fun addFocusables(views: ArrayList<View?>?, direction: Int)
open fun addFocusables(views: ArrayList<View?>?, direction: Int, focusableMode: Int)
addKeyboardNavigationClusters
Link copied to clipboard
open fun addKeyboardNavigationClusters(views: Collection<View?>, direction: Int)
addMediaCodecRecordSurface
Link copied to clipboard
open override fun addMediaCodecRecordSurface(surface: Surface)
addMediaCodecSurface
Link copied to clipboard
open override fun addMediaCodecSurface(surface: Surface)

Set surface from MediaCodec class to Opengl. This surface is used to copy pixels from Opengl surface to this surface and encode this pixels.

addOnAttachStateChangeListener
Link copied to clipboard
open fun addOnAttachStateChangeListener(listener: View.OnAttachStateChangeListener?)
addOnLayoutChangeListener
Link copied to clipboard
open fun addOnLayoutChangeListener(listener: View.OnLayoutChangeListener?)
addOnUnhandledKeyEventListener
Link copied to clipboard
open fun addOnUnhandledKeyEventListener(listener: View.OnUnhandledKeyEventListener?)
addTouchables
Link copied to clipboard
open fun addTouchables(views: ArrayList<View?>?)
animate
Link copied to clipboard
open fun animate(): ViewPropertyAnimator?
announceForAccessibility
Link copied to clipboard
open fun announceForAccessibility(text: CharSequence?)
applyTransactionToFrame
Link copied to clipboard
open fun applyTransactionToFrame(transaction: SurfaceControl.Transaction)
autofill
Link copied to clipboard
open fun autofill(values: SparseArray<AutofillValue?>)
open fun autofill(value: AutofillValue?)
bringToFront
Link copied to clipboard
open fun bringToFront()
buildDrawingCache
Link copied to clipboard
open fun buildDrawingCache()
open fun buildDrawingCache(autoScale: Boolean)
buildLayer
Link copied to clipboard
open fun buildLayer()
callOnClick
Link copied to clipboard
open fun callOnClick(): Boolean
cancelDragAndDrop
Link copied to clipboard
fun cancelDragAndDrop()
cancelLongPress
Link copied to clipboard
open fun cancelLongPress()
cancelPendingInputEvents
Link copied to clipboard
fun cancelPendingInputEvents()
canResolveLayoutDirection
Link copied to clipboard
open fun canResolveLayoutDirection(): Boolean
canResolveTextAlignment
Link copied to clipboard
open fun canResolveTextAlignment(): Boolean
canResolveTextDirection
Link copied to clipboard
open fun canResolveTextDirection(): Boolean
canScrollHorizontally
Link copied to clipboard
open fun canScrollHorizontally(direction: Int): Boolean
canScrollVertically
Link copied to clipboard
open fun canScrollVertically(direction: Int): Boolean
checkInputConnectionProxy
Link copied to clipboard
open fun checkInputConnectionProxy(view: View?): Boolean
clearAnimation
Link copied to clipboard
open fun clearAnimation()
clearChildSurfacePackage
Link copied to clipboard
open fun clearChildSurfacePackage()
clearFilters
Link copied to clipboard
open override fun clearFilters()

Remove all filters

clearFocus
Link copied to clipboard
open fun clearFocus()
clearPendingCredentialRequest
Link copied to clipboard
open fun clearPendingCredentialRequest()
clearViewTranslationCallback
Link copied to clipboard
open fun clearViewTranslationCallback()
computeScroll
Link copied to clipboard
open fun computeScroll()
computeSystemWindowInsets
Link copied to clipboard
open fun computeSystemWindowInsets(in: WindowInsets?, outLocalInsets: Rect?): WindowInsets?
createAccessibilityNodeInfo
Link copied to clipboard
open fun createAccessibilityNodeInfo(): AccessibilityNodeInfo?
createContextMenu
Link copied to clipboard
open fun createContextMenu(menu: ContextMenu?)
destroyDrawingCache
Link copied to clipboard
open fun destroyDrawingCache()
dispatchApplyWindowInsets
Link copied to clipboard
open fun dispatchApplyWindowInsets(insets: WindowInsets?): WindowInsets?
dispatchCapturedPointerEvent
Link copied to clipboard
open fun dispatchCapturedPointerEvent(event: MotionEvent?): Boolean
dispatchConfigurationChanged
Link copied to clipboard
open fun dispatchConfigurationChanged(newConfig: Configuration?)
dispatchCreateViewTranslationRequest
Link copied to clipboard
open fun dispatchCreateViewTranslationRequest(viewIds: Map<AutofillId?, LongArray?>, supportedFormats: IntArray, capability: TranslationCapability, requests: List<ViewTranslationRequest?>)
dispatchDisplayHint
Link copied to clipboard
open fun dispatchDisplayHint(hint: Int)
dispatchDragEvent
Link copied to clipboard
open fun dispatchDragEvent(event: DragEvent?): Boolean
dispatchDrawableHotspotChanged
Link copied to clipboard
open fun dispatchDrawableHotspotChanged(x: Float, y: Float)
dispatchFinishTemporaryDetach
Link copied to clipboard
open fun dispatchFinishTemporaryDetach()
dispatchGenericMotionEvent
Link copied to clipboard
open fun dispatchGenericMotionEvent(event: MotionEvent?): Boolean
dispatchKeyEvent
Link copied to clipboard
open fun dispatchKeyEvent(event: KeyEvent?): Boolean
dispatchKeyEventPreIme
Link copied to clipboard
open fun dispatchKeyEventPreIme(event: KeyEvent?): Boolean
dispatchKeyShortcutEvent
Link copied to clipboard
open fun dispatchKeyShortcutEvent(event: KeyEvent?): Boolean
dispatchNestedFling
Link copied to clipboard
open fun dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
dispatchNestedPreFling
Link copied to clipboard
open fun dispatchNestedPreFling(velocityX: Float, velocityY: Float): Boolean
dispatchNestedPrePerformAccessibilityAction
Link copied to clipboard
open fun dispatchNestedPrePerformAccessibilityAction(action: Int, arguments: Bundle?): Boolean
dispatchNestedPreScroll
Link copied to clipboard
open fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: IntArray?, offsetInWindow: IntArray?): Boolean
dispatchNestedScroll
Link copied to clipboard
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: IntArray?): Boolean
dispatchPointerCaptureChanged
Link copied to clipboard
open fun dispatchPointerCaptureChanged(hasCapture: Boolean)
dispatchPopulateAccessibilityEvent
Link copied to clipboard
open fun dispatchPopulateAccessibilityEvent(event: AccessibilityEvent?): Boolean
dispatchProvideAutofillStructure
Link copied to clipboard
open fun dispatchProvideAutofillStructure(structure: ViewStructure, flags: Int)
dispatchProvideStructure
Link copied to clipboard
open fun dispatchProvideStructure(structure: ViewStructure?)
dispatchScrollCaptureSearch
Link copied to clipboard
open fun dispatchScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget?>)
dispatchStartTemporaryDetach
Link copied to clipboard
open fun dispatchStartTemporaryDetach()
dispatchSystemUiVisibilityChanged
Link copied to clipboard
open fun dispatchSystemUiVisibilityChanged(visibility: Int)
dispatchTouchEvent
Link copied to clipboard
open fun dispatchTouchEvent(event: MotionEvent?): Boolean
dispatchTrackballEvent
Link copied to clipboard
open fun dispatchTrackballEvent(event: MotionEvent?): Boolean
dispatchUnhandledMove
Link copied to clipboard
open fun dispatchUnhandledMove(focused: View?, direction: Int): Boolean
dispatchWindowFocusChanged
Link copied to clipboard
open fun dispatchWindowFocusChanged(hasFocus: Boolean)
dispatchWindowInsetsAnimationEnd
Link copied to clipboard
open fun dispatchWindowInsetsAnimationEnd(animation: WindowInsetsAnimation)
dispatchWindowInsetsAnimationPrepare
Link copied to clipboard
open fun dispatchWindowInsetsAnimationPrepare(animation: WindowInsetsAnimation)
dispatchWindowInsetsAnimationProgress
Link copied to clipboard
open fun dispatchWindowInsetsAnimationProgress(insets: WindowInsets, runningAnimations: List<WindowInsetsAnimation?>): WindowInsets
dispatchWindowInsetsAnimationStart
Link copied to clipboard
open fun dispatchWindowInsetsAnimationStart(animation: WindowInsetsAnimation, bounds: WindowInsetsAnimation.Bounds): WindowInsetsAnimation.Bounds
dispatchWindowSystemUiVisiblityChanged
Link copied to clipboard
open fun dispatchWindowSystemUiVisiblityChanged(visible: Int)
dispatchWindowVisibilityChanged
Link copied to clipboard
open fun dispatchWindowVisibilityChanged(visibility: Int)
draw
Link copied to clipboard
open fun draw(canvas: Canvas)
drawableHotspotChanged
Link copied to clipboard
open fun drawableHotspotChanged(x: Float, y: Float)
filtersCount
Link copied to clipboard
open override fun filtersCount(): Int
findFocus
Link copied to clipboard
open fun findFocus(): View?
findOnBackInvokedDispatcher
Link copied to clipboard
fun findOnBackInvokedDispatcher(): OnBackInvokedDispatcher?
findViewById
Link copied to clipboard
fun <T : View?> findViewById(id: Int): T?
findViewsWithText
Link copied to clipboard
open fun findViewsWithText(outViews: ArrayList<View?>?, searched: CharSequence?, flags: Int)
findViewWithTag
Link copied to clipboard
fun <T : View?> findViewWithTag(tag: Any?): T?
focusSearch
Link copied to clipboard
open fun focusSearch(direction: Int): View?
forceFpsLimit
Link copied to clipboard
open override fun forceFpsLimit(fps: Int)

Force stream to work with fps selected in prepareVideo method. Must be called before prepareVideo. This is not recommend because could produce fps problems.

forceHasOverlappingRendering
Link copied to clipboard
open fun forceHasOverlappingRendering(hasOverlappingRendering: Boolean)
forceLayout
Link copied to clipboard
open fun forceLayout()
gatherTransparentRegion
Link copied to clipboard
open fun gatherTransparentRegion(region: Region?): Boolean
generateDisplayHash
Link copied to clipboard
open fun generateDisplayHash(hashAlgorithm: String, bounds: Rect?, executor: Executor, callback: DisplayHashResultCallback)
getAttributeResolutionStack
Link copied to clipboard
open fun getAttributeResolutionStack(attribute: Int): IntArray
getDrawingRect
Link copied to clipboard
open fun getDrawingRect(outRect: Rect?)
getEncoderSize
Link copied to clipboard
open override fun getEncoderSize(): Point
getFocusables
Link copied to clipboard
open fun getFocusables(direction: Int): ArrayList<View?>?
getFocusedRect
Link copied to clipboard
open fun getFocusedRect(r: Rect?)
getGlobalVisibleRect
Link copied to clipboard
fun getGlobalVisibleRect(r: Rect?): Boolean
open fun getGlobalVisibleRect(r: Rect?, globalOffset: Point?): Boolean
getHitRect
Link copied to clipboard
open fun getHitRect(outRect: Rect?)
getLocalVisibleRect
Link copied to clipboard
fun getLocalVisibleRect(r: Rect?): Boolean
getLocationInSurface
Link copied to clipboard
open fun getLocationInSurface(location: IntArray)
getLocationInWindow
Link copied to clipboard
open fun getLocationInWindow(outLocation: IntArray?)
getLocationOnScreen
Link copied to clipboard
open fun getLocationOnScreen(outLocation: IntArray?)
getSurface
Link copied to clipboard
open override fun getSurface(): Surface

Get Surface generated by Opengl. This should be called after start render.

getSurfaceTexture
Link copied to clipboard
open override fun getSurfaceTexture(): SurfaceTexture

Get SurfaceTexture generated by Opengl. This should be called after start render.

getWindowVisibleDisplayFrame
Link copied to clipboard
open fun getWindowVisibleDisplayFrame(outRect: Rect?)
hasExplicitFocusable
Link copied to clipboard
open fun hasExplicitFocusable(): Boolean
hasFocus
Link copied to clipboard
open fun hasFocus(): Boolean
hasFocusable
Link copied to clipboard
open fun hasFocusable(): Boolean
hasNestedScrollingParent
Link copied to clipboard
open fun hasNestedScrollingParent(): Boolean
hasOnClickListeners
Link copied to clipboard
open fun hasOnClickListeners(): Boolean
hasOnLongClickListeners
Link copied to clipboard
open fun hasOnLongClickListeners(): Boolean
hasOverlappingRendering
Link copied to clipboard
open fun hasOverlappingRendering(): Boolean
hasPointerCapture
Link copied to clipboard
open fun hasPointerCapture(): Boolean
hasTransientState
Link copied to clipboard
open fun hasTransientState(): Boolean
hasWindowFocus
Link copied to clipboard
open fun hasWindowFocus(): Boolean
invalidate
Link copied to clipboard
open fun invalidate()
open fun invalidate(dirty: Rect?)
open fun invalidate(l: Int, t: Int, r: Int, b: Int)
invalidateDrawable
Link copied to clipboard
open fun invalidateDrawable(drawable: Drawable)
invalidateOutline
Link copied to clipboard
open fun invalidateOutline()
isRunning
Link copied to clipboard
open override fun isRunning(): Boolean
isVideoMuted
Link copied to clipboard
open override fun isVideoMuted(): Boolean
isVisibleToUserForAutofill
Link copied to clipboard
open fun isVisibleToUserForAutofill(virtualId: Int): Boolean
jumpDrawablesToCurrentState
Link copied to clipboard
open fun jumpDrawablesToCurrentState()
keyboardNavigationClusterSearch
Link copied to clipboard
open fun keyboardNavigationClusterSearch(currentCluster: View?, direction: Int): View?
layout
Link copied to clipboard
open fun layout(l: Int, t: Int, r: Int, b: Int)
measure
Link copied to clipboard
fun measure(widthMeasureSpec: Int, heightMeasureSpec: Int)
muteVideo
Link copied to clipboard
open override fun muteVideo()

This produce send black image all time. This affect to stream and record result.

offsetLeftAndRight
Link copied to clipboard
open fun offsetLeftAndRight(offset: Int)
offsetTopAndBottom
Link copied to clipboard
open fun offsetTopAndBottom(offset: Int)
onApplyWindowInsets
Link copied to clipboard
open fun onApplyWindowInsets(insets: WindowInsets?): WindowInsets?
onCancelPendingInputEvents
Link copied to clipboard
open fun onCancelPendingInputEvents()
onCapturedPointerEvent
Link copied to clipboard
open fun onCapturedPointerEvent(event: MotionEvent?): Boolean
onCheckIsTextEditor
Link copied to clipboard
open fun onCheckIsTextEditor(): Boolean
onCreateInputConnection
Link copied to clipboard
open fun onCreateInputConnection(outAttrs: EditorInfo?): InputConnection?
onCreateViewTranslationRequest
Link copied to clipboard
open fun onCreateViewTranslationRequest(supportedFormats: IntArray, requestsCollector: Consumer<ViewTranslationRequest?>)
onCreateVirtualViewTranslationRequests
Link copied to clipboard
open fun onCreateVirtualViewTranslationRequests(virtualIds: LongArray, supportedFormats: IntArray, requestsCollector: Consumer<ViewTranslationRequest?>)
onDragEvent
Link copied to clipboard
open fun onDragEvent(event: DragEvent?): Boolean
onDrawForeground
Link copied to clipboard
open fun onDrawForeground(canvas: Canvas)
onFilterTouchEventForSecurity
Link copied to clipboard
open fun onFilterTouchEventForSecurity(event: MotionEvent?): Boolean
onFinishTemporaryDetach
Link copied to clipboard
open fun onFinishTemporaryDetach()
onFrameAvailable
Link copied to clipboard
open override fun onFrameAvailable(surfaceTexture: SurfaceTexture)
onGenericMotionEvent
Link copied to clipboard
open fun onGenericMotionEvent(event: MotionEvent?): Boolean
onHoverChanged
Link copied to clipboard
open fun onHoverChanged(hovered: Boolean)
onHoverEvent
Link copied to clipboard
open fun onHoverEvent(event: MotionEvent?): Boolean
onInitializeAccessibilityEvent
Link copied to clipboard
open fun onInitializeAccessibilityEvent(event: AccessibilityEvent?)
onInitializeAccessibilityNodeInfo
Link copied to clipboard
open fun onInitializeAccessibilityNodeInfo(info: AccessibilityNodeInfo?)
onKeyDown
Link copied to clipboard
open fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean
onKeyLongPress
Link copied to clipboard
open fun onKeyLongPress(keyCode: Int, event: KeyEvent?): Boolean
onKeyMultiple
Link copied to clipboard
open fun onKeyMultiple(keyCode: Int, repeatCount: Int, event: KeyEvent?): Boolean
onKeyPreIme
Link copied to clipboard
open fun onKeyPreIme(keyCode: Int, event: KeyEvent?): Boolean
onKeyShortcut
Link copied to clipboard
open fun onKeyShortcut(keyCode: Int, event: KeyEvent?): Boolean
onKeyUp
Link copied to clipboard
open fun onKeyUp(keyCode: Int, event: KeyEvent?): Boolean
onPointerCaptureChange
Link copied to clipboard
open fun onPointerCaptureChange(hasCapture: Boolean)
onPopulateAccessibilityEvent
Link copied to clipboard
open fun onPopulateAccessibilityEvent(event: AccessibilityEvent?)
onProvideAutofillStructure
Link copied to clipboard
open fun onProvideAutofillStructure(structure: ViewStructure?, flags: Int)
onProvideAutofillVirtualStructure
Link copied to clipboard
open fun onProvideAutofillVirtualStructure(structure: ViewStructure?, flags: Int)
onProvideContentCaptureStructure
Link copied to clipboard
open fun onProvideContentCaptureStructure(structure: ViewStructure, flags: Int)
onProvideStructure
Link copied to clipboard
open fun onProvideStructure(structure: ViewStructure?)
onProvideVirtualStructure
Link copied to clipboard
open fun onProvideVirtualStructure(structure: ViewStructure?)
onReceiveContent
Link copied to clipboard
open fun onReceiveContent(payload: ContentInfo): ContentInfo?
onResolvePointerIcon
Link copied to clipboard
open fun onResolvePointerIcon(event: MotionEvent?, pointerIndex: Int): PointerIcon?
onRtlPropertiesChanged
Link copied to clipboard
open fun onRtlPropertiesChanged(layoutDirection: Int)
onScreenStateChanged
Link copied to clipboard
open fun onScreenStateChanged(screenState: Int)
onScrollCaptureSearch
Link copied to clipboard
open fun onScrollCaptureSearch(localVisibleRect: Rect, windowOffset: Point, targets: Consumer<ScrollCaptureTarget?>)
onStartTemporaryDetach
Link copied to clipboard
open fun onStartTemporaryDetach()
onTouchEvent
Link copied to clipboard
open fun onTouchEvent(event: MotionEvent?): Boolean
onTrackballEvent
Link copied to clipboard
open fun onTrackballEvent(event: MotionEvent?): Boolean
onViewTranslationResponse
Link copied to clipboard
open fun onViewTranslationResponse(response: ViewTranslationResponse)
onVirtualViewTranslationResponses
Link copied to clipboard
open fun onVirtualViewTranslationResponses(response: LongSparseArray<ViewTranslationResponse?>)
onVisibilityAggregated
Link copied to clipboard
open fun onVisibilityAggregated(isVisible: Boolean)
onWindowFocusChanged
Link copied to clipboard
open fun onWindowFocusChanged(hasWindowFocus: Boolean)
onWindowSystemUiVisibilityChanged
Link copied to clipboard
open fun onWindowSystemUiVisibilityChanged(visible: Int)
performAccessibilityAction
Link copied to clipboard
open fun performAccessibilityAction(action: Int, arguments: Bundle?): Boolean
performClick
Link copied to clipboard
open fun performClick(): Boolean
performContextClick
Link copied to clipboard
open fun performContextClick(): Boolean
open fun performContextClick(x: Float, y: Float): Boolean
performHapticFeedback
Link copied to clipboard
open fun performHapticFeedback(feedbackConstant: Int): Boolean
open fun performHapticFeedback(feedbackConstant: Int, flags: Int): Boolean
performLongClick
Link copied to clipboard
open fun performLongClick(): Boolean
open fun performLongClick(x: Float, y: Float): Boolean
performReceiveContent
Link copied to clipboard
open fun performReceiveContent(payload: ContentInfo): ContentInfo?
playSoundEffect
Link copied to clipboard
open fun playSoundEffect(soundConstant: Int)
post
Link copied to clipboard
open fun post(action: Runnable?): Boolean
postDelayed
Link copied to clipboard
open fun postDelayed(action: Runnable?, delayMillis: Long): Boolean
postInvalidate
Link copied to clipboard
open fun postInvalidate()
open fun postInvalidate(left: Int, top: Int, right: Int, bottom: Int)
postInvalidateDelayed
Link copied to clipboard
open fun postInvalidateDelayed(delayMilliseconds: Long)
open fun postInvalidateDelayed(delayMilliseconds: Long, left: Int, top: Int, right: Int, bottom: Int)
postInvalidateOnAnimation
Link copied to clipboard
open fun postInvalidateOnAnimation()
open fun postInvalidateOnAnimation(left: Int, top: Int, right: Int, bottom: Int)
postOnAnimation
Link copied to clipboard
open fun postOnAnimation(action: Runnable?)
postOnAnimationDelayed
Link copied to clipboard
open fun postOnAnimationDelayed(action: Runnable?, delayMillis: Long)
refreshDrawableState
Link copied to clipboard
open fun refreshDrawableState()
releasePointerCapture
Link copied to clipboard
open fun releasePointerCapture()
removeCallbacks
Link copied to clipboard
open fun removeCallbacks(action: Runnable?): Boolean
removeFilter
Link copied to clipboard
open override fun removeFilter(baseFilterRender: BaseFilterRender)

Removes the first occurrence of the specified element from this list, if it is present.

open override fun removeFilter(filterPosition: Int)

Remove the filter at the specified position.

removeMediaCodecRecordSurface
Link copied to clipboard
open override fun removeMediaCodecRecordSurface()
removeMediaCodecSurface
Link copied to clipboard
open override fun removeMediaCodecSurface()

Remove surface generated from MediaCodec.

removeOnAttachStateChangeListener
Link copied to clipboard
open fun removeOnAttachStateChangeListener(listener: View.OnAttachStateChangeListener?)
removeOnLayoutChangeListener
Link copied to clipboard
open fun removeOnLayoutChangeListener(listener: View.OnLayoutChangeListener?)
removeOnUnhandledKeyEventListener
Link copied to clipboard
open fun removeOnUnhandledKeyEventListener(listener: View.OnUnhandledKeyEventListener?)
reportAppJankStats
Link copied to clipboard
open fun reportAppJankStats(appJankStats: AppJankStats)
requestApplyInsets
Link copied to clipboard
open fun requestApplyInsets()
requestFitSystemWindows
Link copied to clipboard
open fun requestFitSystemWindows()
requestFocus
Link copied to clipboard
fun requestFocus(): Boolean
fun requestFocus(direction: Int): Boolean
open fun requestFocus(direction: Int, previouslyFocusedRect: Rect?): Boolean
requestFocusFromTouch
Link copied to clipboard
fun requestFocusFromTouch(): Boolean
requestLayout
Link copied to clipboard
open fun requestLayout()
requestPointerCapture
Link copied to clipboard
open fun requestPointerCapture()
requestRectangleOnScreen
Link copied to clipboard
open fun requestRectangleOnScreen(rectangle: Rect?): Boolean
open fun requestRectangleOnScreen(rectangle: Rect?, immediate: Boolean): Boolean
requestUnbufferedDispatch
Link copied to clipboard
fun requestUnbufferedDispatch(event: MotionEvent?)
fun requestUnbufferedDispatch(source: Int)
requireViewById
Link copied to clipboard
fun <T : View?> requireViewById(id: Int): T & Any
resetPivot
Link copied to clipboard
open fun resetPivot()
restoreDefaultFocus
Link copied to clipboard
open fun restoreDefaultFocus(): Boolean
restoreHierarchyState
Link copied to clipboard
open fun restoreHierarchyState(container: SparseArray<Parcelable?>?)
saveAttributeDataForStyleable
Link copied to clipboard
fun saveAttributeDataForStyleable(context: Context, styleable: IntArray, attrs: AttributeSet?, t: TypedArray, defStyleAttr: Int, defStyleRes: Int)
saveHierarchyState
Link copied to clipboard
open fun saveHierarchyState(container: SparseArray<Parcelable?>?)
scheduleDrawable
Link copied to clipboard
open fun scheduleDrawable(who: Drawable, what: Runnable, when: Long)
scrollBy
Link copied to clipboard
open fun scrollBy(x: Int, y: Int)
scrollTo
Link copied to clipboard
open fun scrollTo(x: Int, y: Int)
sendAccessibilityEvent
Link copied to clipboard
open fun sendAccessibilityEvent(eventType: Int)
sendAccessibilityEventUnchecked
Link copied to clipboard
open fun sendAccessibilityEventUnchecked(event: AccessibilityEvent?)
setAccessibilityDataSensitive
Link copied to clipboard
open fun setAccessibilityDataSensitive(accessibilityDataSensitive: Int)
setAllowClickWhenDisabled
Link copied to clipboard
open fun setAllowClickWhenDisabled(clickableWhenDisabled: Boolean)
setAllowedHandwritingDelegatePackage
Link copied to clipboard
open fun setAllowedHandwritingDelegatePackage(allowedPackageName: String?)
setAllowedHandwritingDelegatorPackage
Link copied to clipboard
open fun setAllowedHandwritingDelegatorPackage(allowedPackageName: String?)
setAspectRatioMode
Link copied to clipboard
fun setAspectRatioMode(aspectRatioMode: AspectRatioMode)
setAutofillHints
Link copied to clipboard
open fun setAutofillHints(vararg autofillHints: String?)
setBackgroundColor
Link copied to clipboard
open fun setBackgroundColor(color: Int)
setBackgroundDrawable
Link copied to clipboard
open fun setBackgroundDrawable(background: Drawable?)
setBackgroundResource
Link copied to clipboard
open fun setBackgroundResource(resid: Int)
setCameraFlip
Link copied to clipboard
fun setCameraFlip(isFlipHorizontal: Boolean, isFlipVertical: Boolean)
setChildSurfacePackage
Link copied to clipboard
open fun setChildSurfacePackage(p: SurfaceControlViewHost.SurfacePackage)
setDesiredHdrHeadroom
Link copied to clipboard
open fun setDesiredHdrHeadroom(desiredHeadroom: Float)
setEncoderRecordSize
Link copied to clipboard
open override fun setEncoderRecordSize(width: Int, height: Int)
setEncoderSize
Link copied to clipboard
open override fun setEncoderSize(width: Int, height: Int)

Set video encoder size use to Opengl

setFadingEdgeLength
Link copied to clipboard
open fun setFadingEdgeLength(length: Int)
setFilter
Link copied to clipboard
open override fun setFilter(baseFilterRender: BaseFilterRender)

Replace the filter in position 0 or add the filter if list is empty. You can modify filter's parameters after set it to stream.

open override fun setFilter(filterPosition: Int, baseFilterRender: BaseFilterRender)

Replaces the filter at the specified position with the specified filter. You can modify filter's parameters after set it to stream.

setForceRender
Link copied to clipboard
open override fun setForceRender(enabled: Boolean)
open override fun setForceRender(enabled: Boolean, fps: Int)
setHandwritingBoundsOffsets
Link copied to clipboard
open fun setHandwritingBoundsOffsets(offsetLeft: Float, offsetTop: Float, offsetRight: Float, offsetBottom: Float)
setHasTransientState
Link copied to clipboard
open fun setHasTransientState(hasTransientState: Boolean)
setIsCredential
Link copied to clipboard
open fun setIsCredential(isCredential: Boolean)
setIsHandwritingDelegate
Link copied to clipboard
open fun setIsHandwritingDelegate(isHandwritingDelegate: Boolean)
setIsPreviewHorizontalFlip
Link copied to clipboard
open override fun setIsPreviewHorizontalFlip(flip: Boolean)

When true, flips only the preview horizontally

setIsPreviewVerticalFlip
Link copied to clipboard
open override fun setIsPreviewVerticalFlip(flip: Boolean)

When true, flips only the preview vertically

setIsStreamHorizontalFlip
Link copied to clipboard
open override fun setIsStreamHorizontalFlip(flip: Boolean)

When true, flips only the stream horizontally

setIsStreamVerticalFlip
Link copied to clipboard
open override fun setIsStreamVerticalFlip(flip: Boolean)

When true, flips only the stream vertically

setLayerPaint
Link copied to clipboard
open fun setLayerPaint(paint: Paint?)
setLayerType
Link copied to clipboard
open fun setLayerType(layerType: Int, paint: Paint?)
setLeftTopRightBottom
Link copied to clipboard
fun setLeftTopRightBottom(left: Int, top: Int, right: Int, bottom: Int)
setOnApplyWindowInsetsListener
Link copied to clipboard
open fun setOnApplyWindowInsetsListener(listener: View.OnApplyWindowInsetsListener?)
setOnCapturedPointerListener
Link copied to clipboard
open fun setOnCapturedPointerListener(l: View.OnCapturedPointerListener?)
setOnClickListener
Link copied to clipboard
open fun setOnClickListener(l: View.OnClickListener?)
setOnContextClickListener
Link copied to clipboard
open fun setOnContextClickListener(l: View.OnContextClickListener?)
setOnCreateContextMenuListener
Link copied to clipboard
open fun setOnCreateContextMenuListener(l: View.OnCreateContextMenuListener?)
setOnDragListener
Link copied to clipboard
open fun setOnDragListener(l: View.OnDragListener?)
setOnGenericMotionListener
Link copied to clipboard
open fun setOnGenericMotionListener(l: View.OnGenericMotionListener?)
setOnHoverListener
Link copied to clipboard
open fun setOnHoverListener(l: View.OnHoverListener?)
setOnKeyListener
Link copied to clipboard
open fun setOnKeyListener(l: View.OnKeyListener?)
setOnLongClickListener
Link copied to clipboard
open fun setOnLongClickListener(l: View.OnLongClickListener?)
setOnReceiveContentListener
Link copied to clipboard
open fun setOnReceiveContentListener(mimeTypes: Array<out String?>??, listener: OnReceiveContentListener?)
setOnScrollChangeListener
Link copied to clipboard
open fun setOnScrollChangeListener(l: View.OnScrollChangeListener?)
setOnSystemUiVisibilityChangeListener
Link copied to clipboard
open fun setOnSystemUiVisibilityChangeListener(l: View.OnSystemUiVisibilityChangeListener?)
setOnTouchListener
Link copied to clipboard
open fun setOnTouchListener(l: View.OnTouchListener?)
setPadding
Link copied to clipboard
open fun setPadding(left: Int, top: Int, right: Int, bottom: Int)
setPaddingRelative
Link copied to clipboard
open fun setPaddingRelative(start: Int, top: Int, end: Int, bottom: Int)
setPendingCredentialRequest
Link copied to clipboard
open fun setPendingCredentialRequest(request: GetCredentialRequest, callback: OutcomeReceiver<GetCredentialResponse?, GetCredentialException?>)
setRenderEffect
Link copied to clipboard
open fun setRenderEffect(renderEffect: RenderEffect?)
setRenderErrorCallback
Link copied to clipboard
open override fun setRenderErrorCallback(callback: RenderErrorCallback)
setRotation
Link copied to clipboard
open override fun setRotation(rotation: Int)
setScrollCaptureCallback
Link copied to clipboard
fun setScrollCaptureCallback(callback: ScrollCaptureCallback?)
setSecure
Link copied to clipboard
open fun setSecure(isSecure: Boolean)
setStreamRotation
Link copied to clipboard
open override fun setStreamRotation(streamRotation: Int)
setSurfaceLifecycle
Link copied to clipboard
open fun setSurfaceLifecycle(lifecycleStrategy: Int)
setTransitionVisibility
Link copied to clipboard
open fun setTransitionVisibility(visibility: Int)
setViewTranslationCallback
Link copied to clipboard
open fun setViewTranslationCallback(callback: ViewTranslationCallback)
setWillNotCacheDrawing
Link copied to clipboard
open fun setWillNotCacheDrawing(willNotCacheDrawing: Boolean)
setWillNotDraw
Link copied to clipboard
open fun setWillNotDraw(willNotDraw: Boolean)
setWindowInsetsAnimationCallback
Link copied to clipboard
open fun setWindowInsetsAnimationCallback(callback: WindowInsetsAnimation.Callback?)
setZOrderMediaOverlay
Link copied to clipboard
open fun setZOrderMediaOverlay(isMediaOverlay: Boolean)
setZOrderOnTop
Link copied to clipboard
open fun setZOrderOnTop(onTop: Boolean)
showContextMenu
Link copied to clipboard
open fun showContextMenu(): Boolean
open fun showContextMenu(x: Float, y: Float): Boolean
start
Link copied to clipboard
open override fun start()

INTERNAL METHOD. Start Opengl rendering.

startActionMode
Link copied to clipboard
open fun startActionMode(callback: ActionMode.Callback?): ActionMode?
open fun startActionMode(callback: ActionMode.Callback?, type: Int): ActionMode?
startAnimation
Link copied to clipboard
open fun startAnimation(animation: Animation?)
startDrag
Link copied to clipboard
fun startDrag(data: ClipData?, shadowBuilder: View.DragShadowBuilder?, myLocalState: Any?, flags: Int): Boolean
startDragAndDrop
Link copied to clipboard
fun startDragAndDrop(data: ClipData?, shadowBuilder: View.DragShadowBuilder?, myLocalState: Any?, flags: Int): Boolean
startNestedScroll
Link copied to clipboard
open fun startNestedScroll(axes: Int): Boolean
stop
Link copied to clipboard
open override fun stop()

INTERNAL METHOD. Stop Opengl rendering.

stopNestedScroll
Link copied to clipboard
open fun stopNestedScroll()
surfaceChanged
Link copied to clipboard
open override fun surfaceChanged(holder: SurfaceHolder, format: Int, width: Int, height: Int)
surfaceCreated
Link copied to clipboard
open override fun surfaceCreated(holder: SurfaceHolder)
surfaceDestroyed
Link copied to clipboard
open override fun surfaceDestroyed(holder: SurfaceHolder)
takePhoto
Link copied to clipboard
open override fun takePhoto(takePhotoCallback: TakePhotoCallback)

Capture an Image from Opengl.

transformMatrixToGlobal
Link copied to clipboard
open fun transformMatrixToGlobal(matrix: Matrix)
transformMatrixToLocal
Link copied to clipboard
open fun transformMatrixToLocal(matrix: Matrix)
unMuteVideo
Link copied to clipboard
open override fun unMuteVideo()
unscheduleDrawable
Link copied to clipboard
open fun unscheduleDrawable(who: Drawable, what: Runnable)
open fun unscheduleDrawable(who: Drawable?)
updateDragShadow
Link copied to clipboard
fun updateDragShadow(shadowBuilder: View.DragShadowBuilder?)
willNotCacheDrawing
Link copied to clipboard
open fun willNotCacheDrawing(): Boolean
willNotDraw
Link copied to clipboard
open fun willNotDraw(): Boolean