NavigationView

open class NavigationView : CoordinatorLayout, LifecycleOwner, OnMapReadyCallback, NavigationContract.View

View that creates the drop-in UI.

Once started, this view will check if the Activity that inflated it was launched with a DirectionsRoute.

Or, if not found, this view will look for a set of Point coordinates. In the latter case, a new DirectionsRoute will be retrieved from Router.

Once valid data is obtained, this activity will immediately begin navigation with MapboxNavigation.

If launched with the simulation boolean set to true, a MapboxReplayer will be initialized and begin pushing updates.

This activity requires user permissions ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION have already been granted.

A Mapbox access token must also be set by the developer (to initialize navigation).

Constructors

NavigationView
Link copied to clipboard
open fun NavigationView(context: Context)
NavigationView
Link copied to clipboard
open fun NavigationView(context: Context, attrs: AttributeSet)
NavigationView
Link copied to clipboard
open fun NavigationView(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Functions

acquireTempRect
Link copied to clipboard
open fun acquireTempRect(): Rect
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)
addFocusables
Link copied to clipboard
open fun addFocusables(views: ArrayList<View>, direction: Int, focusableMode: Int)
addKeyboardNavigationClusters
Link copied to clipboard
open fun addKeyboardNavigationClusters(views: Collection<View>, direction: Int)
addMarker
Link copied to clipboard
abstract fun addMarker(point: Point)
open fun addMarker(position: Point)
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)
addPreDrawListener
Link copied to clipboard
open fun addPreDrawListener()
addStatesFromChildren
Link copied to clipboard
open fun addStatesFromChildren(): Boolean
addTouchables
Link copied to clipboard
open fun addTouchables(views: ArrayList<View>)
addView
Link copied to clipboard
open fun addView(child: View)
addViewInLayout
Link copied to clipboard
open fun addViewInLayout(child: View, index: Int, params: ViewGroup.LayoutParams): Boolean
animate
Link copied to clipboard
open fun animate(): ViewPropertyAnimator
announceForAccessibility
Link copied to clipboard
open fun announceForAccessibility(text: CharSequence)
attachLayoutAnimationParameters
Link copied to clipboard
open fun attachLayoutAnimationParameters(child: View, params: ViewGroup.LayoutParams, index: Int, count: Int)
attachViewToParent
Link copied to clipboard
open fun attachViewToParent(child: View, index: Int, params: ViewGroup.LayoutParams)
autofill
Link copied to clipboard
open fun autofill(value: AutofillValue)
awakenScrollBars
Link copied to clipboard
open fun awakenScrollBars(): Boolean
bringChildToFront
Link copied to clipboard
open fun bringChildToFront(child: View)
bringToFront
Link copied to clipboard
open fun bringToFront()
buildDrawingCache
Link copied to clipboard
open fun buildDrawingCache()
buildLayer
Link copied to clipboard
open fun buildLayer()
callOnClick
Link copied to clipboard
open fun callOnClick(): Boolean
canAnimate
Link copied to clipboard
open fun canAnimate(): 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
checkLayoutParams
Link copied to clipboard
open fun checkLayoutParams(p: ViewGroup.LayoutParams): Boolean
childDrawableStateChanged
Link copied to clipboard
open fun childDrawableStateChanged(child: View)
childHasTransientStateChanged
Link copied to clipboard
open fun childHasTransientStateChanged(child: View, childHasTransientState: Boolean)
clamp
Link copied to clipboard
open fun clamp(value: Int, min: Int, max: Int): Int
cleanupLayoutState
Link copied to clipboard
open fun cleanupLayoutState(child: View)
clearAnimation
Link copied to clipboard
open fun clearAnimation()
clearChildFocus
Link copied to clipboard
open fun clearChildFocus(child: View)
clearDisappearingChildren
Link copied to clipboard
open fun clearDisappearingChildren()
clearFocus
Link copied to clipboard
open fun clearFocus()
combineMeasuredStates
Link copied to clipboard
open fun combineMeasuredStates(curState: Int, newState: Int): Int
computeHorizontalScrollExtent
Link copied to clipboard
open fun computeHorizontalScrollExtent(): Int
computeHorizontalScrollOffset
Link copied to clipboard
open fun computeHorizontalScrollOffset(): Int
computeHorizontalScrollRange
Link copied to clipboard
open fun computeHorizontalScrollRange(): Int
computeScroll
Link copied to clipboard
open fun computeScroll()
computeSystemWindowInsets
Link copied to clipboard
open fun computeSystemWindowInsets(in: WindowInsets, outLocalInsets: Rect): WindowInsets
computeVerticalScrollExtent
Link copied to clipboard
open fun computeVerticalScrollExtent(): Int
computeVerticalScrollOffset
Link copied to clipboard
open fun computeVerticalScrollOffset(): Int
computeVerticalScrollRange
Link copied to clipboard
open fun computeVerticalScrollRange(): Int
constrainChildRect
Link copied to clipboard
open fun constrainChildRect(lp: CoordinatorLayout.LayoutParams, out: Rect, childWidth: Int, childHeight: Int)
createAccessibilityNodeInfo
Link copied to clipboard
open fun createAccessibilityNodeInfo(): AccessibilityNodeInfo
createContextMenu
Link copied to clipboard
open fun createContextMenu(menu: ContextMenu)
debug
Link copied to clipboard
open fun debug(depth: Int)
destroyDrawingCache
Link copied to clipboard
open fun destroyDrawingCache()
detachAllViewsFromParent
Link copied to clipboard
open fun detachAllViewsFromParent()
detachViewFromParent
Link copied to clipboard
open fun detachViewFromParent(child: View)
detachViewsFromParent
Link copied to clipboard
open fun detachViewsFromParent(start: Int, count: Int)
dispatchApplyWindowInsets
Link copied to clipboard
open fun dispatchApplyWindowInsets(insets: WindowInsets): WindowInsets
dispatchApplyWindowInsetsToBehaviors
Link copied to clipboard
open fun dispatchApplyWindowInsetsToBehaviors(insets: WindowInsetsCompat): WindowInsetsCompat
dispatchCapturedPointerEvent
Link copied to clipboard
open fun dispatchCapturedPointerEvent(event: MotionEvent): Boolean
dispatchConfigurationChanged
Link copied to clipboard
open fun dispatchConfigurationChanged(newConfig: Configuration)
dispatchDependentViewsChanged
Link copied to clipboard
open fun dispatchDependentViewsChanged(view: View)
dispatchDisplayHint
Link copied to clipboard
open fun dispatchDisplayHint(hint: Int)
dispatchDragEvent
Link copied to clipboard
open fun dispatchDragEvent(event: DragEvent): Boolean
dispatchDraw
Link copied to clipboard
open fun dispatchDraw(canvas: Canvas)
dispatchDrawableHotspotChanged
Link copied to clipboard
open fun dispatchDrawableHotspotChanged(x: Float, y: Float)
dispatchFinishTemporaryDetach
Link copied to clipboard
open fun dispatchFinishTemporaryDetach()
dispatchFreezeSelfOnly
Link copied to clipboard
open fun dispatchFreezeSelfOnly(container: SparseArray<Parcelable>)
dispatchGenericFocusedEvent
Link copied to clipboard
open fun dispatchGenericFocusedEvent(event: MotionEvent): Boolean
dispatchGenericMotionEvent
Link copied to clipboard
open fun dispatchGenericMotionEvent(event: MotionEvent): Boolean
dispatchGenericPointerEvent
Link copied to clipboard
open fun dispatchGenericPointerEvent(event: MotionEvent): Boolean
dispatchHoverEvent
Link copied to clipboard
open fun dispatchHoverEvent(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
open fun dispatchNestedPrePerformAccessibilityAction(action: Int, arguments: Bundle): Boolean
dispatchNestedPreScroll
Link copied to clipboard
open fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: Array<Int>, offsetInWindow: Array<Int>): Boolean
dispatchNestedScroll
Link copied to clipboard
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: Array<Int>): 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)
dispatchRestoreInstanceState
Link copied to clipboard
open fun dispatchRestoreInstanceState(container: SparseArray<Parcelable>)
dispatchSaveInstanceState
Link copied to clipboard
open fun dispatchSaveInstanceState(container: SparseArray<Parcelable>)
dispatchSetActivated
Link copied to clipboard
open fun dispatchSetActivated(activated: Boolean)
dispatchSetPressed
Link copied to clipboard
open fun dispatchSetPressed(pressed: Boolean)
dispatchSetSelected
Link copied to clipboard
open fun dispatchSetSelected(selected: Boolean)
dispatchStartTemporaryDetach
Link copied to clipboard
open fun dispatchStartTemporaryDetach()
dispatchSystemUiVisibilityChanged
Link copied to clipboard
open fun dispatchSystemUiVisibilityChanged(visible: Int)
dispatchThawSelfOnly
Link copied to clipboard
open fun dispatchThawSelfOnly(container: SparseArray<Parcelable>)
dispatchTouchEvent
Link copied to clipboard
open fun dispatchTouchEvent(ev: 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
dispatchVisibilityChanged
Link copied to clipboard
open fun dispatchVisibilityChanged(changedView: View, visibility: Int)
dispatchWindowFocusChanged
Link copied to clipboard
open fun dispatchWindowFocusChanged(hasFocus: Boolean)
dispatchWindowSystemUiVisiblityChanged
Link copied to clipboard
open fun dispatchWindowSystemUiVisiblityChanged(visible: Int)
dispatchWindowVisibilityChanged
Link copied to clipboard
open fun dispatchWindowVisibilityChanged(visibility: Int)
doViewsOverlap
Link copied to clipboard
open fun doViewsOverlap(first: View, second: View): Boolean
draw
Link copied to clipboard
open fun draw(canvas: Canvas)
drawableHotspotChanged
Link copied to clipboard
open fun drawableHotspotChanged(x: Float, y: Float)
drawableStateChanged
Link copied to clipboard
open fun drawableStateChanged()
drawChild
Link copied to clipboard
open fun drawChild(canvas: Canvas, child: View, drawingTime: Long): Boolean
drawRoute
Link copied to clipboard
abstract fun drawRoute(directionsRoute: DirectionsRoute)
open fun drawRoute(directionsRoute: DirectionsRoute)
endViewTransition
Link copied to clipboard
open fun endViewTransition(view: View)
ensurePreDrawListener
Link copied to clipboard
open fun ensurePreDrawListener()
findFocus
Link copied to clipboard
open fun findFocus(): View
findViewById
Link copied to clipboard
fun <T : View?> findViewById(id: Int): T
findViewsWithText
Link copied to clipboard
open fun findViewsWithText(outViews: ArrayList<View>, text: CharSequence, flags: Int)
findViewWithTag
Link copied to clipboard
fun <T : View?> findViewWithTag(tag: Any): T
fitSystemWindows
Link copied to clipboard
open fun fitSystemWindows(insets: Rect): Boolean
focusableViewAvailable
Link copied to clipboard
open fun focusableViewAvailable(v: View)
focusSearch
Link copied to clipboard
open fun focusSearch(focused: View, direction: Int): View
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
generateDefaultLayoutParams
Link copied to clipboard
open fun generateDefaultLayoutParams(): CoordinatorLayout.LayoutParams
generateLayoutParams
Link copied to clipboard
open fun generateLayoutParams(attrs: AttributeSet): CoordinatorLayout.LayoutParams
generateViewId
Link copied to clipboard
open fun generateViewId(): Int
getAccessibilityClassName
Link copied to clipboard
open fun getAccessibilityClassName(): CharSequence
getAccessibilityDelegate
Link copied to clipboard
open fun getAccessibilityDelegate(): View.AccessibilityDelegate
getAccessibilityLiveRegion
Link copied to clipboard
open fun getAccessibilityLiveRegion(): Int
getAccessibilityNodeProvider
Link copied to clipboard
open fun getAccessibilityNodeProvider(): AccessibilityNodeProvider
getAccessibilityPaneTitle
Link copied to clipboard
open fun getAccessibilityPaneTitle(): CharSequence
getAccessibilityTraversalAfter
Link copied to clipboard
open fun getAccessibilityTraversalAfter(): Int
getAccessibilityTraversalBefore
Link copied to clipboard
open fun getAccessibilityTraversalBefore(): Int
getAlpha
Link copied to clipboard
open fun getAlpha(): Float
getAnimation
Link copied to clipboard
open fun getAnimation(): Animation
getAnimationMatrix
Link copied to clipboard
open fun getAnimationMatrix(): Matrix
getApplicationWindowToken
Link copied to clipboard
open fun getApplicationWindowToken(): IBinder
getAttributeResolutionStack
Link copied to clipboard
open fun getAttributeResolutionStack(attribute: Int): Array<Int>
getAttributeSourceResourceMap
Link copied to clipboard
open fun getAttributeSourceResourceMap(): Map<Integer, Integer>
getAutofillHints
Link copied to clipboard
open fun getAutofillHints(): Array<String>
getAutofillId
Link copied to clipboard
fun getAutofillId(): AutofillId
getAutofillType
Link copied to clipboard
open fun getAutofillType(): Int
getAutofillValue
Link copied to clipboard
open fun getAutofillValue(): AutofillValue
getBackground
Link copied to clipboard
open fun getBackground(): Drawable
getBackgroundTintBlendMode
Link copied to clipboard
open fun getBackgroundTintBlendMode(): BlendMode
getBackgroundTintList
Link copied to clipboard
open fun getBackgroundTintList(): ColorStateList
getBackgroundTintMode
Link copied to clipboard
open fun getBackgroundTintMode(): PorterDuff.Mode
getBaseline
Link copied to clipboard
open fun getBaseline(): Int
getBottom
Link copied to clipboard
fun getBottom(): Int
getBottomFadingEdgeStrength
Link copied to clipboard
open fun getBottomFadingEdgeStrength(): Float
getBottomPaddingOffset
Link copied to clipboard
open fun getBottomPaddingOffset(): Int
getCameraDistance
Link copied to clipboard
open fun getCameraDistance(): Float
getChildAt
Link copied to clipboard
open fun getChildAt(index: Int): View
getChildCount
Link copied to clipboard
open fun getChildCount(): Int
getChildDrawingOrder
Link copied to clipboard
open fun getChildDrawingOrder(childCount: Int, drawingPosition: Int): Int
getChildMeasureSpec
Link copied to clipboard
open fun getChildMeasureSpec(spec: Int, padding: Int, childDimension: Int): Int
getChildRect
Link copied to clipboard
open fun getChildRect(child: View, transform: Boolean, out: Rect)
getChildStaticTransformation
Link copied to clipboard
open fun getChildStaticTransformation(child: View, t: Transformation): Boolean
getChildVisibleRect
Link copied to clipboard
open fun getChildVisibleRect(child: View, r: Rect, offset: Point): Boolean
getClipBounds
Link copied to clipboard
open fun getClipBounds(): Rect
open fun getClipBounds(outRect: Rect): Boolean
getClipChildren
Link copied to clipboard
open fun getClipChildren(): Boolean
getClipToOutline
Link copied to clipboard
fun getClipToOutline(): Boolean
getClipToPadding
Link copied to clipboard
open fun getClipToPadding(): Boolean
getContentCaptureSession
Link copied to clipboard
fun getContentCaptureSession(): ContentCaptureSession
getContentDescription
Link copied to clipboard
open fun getContentDescription(): CharSequence
getContext
Link copied to clipboard
fun getContext(): Context
getContextMenuInfo
Link copied to clipboard
open fun getContextMenuInfo(): ContextMenu.ContextMenuInfo
getDefaultFocusHighlightEnabled
Link copied to clipboard
fun getDefaultFocusHighlightEnabled(): Boolean
getDefaultSize
Link copied to clipboard
open fun getDefaultSize(size: Int, measureSpec: Int): Int
getDependencies
Link copied to clipboard
open fun getDependencies(child: View): List<View>
getDependencySortedChildren
Link copied to clipboard
fun getDependencySortedChildren(): List<View>
getDependents
Link copied to clipboard
open fun getDependents(child: View): List<View>
getDescendantFocusability
Link copied to clipboard
open fun getDescendantFocusability(): Int
getDescendantRect
Link copied to clipboard
open fun getDescendantRect(descendant: View, out: Rect)
getDesiredAnchoredChildRect
Link copied to clipboard
open fun getDesiredAnchoredChildRect(child: View, layoutDirection: Int, anchorRect: Rect, out: Rect)
open fun getDesiredAnchoredChildRectWithoutConstraints(child: View, layoutDirection: Int, anchorRect: Rect, out: Rect, lp: CoordinatorLayout.LayoutParams, childWidth: Int, childHeight: Int)
getDisplay
Link copied to clipboard
open fun getDisplay(): Display
getDrawableState
Link copied to clipboard
fun getDrawableState(): Array<Int>
getDrawingCache
Link copied to clipboard
open fun getDrawingCache(): Bitmap
getDrawingCacheBackgroundColor
Link copied to clipboard
open fun getDrawingCacheBackgroundColor(): Int
getDrawingCacheQuality
Link copied to clipboard
open fun getDrawingCacheQuality(): Int
getDrawingRect
Link copied to clipboard
open fun getDrawingRect(outRect: Rect)
getDrawingTime
Link copied to clipboard
open fun getDrawingTime(): Long
getElevation
Link copied to clipboard
open fun getElevation(): Float
getExplicitStyle
Link copied to clipboard
open fun getExplicitStyle(): Int
getFilterTouchesWhenObscured
Link copied to clipboard
open fun getFilterTouchesWhenObscured(): Boolean
getFitsSystemWindows
Link copied to clipboard
open fun getFitsSystemWindows(): Boolean
getFocusable
Link copied to clipboard
open fun getFocusable(): Int
getFocusables
Link copied to clipboard
open fun getFocusables(direction: Int): ArrayList<View>
getFocusedChild
Link copied to clipboard
open fun getFocusedChild(): View
getFocusedRect
Link copied to clipboard
open fun getFocusedRect(r: Rect)
getForeground
Link copied to clipboard
open fun getForeground(): Drawable
getForegroundGravity
Link copied to clipboard
open fun getForegroundGravity(): Int
getForegroundTintBlendMode
Link copied to clipboard
open fun getForegroundTintBlendMode(): BlendMode
getForegroundTintList
Link copied to clipboard
open fun getForegroundTintList(): ColorStateList
getForegroundTintMode
Link copied to clipboard
open fun getForegroundTintMode(): PorterDuff.Mode
getGlobalVisibleRect
Link copied to clipboard
open fun getGlobalVisibleRect(r: Rect, globalOffset: Point): Boolean
getHandler
Link copied to clipboard
open fun getHandler(): Handler
getHasOverlappingRendering
Link copied to clipboard
fun getHasOverlappingRendering(): Boolean
getHeight
Link copied to clipboard
fun getHeight(): Int
getHitRect
Link copied to clipboard
open fun getHitRect(outRect: Rect)
getHorizontalFadingEdgeLength
Link copied to clipboard
open fun getHorizontalFadingEdgeLength(): Int
getHorizontalScrollbarHeight
Link copied to clipboard
open fun getHorizontalScrollbarHeight(): Int
getHorizontalScrollbarThumbDrawable
Link copied to clipboard
open fun getHorizontalScrollbarThumbDrawable(): Drawable
getHorizontalScrollbarTrackDrawable
Link copied to clipboard
open fun getHorizontalScrollbarTrackDrawable(): Drawable
getId
Link copied to clipboard
open fun getId(): Int
getImportantForAccessibility
Link copied to clipboard
open fun getImportantForAccessibility(): Int
getImportantForAutofill
Link copied to clipboard
open fun getImportantForAutofill(): Int
getKeepScreenOn
Link copied to clipboard
open fun getKeepScreenOn(): Boolean
getKeyDispatcherState
Link copied to clipboard
open fun getKeyDispatcherState(): KeyEvent.DispatcherState
getKeyline
Link copied to clipboard
open fun getKeyline(index: Int): Int
getLabelFor
Link copied to clipboard
open fun getLabelFor(): Int
getLastChildRect
Link copied to clipboard
open fun getLastChildRect(child: View, out: Rect)
getLastWindowInsets
Link copied to clipboard
fun getLastWindowInsets(): WindowInsetsCompat
getLayerType
Link copied to clipboard
open fun getLayerType(): Int
getLayoutAnimation
Link copied to clipboard
open fun getLayoutAnimation(): LayoutAnimationController
getLayoutAnimationListener
Link copied to clipboard
open fun getLayoutAnimationListener(): Animation.AnimationListener
getLayoutDirection
Link copied to clipboard
open fun getLayoutDirection(): Int
getLayoutMode
Link copied to clipboard
open fun getLayoutMode(): Int
getLayoutParams
Link copied to clipboard
open fun getLayoutParams(): ViewGroup.LayoutParams
getLayoutTransition
Link copied to clipboard
open fun getLayoutTransition(): LayoutTransition
getLeft
Link copied to clipboard
fun getLeft(): Int
getLeftFadingEdgeStrength
Link copied to clipboard
open fun getLeftFadingEdgeStrength(): Float
getLeftPaddingOffset
Link copied to clipboard
open fun getLeftPaddingOffset(): Int
getLifecycle
Link copied to clipboard
abstract fun getLifecycle(): Lifecycle
open fun getLifecycle(): Lifecycle
getLocalVisibleRect
Link copied to clipboard
fun getLocalVisibleRect(r: Rect): Boolean
getLocationInSurface
Link copied to clipboard
open fun getLocationInSurface(location: Array<Int>)
getLocationInWindow
Link copied to clipboard
open fun getLocationInWindow(outLocation: Array<Int>)
getLocationOnScreen
Link copied to clipboard
open fun getLocationOnScreen(outLocation: Array<Int>)
getMatrix
Link copied to clipboard
open fun getMatrix(): Matrix
getMeasuredHeight
Link copied to clipboard
fun getMeasuredHeight(): Int
getMeasuredHeightAndState
Link copied to clipboard
fun getMeasuredHeightAndState(): Int
getMeasuredState
Link copied to clipboard
fun getMeasuredState(): Int
getMeasuredWidth
Link copied to clipboard
fun getMeasuredWidth(): Int
getMeasuredWidthAndState
Link copied to clipboard
fun getMeasuredWidthAndState(): Int
getMinimumHeight
Link copied to clipboard
open fun getMinimumHeight(): Int
getMinimumWidth
Link copied to clipboard
open fun getMinimumWidth(): Int
getNestedScrollAxes
Link copied to clipboard
open fun getNestedScrollAxes(): Int
getNextClusterForwardId
Link copied to clipboard
open fun getNextClusterForwardId(): Int
getNextFocusDownId
Link copied to clipboard
open fun getNextFocusDownId(): Int
getNextFocusForwardId
Link copied to clipboard
open fun getNextFocusForwardId(): Int
getNextFocusLeftId
Link copied to clipboard
open fun getNextFocusLeftId(): Int
getNextFocusRightId
Link copied to clipboard
open fun getNextFocusRightId(): Int
getNextFocusUpId
Link copied to clipboard
open fun getNextFocusUpId(): Int
getOnFocusChangeListener
Link copied to clipboard
open fun getOnFocusChangeListener(): View.OnFocusChangeListener
getOutlineAmbientShadowColor
Link copied to clipboard
open fun getOutlineAmbientShadowColor(): Int
getOutlineProvider
Link copied to clipboard
open fun getOutlineProvider(): ViewOutlineProvider
getOutlineSpotShadowColor
Link copied to clipboard
open fun getOutlineSpotShadowColor(): Int
getOverlay
Link copied to clipboard
open fun getOverlay(): ViewOverlay
open fun getOverlay(): ViewGroupOverlay
getOverScrollMode
Link copied to clipboard
open fun getOverScrollMode(): Int
getPaddingBottom
Link copied to clipboard
open fun getPaddingBottom(): Int
getPaddingEnd
Link copied to clipboard
open fun getPaddingEnd(): Int
getPaddingLeft
Link copied to clipboard
open fun getPaddingLeft(): Int
getPaddingRight
Link copied to clipboard
open fun getPaddingRight(): Int
getPaddingStart
Link copied to clipboard
open fun getPaddingStart(): Int
getPaddingTop
Link copied to clipboard
open fun getPaddingTop(): Int
getParent
Link copied to clipboard
fun getParent(): ViewParent
getParentForAccessibility
Link copied to clipboard
open fun getParentForAccessibility(): ViewParent
getPersistentDrawingCache
Link copied to clipboard
open fun getPersistentDrawingCache(): Int
getPivotX
Link copied to clipboard
open fun getPivotX(): Float
getPivotY
Link copied to clipboard
open fun getPivotY(): Float
getPointerIcon
Link copied to clipboard
open fun getPointerIcon(): PointerIcon
getResolvedLayoutParams
Link copied to clipboard
open fun getResolvedLayoutParams(child: View): CoordinatorLayout.LayoutParams
getResources
Link copied to clipboard
open fun getResources(): Resources
getRevealOnFocusHint
Link copied to clipboard
fun getRevealOnFocusHint(): Boolean
getRight
Link copied to clipboard
fun getRight(): Int
getRightFadingEdgeStrength
Link copied to clipboard
open fun getRightFadingEdgeStrength(): Float
getRightPaddingOffset
Link copied to clipboard
open fun getRightPaddingOffset(): Int
getRootView
Link copied to clipboard
open fun getRootView(): View
getRootWindowInsets
Link copied to clipboard
open fun getRootWindowInsets(): WindowInsets
getRotation
Link copied to clipboard
open fun getRotation(): Float
getRotationX
Link copied to clipboard
open fun getRotationX(): Float
getRotationY
Link copied to clipboard
open fun getRotationY(): Float
getScaleX
Link copied to clipboard
open fun getScaleX(): Float
getScaleY
Link copied to clipboard
open fun getScaleY(): Float
getScrollBarDefaultDelayBeforeFade
Link copied to clipboard
open fun getScrollBarDefaultDelayBeforeFade(): Int
getScrollBarFadeDuration
Link copied to clipboard
open fun getScrollBarFadeDuration(): Int
getScrollBarSize
Link copied to clipboard
open fun getScrollBarSize(): Int
getScrollBarStyle
Link copied to clipboard
open fun getScrollBarStyle(): Int
getScrollIndicators
Link copied to clipboard
open fun getScrollIndicators(): Int
getScrollX
Link copied to clipboard
fun getScrollX(): Int
getScrollY
Link copied to clipboard
fun getScrollY(): Int
getSolidColor
Link copied to clipboard
open fun getSolidColor(): Int
getSourceLayoutResId
Link copied to clipboard
open fun getSourceLayoutResId(): Int
getStateListAnimator
Link copied to clipboard
open fun getStateListAnimator(): StateListAnimator
getStatusBarBackground
Link copied to clipboard
open fun getStatusBarBackground(): Drawable
getSuggestedMinimumHeight
Link copied to clipboard
open fun getSuggestedMinimumHeight(): Int
getSuggestedMinimumWidth
Link copied to clipboard
open fun getSuggestedMinimumWidth(): Int
getSystemGestureExclusionRects
Link copied to clipboard
open fun getSystemGestureExclusionRects(): List<Rect>
getSystemUiVisibility
Link copied to clipboard
open fun getSystemUiVisibility(): Int
getTag
Link copied to clipboard
open fun getTag(): Any
getTextAlignment
Link copied to clipboard
open fun getTextAlignment(): Int
getTextDirection
Link copied to clipboard
open fun getTextDirection(): Int
getTooltipText
Link copied to clipboard
open fun getTooltipText(): CharSequence
getTop
Link copied to clipboard
fun getTop(): Int
getTopFadingEdgeStrength
Link copied to clipboard
open fun getTopFadingEdgeStrength(): Float
getTopPaddingOffset
Link copied to clipboard
open fun getTopPaddingOffset(): Int
getTopSortedChildren
Link copied to clipboard
open fun getTopSortedChildren(out: List<View>)
getTouchables
Link copied to clipboard
open fun getTouchables(): ArrayList<View>
getTouchDelegate
Link copied to clipboard
open fun getTouchDelegate(): TouchDelegate
getTouchscreenBlocksFocus
Link copied to clipboard
open fun getTouchscreenBlocksFocus(): Boolean
getTransitionAlpha
Link copied to clipboard
open fun getTransitionAlpha(): Float
getTransitionName
Link copied to clipboard
open fun getTransitionName(): String
getTranslationX
Link copied to clipboard
open fun getTranslationX(): Float
getTranslationY
Link copied to clipboard
open fun getTranslationY(): Float
getTranslationZ
Link copied to clipboard
open fun getTranslationZ(): Float
getUniqueDrawingId
Link copied to clipboard
open fun getUniqueDrawingId(): Long
getVerticalFadingEdgeLength
Link copied to clipboard
open fun getVerticalFadingEdgeLength(): Int
getVerticalScrollbarPosition
Link copied to clipboard
open fun getVerticalScrollbarPosition(): Int
getVerticalScrollbarThumbDrawable
Link copied to clipboard
open fun getVerticalScrollbarThumbDrawable(): Drawable
getVerticalScrollbarTrackDrawable
Link copied to clipboard
open fun getVerticalScrollbarTrackDrawable(): Drawable
getVerticalScrollbarWidth
Link copied to clipboard
open fun getVerticalScrollbarWidth(): Int
getViewTreeObserver
Link copied to clipboard
open fun getViewTreeObserver(): ViewTreeObserver
getVisibility
Link copied to clipboard
open fun getVisibility(): Int
getWidth
Link copied to clipboard
fun getWidth(): Int
getWindowAttachCount
Link copied to clipboard
open fun getWindowAttachCount(): Int
getWindowId
Link copied to clipboard
open fun getWindowId(): WindowId
getWindowSystemUiVisibility
Link copied to clipboard
open fun getWindowSystemUiVisibility(): Int
getWindowToken
Link copied to clipboard
open fun getWindowToken(): IBinder
getWindowVisibility
Link copied to clipboard
open fun getWindowVisibility(): Int
getWindowVisibleDisplayFrame
Link copied to clipboard
open fun getWindowVisibleDisplayFrame(outRect: Rect)
getX
Link copied to clipboard
open fun getX(): Float
getY
Link copied to clipboard
open fun getY(): Float
getZ
Link copied to clipboard
open fun getZ(): Float
hasDependencies
Link copied to clipboard
open fun hasDependencies(child: View): Boolean
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
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
hideRecenterBtn
Link copied to clipboard
open fun hideRecenterBtn()
indexOfChild
Link copied to clipboard
open fun indexOfChild(child: View): Int
inflate
Link copied to clipboard
open fun inflate(context: Context, resource: Int, root: ViewGroup): View
initialize
Link copied to clipboard
open fun initialize(onNavigationReadyCallback: OnNavigationReadyCallback)
Should be called after onCreate.
open fun initialize(onNavigationReadyCallback: OnNavigationReadyCallback, initialMapCameraPosition: CameraPosition)
Should be called after onCreate.
invalidate
Link copied to clipboard
open fun invalidate(dirty: Rect)
invalidateChild
Link copied to clipboard
fun invalidateChild(child: View, dirty: Rect)
invalidateChildInParent
Link copied to clipboard
open fun invalidateChildInParent(location: Array<Int>, dirty: Rect): ViewParent
invalidateDrawable
Link copied to clipboard
open fun invalidateDrawable(drawable: Drawable)
invalidateOutline
Link copied to clipboard
open fun invalidateOutline()
isAccessibilityFocused
Link copied to clipboard
open fun isAccessibilityFocused(): Boolean
isAccessibilityHeading
Link copied to clipboard
open fun isAccessibilityHeading(): Boolean
isActivated
Link copied to clipboard
open fun isActivated(): Boolean
isAlwaysDrawnWithCacheEnabled
Link copied to clipboard
open fun isAlwaysDrawnWithCacheEnabled(): Boolean
isAnimationCacheEnabled
Link copied to clipboard
open fun isAnimationCacheEnabled(): Boolean
isAttachedToWindow
Link copied to clipboard
open fun isAttachedToWindow(): Boolean
isChildrenDrawingOrderEnabled
Link copied to clipboard
open fun isChildrenDrawingOrderEnabled(): Boolean
isChildrenDrawnWithCacheEnabled
Link copied to clipboard
open fun isChildrenDrawnWithCacheEnabled(): Boolean
isClickable
Link copied to clipboard
open fun isClickable(): Boolean
isContextClickable
Link copied to clipboard
open fun isContextClickable(): Boolean
isDirty
Link copied to clipboard
open fun isDirty(): Boolean
isDrawingCacheEnabled
Link copied to clipboard
open fun isDrawingCacheEnabled(): Boolean
isDuplicateParentStateEnabled
Link copied to clipboard
open fun isDuplicateParentStateEnabled(): Boolean
isEnabled
Link copied to clipboard
open fun isEnabled(): Boolean
isFocusable
Link copied to clipboard
fun isFocusable(): Boolean
isFocusableInTouchMode
Link copied to clipboard
fun isFocusableInTouchMode(): Boolean
isFocused
Link copied to clipboard
open fun isFocused(): Boolean
isFocusedByDefault
Link copied to clipboard
fun isFocusedByDefault(): Boolean
isForceDarkAllowed
Link copied to clipboard
open fun isForceDarkAllowed(): Boolean
isHapticFeedbackEnabled
Link copied to clipboard
open fun isHapticFeedbackEnabled(): Boolean
isHardwareAccelerated
Link copied to clipboard
open fun isHardwareAccelerated(): Boolean
isHorizontalFadingEdgeEnabled
Link copied to clipboard
open fun isHorizontalFadingEdgeEnabled(): Boolean
isHorizontalScrollBarEnabled
Link copied to clipboard
open fun isHorizontalScrollBarEnabled(): Boolean
isHovered
Link copied to clipboard
open fun isHovered(): Boolean
isImportantForAccessibility
Link copied to clipboard
open fun isImportantForAccessibility(): Boolean
isImportantForAutofill
Link copied to clipboard
fun isImportantForAutofill(): Boolean
isInEditMode
Link copied to clipboard
open fun isInEditMode(): Boolean
isInLayout
Link copied to clipboard
open fun isInLayout(): Boolean
isInTouchMode
Link copied to clipboard
open fun isInTouchMode(): Boolean
isKeyboardNavigationCluster
Link copied to clipboard
fun isKeyboardNavigationCluster(): Boolean
isLaidOut
Link copied to clipboard
open fun isLaidOut(): Boolean
isLayoutDirectionResolved
Link copied to clipboard
open fun isLayoutDirectionResolved(): Boolean
isLayoutRequested
Link copied to clipboard
open fun isLayoutRequested(): Boolean
isLayoutSuppressed
Link copied to clipboard
open fun isLayoutSuppressed(): Boolean
isLongClickable
Link copied to clipboard
open fun isLongClickable(): Boolean
isMotionEventSplittingEnabled
Link copied to clipboard
open fun isMotionEventSplittingEnabled(): Boolean
isNestedScrollingEnabled
Link copied to clipboard
open fun isNestedScrollingEnabled(): Boolean
isOpaque
Link copied to clipboard
open fun isOpaque(): Boolean
isPaddingOffsetRequired
Link copied to clipboard
open fun isPaddingOffsetRequired(): Boolean
isPaddingRelative
Link copied to clipboard
open fun isPaddingRelative(): Boolean
isPivotSet
Link copied to clipboard
open fun isPivotSet(): Boolean
isPointInChildBounds
Link copied to clipboard
open fun isPointInChildBounds(child: View, x: Int, y: Int): Boolean
isPressed
Link copied to clipboard
open fun isPressed(): Boolean
isRecenterButtonVisible
Link copied to clipboard
open fun isRecenterButtonVisible(): Boolean
isSaveEnabled
Link copied to clipboard
open fun isSaveEnabled(): Boolean
isSaveFromParentEnabled
Link copied to clipboard
open fun isSaveFromParentEnabled(): Boolean
isScreenReaderFocusable
Link copied to clipboard
open fun isScreenReaderFocusable(): Boolean
isScrollbarFadingEnabled
Link copied to clipboard
open fun isScrollbarFadingEnabled(): Boolean
isScrollContainer
Link copied to clipboard
open fun isScrollContainer(): Boolean
isSelected
Link copied to clipboard
open fun isSelected(): Boolean
isShown
Link copied to clipboard
open fun isShown(): Boolean
isSoundEffectsEnabled
Link copied to clipboard
open fun isSoundEffectsEnabled(): Boolean
isSummaryBottomSheetHidden
Link copied to clipboard
open fun isSummaryBottomSheetHidden(): Boolean
isTemporarilyDetached
Link copied to clipboard
fun isTemporarilyDetached(): Boolean
isTextAlignmentResolved
Link copied to clipboard
open fun isTextAlignmentResolved(): Boolean
isTextDirectionResolved
Link copied to clipboard
open fun isTextDirectionResolved(): Boolean
isTransitionGroup
Link copied to clipboard
open fun isTransitionGroup(): Boolean
isVerticalFadingEdgeEnabled
Link copied to clipboard
open fun isVerticalFadingEdgeEnabled(): Boolean
isVerticalScrollBarEnabled
Link copied to clipboard
open fun isVerticalScrollBarEnabled(): Boolean
isVisibleToUserForAutofill
Link copied to clipboard
open fun isVisibleToUserForAutofill(virtualId: Int): Boolean
isVoiceGuidanceMuted
Link copied to clipboard
open fun isVoiceGuidanceMuted(): Boolean
Returns the state of speech player whether it is muted or unmuted
isWayNameVisible
Link copied to clipboard
open fun isWayNameVisible(): Boolean
Provides the current visibility of the way name view.
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
fun layout(l: Int, t: Int, r: Int, b: Int)
layoutChild
Link copied to clipboard
open fun layoutChild(child: View, layoutDirection: Int)
layoutChildWithAnchor
Link copied to clipboard
open fun layoutChildWithAnchor(child: View, anchor: View, layoutDirection: Int)
layoutChildWithKeyline
Link copied to clipboard
open fun layoutChildWithKeyline(child: View, keyline: Int, layoutDirection: Int)
measure
Link copied to clipboard
fun measure(widthMeasureSpec: Int, heightMeasureSpec: Int)
measureChild
Link copied to clipboard
open fun measureChild(child: View, parentWidthMeasureSpec: Int, parentHeightMeasureSpec: Int)
measureChildren
Link copied to clipboard
open fun measureChildren(widthMeasureSpec: Int, heightMeasureSpec: Int)
measureChildWithMargins
Link copied to clipboard
open fun measureChildWithMargins(child: View, parentWidthMeasureSpec: Int, widthUsed: Int, parentHeightMeasureSpec: Int, heightUsed: Int)
mergeDrawableStates
Link copied to clipboard
open fun mergeDrawableStates(baseState: Array<Int>, additionalState: Array<Int>): Array<Int>
notifySubtreeAccessibilityStateChanged
Link copied to clipboard
open fun notifySubtreeAccessibilityStateChanged(child: View, source: View, changeType: Int)
offsetChildByInset
Link copied to clipboard
open fun offsetChildByInset(child: View, inset: Rect, layoutDirection: Int)
offsetChildToAnchor
Link copied to clipboard
open fun offsetChildToAnchor(child: View, layoutDirection: Int)
offsetDescendantRectToMyCoords
Link copied to clipboard
fun offsetDescendantRectToMyCoords(descendant: View, rect: Rect)
offsetLeftAndRight
Link copied to clipboard
open fun offsetLeftAndRight(offset: Int)
offsetRectIntoDescendantCoords
Link copied to clipboard
fun offsetRectIntoDescendantCoords(descendant: View, rect: Rect)
offsetTopAndBottom
Link copied to clipboard
open fun offsetTopAndBottom(offset: Int)
onAnimationEnd
Link copied to clipboard
open fun onAnimationEnd()
onAnimationStart
Link copied to clipboard
open fun onAnimationStart()
onApplyWindowInsets
Link copied to clipboard
open fun onApplyWindowInsets(insets: WindowInsets): WindowInsets
onAttachedToWindow
Link copied to clipboard
open fun onAttachedToWindow()
onBackPressed
Link copied to clipboard
open fun onBackPressed(): Boolean
If the instruction list is showing and onBackPressed is called,hide the instruction list and do not hide the activity or fragment.
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
onChildViewsChanged
Link copied to clipboard
fun onChildViewsChanged(type: Int)
onConfigurationChanged
Link copied to clipboard
open fun onConfigurationChanged(newConfig: Configuration)
onCreate
Link copied to clipboard
open fun onCreate(savedInstanceState: Bundle)
Uses savedInstanceState as a cue to restore state (if not null).
onCreateContextMenu
Link copied to clipboard
open fun onCreateContextMenu(menu: ContextMenu)
onCreateDrawableState
Link copied to clipboard
open fun onCreateDrawableState(extraSpace: Int): Array<Int>
onCreateInputConnection
Link copied to clipboard
open fun onCreateInputConnection(outAttrs: EditorInfo): InputConnection
onDescendantInvalidated
Link copied to clipboard
open fun onDescendantInvalidated(child: View, target: View)
onDestroy
Link copied to clipboard
open fun onDestroy()
Called to ensure the MapView is destroyedproperly.
onDetachedFromWindow
Link copied to clipboard
open fun onDetachedFromWindow()
onDisplayHint
Link copied to clipboard
open fun onDisplayHint(hint: Int)
onDragEvent
Link copied to clipboard
open fun onDragEvent(event: DragEvent): Boolean
onDraw
Link copied to clipboard
open fun onDraw(c: Canvas)
onDrawForeground
Link copied to clipboard
open fun onDrawForeground(canvas: Canvas)
onDrawScrollBars
Link copied to clipboard
fun onDrawScrollBars(canvas: Canvas)
onFeedbackSent
Link copied to clipboard
open fun onFeedbackSent()
onFilterTouchEventForSecurity
Link copied to clipboard
open fun onFilterTouchEventForSecurity(event: MotionEvent): Boolean
onFinishInflate
Link copied to clipboard
open fun onFinishInflate()
onFinishTemporaryDetach
Link copied to clipboard
open fun onFinishTemporaryDetach()
onFocusChanged
Link copied to clipboard
open fun onFocusChanged(gainFocus: Boolean, direction: Int, previouslyFocusedRect: Rect)
onGenericMotionEvent
Link copied to clipboard
open fun onGenericMotionEvent(event: MotionEvent): Boolean
onGuidanceViewChange
Link copied to clipboard
open fun onGuidanceViewChange(left: Int, top: Int, width: Int, height: Int)
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)
onInterceptHoverEvent
Link copied to clipboard
open fun onInterceptHoverEvent(event: MotionEvent): Boolean
onInterceptTouchEvent
Link copied to clipboard
open fun onInterceptTouchEvent(ev: MotionEvent): Boolean
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
onLayout
Link copied to clipboard
open fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int)
onLayoutChild
Link copied to clipboard
open fun onLayoutChild(child: View, layoutDirection: Int)
onLowMemory
Link copied to clipboard
open fun onLowMemory()
Low memory must be reported so the MapView can react appropriately.
onMapReady
Link copied to clipboard
abstract fun onMapReady(p: MapboxMap)
open fun onMapReady(mapboxMap: MapboxMap)
Fired after the map is ready, this is our cue to finishsetting up the rest of the plugins / location engine.
onMeasure
Link copied to clipboard
open fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)
onMeasureChild
Link copied to clipboard
open fun onMeasureChild(child: View, parentWidthMeasureSpec: Int, widthUsed: Int, parentHeightMeasureSpec: Int, heightUsed: Int)
onNestedFling
Link copied to clipboard
open fun onNestedFling(target: View, velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
onNestedPreFling
Link copied to clipboard
open fun onNestedPreFling(target: View, velocityX: Float, velocityY: Float): Boolean
onNestedPrePerformAccessibilityAction
Link copied to clipboard
open fun onNestedPrePerformAccessibilityAction(target: View, action: Int, args: Bundle): Boolean
onNestedPreScroll
Link copied to clipboard
open fun onNestedPreScroll(target: View, dx: Int, dy: Int, consumed: Array<Int>)
onNestedScroll
Link copied to clipboard
open fun onNestedScroll(target: View, dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int)
onNestedScrollAccepted
Link copied to clipboard
open fun onNestedScrollAccepted(child: View, target: View, nestedScrollAxes: Int)
onOverScrolled
Link copied to clipboard
open fun onOverScrolled(scrollX: Int, scrollY: Int, clampedX: Boolean, clampedY: Boolean)
onPause
Link copied to clipboard
open fun onPause()
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)
onProvideStructure
Link copied to clipboard
open fun onProvideStructure(structure: ViewStructure)
onProvideVirtualStructure
Link copied to clipboard
open fun onProvideVirtualStructure(structure: ViewStructure)
onRequestFocusInDescendants
Link copied to clipboard
open fun onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect): Boolean
onRequestSendAccessibilityEvent
Link copied to clipboard
open fun onRequestSendAccessibilityEvent(child: View, event: AccessibilityEvent): Boolean
onResolvePointerIcon
Link copied to clipboard
open fun onResolvePointerIcon(event: MotionEvent, pointerIndex: Int): PointerIcon
onRestoreInstanceState
Link copied to clipboard
open fun onRestoreInstanceState(state: Parcelable)
open fun onRestoreInstanceState(savedInstanceState: Bundle)
Used to restore the bottomsheet state and re-centerbutton visibility.
onResume
Link copied to clipboard
open fun onResume()
onRtlPropertiesChanged
Link copied to clipboard
open fun onRtlPropertiesChanged(layoutDirection: Int)
onSaveInstanceState
Link copied to clipboard
open fun onSaveInstanceState(): Parcelable
open fun onSaveInstanceState(outState: Bundle)
Used to store the bottomsheet state and re-centerbutton visibility.
onScreenStateChanged
Link copied to clipboard
open fun onScreenStateChanged(screenState: Int)
onScrollChanged
Link copied to clipboard
open fun onScrollChanged(l: Int, t: Int, oldl: Int, oldt: Int)
onSetAlpha
Link copied to clipboard
open fun onSetAlpha(alpha: Int): Boolean
onSizeChanged
Link copied to clipboard
open fun onSizeChanged(w: Int, h: Int, oldw: Int, oldh: Int)
onStart
Link copied to clipboard
open fun onStart()
onStartNestedScroll
Link copied to clipboard
open fun onStartNestedScroll(child: View, target: View, nestedScrollAxes: Int): Boolean
onStartTemporaryDetach
Link copied to clipboard
open fun onStartTemporaryDetach()
onStop
Link copied to clipboard
open fun onStop()
onStopNestedScroll
Link copied to clipboard
open fun onStopNestedScroll(target: View)
onTouchEvent
Link copied to clipboard
open fun onTouchEvent(ev: MotionEvent): Boolean
onTrackballEvent
Link copied to clipboard
open fun onTrackballEvent(event: MotionEvent): Boolean
onViewAdded
Link copied to clipboard
open fun onViewAdded(child: View)
onViewRemoved
Link copied to clipboard
open fun onViewRemoved(child: View)
onVisibilityAggregated
Link copied to clipboard
open fun onVisibilityAggregated(isVisible: Boolean)
onVisibilityChanged
Link copied to clipboard
open fun onVisibilityChanged(changedView: View, visibility: Int)
onWindowFocusChanged
Link copied to clipboard
open fun onWindowFocusChanged(hasWindowFocus: Boolean)
onWindowSystemUiVisibilityChanged
Link copied to clipboard
open fun onWindowSystemUiVisibilityChanged(visible: Int)
onWindowVisibilityChanged
Link copied to clipboard
open fun onWindowVisibilityChanged(visibility: Int)
overScrollBy
Link copied to clipboard
open fun overScrollBy(deltaX: Int, deltaY: Int, scrollX: Int, scrollY: Int, scrollRangeX: Int, scrollRangeY: Int, maxOverScrollX: Int, maxOverScrollY: Int, isTouchEvent: Boolean): Boolean
parseBehavior
Link copied to clipboard
open fun parseBehavior(context: Context, attrs: AttributeSet, name: String): CoordinatorLayout.Behavior
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(x: Float, y: Float): Boolean
performHapticFeedback
Link copied to clipboard
open fun performHapticFeedback(feedbackConstant: Int): Boolean
performIntercept
Link copied to clipboard
open fun performIntercept(ev: MotionEvent, type: Int): Boolean
performLongClick
Link copied to clipboard
open fun performLongClick(): Boolean
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()
postInvalidateDelayed
Link copied to clipboard
open fun postInvalidateDelayed(delayMilliseconds: Long)
postInvalidateOnAnimation
Link copied to clipboard
open fun postInvalidateOnAnimation()
postOnAnimation
Link copied to clipboard
open fun postOnAnimation(action: Runnable)
postOnAnimationDelayed
Link copied to clipboard
open fun postOnAnimationDelayed(action: Runnable, delayMillis: Long)
prepareChildren
Link copied to clipboard
open fun prepareChildren()
recomputeViewAttributes
Link copied to clipboard
open fun recomputeViewAttributes(child: View)
recordLastChildRect
Link copied to clipboard
open fun recordLastChildRect(child: View, r: Rect)
refreshDrawableState
Link copied to clipboard
open fun refreshDrawableState()
releasePointerCapture
Link copied to clipboard
open fun releasePointerCapture()
releaseTempRect
Link copied to clipboard
open fun releaseTempRect(rect: Rect)
removeAllViews
Link copied to clipboard
open fun removeAllViews()
removeAllViewsInLayout
Link copied to clipboard
open fun removeAllViewsInLayout()
removeCallbacks
Link copied to clipboard
open fun removeCallbacks(action: Runnable): Boolean
removeDetachedView
Link copied to clipboard
open fun removeDetachedView(child: View, animate: Boolean)
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)
removePreDrawListener
Link copied to clipboard
open fun removePreDrawListener()
removeView
Link copied to clipboard
open fun removeView(view: View)
removeViewAt
Link copied to clipboard
open fun removeViewAt(index: Int)
removeViewInLayout
Link copied to clipboard
open fun removeViewInLayout(view: View)
removeViews
Link copied to clipboard
open fun removeViews(start: Int, count: Int)
removeViewsInLayout
Link copied to clipboard
open fun removeViewsInLayout(start: Int, count: Int)
requestApplyInsets
Link copied to clipboard
open fun requestApplyInsets()
requestChildFocus
Link copied to clipboard
open fun requestChildFocus(child: View, focused: View)
requestChildRectangleOnScreen
Link copied to clipboard
open fun requestChildRectangleOnScreen(child: View, rectangle: Rect, immediate: Boolean): Boolean
requestDisallowInterceptTouchEvent
Link copied to clipboard
open fun requestDisallowInterceptTouchEvent(disallowIntercept: Boolean)
requestFitSystemWindows
Link copied to clipboard
open fun requestFitSystemWindows()
requestFocus
Link copied to clipboard
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
requestSendAccessibilityEvent
Link copied to clipboard
open fun requestSendAccessibilityEvent(child: View, event: AccessibilityEvent): Boolean
requestTransparentRegion
Link copied to clipboard
open fun requestTransparentRegion(child: View)
requestUnbufferedDispatch
Link copied to clipboard
fun requestUnbufferedDispatch(event: MotionEvent)
requireViewById
Link copied to clipboard
fun <T : View?> requireViewById(id: Int): T
resetCameraPosition
Link copied to clipboard
open fun resetCameraPosition()
resetPivot
Link copied to clipboard
open fun resetPivot()
resetTouchBehaviors
Link copied to clipboard
open fun resetTouchBehaviors(notifyOnInterceptTouchEvent: Boolean)
resolveAnchoredChildGravity
Link copied to clipboard
open fun resolveAnchoredChildGravity(gravity: Int): Int
resolveGravity
Link copied to clipboard
open fun resolveGravity(gravity: Int): Int
resolveKeylineGravity
Link copied to clipboard
open fun resolveKeylineGravity(gravity: Int): Int
resolveSize
Link copied to clipboard
open fun resolveSize(size: Int, measureSpec: Int): Int
resolveSizeAndState
Link copied to clipboard
open fun resolveSizeAndState(size: Int, measureSpec: Int, childMeasuredState: Int): Int
restoreDefaultFocus
Link copied to clipboard
open fun restoreDefaultFocus(): Boolean
restoreHierarchyState
Link copied to clipboard
open fun restoreHierarchyState(container: SparseArray<Parcelable>)
resumeCamera
Link copied to clipboard
abstract fun resumeCamera(location: Location)
open fun resumeCamera(location: Location)
Used after configuration changes to resume the camerato the last location update from the Navigation SDK.
retrieveAlertView
Link copied to clipboard
open fun retrieveAlertView(): NavigationAlertView
Returns the NavigationAlertView that is shown during off-route events with"Report a Problem" text.
retrieveFeedbackButton
Link copied to clipboard
open fun retrieveFeedbackButton(): NavigationButton
Returns the feedback button for sending feedback about navigation
retrieveMapboxNavigation
Link copied to clipboard
open fun retrieveMapboxNavigation(): MapboxNavigation
Returns the instance of MapboxNavigation powering the NavigationView once navigation has started.
retrieveNavigationMapboxMap
Link copied to clipboard
open fun retrieveNavigationMapboxMap(): NavigationMapboxMap
Gives the ability to manipulate the map directly for anything that might not currently besupported.
retrieveRecenterButton
Link copied to clipboard
open fun retrieveRecenterButton(): NavigationButton
Returns the re-center button for recentering on current location
retrieveSoundButton
Link copied to clipboard
open fun retrieveSoundButton(): NavigationButton
Returns the sound button used for muting instructions
retrieveWayNameText
Link copied to clipboard
open fun retrieveWayNameText(): String
Provides the current text of the way name view.
saveAttributeDataForStyleable
Link copied to clipboard
fun saveAttributeDataForStyleable(context: Context, styleable: Array<Int>, 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)
scheduleLayoutAnimation
Link copied to clipboard
open fun scheduleLayoutAnimation()
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)
setAccessibilityDelegate
Link copied to clipboard
open fun setAccessibilityDelegate(delegate: View.AccessibilityDelegate)
setAccessibilityHeading
Link copied to clipboard
open fun setAccessibilityHeading(isHeading: Boolean)
setAccessibilityLiveRegion
Link copied to clipboard
open fun setAccessibilityLiveRegion(mode: Int)
setAccessibilityPaneTitle
Link copied to clipboard
open fun setAccessibilityPaneTitle(accessibilityPaneTitle: CharSequence)
setAccessibilityTraversalAfter
Link copied to clipboard
open fun setAccessibilityTraversalAfter(afterId: Int)
setAccessibilityTraversalBefore
Link copied to clipboard
open fun setAccessibilityTraversalBefore(beforeId: Int)
setActivated
Link copied to clipboard
open fun setActivated(activated: Boolean)
setAddStatesFromChildren
Link copied to clipboard
open fun setAddStatesFromChildren(addsStates: Boolean)
setAlpha
Link copied to clipboard
open fun setAlpha(alpha: Float)
setAlwaysDrawnWithCacheEnabled
Link copied to clipboard
open fun setAlwaysDrawnWithCacheEnabled(always: Boolean)
setAnimation
Link copied to clipboard
open fun setAnimation(animation: Animation)
setAnimationCacheEnabled
Link copied to clipboard
open fun setAnimationCacheEnabled(enabled: Boolean)
setAnimationMatrix
Link copied to clipboard
open fun setAnimationMatrix(matrix: Matrix)
setAutofillHints
Link copied to clipboard
open fun setAutofillHints(autofillHints: Array<String>)
setAutofillId
Link copied to clipboard
open fun setAutofillId(id: AutofillId)
setBackground
Link copied to clipboard
open fun setBackground(background: Drawable)
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)
setBackgroundTintBlendMode
Link copied to clipboard
open fun setBackgroundTintBlendMode(blendMode: BlendMode)
setBackgroundTintList
Link copied to clipboard
open fun setBackgroundTintList(tint: ColorStateList)
setBackgroundTintMode
Link copied to clipboard
open fun setBackgroundTintMode(tintMode: PorterDuff.Mode)
setBottom
Link copied to clipboard
fun setBottom(bottom: Int)
setCameraDistance
Link copied to clipboard
open fun setCameraDistance(distance: Float)
setChildrenDrawingCacheEnabled
Link copied to clipboard
open fun setChildrenDrawingCacheEnabled(enabled: Boolean)
setChildrenDrawingOrderEnabled
Link copied to clipboard
open fun setChildrenDrawingOrderEnabled(enabled: Boolean)
setChildrenDrawnWithCacheEnabled
Link copied to clipboard
open fun setChildrenDrawnWithCacheEnabled(enabled: Boolean)
setClickable
Link copied to clipboard
open fun setClickable(clickable: Boolean)
setClipBounds
Link copied to clipboard
open fun setClipBounds(clipBounds: Rect)
setClipChildren
Link copied to clipboard
open fun setClipChildren(clipChildren: Boolean)
setClipToOutline
Link copied to clipboard
open fun setClipToOutline(clipToOutline: Boolean)
setClipToPadding
Link copied to clipboard
open fun setClipToPadding(clipToPadding: Boolean)
setContentCaptureSession
Link copied to clipboard
open fun setContentCaptureSession(contentCaptureSession: ContentCaptureSession)
setContentDescription
Link copied to clipboard
open fun setContentDescription(contentDescription: CharSequence)
setContextClickable
Link copied to clipboard
open fun setContextClickable(contextClickable: Boolean)
setDefaultFocusHighlightEnabled
Link copied to clipboard
open fun setDefaultFocusHighlightEnabled(defaultFocusHighlightEnabled: Boolean)
setDescendantFocusability
Link copied to clipboard
open fun setDescendantFocusability(focusability: Int)
setDrawingCacheBackgroundColor
Link copied to clipboard
open fun setDrawingCacheBackgroundColor(color: Int)
setDrawingCacheEnabled
Link copied to clipboard
open fun setDrawingCacheEnabled(enabled: Boolean)
setDrawingCacheQuality
Link copied to clipboard
open fun setDrawingCacheQuality(quality: Int)
setDuplicateParentStateEnabled
Link copied to clipboard
open fun setDuplicateParentStateEnabled(enabled: Boolean)
setElevation
Link copied to clipboard
open fun setElevation(elevation: Float)
setEnabled
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
setFadingEdgeLength
Link copied to clipboard
open fun setFadingEdgeLength(length: Int)
setFilterTouchesWhenObscured
Link copied to clipboard
open fun setFilterTouchesWhenObscured(enabled: Boolean)
setFitsSystemWindows
Link copied to clipboard
open fun setFitsSystemWindows(fitSystemWindows: Boolean)
setFocusable
Link copied to clipboard
open fun setFocusable(focusable: Boolean)
setFocusableInTouchMode
Link copied to clipboard
open fun setFocusableInTouchMode(focusableInTouchMode: Boolean)
setFocusedByDefault
Link copied to clipboard
open fun setFocusedByDefault(isFocusedByDefault: Boolean)
setForceDarkAllowed
Link copied to clipboard
open fun setForceDarkAllowed(allow: Boolean)
setForeground
Link copied to clipboard
open fun setForeground(foreground: Drawable)
setForegroundGravity
Link copied to clipboard
open fun setForegroundGravity(gravity: Int)
setForegroundTintBlendMode
Link copied to clipboard
open fun setForegroundTintBlendMode(blendMode: BlendMode)
setForegroundTintList
Link copied to clipboard
open fun setForegroundTintList(tint: ColorStateList)
setForegroundTintMode
Link copied to clipboard
open fun setForegroundTintMode(tintMode: PorterDuff.Mode)
setHapticFeedbackEnabled
Link copied to clipboard
open fun setHapticFeedbackEnabled(hapticFeedbackEnabled: Boolean)
setHasTransientState
Link copied to clipboard
open fun setHasTransientState(hasTransientState: Boolean)
setHorizontalFadingEdgeEnabled
Link copied to clipboard
open fun setHorizontalFadingEdgeEnabled(horizontalFadingEdgeEnabled: Boolean)
setHorizontalScrollBarEnabled
Link copied to clipboard
open fun setHorizontalScrollBarEnabled(horizontalScrollBarEnabled: Boolean)
setHorizontalScrollbarThumbDrawable
Link copied to clipboard
open fun setHorizontalScrollbarThumbDrawable(drawable: Drawable)
setHorizontalScrollbarTrackDrawable
Link copied to clipboard
open fun setHorizontalScrollbarTrackDrawable(drawable: Drawable)
setHovered
Link copied to clipboard
open fun setHovered(hovered: Boolean)
setId
Link copied to clipboard
open fun setId(id: Int)
setImportantForAccessibility
Link copied to clipboard
open fun setImportantForAccessibility(mode: Int)
setImportantForAutofill
Link copied to clipboard
open fun setImportantForAutofill(mode: Int)
setInsetOffsetX
Link copied to clipboard
open fun setInsetOffsetX(child: View, offsetX: Int)
setInsetOffsetY
Link copied to clipboard
open fun setInsetOffsetY(child: View, offsetY: Int)
setKeepScreenOn
Link copied to clipboard
open fun setKeepScreenOn(keepScreenOn: Boolean)
setKeyboardNavigationCluster
Link copied to clipboard
open fun setKeyboardNavigationCluster(isCluster: Boolean)
setLabelFor
Link copied to clipboard
open fun setLabelFor(id: Int)
setLayerPaint
Link copied to clipboard
open fun setLayerPaint(paint: Paint)
setLayerType
Link copied to clipboard
open fun setLayerType(layerType: Int, paint: Paint)
setLayoutAnimation
Link copied to clipboard
open fun setLayoutAnimation(controller: LayoutAnimationController)
setLayoutAnimationListener
Link copied to clipboard
open fun setLayoutAnimationListener(animationListener: Animation.AnimationListener)
setLayoutDirection
Link copied to clipboard
open fun setLayoutDirection(layoutDirection: Int)
setLayoutMode
Link copied to clipboard
open fun setLayoutMode(layoutMode: Int)
setLayoutParams
Link copied to clipboard
open fun setLayoutParams(params: ViewGroup.LayoutParams)
setLayoutTransition
Link copied to clipboard
open fun setLayoutTransition(transition: LayoutTransition)
setLeft
Link copied to clipboard
fun setLeft(left: Int)
setLeftTopRightBottom
Link copied to clipboard
fun setLeftTopRightBottom(left: Int, top: Int, right: Int, bottom: Int)
setLongClickable
Link copied to clipboard
open fun setLongClickable(longClickable: Boolean)
setMeasuredDimension
Link copied to clipboard
fun setMeasuredDimension(measuredWidth: Int, measuredHeight: Int)
setMinimumHeight
Link copied to clipboard
open fun setMinimumHeight(minHeight: Int)
setMinimumWidth
Link copied to clipboard
open fun setMinimumWidth(minWidth: Int)
setMotionEventSplittingEnabled
Link copied to clipboard
open fun setMotionEventSplittingEnabled(split: Boolean)
setNestedScrollingEnabled
Link copied to clipboard
open fun setNestedScrollingEnabled(enabled: Boolean)
setNextClusterForwardId
Link copied to clipboard
open fun setNextClusterForwardId(nextClusterForwardId: Int)
setNextFocusDownId
Link copied to clipboard
open fun setNextFocusDownId(nextFocusDownId: Int)
setNextFocusForwardId
Link copied to clipboard
open fun setNextFocusForwardId(nextFocusForwardId: Int)
setNextFocusLeftId
Link copied to clipboard
open fun setNextFocusLeftId(nextFocusLeftId: Int)
setNextFocusRightId
Link copied to clipboard
open fun setNextFocusRightId(nextFocusRightId: Int)
setNextFocusUpId
Link copied to clipboard
open fun setNextFocusUpId(nextFocusUpId: 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)
setOnFocusChangeListener
Link copied to clipboard
open fun setOnFocusChangeListener(l: View.OnFocusChangeListener)
setOnGenericMotionListener
Link copied to clipboard
open fun setOnGenericMotionListener(l: View.OnGenericMotionListener)
setOnHierarchyChangeListener
Link copied to clipboard
open fun setOnHierarchyChangeListener(onHierarchyChangeListener: ViewGroup.OnHierarchyChangeListener)
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)
setOnScrollChangeListener
Link copied to clipboard
open fun setOnScrollChangeListener(l: View.OnScrollChangeListener)
setOnTouchListener
Link copied to clipboard
open fun setOnTouchListener(l: View.OnTouchListener)
setOutlineAmbientShadowColor
Link copied to clipboard
open fun setOutlineAmbientShadowColor(color: Int)
setOutlineProvider
Link copied to clipboard
open fun setOutlineProvider(provider: ViewOutlineProvider)
setOutlineSpotShadowColor
Link copied to clipboard
open fun setOutlineSpotShadowColor(color: Int)
setOverScrollMode
Link copied to clipboard
open fun setOverScrollMode(overScrollMode: Int)
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)
setPersistentDrawingCache
Link copied to clipboard
open fun setPersistentDrawingCache(drawingCacheToKeep: Int)
setPivotX
Link copied to clipboard
open fun setPivotX(pivotX: Float)
setPivotY
Link copied to clipboard
open fun setPivotY(pivotY: Float)
setPointerIcon
Link copied to clipboard
open fun setPointerIcon(pointerIcon: PointerIcon)
setPressed
Link copied to clipboard
open fun setPressed(pressed: Boolean)
setRevealOnFocusHint
Link copied to clipboard
fun setRevealOnFocusHint(revealOnFocus: Boolean)
setRight
Link copied to clipboard
fun setRight(right: Int)
setRotation
Link copied to clipboard
open fun setRotation(rotation: Float)
setRotationX
Link copied to clipboard
open fun setRotationX(rotationX: Float)
setRotationY
Link copied to clipboard
open fun setRotationY(rotationY: Float)
setSaveEnabled
Link copied to clipboard
open fun setSaveEnabled(enabled: Boolean)
setSaveFromParentEnabled
Link copied to clipboard
open fun setSaveFromParentEnabled(enabled: Boolean)
setScaleX
Link copied to clipboard
open fun setScaleX(scaleX: Float)
setScaleY
Link copied to clipboard
open fun setScaleY(scaleY: Float)
setScreenReaderFocusable
Link copied to clipboard
open fun setScreenReaderFocusable(screenReaderFocusable: Boolean)
setScrollBarDefaultDelayBeforeFade
Link copied to clipboard
open fun setScrollBarDefaultDelayBeforeFade(scrollBarDefaultDelayBeforeFade: Int)
setScrollBarFadeDuration
Link copied to clipboard
open fun setScrollBarFadeDuration(scrollBarFadeDuration: Int)
setScrollbarFadingEnabled
Link copied to clipboard
open fun setScrollbarFadingEnabled(fadeScrollbars: Boolean)
setScrollBarSize
Link copied to clipboard
open fun setScrollBarSize(scrollBarSize: Int)
setScrollBarStyle
Link copied to clipboard
open fun setScrollBarStyle(style: Int)
setScrollContainer
Link copied to clipboard
open fun setScrollContainer(isScrollContainer: Boolean)
setScrollIndicators
Link copied to clipboard
open fun setScrollIndicators(indicators: Int)
setScrollX
Link copied to clipboard
open fun setScrollX(value: Int)
setScrollY
Link copied to clipboard
open fun setScrollY(value: Int)
setSelected
Link copied to clipboard
open fun setSelected(selected: Boolean)
setSoundEffectsEnabled
Link copied to clipboard
open fun setSoundEffectsEnabled(soundEffectsEnabled: Boolean)
setStateListAnimator
Link copied to clipboard
open fun setStateListAnimator(stateListAnimator: StateListAnimator)
setStaticTransformationsEnabled
Link copied to clipboard
open fun setStaticTransformationsEnabled(enabled: Boolean)
setStatusBarBackground
Link copied to clipboard
open fun setStatusBarBackground(bg: Drawable)
setStatusBarBackgroundColor
Link copied to clipboard
open fun setStatusBarBackgroundColor(color: Int)
setStatusBarBackgroundResource
Link copied to clipboard
open fun setStatusBarBackgroundResource(resId: Int)
setSummaryBehaviorHideable
Link copied to clipboard
open fun setSummaryBehaviorHideable(isHideable: Boolean)
setSummaryBehaviorState
Link copied to clipboard
open fun setSummaryBehaviorState(state: Int)
setSystemGestureExclusionRects
Link copied to clipboard
open fun setSystemGestureExclusionRects(rects: List<Rect>)
setSystemUiVisibility
Link copied to clipboard
open fun setSystemUiVisibility(visibility: Int)
setTag
Link copied to clipboard
open fun setTag(tag: Any)
setTextAlignment
Link copied to clipboard
open fun setTextAlignment(textAlignment: Int)
setTextDirection
Link copied to clipboard
open fun setTextDirection(textDirection: Int)
setTooltipText
Link copied to clipboard
open fun setTooltipText(tooltipText: CharSequence)
setTop
Link copied to clipboard
fun setTop(top: Int)
setTouchDelegate
Link copied to clipboard
open fun setTouchDelegate(delegate: TouchDelegate)
setTouchscreenBlocksFocus
Link copied to clipboard
open fun setTouchscreenBlocksFocus(touchscreenBlocksFocus: Boolean)
setTransitionAlpha
Link copied to clipboard
open fun setTransitionAlpha(alpha: Float)
setTransitionGroup
Link copied to clipboard
open fun setTransitionGroup(isTransitionGroup: Boolean)
setTransitionName
Link copied to clipboard
fun setTransitionName(transitionName: String)
setTransitionVisibility
Link copied to clipboard
open fun setTransitionVisibility(visibility: Int)
setTranslationX
Link copied to clipboard
open fun setTranslationX(translationX: Float)
setTranslationY
Link copied to clipboard
open fun setTranslationY(translationY: Float)
setTranslationZ
Link copied to clipboard
open fun setTranslationZ(translationZ: Float)
setupForInsets
Link copied to clipboard
open fun setupForInsets()
setVerticalFadingEdgeEnabled
Link copied to clipboard
open fun setVerticalFadingEdgeEnabled(verticalFadingEdgeEnabled: Boolean)
setVerticalScrollBarEnabled
Link copied to clipboard
open fun setVerticalScrollBarEnabled(verticalScrollBarEnabled: Boolean)
setVerticalScrollbarPosition
Link copied to clipboard
open fun setVerticalScrollbarPosition(position: Int)
setVerticalScrollbarThumbDrawable
Link copied to clipboard
open fun setVerticalScrollbarThumbDrawable(drawable: Drawable)
setVerticalScrollbarTrackDrawable
Link copied to clipboard
open fun setVerticalScrollbarTrackDrawable(drawable: Drawable)
setVisibility
Link copied to clipboard
open fun setVisibility(visibility: Int)
setWayNameActive
Link copied to clipboard
open fun setWayNameActive(isActive: Boolean)
Set the auto-query state to provide the default way names valuewith updateWaynameQueryMap.
setWayNameVisibility
Link copied to clipboard
open fun setWayNameVisibility(isVisible: Boolean)
Set the visibility state of the way name view.
setWillNotCacheDrawing
Link copied to clipboard
open fun setWillNotCacheDrawing(willNotCacheDrawing: Boolean)
setWillNotDraw
Link copied to clipboard
open fun setWillNotDraw(willNotDraw: Boolean)
setWindowInsets
Link copied to clipboard
fun setWindowInsets(insets: WindowInsetsCompat): WindowInsetsCompat
setX
Link copied to clipboard
open fun setX(x: Float)
setY
Link copied to clipboard
open fun setY(y: Float)
setZ
Link copied to clipboard
open fun setZ(z: Float)
shouldDelayChildPressedState
Link copied to clipboard
open fun shouldDelayChildPressedState(): Boolean
showContextMenu
Link copied to clipboard
open fun showContextMenu(): Boolean
showContextMenuForChild
Link copied to clipboard
open fun showContextMenuForChild(originalView: View): Boolean
showRecenterBtn
Link copied to clipboard
open fun showRecenterBtn()
startActionMode
Link copied to clipboard
open fun startActionMode(callback: ActionMode.Callback): ActionMode
startActionModeForChild
Link copied to clipboard
open fun startActionModeForChild(originalView: View, callback: ActionMode.Callback): ActionMode
startAnimation
Link copied to clipboard
open fun startAnimation(animation: Animation)
startCamera
Link copied to clipboard
abstract fun startCamera(directionsRoute: DirectionsRoute)
open fun startCamera(directionsRoute: DirectionsRoute)
Used when starting this Activity for the first time.
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
startLayoutAnimation
Link copied to clipboard
open fun startLayoutAnimation()
startNavigation
Link copied to clipboard
open fun startNavigation(options: NavigationViewOptions)
Should be called when this view is completely initialized.
startNestedScroll
Link copied to clipboard
open fun startNestedScroll(axes: Int): Boolean
startViewTransition
Link copied to clipboard
open fun startViewTransition(view: View)
stopNavigation
Link copied to clipboard
open fun stopNavigation()
Call this when the navigation session needs to end navigation without finishing the whole view
stopNestedScroll
Link copied to clipboard
open fun stopNestedScroll()
suppressLayout
Link copied to clipboard
open fun suppressLayout(suppress: Boolean)
takeScreenshot
Link copied to clipboard
open fun takeScreenshot()
toggleMute
Link copied to clipboard
open fun toggleMute()
This method toggles the mute state of speech player.
toString
Link copied to clipboard
open fun toString(): String
transformMatrixToGlobal
Link copied to clipboard
open fun transformMatrixToGlobal(matrix: Matrix)
transformMatrixToLocal
Link copied to clipboard
open fun transformMatrixToLocal(matrix: Matrix)
unscheduleDrawable
Link copied to clipboard
open fun unscheduleDrawable(who: Drawable, what: Runnable)
updateCameraRouteGeometryOverview
Link copied to clipboard
open fun updateCameraRouteGeometryOverview(): Boolean
updateCameraRouteOverview
Link copied to clipboard
open fun updateCameraRouteOverview()
use updateCameraRouteGeometryOverview
updateDragShadow
Link copied to clipboard
fun updateDragShadow(shadowBuilder: View.DragShadowBuilder)
updateViewLayout
Link copied to clipboard
open fun updateViewLayout(view: View, params: ViewGroup.LayoutParams)
updateWayNameView
Link copied to clipboard
open fun updateWayNameView(wayName: String)
Updates the text of the way name view below thenavigation icon.
verifyDrawable
Link copied to clipboard
open fun verifyDrawable(who: Drawable): Boolean
willNotCacheDrawing
Link copied to clipboard
open fun willNotCacheDrawing(): Boolean
willNotDraw
Link copied to clipboard
open fun willNotDraw(): Boolean