Page Summary
-
MapViewis an AndroidViewthat displays a Google Map and handles user interactions. -
You must forward lifecycle methods from the hosting
ActivityorFragmentto theMapView. -
Use
getMapAsync(OnMapReadyCallback)to get aGoogleMapinstance to work with. -
For a simpler map display, consider using
MapFragmentorSupportMapFragment. -
Avoid adding child views directly to a
MapView.
A View which displays a map (with data obtained from the Google Maps service). When focused, it will capture keypresses and touch gestures to move the map.
Users of this class must forward all the life cycle methods from the Activity
or Fragment
containing
this view to the corresponding ones in this class. In particular, you must forward on the
following methods:
-
onCreate(Bundle) -
onStart() -
onResume() -
onPause() -
onStop() -
onDestroy() -
View.onSaveInstanceState() -
onLowMemory()
A GoogleMap
must be
acquired using getMapAsync(OnMapReadyCallback)
. The MapView
automatically initializes the maps system and the view.
For a simpler method of displaying a Map use MapFragment
(or SupportMapFragment
)
if you are looking to target earlier platforms.
Note: You are advised not to add children to this view.
Developer Guide
For more information, read the Google Maps SDK for Android developer guide.
Inherited Constant Summary
| int | CLIP_TO_PADDING_MASK | |
| int | FOCUS_AFTER_DESCENDANTS | |
| int | FOCUS_BEFORE_DESCENDANTS | |
| int | FOCUS_BLOCK_DESCENDANTS | |
| int | LAYOUT_MODE_CLIP_BOUNDS | |
| int | LAYOUT_MODE_OPTICAL_BOUNDS | |
| int | PERSISTENT_ALL_CACHES | |
| int | PERSISTENT_ANIMATION_CACHE | |
| int | PERSISTENT_NO_CACHE | |
| int | PERSISTENT_SCROLLING_CACHE |
| int | ACCESSIBILITY_DATA_SENSITIVE_AUTO | |
| int | ACCESSIBILITY_DATA_SENSITIVE_NO | |
| int | ACCESSIBILITY_DATA_SENSITIVE_YES | |
| int | ACCESSIBILITY_LIVE_REGION_ASSERTIVE | |
| int | ACCESSIBILITY_LIVE_REGION_NONE | |
| int | ACCESSIBILITY_LIVE_REGION_POLITE | |
| int | AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS | |
| String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE | |
| String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY | |
| String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH | |
| String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR | |
| String | AUTOFILL_HINT_CREDIT_CARD_NUMBER | |
| String | AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE | |
| String | AUTOFILL_HINT_EMAIL_ADDRESS | |
| String | AUTOFILL_HINT_NAME | |
| String | AUTOFILL_HINT_PASSWORD | |
| String | AUTOFILL_HINT_PHONE | |
| String | AUTOFILL_HINT_POSTAL_ADDRESS | |
| String | AUTOFILL_HINT_POSTAL_CODE | |
| String | AUTOFILL_HINT_USERNAME | |
| int | AUTOFILL_TYPE_DATE | |
| int | AUTOFILL_TYPE_LIST | |
| int | AUTOFILL_TYPE_NONE | |
| int | AUTOFILL_TYPE_TEXT | |
| int | AUTOFILL_TYPE_TOGGLE | |
| int | CONTENT_SENSITIVITY_AUTO | |
| int | CONTENT_SENSITIVITY_NOT_SENSITIVE | |
| int | CONTENT_SENSITIVITY_SENSITIVE | |
| int | DRAG_FLAG_ACCESSIBILITY_ACTION | |
| int | DRAG_FLAG_GLOBAL | |
| int | DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION | |
| int | DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION | |
| int | DRAG_FLAG_GLOBAL_SAME_APPLICATION | |
| int | DRAG_FLAG_GLOBAL_URI_READ | |
| int | DRAG_FLAG_GLOBAL_URI_WRITE | |
| int | DRAG_FLAG_HIDE_CALLING_TASK_ON_DRAG_START | |
| int | DRAG_FLAG_OPAQUE | |
| int | DRAG_FLAG_START_INTENT_SENDER_ON_UNHANDLED_DRAG | |
| int | DRAWING_CACHE_QUALITY_AUTO | |
| int | DRAWING_CACHE_QUALITY_HIGH | |
| int | DRAWING_CACHE_QUALITY_LOW | |
| int | FIND_VIEWS_WITH_CONTENT_DESCRIPTION | |
| int | FIND_VIEWS_WITH_TEXT | |
| int | FOCUSABLE | |
| int | FOCUSABLES_ALL | |
| int | FOCUSABLES_TOUCH_MODE | |
| int | FOCUSABLE_AUTO | |
| int | FOCUS_BACKWARD | |
| int | FOCUS_DOWN | |
| int | FOCUS_FORWARD | |
| int | FOCUS_LEFT | |
| int | FOCUS_RIGHT | |
| int | FOCUS_UP | |
| int | GONE | |
| int | HAPTIC_FEEDBACK_ENABLED | |
| int | IMPORTANT_FOR_ACCESSIBILITY_AUTO | |
| int | IMPORTANT_FOR_ACCESSIBILITY_NO | |
| int | IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS | |
| int | IMPORTANT_FOR_ACCESSIBILITY_YES | |
| int | IMPORTANT_FOR_AUTOFILL_AUTO | |
| int | IMPORTANT_FOR_AUTOFILL_NO | |
| int | IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS | |
| int | IMPORTANT_FOR_AUTOFILL_YES | |
| int | IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS | |
| int | IMPORTANT_FOR_CONTENT_CAPTURE_AUTO | |
| int | IMPORTANT_FOR_CONTENT_CAPTURE_NO | |
| int | IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS | |
| int | IMPORTANT_FOR_CONTENT_CAPTURE_YES | |
| int | IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS | |
| int | INVISIBLE | |
| int | KEEP_SCREEN_ON | |
| int | LAYER_TYPE_HARDWARE | |
| int | LAYER_TYPE_NONE | |
| int | LAYER_TYPE_SOFTWARE | |
| int | LAYOUT_DIRECTION_INHERIT | |
| int | LAYOUT_DIRECTION_LOCALE | |
| int | LAYOUT_DIRECTION_LTR | |
| int | LAYOUT_DIRECTION_RTL | |
| int | MEASURED_HEIGHT_STATE_SHIFT | |
| int | MEASURED_SIZE_MASK | |
| int | MEASURED_STATE_MASK | |
| int | MEASURED_STATE_TOO_SMALL | |
| int | NOT_FOCUSABLE | |
| int | NO_ID | |
| int | OVER_SCROLL_ALWAYS | |
| int | OVER_SCROLL_IF_CONTENT_SCROLLS | |
| int | OVER_SCROLL_NEVER | |
| int | POINTER_CAPTURE_MODE_ABSOLUTE | |
| int | POINTER_CAPTURE_MODE_RELATIVE | |
| int | POINTER_CAPTURE_MODE_UNCAPTURED | |
| int | RECTANGLE_ON_SCREEN_REQUEST_SOURCE_INPUT_FOCUS | |
| int | RECTANGLE_ON_SCREEN_REQUEST_SOURCE_SCROLL_ONLY | |
| int | RECTANGLE_ON_SCREEN_REQUEST_SOURCE_TEXT_CURSOR | |
| int | RECTANGLE_ON_SCREEN_REQUEST_SOURCE_UNDEFINED | |
| float | REQUESTED_FRAME_RATE_CATEGORY_DEFAULT | |
| float | REQUESTED_FRAME_RATE_CATEGORY_HIGH | |
| float | REQUESTED_FRAME_RATE_CATEGORY_LOW | |
| float | REQUESTED_FRAME_RATE_CATEGORY_NORMAL | |
| float | REQUESTED_FRAME_RATE_CATEGORY_NO_PREFERENCE | |
| int | SCREEN_STATE_OFF | |
| int | SCREEN_STATE_ON | |
| int | SCROLLBARS_INSIDE_INSET | |
| int | SCROLLBARS_INSIDE_OVERLAY | |
| int | SCROLLBARS_OUTSIDE_INSET | |
| int | SCROLLBARS_OUTSIDE_OVERLAY | |
| int | SCROLLBAR_POSITION_DEFAULT | |
| int | SCROLLBAR_POSITION_LEFT | |
| int | SCROLLBAR_POSITION_RIGHT | |
| int | SCROLL_AXIS_HORIZONTAL | |
| int | SCROLL_AXIS_NONE | |
| int | SCROLL_AXIS_VERTICAL | |
| int | SCROLL_CAPTURE_HINT_AUTO | |
| int | SCROLL_CAPTURE_HINT_EXCLUDE | |
| int | SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS | |
| int | SCROLL_CAPTURE_HINT_INCLUDE | |
| int | SCROLL_INDICATOR_BOTTOM | |
| int | SCROLL_INDICATOR_END | |
| int | SCROLL_INDICATOR_LEFT | |
| int | SCROLL_INDICATOR_RIGHT | |
| int | SCROLL_INDICATOR_START | |
| int | SCROLL_INDICATOR_TOP | |
| int | SOUND_EFFECTS_ENABLED | |
| int | STATUS_BAR_HIDDEN | |
| int | STATUS_BAR_VISIBLE | |
| int | SYSTEM_UI_FLAG_FULLSCREEN | |
| int | SYSTEM_UI_FLAG_HIDE_NAVIGATION | |
| int | SYSTEM_UI_FLAG_IMMERSIVE | |
| int | SYSTEM_UI_FLAG_IMMERSIVE_STICKY | |
| int | SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | |
| int | SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | |
| int | SYSTEM_UI_FLAG_LAYOUT_STABLE | |
| int | SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR | |
| int | SYSTEM_UI_FLAG_LIGHT_STATUS_BAR | |
| int | SYSTEM_UI_FLAG_LOW_PROFILE | |
| int | SYSTEM_UI_FLAG_VISIBLE | |
| int | SYSTEM_UI_LAYOUT_FLAGS | |
| int | TEXT_ALIGNMENT_CENTER | |
| int | TEXT_ALIGNMENT_GRAVITY | |
| int | TEXT_ALIGNMENT_INHERIT | |
| int | TEXT_ALIGNMENT_TEXT_END | |
| int | TEXT_ALIGNMENT_TEXT_START | |
| int | TEXT_ALIGNMENT_VIEW_END | |
| int | TEXT_ALIGNMENT_VIEW_START | |
| int | TEXT_DIRECTION_ANY_RTL | |
| int | TEXT_DIRECTION_FIRST_STRONG | |
| int | TEXT_DIRECTION_FIRST_STRONG_LTR | |
| int | TEXT_DIRECTION_FIRST_STRONG_RTL | |
| int | TEXT_DIRECTION_INHERIT | |
| int | TEXT_DIRECTION_LOCALE | |
| int | TEXT_DIRECTION_LTR | |
| int | TEXT_DIRECTION_RTL | |
| String | VIEW_LOG_TAG | |
| int | VISIBLE |
Inherited Field Summary
| public static final Property < View , Float > | ALPHA | |
| protected static final int[] | EMPTY_STATE_SET | |
| protected static final int[] | ENABLED_FOCUSED_SELECTED_STATE_SET | |
| protected static final int[] | ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | ENABLED_FOCUSED_STATE_SET | |
| protected static final int[] | ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | ENABLED_SELECTED_STATE_SET | |
| protected static final int[] | ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | ENABLED_STATE_SET | |
| protected static final int[] | ENABLED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | FOCUSED_SELECTED_STATE_SET | |
| protected static final int[] | FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | FOCUSED_STATE_SET | |
| protected static final int[] | FOCUSED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_SELECTED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_STATE_SET | |
| protected static final int[] | PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_FOCUSED_SELECTED_STATE_SET | |
| protected static final int[] | PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_SELECTED_STATE_SET | |
| protected static final int[] | PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET | |
| protected static final int[] | PRESSED_STATE_SET | |
| protected static final int[] | PRESSED_WINDOW_FOCUSED_STATE_SET | |
| public static final Property < View , Float > | ROTATION | |
| public static final Property < View , Float > | ROTATION_X | |
| public static final Property < View , Float > | ROTATION_Y | |
| public static final Property < View , Float > | SCALE_X | |
| public static final Property < View , Float > | SCALE_Y | |
| protected static final int[] | SELECTED_STATE_SET | |
| protected static final int[] | SELECTED_WINDOW_FOCUSED_STATE_SET | |
| public static final Property < View , Float > | TRANSLATION_X | |
| public static final Property < View , Float > | TRANSLATION_Y | |
| public static final Property < View , Float > | TRANSLATION_Z | |
| protected static final int[] | WINDOW_FOCUSED_STATE_SET | |
| public static final Property < View , Float > | X | |
| public static final Property < View , Float > | Y | |
| public static final Property < View , Float > | Z |
Public Constructor Summary
| * | |
| * | |
| * | |
| * |
Public Method Summary
| void | |
| void | |
| void | |
| void | onEnterAmbient
( Bundle
ambientDetails)
You must call this method from the parent WearableActivity's corresponding
method.
|
| void | |
| void | |
| void | |
| void | |
| void | onSaveInstanceState
( Bundle
outState)
You must call this method from the parent Activity/Fragment's corresponding
method.
|
| void | |
| void |
Inherited Method Summary
| boolean | |
| ViewGroup.LayoutParams | generateDefaultLayoutParams
()
|
| ViewGroup.LayoutParams | |
| ViewGroup.LayoutParams | |
| CharSequence | getAccessibilityClassName
()
|
| boolean | getConsiderGoneChildrenWhenMeasuring
()
|
| boolean | getMeasureAllChildren
()
|
| void | onLayout
(boolean arg0, int arg1, int arg2, int
arg3, int arg4)
|
| void | onMeasure
(int arg0, int arg1)
|
| void | setForegroundGravity
(int arg0)
|
| void | setMeasureAllChildren
(boolean arg0)
|
| boolean | shouldDelayChildPressedState
()
|
| void | |
| void | |
| void | |
| void | |
| boolean | addStatesFromChildren
()
|
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| boolean | |
| boolean | |
| void | |
| void | |
| void | |
| boolean | canAnimate
()
|
| boolean | |
| void | |
| void | |
| void | |
| void | |
| void | clearDisappearingChildren
()
|
| void | clearFocus
()
|
| void | debug
(int arg0)
|
| void | detachAllViewsFromParent
()
|
| void | detachViewFromParent
(int arg0)
|
| void | |
| void | detachViewsFromParent
(int arg0, int arg1)
|
| WindowInsets | |
| boolean | |
| void | |
| void | dispatchCreateViewTranslationRequest
( Map
< AutofillId
, long[]>
arg0, int[] arg1, TranslationCapability arg2, List
<ViewTranslationRequest>
arg3)
|
| void | dispatchDisplayHint
(int arg0)
|
| boolean | |
| void | |
| void | dispatchDrawableHotspotChanged
(float arg0,
float arg1)
|
| void | dispatchFinishTemporaryDetach
()
|
| void | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| void | dispatchPointerCaptureChanged
(boolean arg0)
|
| void | |
| void | |
| void | |
| void | |
| void | |
| void | dispatchSetActivated
(boolean arg0)
|
| void | dispatchSetPressed
(boolean arg0)
|
| void | dispatchSetSelected
(boolean arg0)
|
| void | dispatchStartTemporaryDetach
()
|
| void | dispatchSystemUiVisibilityChanged
(int arg0)
|
| void | |
| boolean | |
| boolean | |
| boolean | |
| void | |
| void | dispatchWindowFocusChanged
(boolean arg0)
|
| void | dispatchWindowInsetsAnimationEnd
(WindowInsetsAnimation
arg0)
|
| void | dispatchWindowInsetsAnimationPrepare
(WindowInsetsAnimation
arg0)
|
| WindowInsets | |
| WindowInsetsAnimation.Bounds | dispatchWindowInsetsAnimationStart
(WindowInsetsAnimation
arg0, WindowInsetsAnimation.Bounds arg1)
|
| void | dispatchWindowSystemUiVisiblityChanged
(int
arg0)
|
| void | dispatchWindowVisibilityChanged
(int arg0)
|
| boolean | |
| void | drawableStateChanged
()
|
| void | |
| View | findFocus
()
|
| OnBackInvokedDispatcher | |
| void | |
| View | |
| void | |
| boolean | |
| ViewGroup.LayoutParams | generateDefaultLayoutParams
()
|
| ViewGroup.LayoutParams | |
| ViewGroup.LayoutParams | |
| CharSequence | getAccessibilityClassName
()
|
| View | getChildAt
(int arg0)
|
| int | getChildCount
()
|
| int | getChildDrawingOrder
(int arg0, int arg1)
|
| final int | getChildDrawingOrder
(int arg0)
|
| static int | getChildMeasureSpec
(int arg0, int arg1, int
arg2)
|
| boolean | |
| boolean | |
| boolean | getClipChildren
()
|
| boolean | getClipToPadding
()
|
| int | getDescendantFocusability
()
|
| View | getFocusedChild
()
|
| LayoutAnimationController | getLayoutAnimation
()
|
| Animation.AnimationListener | getLayoutAnimationListener
()
|
| int | getLayoutMode
()
|
| LayoutTransition | getLayoutTransition
()
|
| int | getNestedScrollAxes
()
|
| ViewOverlay | getOverlay
()
|
| int | getPersistentDrawingCache
()
|
| boolean | getTouchscreenBlocksFocus
()
|
| boolean | hasFocus
()
|
| boolean | hasTransientState
()
|
| int | |
| final void | |
| ViewParent | |
| boolean | isAlwaysDrawnWithCacheEnabled
()
|
| boolean | isAnimationCacheEnabled
()
|
| boolean | isChildrenDrawingOrderEnabled
()
|
| boolean | isChildrenDrawnWithCacheEnabled
()
|
| boolean | isLayoutSuppressed
()
|
| boolean | isMotionEventSplittingEnabled
()
|
| boolean | isTransitionGroup
()
|
| void | jumpDrawablesToCurrentState
()
|
| final void | layout
(int arg0, int arg1, int arg2, int arg3)
|
| void | |
| void | |
| void | measureChildren
(int arg0, int arg1)
|
| void | |
| final void | |
| final void | |
| void | onAttachedToWindow
()
|
| int[] | onCreateDrawableState
(int arg0)
|
| void | |
| void | onDetachedFromWindow
()
|
| boolean | |
| boolean | |
| abstract void | onLayout
(boolean arg0, int arg1, int arg2, int
arg3, int arg4)
|
| boolean | |
| boolean | |
| boolean | |
| void | |
| void | |
| void | |
| boolean | |
| boolean | |
| PointerIcon | |
| boolean | |
| void | |
| void | |
| void | |
| void | propagateRequestedFrameRate
(float arg0, boolean
arg1)
|
| void | |
| void | removeAllViews
()
|
| void | removeAllViewsInLayout
()
|
| void | |
| void | |
| void | removeViewAt
(int arg0)
|
| void | |
| void | removeViews
(int arg0, int arg1)
|
| void | removeViewsInLayout
(int arg0, int arg1)
|
| void | |
| boolean | |
| void | requestDisallowInterceptTouchEvent
(boolean
arg0)
|
| boolean | |
| boolean | |
| void | |
| boolean | restoreDefaultFocus
()
|
| void | scheduleLayoutAnimation
()
|
| void | setAddStatesFromChildren
(boolean arg0)
|
| void | setAlwaysDrawnWithCacheEnabled
(boolean arg0)
|
| void | setAnimationCacheEnabled
(boolean arg0)
|
| void | setChildrenDrawingCacheEnabled
(boolean arg0)
|
| void | setChildrenDrawingOrderEnabled
(boolean arg0)
|
| void | setChildrenDrawnWithCacheEnabled
(boolean arg0)
|
| void | setClipChildren
(boolean arg0)
|
| void | setClipToPadding
(boolean arg0)
|
| void | setDescendantFocusability
(int arg0)
|
| void | |
| void | |
| void | setLayoutMode
(int arg0)
|
| void | |
| void | setMotionEventSplittingEnabled
(boolean arg0)
|
| void | |
| void | setPersistentDrawingCache
(int arg0)
|
| void | setRequestedFrameRate
(float arg0)
|
| void | setStaticTransformationsEnabled
(boolean arg0)
|
| void | setTouchscreenBlocksFocus
(boolean arg0)
|
| void | setTransitionGroup
(boolean arg0)
|
| void | setWindowInsetsAnimationCallback
(WindowInsetsAnimation.Callback
arg0)
|
| boolean | shouldDelayChildPressedState
()
|
| boolean | |
| boolean | |
| ActionMode | |
| ActionMode | |
| void | startLayoutAnimation
()
|
| void | |
| void | suppressLayout
(boolean arg0)
|
| void |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | addOnUnhandledKeyEventListener
(View.OnUnhandledKeyEventListener
arg0)
|
| void | |
| ViewPropertyAnimator | animate
()
|
| void | |
| void | |
| void | |
| boolean | awakenScrollBars
(int arg0, boolean arg1)
|
| boolean | awakenScrollBars
(int arg0)
|
| boolean | awakenScrollBars
()
|
| void | bringToFront
()
|
| void | buildDrawingCache
(boolean arg0)
|
| void | buildDrawingCache
()
|
| void | buildLayer
()
|
| boolean | callOnClick
()
|
| boolean | canResolveLayoutDirection
()
|
| boolean | canResolveTextAlignment
()
|
| boolean | canResolveTextDirection
()
|
| boolean | canScrollHorizontally
(int arg0)
|
| boolean | canScrollVertically
(int arg0)
|
| final void | cancelDragAndDrop
()
|
| void | cancelLongPress
()
|
| final void | cancelPendingInputEvents
()
|
| boolean | |
| void | clearAnimation
()
|
| void | clearFocus
()
|
| void | clearPendingCredentialRequest
()
|
| void | clearViewTranslationCallback
()
|
| static int | combineMeasuredStates
(int arg0, int arg1)
|
| int | computeHorizontalScrollExtent
()
|
| int | computeHorizontalScrollOffset
()
|
| int | computeHorizontalScrollRange
()
|
| void | computeScroll
()
|
| WindowInsets | |
| int | computeVerticalScrollExtent
()
|
| int | computeVerticalScrollOffset
()
|
| int | computeVerticalScrollRange
()
|
| AccessibilityNodeInfo | createAccessibilityNodeInfo
()
|
| void | |
| void | destroyDrawingCache
()
|
| WindowInsets | |
| boolean | |
| void | |
| void | dispatchCreateViewTranslationRequest
( Map
< AutofillId
, long[]>
arg0, int[] arg1, TranslationCapability arg2, List
<ViewTranslationRequest>
arg3)
|
| void | dispatchDisplayHint
(int arg0)
|
| boolean | |
| void | |
| void | dispatchDrawableHotspotChanged
(float arg0,
float arg1)
|
| void | dispatchFinishTemporaryDetach
()
|
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | dispatchNestedFling
(float arg0, float arg1,
boolean arg2)
|
| boolean | dispatchNestedPreFling
(float arg0, float arg1)
|
| boolean | |
| boolean | dispatchNestedPreScroll
(int arg0, int arg1,
int[] arg2, int[] arg3)
|
| boolean | dispatchNestedScroll
(int arg0, int arg1, int
arg2, int arg3, int[] arg4)
|
| void | dispatchPointerCaptureChanged
(boolean arg0)
|
| boolean | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | dispatchSetActivated
(boolean arg0)
|
| void | dispatchSetPressed
(boolean arg0)
|
| void | dispatchSetSelected
(boolean arg0)
|
| void | dispatchStartTemporaryDetach
()
|
| void | dispatchSystemUiVisibilityChanged
(int arg0)
|
| boolean | |
| boolean | |
| boolean | |
| void | |
| void | dispatchWindowFocusChanged
(boolean arg0)
|
| void | dispatchWindowInsetsAnimationEnd
(WindowInsetsAnimation
arg0)
|
| void | dispatchWindowInsetsAnimationPrepare
(WindowInsetsAnimation
arg0)
|
| WindowInsets | |
| WindowInsetsAnimation.Bounds | dispatchWindowInsetsAnimationStart
(WindowInsetsAnimation
arg0, WindowInsetsAnimation.Bounds arg1)
|
| void | dispatchWindowSystemUiVisiblityChanged
(int
arg0)
|
| void | dispatchWindowVisibilityChanged
(int arg0)
|
| void | |
| void | drawableHotspotChanged
(float arg0, float arg1)
|
| void | drawableStateChanged
()
|
| View | findFocus
()
|
| final OnBackInvokedDispatcher | findOnBackInvokedDispatcher
()
|
| final <T extends View > T | findViewById
(int arg0)
|
| final <T extends View > T | |
| void | |
| boolean | |
| View | focusSearch
(int arg0)
|
| void | forceHasOverlappingRendering
(boolean arg0)
|
| void | forceLayout
()
|
| boolean | |
| void | |
| static int | generateViewId
()
|
| CharSequence | getAccessibilityClassName
()
|
| View.AccessibilityDelegate | getAccessibilityDelegate
()
|
| int | getAccessibilityLiveRegion
()
|
| AccessibilityNodeProvider | getAccessibilityNodeProvider
()
|
| CharSequence | getAccessibilityPaneTitle
()
|
| int | getAccessibilityTraversalAfter
()
|
| int | getAccessibilityTraversalBefore
()
|
| String | getAllowedHandwritingDelegatePackageName
()
|
| String | getAllowedHandwritingDelegatorPackageName
()
|
| float | getAlpha
()
|
| Animation | getAnimation
()
|
| Matrix | getAnimationMatrix
()
|
| IBinder | getApplicationWindowToken
()
|
| int[] | getAttributeResolutionStack
(int arg0)
|
| Map < Integer , Integer > | getAttributeSourceResourceMap
()
|
| String[] | getAutofillHints
()
|
| final AutofillId | getAutofillId
()
|
| int | getAutofillType
()
|
| AutofillValue | getAutofillValue
()
|
| Drawable | getBackground
()
|
| BlendMode | getBackgroundTintBlendMode
()
|
| ColorStateList | getBackgroundTintList
()
|
| PorterDuff.Mode | getBackgroundTintMode
()
|
| int | getBaseline
()
|
| final int | getBottom
()
|
| float | getBottomFadingEdgeStrength
()
|
| int | getBottomPaddingOffset
()
|
| float | getCameraDistance
()
|
| boolean | |
| Rect | getClipBounds
()
|
| final boolean | getClipToOutline
()
|
| final ContentCaptureSession | getContentCaptureSession
()
|
| CharSequence | getContentDescription
()
|
| final int | getContentSensitivity
()
|
| final Context | getContext
()
|
| ContextMenu.ContextMenuInfo | getContextMenuInfo
()
|
| final boolean | getDefaultFocusHighlightEnabled
()
|
| static int | getDefaultSize
(int arg0, int arg1)
|
| Display | getDisplay
()
|
| final int[] | getDrawableState
()
|
| Bitmap | getDrawingCache
()
|
| Bitmap | getDrawingCache
(boolean arg0)
|
| int | getDrawingCacheBackgroundColor
()
|
| int | getDrawingCacheQuality
()
|
| void | |
| long | getDrawingTime
()
|
| float | getElevation
()
|
| int | getExplicitStyle
()
|
| boolean | getFilterTouchesWhenObscured
()
|
| boolean | getFitsSystemWindows
()
|
| int | getFocusable
()
|
| ArrayList < View > | getFocusables
(int arg0)
|
| void | |
| Drawable | getForeground
()
|
| int | getForegroundGravity
()
|
| BlendMode | getForegroundTintBlendMode
()
|
| ColorStateList | getForegroundTintList
()
|
| PorterDuff.Mode | getForegroundTintMode
()
|
| float | getFrameContentVelocity
()
|
| final boolean | |
| boolean | |
| Handler | getHandler
()
|
| float | getHandwritingBoundsOffsetBottom
()
|
| float | getHandwritingBoundsOffsetLeft
()
|
| float | getHandwritingBoundsOffsetRight
()
|
| float | getHandwritingBoundsOffsetTop
()
|
| int | getHandwritingDelegateFlags
()
|
| Runnable | getHandwritingDelegatorCallback
()
|
| final boolean | getHasOverlappingRendering
()
|
| final int | getHeight
()
|
| void | |
| int | getHorizontalFadingEdgeLength
()
|
| int | getHorizontalScrollbarHeight
()
|
| Drawable | getHorizontalScrollbarThumbDrawable
()
|
| Drawable | getHorizontalScrollbarTrackDrawable
()
|
| int | getId
()
|
| int | getImportantForAccessibility
()
|
| int | getImportantForAutofill
()
|
| int | getImportantForContentCapture
()
|
| boolean | getKeepScreenOn
()
|
| KeyEvent.DispatcherState | getKeyDispatcherState
()
|
| int | getLabelFor
()
|
| int | getLayerType
()
|
| int | getLayoutDirection
()
|
| ViewGroup.LayoutParams | getLayoutParams
()
|
| final int | getLeft
()
|
| float | getLeftFadingEdgeStrength
()
|
| int | getLeftPaddingOffset
()
|
| final boolean | |
| void | getLocationInSurface
(int[] arg0)
|
| void | getLocationInWindow
(int[] arg0)
|
| void | getLocationOnScreen
(int[] arg0)
|
| Matrix | getMatrix
()
|
| final int | getMeasuredHeight
()
|
| final int | getMeasuredHeightAndState
()
|
| final int | getMeasuredState
()
|
| final int | getMeasuredWidth
()
|
| final int | getMeasuredWidthAndState
()
|
| int | getMinimumHeight
()
|
| int | getMinimumWidth
()
|
| int | getNextClusterForwardId
()
|
| int | getNextFocusDownId
()
|
| int | getNextFocusForwardId
()
|
| int | getNextFocusLeftId
()
|
| int | getNextFocusRightId
()
|
| int | getNextFocusUpId
()
|
| View.OnFocusChangeListener | getOnFocusChangeListener
()
|
| int | getOutlineAmbientShadowColor
()
|
| ViewOutlineProvider | getOutlineProvider
()
|
| int | getOutlineSpotShadowColor
()
|
| int | getOverScrollMode
()
|
| ViewOverlay | getOverlay
()
|
| int | getPaddingBottom
()
|
| int | getPaddingEnd
()
|
| int | getPaddingLeft
()
|
| int | getPaddingRight
()
|
| int | getPaddingStart
()
|
| int | getPaddingTop
()
|
| final ViewParent | getParent
()
|
| ViewParent | getParentForAccessibility
()
|
| final OutcomeReceiver<GetCredentialResponse, GetCredentialException> | getPendingCredentialCallback
()
|
| final GetCredentialRequest | getPendingCredentialRequest
()
|
| float | getPivotX
()
|
| float | getPivotY
()
|
| PointerIcon | getPointerIcon
()
|
| final List < Rect > | getPreferKeepClearRects
()
|
| String[] | getReceiveContentMimeTypes
()
|
| float | getRequestedFrameRate
()
|
| Resources | getResources
()
|
| final boolean | getRevealOnFocusHint
()
|
| final int | getRight
()
|
| float | getRightFadingEdgeStrength
()
|
| int | getRightPaddingOffset
()
|
| AttachedSurfaceControl | getRootSurfaceControl
()
|
| View | getRootView
()
|
| WindowInsets | getRootWindowInsets
()
|
| float | getRotation
()
|
| float | getRotationX
()
|
| float | getRotationY
()
|
| float | getScaleX
()
|
| float | getScaleY
()
|
| int | getScrollBarDefaultDelayBeforeFade
()
|
| int | getScrollBarFadeDuration
()
|
| int | getScrollBarSize
()
|
| int | getScrollBarStyle
()
|
| int | getScrollCaptureHint
()
|
| int | getScrollIndicators
()
|
| final int | getScrollX
()
|
| final int | getScrollY
()
|
| int | getSolidColor
()
|
| int | getSourceLayoutResId
()
|
| final CharSequence | getStateDescription
()
|
| StateListAnimator | getStateListAnimator
()
|
| int | getSuggestedMinimumHeight
()
|
| int | getSuggestedMinimumWidth
()
|
| CharSequence | getSupplementalDescription
()
|
| List < Rect > | getSystemGestureExclusionRects
()
|
| int | getSystemUiVisibility
()
|
| Object | getTag
()
|
| Object | getTag
(int arg0)
|
| int | getTextAlignment
()
|
| int | getTextDirection
()
|
| CharSequence | getTooltipText
()
|
| final int | getTop
()
|
| float | getTopFadingEdgeStrength
()
|
| int | getTopPaddingOffset
()
|
| TouchDelegate | getTouchDelegate
()
|
| ArrayList < View > | getTouchables
()
|
| float | getTransitionAlpha
()
|
| String | getTransitionName
()
|
| float | getTranslationX
()
|
| float | getTranslationY
()
|
| float | getTranslationZ
()
|
| long | getUniqueDrawingId
()
|
| int | getVerticalFadingEdgeLength
()
|
| int | getVerticalScrollbarPosition
()
|
| Drawable | getVerticalScrollbarThumbDrawable
()
|
| Drawable | getVerticalScrollbarTrackDrawable
()
|
| int | getVerticalScrollbarWidth
()
|
| ViewTranslationResponse | getViewTranslationResponse
()
|
| ViewTreeObserver | getViewTreeObserver
()
|
| int | getVisibility
()
|
| final int | getWidth
()
|
| int | getWindowAttachCount
()
|
| WindowId | getWindowId
()
|
| WindowInsetsController | getWindowInsetsController
()
|
| int | getWindowSystemUiVisibility
()
|
| IBinder | getWindowToken
()
|
| int | getWindowVisibility
()
|
| void | |
| float | getX
()
|
| float | getY
()
|
| float | getZ
()
|
| boolean | hasExplicitFocusable
()
|
| boolean | hasFocus
()
|
| boolean | hasFocusable
()
|
| boolean | hasNestedScrollingParent
()
|
| boolean | hasOnClickListeners
()
|
| boolean | hasOnLongClickListeners
()
|
| boolean | hasOverlappingRendering
()
|
| boolean | hasPointerCapture
()
|
| boolean | hasTransientState
()
|
| boolean | hasWindowFocus
()
|
| static View | |
| void | invalidate
()
|
| void | |
| void | invalidate
(int arg0, int arg1, int arg2, int
arg3)
|
| void | |
| void | invalidateOutline
()
|
| boolean | isAccessibilityDataSensitive
()
|
| boolean | isAccessibilityFocused
()
|
| boolean | isAccessibilityHeading
()
|
| boolean | isActivated
()
|
| boolean | isAttachedToWindow
()
|
| boolean | isAutoHandwritingEnabled
()
|
| boolean | isClickable
()
|
| final boolean | isContentSensitive
()
|
| boolean | isContextClickable
()
|
| boolean | isCredential
()
|
| boolean | isDirty
()
|
| boolean | isDrawingCacheEnabled
()
|
| boolean | isDuplicateParentStateEnabled
()
|
| boolean | isEnabled
()
|
| final boolean | isFocusable
()
|
| final boolean | isFocusableInTouchMode
()
|
| boolean | isFocused
()
|
| final boolean | isFocusedByDefault
()
|
| boolean | isForceDarkAllowed
()
|
| boolean | isHandwritingDelegate
()
|
| boolean | isHapticFeedbackEnabled
()
|
| boolean | isHardwareAccelerated
()
|
| boolean | isHorizontalFadingEdgeEnabled
()
|
| boolean | isHorizontalScrollBarEnabled
()
|
| boolean | isHovered
()
|
| boolean | isImportantForAccessibility
()
|
| final boolean | isImportantForAutofill
()
|
| final boolean | isImportantForContentCapture
()
|
| boolean | isInEditMode
()
|
| boolean | isInLayout
()
|
| boolean | isInTouchMode
()
|
| final boolean | isKeyboardNavigationCluster
()
|
| boolean | isLaidOut
()
|
| boolean | isLayoutDirectionResolved
()
|
| boolean | isLayoutRequested
()
|
| boolean | isLongClickable
()
|
| boolean | isNestedScrollingEnabled
()
|
| boolean | isOpaque
()
|
| boolean | isPaddingOffsetRequired
()
|
| boolean | isPaddingRelative
()
|
| boolean | isPivotSet
()
|
| final boolean | isPreferKeepClear
()
|
| boolean | isPressed
()
|
| boolean | isSaveEnabled
()
|
| boolean | isSaveFromParentEnabled
()
|
| boolean | isScreenReaderFocusable
()
|
| boolean | isScrollContainer
()
|
| boolean | isScrollbarFadingEnabled
()
|
| boolean | isSelected
()
|
| final boolean | isShowingLayoutBounds
()
|
| boolean | isShown
()
|
| boolean | isSoundEffectsEnabled
()
|
| final boolean | isTemporarilyDetached
()
|
| boolean | isTextAlignmentResolved
()
|
| boolean | isTextDirectionResolved
()
|
| boolean | isVerticalFadingEdgeEnabled
()
|
| boolean | isVerticalScrollBarEnabled
()
|
| boolean | isVisibleToUserForAutofill
(int arg0)
|
| void | jumpDrawablesToCurrentState
()
|
| View | |
| void | layout
(int arg0, int arg1, int arg2, int arg3)
|
| final void | measure
(int arg0, int arg1)
|
| static int[] | mergeDrawableStates
(int[] arg0, int[] arg1)
|
| void | offsetLeftAndRight
(int arg0)
|
| void | offsetTopAndBottom
(int arg0)
|
| void | onAnimationEnd
()
|
| void | onAnimationStart
()
|
| WindowInsets | |
| void | onAttachedToWindow
()
|
| void | onCancelPendingInputEvents
()
|
| boolean | |
| boolean | onCheckIsTextEditor
()
|
| void | |
| void | |
| int[] | onCreateDrawableState
(int arg0)
|
| InputConnection | |
| void | |
| void | onCreateVirtualViewTranslationRequests
(long[]
arg0, int[] arg1, Consumer
<ViewTranslationRequest>
arg2)
|
| void | onDetachedFromWindow
()
|
| void | onDisplayHint
(int arg0)
|
| boolean | |
| void | |
| void | |
| final void | |
| boolean | |
| void | onFinishInflate
()
|
| void | onFinishTemporaryDetach
()
|
| void | |
| boolean | |
| void | onHoverChanged
(boolean arg0)
|
| boolean | |
| void | |
| void | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| boolean | |
| void | onLayout
(boolean arg0, int arg1, int arg2, int
arg3, int arg4)
|
| void | onMeasure
(int arg0, int arg1)
|
| void | onOverScrolled
(int arg0, int arg1, boolean
arg2, boolean arg3)
|
| void | onPointerCaptureChange
(boolean arg0)
|
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| ContentInfo | onReceiveContent
(ContentInfo arg0)
|
| PointerIcon | |
| void | |
| void | onRtlPropertiesChanged
(int arg0)
|
| Parcelable | onSaveInstanceState
()
|
| void | onScreenStateChanged
(int arg0)
|
| void | |
| void | onScrollChanged
(int arg0, int arg1, int arg2,
int arg3)
|
| boolean | onSetAlpha
(int arg0)
|
| void | onSizeChanged
(int arg0, int arg1, int arg2, int
arg3)
|
| void | onStartTemporaryDetach
()
|
| boolean | |
| boolean | |
| void | onViewTranslationResponse
(ViewTranslationResponse arg0)
|
| void | |
| void | onVisibilityAggregated
(boolean arg0)
|
| void | |
| void | onWindowFocusChanged
(boolean arg0)
|
| void | onWindowSystemUiVisibilityChanged
(int arg0)
|
| void | onWindowVisibilityChanged
(int arg0)
|
| boolean | overScrollBy
(int arg0, int arg1, int arg2, int
arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8)
|
| boolean | |
| boolean | performClick
()
|
| boolean | performContextClick
(float arg0, float arg1)
|
| boolean | performContextClick
()
|
| boolean | performHapticFeedback
(int arg0)
|
| boolean | performHapticFeedback
(HapticFeedbackRequest
arg0)
|
| boolean | performHapticFeedback
(int arg0, int arg1)
|
| boolean | performLongClick
(float arg0, float arg1)
|
| boolean | performLongClick
()
|
| ContentInfo | performReceiveContent
(ContentInfo arg0)
|
| void | playSoundEffect
(int arg0)
|
| boolean | |
| boolean | |
| void | postInvalidate
()
|
| void | postInvalidate
(int arg0, int arg1, int arg2,
int arg3)
|
| void | postInvalidateDelayed
(long arg0, int arg1, int
arg2, int arg3, int arg4)
|
| void | postInvalidateDelayed
(long arg0)
|
| void | postInvalidateOnAnimation
(int arg0, int arg1,
int arg2, int arg3)
|
| void | postInvalidateOnAnimation
()
|
| void | |
| void | |
| void | refreshDrawableState
()
|
| void | releasePointerCapture
()
|
| boolean | |
| void | |
| void | |
| void | removeOnUnhandledKeyEventListener
(View.OnUnhandledKeyEventListener
arg0)
|
| void | reportAppJankStats
(AppJankStats arg0)
|
| void | requestApplyInsets
()
|
| void | requestFitSystemWindows
()
|
| final boolean | requestFocus
(int arg0)
|
| final boolean | requestFocus
()
|
| boolean | |
| final boolean | requestFocusFromTouch
()
|
| void | requestLayout
()
|
| void | requestPointerCapture
()
|
| void | requestPointerCapture
(int arg0)
|
| boolean | |
| boolean | |
| boolean | |
| final void | requestUnbufferedDispatch
(int arg0)
|
| final void | |
| final <T extends View > T | requireViewById
(int arg0)
|
| void | resetPivot
()
|
| static int | resolveSize
(int arg0, int arg1)
|
| static int | resolveSizeAndState
(int arg0, int arg1, int
arg2)
|
| boolean | restoreDefaultFocus
()
|
| void | |
| final void | saveAttributeDataForStyleable
( Context
arg0, int[] arg1, AttributeSet
arg2, TypedArray
arg3, int arg4, int arg5)
|
| void | |
| void | |
| void | scrollBy
(int arg0, int arg1)
|
| void | scrollTo
(int arg0, int arg1)
|
| void | sendAccessibilityEvent
(int arg0)
|
| void | |
| void | setAccessibilityDataSensitive
(int arg0)
|
| void | |
| void | setAccessibilityHeading
(boolean arg0)
|
| void | setAccessibilityLiveRegion
(int arg0)
|
| void | |
| void | setAccessibilityTraversalAfter
(int arg0)
|
| void | setAccessibilityTraversalBefore
(int arg0)
|
| void | setActivated
(boolean arg0)
|
| void | setAllowClickWhenDisabled
(boolean arg0)
|
| void | |
| void | |
| void | setAlpha
(float arg0)
|
| void | |
| void | |
| void | setAutoHandwritingEnabled
(boolean arg0)
|
| void | |
| void | |
| void | |
| void | setBackgroundColor
(int arg0)
|
| void | |
| void | setBackgroundResource
(int arg0)
|
| void | setBackgroundTintBlendMode
(BlendMode arg0)
|
| void | |
| void | |
| final void | setBottom
(int arg0)
|
| void | setCameraDistance
(float arg0)
|
| void | setClickable
(boolean arg0)
|
| void | |
| void | setClipToOutline
(boolean arg0)
|
| void | setContentCaptureSession
(ContentCaptureSession
arg0)
|
| void | |
| final void | setContentSensitivity
(int arg0)
|
| void | setContextClickable
(boolean arg0)
|
| void | setDefaultFocusHighlightEnabled
(boolean arg0)
|
| void | setDrawingCacheBackgroundColor
(int arg0)
|
| void | setDrawingCacheEnabled
(boolean arg0)
|
| void | setDrawingCacheQuality
(int arg0)
|
| void | setDuplicateParentStateEnabled
(boolean arg0)
|
| void | setElevation
(float arg0)
|
| void | setEnabled
(boolean arg0)
|
| void | setFadingEdgeLength
(int arg0)
|
| void | setFilterTouchesWhenObscured
(boolean arg0)
|
| void | setFitsSystemWindows
(boolean arg0)
|
| void | setFocusable
(boolean arg0)
|
| void | setFocusable
(int arg0)
|
| void | setFocusableInTouchMode
(boolean arg0)
|
| void | setFocusedByDefault
(boolean arg0)
|
| void | setForceDarkAllowed
(boolean arg0)
|
| void | |
| void | setForegroundGravity
(int arg0)
|
| void | setForegroundTintBlendMode
(BlendMode arg0)
|
| void | |
| void | |
| void | setFrameContentVelocity
(float arg0)
|
| void | setHandwritingBoundsOffsets
(float arg0, float
arg1, float arg2, float arg3)
|
| void | setHandwritingDelegateFlags
(int arg0)
|
| void | |
| void | setHapticFeedbackEnabled
(boolean arg0)
|
| void | setHasTransientState
(boolean arg0)
|
| void | setHorizontalFadingEdgeEnabled
(boolean arg0)
|
| void | setHorizontalScrollBarEnabled
(boolean arg0)
|
| void | |
| void | |
| void | setHovered
(boolean arg0)
|
| void | setId
(int arg0)
|
| void | setImportantForAccessibility
(int arg0)
|
| void | setImportantForAutofill
(int arg0)
|
| void | setImportantForContentCapture
(int arg0)
|
| void | setIsCredential
(boolean arg0)
|
| void | setIsHandwritingDelegate
(boolean arg0)
|
| void | setKeepScreenOn
(boolean arg0)
|
| void | setKeyboardNavigationCluster
(boolean arg0)
|
| void | setLabelFor
(int arg0)
|
| void | |
| void | |
| void | setLayoutDirection
(int arg0)
|
| void | |
| final void | setLeft
(int arg0)
|
| final void | setLeftTopRightBottom
(int arg0, int arg1, int
arg2, int arg3)
|
| void | setLongClickable
(boolean arg0)
|
| final void | setMeasuredDimension
(int arg0, int arg1)
|
| void | setMinimumHeight
(int arg0)
|
| void | setMinimumWidth
(int arg0)
|
| void | setNestedScrollingEnabled
(boolean arg0)
|
| void | setNextClusterForwardId
(int arg0)
|
| void | setNextFocusDownId
(int arg0)
|
| void | setNextFocusForwardId
(int arg0)
|
| void | setNextFocusLeftId
(int arg0)
|
| void | setNextFocusRightId
(int arg0)
|
| void | setNextFocusUpId
(int arg0)
|
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | setOutlineAmbientShadowColor
(int arg0)
|
| void | |
| void | setOutlineSpotShadowColor
(int arg0)
|
| void | setOverScrollMode
(int arg0)
|
| void | setPadding
(int arg0, int arg1, int arg2, int
arg3)
|
| void | setPaddingRelative
(int arg0, int arg1, int
arg2, int arg3)
|
| void | setPendingCredentialRequest
(GetCredentialRequest arg0,
OutcomeReceiver<GetCredentialResponse, GetCredentialException>
arg1)
|
| void | setPivotX
(float arg0)
|
| void | setPivotY
(float arg0)
|
| void | |
| final void | setPreferKeepClear
(boolean arg0)
|
| final void | |
| void | setPressed
(boolean arg0)
|
| void | setRenderEffect
(RenderEffect arg0)
|
| void | setRequestedFrameRate
(float arg0)
|
| final void | setRevealOnFocusHint
(boolean arg0)
|
| final void | setRight
(int arg0)
|
| void | setRotation
(float arg0)
|
| void | setRotationX
(float arg0)
|
| void | setRotationY
(float arg0)
|
| void | setSaveEnabled
(boolean arg0)
|
| void | setSaveFromParentEnabled
(boolean arg0)
|
| void | setScaleX
(float arg0)
|
| void | setScaleY
(float arg0)
|
| void | setScreenReaderFocusable
(boolean arg0)
|
| void | setScrollBarDefaultDelayBeforeFade
(int arg0)
|
| void | setScrollBarFadeDuration
(int arg0)
|
| void | setScrollBarSize
(int arg0)
|
| void | setScrollBarStyle
(int arg0)
|
| final void | setScrollCaptureCallback
(ScrollCaptureCallback
arg0)
|
| void | setScrollCaptureHint
(int arg0)
|
| void | setScrollContainer
(boolean arg0)
|
| void | setScrollIndicators
(int arg0, int arg1)
|
| void | setScrollIndicators
(int arg0)
|
| void | setScrollX
(int arg0)
|
| void | setScrollY
(int arg0)
|
| void | setScrollbarFadingEnabled
(boolean arg0)
|
| void | setSelected
(boolean arg0)
|
| void | setSoundEffectsEnabled
(boolean arg0)
|
| void | |
| void | |
| void | |
| void | |
| void | setSystemUiVisibility
(int arg0)
|
| void | |
| void | |
| void | setTextAlignment
(int arg0)
|
| void | setTextDirection
(int arg0)
|
| void | |
| final void | setTop
(int arg0)
|
| void | |
| void | setTransitionAlpha
(float arg0)
|
| final void | |
| void | setTransitionVisibility
(int arg0)
|
| void | setTranslationX
(float arg0)
|
| void | setTranslationY
(float arg0)
|
| void | setTranslationZ
(float arg0)
|
| void | setVerticalFadingEdgeEnabled
(boolean arg0)
|
| void | setVerticalScrollBarEnabled
(boolean arg0)
|
| void | setVerticalScrollbarPosition
(int arg0)
|
| void | |
| void | |
| void | setViewTranslationCallback
(ViewTranslationCallback arg0)
|
| void | setVisibility
(int arg0)
|
| void | setWillNotCacheDrawing
(boolean arg0)
|
| void | setWillNotDraw
(boolean arg0)
|
| void | setWindowInsetsAnimationCallback
(WindowInsetsAnimation.Callback
arg0)
|
| void | setX
(float arg0)
|
| void | setY
(float arg0)
|
| void | setZ
(float arg0)
|
| boolean | showContextMenu
()
|
| boolean | showContextMenu
(float arg0, float arg1)
|
| ActionMode | |
| ActionMode | |
| void | |
| final boolean | |
| final boolean | |
| boolean | startNestedScroll
(int arg0)
|
| void | stopNestedScroll
()
|
| String | toString
()
|
| void | |
| void | |
| void | |
| void | |
| final void | |
| boolean | |
| boolean | willNotCacheDrawing
()
|
| boolean | willNotDraw
()
|
| abstract void | |
| abstract void | |
| abstract void |
| abstract void | |
| abstract boolean | canResolveLayoutDirection
()
|
| abstract boolean | canResolveTextAlignment
()
|
| abstract boolean | canResolveTextDirection
()
|
| abstract void | |
| abstract void | |
| abstract void | |
| abstract void | |
| OnBackInvokedDispatcher | |
| abstract View | |
| abstract void | |
| abstract boolean | |
| abstract int | getLayoutDirection
()
|
| abstract ViewParent | getParent
()
|
| abstract ViewParent | getParentForAccessibility
()
|
| abstract int | getTextAlignment
()
|
| abstract int | getTextDirection
()
|
| abstract void | |
| abstract ViewParent | |
| abstract boolean | isLayoutDirectionResolved
()
|
| abstract boolean | isLayoutRequested
()
|
| abstract boolean | isTextAlignmentResolved
()
|
| abstract boolean | isTextDirectionResolved
()
|
| abstract View | |
| abstract void | |
| void | |
| abstract boolean | |
| abstract boolean | |
| abstract boolean | |
| abstract void | |
| abstract void | |
| abstract void | |
| abstract boolean | |
| abstract void | |
| abstract void | |
| abstract void | |
| boolean | |
| abstract boolean | |
| abstract void | requestDisallowInterceptTouchEvent
(boolean
arg0)
|
| abstract void | requestFitSystemWindows
()
|
| abstract void | requestLayout
()
|
| abstract boolean | |
| abstract void | |
| abstract boolean | |
| abstract boolean | |
| abstract ActionMode | |
| abstract ActionMode |
| abstract void | sendAccessibilityEvent
(int arg0)
|
| abstract void |
Public Constructors
public MapView ( Context context)
public MapView ( Context context, AttributeSet attrs)
public MapView ( Context context, AttributeSet attrs, int defStyle)
public MapView ( Context context, GoogleMapOptions options)
Constructs MapView with GoogleMapOptions
.
Parameters
| context | |
|---|---|
| options | configuration GoogleMapOptions for a GoogleMap
,
or null
to use the default options. |
Public Methods
public void getMapAsync ( OnMapReadyCallback callback)
Returns a instance of the GoogleMap
through the callback, ready to be used.
Note that:
- This method must be called from the main thread.
- The callback will be executed in the main thread.
- In the case where Google Play services is not installed on the user's device, the callback will not be triggered until the user installs it.
- The
GoogleMapobject provided by the callback is nevernull.
Parameters
public void onCreate ( Bundle savedInstanceState)
You must call this method from the parent Activity/Fragment's corresponding method.
public void onDestroy ()
You must call this method from the parent Activity/Fragment's corresponding method.
public void onEnterAmbient ( Bundle ambientDetails)
You must call this method from the parent WearableActivity's corresponding method.
public void onExitAmbient ()
You must call this method from the parent WearableActivity's corresponding method.
public void onLowMemory ()
You must call this method from the parent Activity/Fragment's corresponding method.
public void onPause ()
You must call this method from the parent Activity/Fragment's corresponding method.
public void onResume ()
You must call this method from the parent Activity/Fragment's corresponding method.
public void onSaveInstanceState ( Bundle outState)
You must call this method from the parent Activity/Fragment's corresponding method.
Provides a Bundle
to store
the state of the View before it gets destroyed. It can later be retrieved when onCreate(Bundle)
is called again.
public void onStart ()
You must call this method from the parent Activity/Fragment's corresponding method.
public void onStop ()
You must call this method from the parent Activity/Fragment's corresponding method.

