显示地图(其中包含从 Google 地图服务获取的数据)的视图。获得焦点后,系统将捕获按键操作和触摸手势来移动地图。
此类的用户必须将包含此视图的 Activity
或 Fragment
中的所有生命周期方法都转发给此类中的相应方法。具体而言,您必须采用以下方法进行转发:
onCreate(Bundle)
onStart()
onResume()
onPause()
onStop()
onDestroy()
onSaveInstanceState(Bundle)
onLowMemory()
必须使用 getMapAsync(OnMapReadyCallback)
获取 GoogleMap
。MapView
会自动初始化地图系统和视图。
如果您希望以较低的平台为目标,可以使用 MapFragment
(或 SupportMapFragment
)更简单的方式显示地图。
注意:我们建议您不要在此视图中添加子级。
开发者指南
如需了解详情,请参阅 Google Maps SDK for Android 开发者指南。
继承的常量摘要
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_LIVE_REGION_ASSERTIVE | |
int | ACCESSIBILITY_LIVE_REGION_NONE | |
int | ACCESSIBILITY_LIVE_REGION_POLITE | |
int | AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS | |
字符串 | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE | |
字符串 | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY | |
字符串 | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH | |
字符串 | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR | |
字符串 | AUTOFILL_HINT_CREDIT_CARD_NUMBER | |
字符串 | AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE | |
字符串 | AUTOFILL_HINT_EMAIL_ADDRESS | |
字符串 | AUTOFILL_HINT_NAME | |
字符串 | AUTOFILL_HINT_PASSWORD | |
字符串 | AUTOFILL_HINT_PHONE | |
字符串 | AUTOFILL_HINT_POSTAL_ADDRESS | |
字符串 | AUTOFILL_HINT_POSTAL_CODE | |
字符串 | AUTOFILL_HINT_USERNAME | |
int | AUTOFILL_TYPE_DATE | |
int | AUTOFILL_TYPE_LIST | |
int | AUTOFILL_TYPE_NONE | |
int | AUTOFILL_TYPE_TEXT | |
int | AUTOFILL_TYPE_TOGGLE | |
int | DRAG_FLAG_GLOBAL | |
int | DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION | |
int | DRAG_FLAG_GLOBAL_URI_READ | |
int | DRAG_FLAG_GLOBAL_URI_WRITE | |
int | DRAG_FLAG_OPAQUE | |
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 | 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_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 | |
int | VISIBLE |
继承的字段摘要
public static final Property<View, Float> | Alpha 版 | |
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 | |
public static final Property<View, Float> | TRANSLATION_X | |
public static final Property<View, Float> | TRANSLATION_Y | |
public static final Property<View, Float> | TRANSLATION_Z | |
public static final Property<View, Float> | X | |
public static final Property<View, Float> | 是 | |
public static final Property<View, Float> | Z |
公共构造函数摘要
MapView(上下文上下文)
|
|
MapView(上下文上下文,AttributeSet 属性)
|
|
MapView(Context context, AttributeSet attrs, int defStyle)
|
|
MapView(上下文上下文,GoogleMapOptions 选项)
|
公共方法摘要
void | |
final void |
onCreate(Bundle savedInstanceState)
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
final void |
onDestroy()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
final void |
onEnterAmbient(软件包 AmbientDetails)
您必须从父级 WearableActivity 的相应方法调用此方法。
|
final void |
onExitAmbient()
您必须从父级 WearableActivity 的相应方法调用此方法。
|
final void |
onLowMemory()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
final void |
onPause()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
final void |
onResume()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
final void |
onSaveInstanceState(Bundle outState)
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
final void |
onStart()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
final void |
onStop()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
|
继承的方法摘要
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
CharSequence |
getAccessibilityClassName()
|
布尔值 |
getConsiderGoneChildrenWhenMeasuring()
|
布尔值 |
getMeasureAllChildren()
|
void |
setForegroundGravity(int arg0)
|
void |
setMeasureAllChildren(boolean arg0)
|
布尔值 |
shouldDelayChildPressedState()
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo arg0, String arg1, Bundle arg2)
|
void |
addFocusables(ArrayList<View> arg0, int arg1, int arg2)
|
void |
addKeyboardNavigationClusters(Collection<View> arg0, int arg1)
|
布尔值 |
addStatesFromChildren()
|
void |
addTouchables(ArrayList<View> arg0)
|
void |
addView(View arg0, ViewGroup.LayoutParams arg1)
|
void |
addView(View arg0, int arg1)
|
void |
addView(View arg0, int arg1, ViewGroup.LayoutParams arg2)
|
void |
addView(查看 arg0)
|
void |
addView(View arg0, int arg1, int arg2)
|
void |
bringChildToFront(查看 arg0)
|
void |
childDrawableStateChanged(View arg0)
|
void |
childHasTransientStateChanged(View arg0, boolean arg1)
|
void |
clearChildFocus(查看 arg0)
|
void |
clearDisappearingChildren()
|
void |
clearFocus()
|
WindowInsets |
dispatchApplyWindowInsets(WindowInsets arg0)
|
布尔值 |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(配置参数 0)
|
void |
dispatchDisplayHint(int arg0)
|
布尔值 |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishTemporaryDetach()
|
布尔值 |
dispatchKeyEvent(KeyEvent arg0)
|
布尔值 |
dispatchKeyEventPreIme(KeyEvent arg0)
|
布尔值 |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
void |
dispatchPointerCaptureChanged(布尔值 arg0)
|
void |
dispatchProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void |
dispatchSetActivated(布尔值 arg0)
|
void |
dispatchSetSelected(布尔值 arg0)
|
void |
dispatchStartTemporaryDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
布尔值 |
dispatchTouchEvent(MotionEvent arg0)
|
布尔值 |
dispatchTrackballEvent(MotionEvent arg0)
|
布尔值 |
dispatchUnhandledMove(View arg0, int arg1)
|
void |
dispatchWindowFocusChanged(布尔值 arg0)
|
void |
dispatchWindowInsetsAnimationEnd(WindowInsetsAnimation arg0)
|
void |
dispatchWindowInsetsAnimationPrepare(WindowInsetsAnimation arg0)
|
WindowInsets |
dispatchWindowInsetsAnimationProgress(WindowInsets arg0, List<WindowInsetsAnimation> arg1)
|
WindowInsetsAnimation.Bounds |
dispatchWindowInsetsAnimationStart(WindowInsetsAnimation arg0, WindowInsetsAnimation.Bounds arg1)
|
void |
dispatchWindowSystemUiVisiblityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
endViewTransition(视图 arg0)
|
查看 |
findFocus()
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
查看 |
focusSearch(View arg0, int arg1)
|
void |
focusableViewAvailable(View arg0)
|
布尔值 |
gatherTransparentRegion(Region arg0)
|
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
CharSequence |
getAccessibilityClassName()
|
查看 |
getChildAt(int arg0)
|
整型 |
getChildCount()
|
final int |
getChildDrawingOrder(int arg0)
|
static int |
getChildMeasureSpec(int arg0, int arg1, int arg2)
|
布尔值 |
getChildVisibleRect(View arg0, Rect arg1, Point arg2)
|
布尔值 |
getClipChildren()
|
布尔值 |
getClipToPadding()
|
整型 |
getDescendantFocusability()
|
查看 |
getFocusedChild()
|
LayoutAnimationController |
getLayoutAnimation()
|
Animation.AnimationListener |
getLayoutAnimationListener()
|
整型 |
getLayoutMode()
|
LayoutTransition |
getLayoutTransition()
|
整型 |
getNestedScrollAxes()
|
ViewOverlay |
getOverlay()
|
整型 |
getPersistentDrawingCache()
|
布尔值 |
getTouchscreenBlocksFocus()
|
布尔值 |
hasFocus()
|
布尔值 |
hasTransientState()
|
整型 |
indexOfChild(View arg0)
|
final void |
invalidateChild(View arg0, Rect arg1)
|
ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
布尔值 |
isAlwaysDrawnWithCacheEnabled()
|
布尔值 |
isAnimationCacheEnabled()
|
布尔值 |
isLayoutSuppressed()
|
布尔值 |
isMotionEventSplittingEnabled()
|
布尔值 |
isTransitionGroup()
|
void |
jumpDrawablesToCurrentState()
|
final void |
layout(int arg0, int arg1, int arg2, int arg3)
|
void |
notifySubtreeAccessibilityStateChanged(View arg0, View arg1, int arg2)
|
final void |
offsetDescendantRectToMyCoords(View arg0, Rect arg1)
|
final void |
offsetRectIntoDescendantCoords(View arg0, Rect arg1)
|
void |
onDescendantInvalidated(查看 arg0,数据视图 1)
|
布尔值 |
onInterceptHoverEvent(MotionEvent arg0)
|
布尔值 |
onInterceptTouchEvent(MotionEvent arg0)
|
布尔值 |
onNestedFling(View arg0, float arg1, float arg2, boolean arg3)
|
布尔值 |
onNestedPreFling(View arg0, float arg1, float arg2)
|
布尔值 |
onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
|
void |
onNestedPreScroll(View arg0, int arg1, int arg2, int[] arg3)
|
void |
onNestedScroll(View arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onNestedScrollAccepted(View arg0, View arg1, int arg2)
|
布尔值 |
onRequestSendAccessibilityEvent(View arg0、AccessibilityEvent arg1)
|
PointerIcon |
onResolvePointerIcon(MotionEvent arg0, int arg1)
|
布尔值 |
onStartNestedScroll(View arg0, View arg1, int arg2)
|
void |
onStopNestedScroll(查看 arg0)
|
void |
onViewAdded(View arg0)
|
void |
onViewRemoved(视图 arg0)
|
void |
recomputeViewAttributes(视图 arg0)
|
void |
removeAllViews()
|
void |
removeAllViewsInLayout()
|
void |
removeView(视图 arg0)
|
void |
removeViewAt(int arg0)
|
void |
removeViewInLayout(View arg0)
|
void |
removeViews(int arg0, int arg1)
|
void |
removeViewsInLayout(int arg0, int arg1)
|
void |
requestChildFocus(视图 arg0,视图 arg1)
|
布尔值 |
requestChildRectangleOnScreen(View arg0, Rect arg1, boolean arg2)
|
void |
requestDisallowInterceptTouchEvent(布尔值 arg0)
|
布尔值 |
requestFocus(int arg0, Rect arg1)
|
布尔值 |
requestSendAccessibilityEvent(View arg0、AccessibilityEvent arg1)
|
void |
requestTransparentRegion(查看 arg0)
|
布尔值 |
restoreDefaultFocus()
|
void |
scheduleLayoutAnimation()
|
void |
setAddStatesFromChildren(布尔值 arg0)
|
void |
setAlwaysDrawnWithCacheEnabled(布尔值 arg0)
|
void |
setAnimationCacheEnabled(布尔值 arg0)
|
void |
setClipChildren(布尔值 arg0)
|
void |
setClipToPadding(布尔值 arg0)
|
void |
setDescendantFocusability(int arg0)
|
void |
setLayoutAnimation(LayoutAnimationController arg0)
|
void |
setLayoutAnimationListener(Animation.AnimationListener arg0)
|
void |
setLayoutMode(int arg0)
|
void |
setLayoutTransition(LayoutTransition arg0)
|
void |
setMotionEventSplittingEnabled(布尔值 arg0)
|
void |
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener arg0)
|
void |
setPersistentDrawingCache(int arg0)
|
void |
setTouchscreenBlocksFocus(布尔值 arg0)
|
void |
setTransitionGroup(布尔值 arg0)
|
void |
setWindowInsetsAnimationCallback(WindowInsetsAnimation.Callback arg0)
|
布尔值 |
shouldDelayChildPressedState()
|
布尔值 |
showContextMenuForChild(View arg0, float arg1, float arg2)
|
布尔值 |
showContextMenuForChild(View arg0)
|
ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1, int arg2)
|
ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1)
|
void |
startLayoutAnimation()
|
void |
startViewTransition(视图 arg0)
|
void |
suppressLayout(布尔值 arg0)
|
void |
updateViewLayout(View arg0、ViewGroup.LayoutParams arg1)
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo arg0, String arg1, Bundle arg2)
|
void |
addFocusables(ArrayList<View> arg0, int arg1)
|
void |
addFocusables(ArrayList<View> arg0, int arg1, int arg2)
|
void |
addKeyboardNavigationClusters(Collection<View> arg0, int arg1)
|
void |
addOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
addOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
addTouchables(ArrayList<View> arg0)
|
ViewPropertyAnimator |
animate()
|
void |
announceForAccessibility(CharSequence arg0)
|
void |
autofill(AutofillValue arg0)
|
void |
autofill(SparseArray<AutofillValue> arg0)
|
void |
bringToFront()
|
void |
buildDrawingCache(布尔值 arg0)
|
void |
buildDrawingCache()
|
void |
buildLayer()
|
布尔值 |
callOnClick()
|
布尔值 |
canResolveLayoutDirection()
|
布尔值 |
canResolveTextAlignment()
|
布尔值 |
canResolveTextDirection()
|
布尔值 |
canScrollHorizontally(int arg0)
|
布尔值 |
canScrollVertically(int arg0)
|
final void |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
final void |
cancelPendingInputEvents()
|
布尔值 |
checkInputConnectionProxy(查看 arg0)
|
void |
clearAnimation()
|
void |
clearFocus()
|
static int |
combineMeasuredStates(int arg0, int arg1)
|
void |
computeScroll()
|
WindowInsets |
computeSystemWindowInsets(WindowInsets arg0, Rect arg1)
|
AccessibilityNodeInfo |
createAccessibilityNodeInfo()
|
void |
createContextMenu(ContextMenu arg0)
|
void |
destroyDrawingCache()
|
WindowInsets |
dispatchApplyWindowInsets(WindowInsets arg0)
|
布尔值 |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(配置参数 0)
|
void |
dispatchDisplayHint(int arg0)
|
布尔值 |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishTemporaryDetach()
|
布尔值 |
dispatchGenericMotionEvent(MotionEvent arg0)
|
布尔值 |
dispatchKeyEvent(KeyEvent arg0)
|
布尔值 |
dispatchKeyEventPreIme(KeyEvent arg0)
|
布尔值 |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
布尔值 |
dispatchNestedFling(float arg0, float arg1, boolean arg2)
|
布尔值 |
dispatchNestedPreFling(float arg0, float arg1)
|
布尔值 |
dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1)
|
布尔值 |
dispatchNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3)
|
布尔值 |
dispatchNestedScroll(int arg0, int arg1, int arg2, int arg3, int[] arg4)
|
void |
dispatchPointerCaptureChanged(布尔值 arg0)
|
布尔值 |
dispatchPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
dispatchProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void |
dispatchStartTemporaryDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
布尔值 |
dispatchTouchEvent(MotionEvent arg0)
|
布尔值 |
dispatchTrackballEvent(MotionEvent arg0)
|
布尔值 |
dispatchUnhandledMove(View arg0, int arg1)
|
void |
dispatchWindowFocusChanged(布尔值 arg0)
|
void |
dispatchWindowInsetsAnimationEnd(WindowInsetsAnimation arg0)
|
void |
dispatchWindowInsetsAnimationPrepare(WindowInsetsAnimation arg0)
|
WindowInsets |
dispatchWindowInsetsAnimationProgress(WindowInsets arg0, List<WindowInsetsAnimation> arg1)
|
WindowInsetsAnimation.Bounds |
dispatchWindowInsetsAnimationStart(WindowInsetsAnimation arg0, WindowInsetsAnimation.Bounds arg1)
|
void |
dispatchWindowSystemUiVisiblityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
draw(Canvas arg0)
|
void |
drawableHotspotChanged(float arg0, float arg1)
|
查看 |
findFocus()
|
final <T extends View> T |
findViewById(int arg0)
|
final <T extends View> T |
findViewWithTag(Object arg0)
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
查看 |
focusSearch(int arg0)
|
void |
forceHasOverlappingRendering(boolean arg0)
|
void |
forceLayout()
|
static int |
generateViewId()
|
CharSequence |
getAccessibilityClassName()
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
整型 |
getAccessibilityLiveRegion()
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider()
|
CharSequence |
getAccessibilityPaneTitle()
|
整型 |
getAccessibilityTraversalAfter()
|
整型 |
getAccessibilityTraversalBefore()
|
浮点数 |
getAlpha()
|
动画 |
getAnimation()
|
矩阵 |
getAnimationMatrix()
|
IBinder |
getApplicationWindowToken()
|
int[] |
getAttributeResolutionStack(int arg0)
|
Map<Integer, Integer> |
getAttributeSourceResourceMap()
|
字符串 [] |
getAutofillHints()
|
final AutofillId |
getAutofillId()
|
整型 |
getAutofillType()
|
AutofillValue |
getAutofillValue()
|
可绘制对象 |
getBackground()
|
BlendMode |
getBackgroundTintBlendMode()
|
ColorStateList |
getBackgroundTintList()
|
PorterDuff.Mode |
getBackgroundTintMode()
|
整型 |
getBaseline()
|
final int |
getBottom()
|
浮点数 |
getCameraDistance()
|
布尔值 |
getClipBounds(Rect arg0)
|
矩形 |
getClipBounds()
|
final 布尔值 |
getClipToOutline()
|
final ContentCaptureSession |
getContentCaptureSession()
|
CharSequence |
getContentDescription()
|
final Context |
getContext()
|
final 布尔值 |
getDefaultFocusHighlightEnabled()
|
static int |
getDefaultSize(int arg0, int arg1)
|
显示屏 |
getDisplay()
|
final int[] |
getDrawableState()
|
位图 |
getDrawingCache()
|
位图 |
getDrawingCache(布尔值 arg0)
|
整型 |
getDrawingCacheBackgroundColor()
|
整型 |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect arg0)
|
长整型值 |
getDrawingTime()
|
浮点数 |
getElevation()
|
整型 |
getExplicitStyle()
|
布尔值 |
getFilterTouchesWhenObscured()
|
布尔值 |
getFitsSystemWindows()
|
整型 |
getFocusable()
|
ArrayList<View> |
getFocusables(int arg0)
|
void |
getFocusedRect(矩形 arg0)
|
可绘制对象 |
getForeground()
|
整型 |
getForegroundGravity()
|
BlendMode |
getForegroundTintBlendMode()
|
ColorStateList |
getForegroundTintList()
|
PorterDuff.Mode |
getForegroundTintMode()
|
final 布尔值 |
getGlobalVisibleRect(Rect arg0)
|
布尔值 |
getGlobalVisibleRect(Rect arg0, Point arg1)
|
Handler |
getHandler()
|
final 布尔值 |
getHasOverlappingRendering()
|
final int |
getHeight()
|
void |
getHitRect(Rect arg0)
|
整型 |
getHorizontalFadingEdgeLength()
|
可绘制对象 |
getHorizontalScrollbarThumbDrawable()
|
可绘制对象 |
getHorizontalScrollbarTrackDrawable()
|
整型 |
getId()
|
整型 |
getImportantForAccessibility()
|
整型 |
getImportantForAutofill()
|
整型 |
getImportantForContentCapture()
|
布尔值 |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
整型 |
getLabelFor()
|
整型 |
getLayerType()
|
整型 |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams()
|
final int |
getLeft()
|
final 布尔值 |
getLocalVisibleRect(Rect arg0)
|
void |
getLocationInSurface(int[] arg0)
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
矩阵 |
getMatrix()
|
final int |
getMeasuredHeight()
|
final int |
getMeasuredHeightAndState()
|
final int |
getMeasuredState()
|
final int |
getMeasuredWidth()
|
final int |
getMeasuredWidthAndState()
|
整型 |
getMinimumHeight()
|
整型 |
getMinimumWidth()
|
整型 |
getNextClusterForwardId()
|
整型 |
getNextFocusDownId()
|
整型 |
getNextFocusForwardId()
|
整型 |
getNextFocusLeftId()
|
整型 |
getNextFocusRightId()
|
整型 |
getNextFocusUpId()
|
View.OnFocusChangeListener |
getOnFocusChangeListener()
|
整型 |
getOutlineAmbientShadowColor()
|
ViewOutlineProvider |
getOutlineProvider()
|
整型 |
getOutlineSpotShadowColor()
|
整型 |
getOverScrollMode()
|
ViewOverlay |
getOverlay()
|
整型 |
getPaddingBottom()
|
整型 |
getPaddingEnd()
|
整型 |
getPaddingLeft()
|
整型 |
getPaddingRight()
|
整型 |
getPaddingStart()
|
整型 |
getPaddingTop()
|
final ViewParent |
getParent()
|
ViewParent |
getParentForAccessibility()
|
浮点数 |
getPivotX()
|
浮点数 |
getPivotY()
|
PointerIcon |
getPointerIcon()
|
资源 |
getResources()
|
final 布尔值 |
getRevealOnFocusHint()
|
final int |
getRight()
|
查看 |
getRootView()
|
WindowInsets |
getRootWindowInsets()
|
浮点数 |
getRotation()
|
浮点数 |
getRotationX()
|
浮点数 |
getRotationY()
|
浮点数 |
getScaleX()
|
浮点数 |
getScaleY()
|
整型 |
getScrollBarDefaultDelayBeforeFade()
|
整型 |
getScrollBarFadeDuration()
|
整型 |
getScrollBarSize()
|
整型 |
getScrollBarStyle()
|
整型 |
getScrollIndicators()
|
final int |
getScrollX()
|
final int |
getScrollY()
|
整型 |
getSolidColor()
|
整型 |
getSourceLayoutResId()
|
final CharSequence |
getStateDescription()
|
StateListAnimator |
getStateListAnimator()
|
列表<Rect> |
getSystemGestureExclusionRects()
|
整型 |
getSystemUiVisibility()
|
对象 |
getTag()
|
对象 |
getTag(int arg0)
|
整型 |
getTextAlignment()
|
整型 |
getTextDirection()
|
CharSequence |
getTooltipText()
|
final int |
getTop()
|
TouchDelegate |
getTouchDelegate()
|
ArrayList<View> |
getTouchables()
|
浮点数 |
getTransitionAlpha()
|
字符串 |
getTransitionName()
|
浮点数 |
getTranslationX()
|
浮点数 |
getTranslationY()
|
浮点数 |
getTranslationZ()
|
长整型值 |
getUniqueDrawingId()
|
整型 |
getVerticalFadingEdgeLength()
|
整型 |
getVerticalScrollbarPosition()
|
可绘制对象 |
getVerticalScrollbarThumbDrawable()
|
可绘制对象 |
getVerticalScrollbarTrackDrawable()
|
整型 |
getVerticalScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver()
|
整型 |
getVisibility()
|
final int |
getWidth()
|
WindowId |
getWindowId()
|
WindowInsetsController |
getWindowInsetsController()
|
整型 |
getWindowSystemUiVisibility()
|
IBinder |
getWindowToken()
|
整型 |
getWindowVisibility()
|
void |
getWindowVisibleDisplayFrame(Rect arg0)
|
浮点数 |
getX()
|
浮点数 |
getY()
|
浮点数 |
getZ()
|
布尔值 |
hasExplicitFocusable()
|
布尔值 |
hasFocus()
|
布尔值 |
hasFocusable()
|
布尔值 |
hasNestedScrollingParent()
|
布尔值 |
hasOnClickListeners()
|
布尔值 |
hasOnLongClickListeners()
|
布尔值 |
hasOverlappingRendering()
|
布尔值 |
hasPointerCapture()
|
布尔值 |
hasTransientState()
|
布尔值 |
hasWindowFocus()
|
静态 视图 |
膨胀(Context arg0, int arg1, ViewGroup arg2)
|
void |
invalidate()
|
void |
invalidate(矩形 arg0)
|
void |
invalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(Drawable arg0)
|
void |
invalidateOutline()
|
布尔值 |
isAccessibilityFocused()
|
布尔值 |
isAccessibilityHeading()
|
布尔值 |
isActivated()
|
布尔值 |
isAttachedToWindow()
|
布尔值 |
isClickable()
|
布尔值 |
isContextClickable()
|
布尔值 |
isDirty()
|
布尔值 |
isDrawingCacheEnabled()
|
布尔值 |
isDuplicateParentStateEnabled()
|
布尔值 |
isEnabled()
|
final 布尔值 |
isFocusable()
|
final 布尔值 |
isFocusableInTouchMode()
|
布尔值 |
isFocused()
|
final 布尔值 |
isFocusedByDefault()
|
布尔值 |
isForceDarkAllowed()
|
布尔值 |
isHapticFeedbackEnabled()
|
布尔值 |
isHardwareAccelerated()
|
布尔值 |
isHorizontalFadingEdgeEnabled()
|
布尔值 |
isHorizontalScrollBarEnabled()
|
布尔值 |
isHovered()
|
布尔值 |
isImportantForAccessibility()
|
final 布尔值 |
isImportantForAutofill()
|
final 布尔值 |
isImportantForContentCapture()
|
布尔值 |
isInEditMode()
|
布尔值 |
isInLayout()
|
布尔值 |
isInTouchMode()
|
final 布尔值 |
isKeyboardNavigationCluster()
|
布尔值 |
isLaidOut()
|
布尔值 |
isLayoutDirectionResolved()
|
布尔值 |
isLayoutRequested()
|
布尔值 |
isLongClickable()
|
布尔值 |
isNestedScrollingEnabled()
|
布尔值 |
isOpaque()
|
布尔值 |
isPaddingRelative()
|
布尔值 |
isPivotSet()
|
布尔值 |
isPressed()
|
布尔值 |
isSaveEnabled()
|
布尔值 |
isSaveFromParentEnabled()
|
布尔值 |
isScreenReaderFocusable()
|
布尔值 |
isScrollContainer()
|
布尔值 |
isScrollbarFadingEnabled()
|
布尔值 |
isSelected()
|
final 布尔值 |
isShowingLayoutBounds()
|
布尔值 |
isShown()
|
布尔值 |
isSoundEffectsEnabled()
|
final 布尔值 |
isTemporarilyDetached()
|
布尔值 |
isTextAlignmentResolved()
|
布尔值 |
isTextDirectionResolved()
|
布尔值 |
isVerticalFadingEdgeEnabled()
|
布尔值 |
isVerticalScrollBarEnabled()
|
布尔值 |
isVisibleToUserForAutofill(int arg0)
|
void |
jumpDrawablesToCurrentState()
|
查看 |
keyboardNavigationClusterSearch(View arg0, int arg1)
|
void |
layout(int arg0, int arg1, int arg2, int arg3)
|
final void |
measure(int arg0, int arg1)
|
void |
offsetLeftAndRight(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
WindowInsets |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onCancelPendingInputEvents()
|
布尔值 |
onCapturedPointerEvent(MotionEvent arg0)
|
布尔值 |
onCheckIsTextEditor()
|
InputConnection |
onCreateInputConnection(EditorInfo arg0)(编辑器信息 arg0)
|
布尔值 |
onDragEvent(DragEvent arg0)
|
void |
onDrawForeground(Canvas arg0)
|
布尔值 |
onFilterTouchEventForSecurity(MotionEvent arg0)
|
void |
onFinishTemporaryDetach()
|
布尔值 |
onGenericMotionEvent(MotionEvent arg0)
|
void |
onHoverChanged(布尔值 arg0)
|
布尔值 |
onHoverEvent(MotionEvent arg0)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo arg0)
|
布尔值 |
onKeyDown(int arg0, KeyEvent arg1)
|
布尔值 |
onKeyLongPress(int arg0, KeyEvent arg1)
|
布尔值 |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
布尔值 |
onKeyPreIme(int arg0, KeyEvent arg1)
|
布尔值 |
onKeyShortcut(int arg0, KeyEvent arg1)
|
布尔值 |
onKeyUp(int arg0, KeyEvent arg1)
|
void |
onPointerCaptureChange(布尔值 arg0)
|
void |
onPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
onProvideAutofillVirtualStructure(ViewStructure arg0, int arg1)
|
void |
onProvideContentCaptureStructure(ViewStructure arg0, int arg1)
|
void |
onProvideStructure(ViewStructure arg0)
|
void |
onProvideVirtualStructure(ViewStructure arg0)
|
PointerIcon |
onResolvePointerIcon(MotionEvent arg0, int arg1)
|
void |
onRtlPropertiesChanged(int arg0)
|
void |
onScreenStateChanged(int arg0)
|
void |
onStartTemporaryDetach()
|
布尔值 |
onTouchEvent(MotionEvent arg0)
|
布尔值 |
onTrackballEvent(MotionEvent arg0)
|
void |
onVisibilityAggregated(布尔值 arg0)
|
void |
onWindowFocusChanged(布尔值 arg0)
|
void |
onWindowSystemUiVisibilityChanged(int arg0)
|
布尔值 |
performAccessibilityAction(int arg0, Bundle arg1)
|
布尔值 |
performClick()
|
布尔值 |
performContextClick(float arg0, float arg1)
|
布尔值 |
performContextClick()
|
布尔值 |
performHapticFeedback(int arg0)
|
布尔值 |
performHapticFeedback(int arg0, int arg1)
|
布尔值 |
performLongClick(float arg0, float arg1)
|
布尔值 |
performLongClick()
|
void |
playSoundEffect(int arg0)
|
布尔值 |
post(Runnable arg0)
|
布尔值 |
postDelayed(Runnable arg0, long arg1)
|
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 |
postOnAnimation(Runnable arg0)
|
void |
postOnAnimationDelayed(Runnable arg0, long arg1)
|
void |
refreshDrawableState()
|
void |
releasePointerCapture()
|
布尔值 |
removeCallbacks(Runnable arg0)
|
void |
removeOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
final 布尔值 |
requestFocus(int arg0)
|
final 布尔值 |
requestFocus()
|
布尔值 |
requestFocus(int arg0, Rect arg1)
|
final 布尔值 |
requestFocusFromTouch()
|
void |
requestLayout()
|
void |
requestPointerCapture()
|
布尔值 |
requestRectangleOnScreen(Rect arg0)
|
布尔值 |
requestRectangleOnScreen(Rect arg0, boolean arg1)
|
final void |
requestUnbufferedDispatch(int arg0)
|
final void |
requestUnbufferedDispatch(MotionEvent arg0)
|
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)
|
布尔值 |
restoreDefaultFocus()
|
void |
restoreHierarchyState(SparseArray<Parcelable> arg0)
|
final void |
saveAttributeDataForStyleable(Context arg0, int[] arg1, AttributeSet arg2, TypedArray arg3, int arg4, int arg5)
|
void |
saveHierarchyState(SparseArray<Parcelable> arg0)
|
void |
scheduleDrawable(Drawable arg0, Runnable arg1, long arg2)
|
void |
scrollBy(int arg0, int arg1)
|
void |
scrollTo(int arg0, int arg1)
|
void |
sendAccessibilityEvent(int arg0)
|
void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
void |
setAccessibilityDelegate(View.AccessibilityDelegate arg0)
|
void |
setAccessibilityHeading(布尔值 arg0)
|
void |
setAccessibilityLiveRegion(int arg0)
|
void |
setAccessibilityPaneTitle(CharSequence arg0)
|
void |
setAccessibilityTraversalAfter(int arg0)
|
void |
setAccessibilityTraversalBefore(int arg0)
|
void |
setActivated(布尔值 arg0)
|
void |
setAlpha(float arg0)
|
void |
setAnimation(Animation arg0)
|
void |
setAnimationMatrix(Matrix arg0)
|
void |
setAutofillHints(String... arg0)
|
void |
setAutofillId(AutofillId arg0)
|
void |
setBackground(Drawable arg0)
|
void |
setBackgroundColor(int arg0)
|
void |
setBackgroundDrawable(Drawable arg0)
|
void |
setBackgroundResource(int arg0)
|
void |
setBackgroundTintBlendMode(BlendMode arg0)
|
void |
setBackgroundTintList(ColorStateList arg0)
|
void |
setBackgroundTintMode(PorterDuff.Mode arg0)
|
final void |
setBottom(int arg0)
|
void |
setCameraDistance(float arg0)
|
void |
setClickable(布尔值 arg0)
|
void |
setClipBounds(Rect arg0)
|
void |
setClipToOutline(布尔值 arg0)
|
void |
setContentCaptureSession(ContentCaptureSession arg0)
|
void |
setContentDescription(CharSequence arg0)
|
void |
setContextClickable(布尔值 arg0)
|
void |
setDefaultFocusHighlightEnabled(布尔值 arg0)
|
void |
setDrawingCacheBackgroundColor(int arg0)
|
void |
setDrawingCacheEnabled(布尔值 arg0)
|
void |
setDrawingCacheQuality(int arg0)
|
void |
setDuplicateParentStateEnabled(布尔值 arg0)
|
void |
setElevation(float arg0)
|
void |
setEnabled(布尔值 arg0)
|
void |
setFadingEdgeLength(int arg0)
|
void |
setFilterTouchesWhenObscured(boolean arg0)
|
void |
setFitsSystemWindows(布尔值 arg0)
|
void |
setFocusable(布尔值 arg0)
|
void |
setFocusable(int arg0)
|
void |
setFocusableInTouchMode(布尔值 arg0)
|
void |
setFocusedByDefault(布尔值 arg0)
|
void |
setForceDarkAllowed(布尔值 arg0)
|
void |
setForeground(Drawable arg0)
|
void |
setForegroundGravity(int arg0)
|
void |
setForegroundTintBlendMode(BlendMode arg0)
|
void |
setForegroundTintList(ColorStateList arg0)
|
void |
setForegroundTintMode(PorterDuff.Mode arg0)
|
void |
setHapticFeedbackEnabled(布尔值 arg0)
|
void |
setHasTransientState(布尔值 arg0)
|
void |
setHorizontalFadingEdgeEnabled(布尔值 arg0)
|
void |
setHorizontalScrollBarEnabled(布尔值 arg0)
|
void |
setHorizontalScrollbarThumbDrawable(Drawable arg0)
|
void |
setHorizontalScrollbarTrackDrawable(Drawable arg0)
|
void |
setHovered(布尔值 arg0)
|
void |
setId(int arg0)
|
void |
setImportantForAccessibility(int arg0)
|
void |
setImportantForAutofill(int arg0)
|
void |
setImportantForContentCapture(int arg0)
|
void |
setKeepScreenOn(布尔值 arg0)
|
void |
setKeyboardNavigationCluster(布尔值 arg0)
|
void |
setLabelFor(int arg0)
|
void |
setLayerPaint(Paint arg0)
|
void |
setLayerType(int arg0, Paint arg1)
|
void |
setLayoutDirection(int arg0)
|
void |
setLayoutParams(ViewGroup.LayoutParams arg0)
|
final void |
setLeft(int arg0)
|
final void |
setLeftTopRightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable(布尔值 arg0)
|
void |
setMinimumHeight(int arg0)
|
void |
setMinimumWidth(int arg0)
|
void |
setNestedScrollingEnabled(布尔值 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 |
setOnApplyWindowInsetsListener(View.OnApplyWindowInsetsListener arg0)
|
void |
setOnCapturedPointerListener(View.OnCapturedPointerListener arg0)
|
void |
setOnClickListener(View.OnClickListener arg0)
|
void |
setOnContextClickListener(View.OnContextClickListener arg0)
|
void |
setOnCreateContextMenuListener(View.OnCreateContextMenuListener arg0)
|
void |
setOnDragListener(View.OnDragListener arg0)
|
void |
setOnFocusChangeListener(View.OnFocusChangeListener arg0)
|
void |
setOnGenericMotionListener(View.OnGenericMotionListener arg0)
|
void |
setOnHoverListener(View.OnHoverListener arg0)
|
void |
setOnKeyListener(View.OnKeyListener arg0)
|
void |
setOnLongClickListener(View.OnLongClickListener arg0)
|
void |
setOnScrollChangeListener(View.OnScrollChangeListener arg0)
|
void |
setOnSystemUiVisibilityChangeListener(View.OnSystemUiVisibilityChangeListener arg0)
|
void |
setOnTouchListener(View.OnTouchListener arg0)
|
void |
setOutlineAmbientShadowColor(int arg0)
|
void |
setOutlineProvider(ViewOutlineProvider arg0)
|
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 |
setPivotX(float arg0)
|
void |
setPivotY(float arg0)
|
void |
setPointerIcon(PointerIcon arg0)
|
void |
setPressed(布尔值 arg0)
|
final void |
setRevealOnFocusHint(布尔值 arg0)
|
final void |
setRight(int arg0)
|
void |
setRotation(float arg0)
|
void |
setRotationX(float arg0)
|
void |
setRotationY(float arg0)
|
void |
setSaveEnabled(布尔值 arg0)
|
void |
setSaveFromParentEnabled(布尔值 arg0)
|
void |
setScaleX(float arg0)
|
void |
setScaleY(float arg0)
|
void |
setScreenReaderFocusable(布尔值 arg0)
|
void |
setScrollBarDefaultDelayBeforeFade(int arg0)
|
void |
setScrollBarFadeDuration(int arg0)
|
void |
setScrollBarSize(int arg0) -
|
void |
setScrollBarStyle(int arg0)
|
void |
setScrollContainer(布尔值 arg0)
|
void |
setScrollIndicators(int arg0, int arg1)
|
void |
setScrollIndicators(int arg0)
|
void |
setScrollX(int arg0)
|
void |
setScrollY(int arg0)
|
void |
setScrollbarFadingEnabled(布尔值 arg0)
|
void |
setSelected(布尔值 arg0)
|
void |
setSoundEffectsEnabled(布尔值 arg0)
|
void |
setStateDescription(CharSequence arg0)
|
void |
setStateListAnimator(StateListAnimator arg0)
|
void |
setSystemGestureExclusionRects(List<Rect> arg0)
|
void |
setSystemUiVisibility(int arg0)
|
void |
setTag(int arg0, 对象 arg1)
|
void |
setTag(Object arg0)
|
void |
setTextAlignment(int arg0)
|
void |
setTextDirection(int arg0)
|
void |
setTooltipText(CharSequence arg0)
|
final void |
setTop(int arg0)
|
void |
setTouchDelegate(TouchDelegate arg0)
|
void |
setTransitionAlpha(float arg0)
|
final void |
setTransitionName(String arg0)
|
void |
setTransitionVisibility(int arg0)
|
void |
setTranslationX(float arg0)
|
void |
setTranslationY(float arg0)
|
void |
setTranslationZ(float arg0)
|
void |
setVerticalFadingEdgeEnabled(布尔值 arg0)
|
void |
setVerticalScrollBarEnabled(布尔值 arg0)
|
void |
setVerticalScrollbarPosition(int arg0)
|
void |
setVerticalScrollbarThumbDrawable(Drawable arg0)
|
void |
setVerticalScrollbarTrackDrawable(Drawable arg0)
|
void |
setVisibility(int arg0)
|
void |
setWillNotCacheDrawing(布尔值 arg0)
|
void |
setWillNotDraw(布尔值 arg0)
|
void |
setWindowInsetsAnimationCallback(WindowInsetsAnimation.Callback arg0)
|
void |
setX(float arg0)
|
void |
setY(float arg0)
|
void |
setZ(float arg0)
|
布尔值 |
showContextMenu()
|
布尔值 |
showContextMenu(float arg0, float arg1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0, int arg1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(Animation arg0)
|
final 布尔值 |
startDrag(ClipData arg0, View.DragShadowBuilder arg1, Object arg2, int arg3)
|
final 布尔值 |
startDragAndDrop(ClipData arg0, View.DragShadowBuilder arg1, Object arg2, int arg3)
|
布尔值 |
startNestedScroll(int arg0)
|
void |
stopNestedScroll()
|
字符串 |
toString()
|
void |
transformMatrixToGlobal(Matrix arg0)
|
void |
transformMatrixToLocal(Matrix arg0)
|
void |
unscheduleDrawable(Drawable arg0、Runnable arg1)
|
void |
unscheduleDrawable(Drawable arg0)
|
final void |
updateDragShadow(View.DragShadowBuilder arg0)
|
布尔值 |
willNotCacheDrawing()
|
布尔值 |
willNotDraw()
|
布尔值 |
equals(Object arg0)
|
final Class<?> |
getClass()
|
整型 |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
字符串 |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
abstract void |
bringChildToFront(查看 arg0)
|
abstract boolean |
canResolveLayoutDirection()
|
abstract boolean |
canResolveTextAlignment()
|
abstract boolean |
canResolveTextDirection()
|
abstract void |
childDrawableStateChanged(View arg0)
|
abstract void |
childHasTransientStateChanged(View arg0, boolean arg1)
|
abstract void |
clearChildFocus(查看 arg0)
|
abstract void |
createContextMenu(ContextMenu arg0)
|
abstract 视图 |
focusSearch(View arg0, int arg1)
|
abstract void |
focusableViewAvailable(View arg0)
|
abstract boolean |
getChildVisibleRect(View arg0, Rect arg1, Point arg2)
|
abstract int |
getLayoutDirection()
|
abstract ViewParent |
getParent()
|
abstract ViewParent |
getParentForAccessibility()
|
abstract int |
getTextAlignment()
|
abstract int |
getTextDirection()
|
abstract void |
invalidateChild(View arg0, Rect arg1)
|
abstract ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
abstract boolean |
isLayoutDirectionResolved()
|
abstract boolean |
isLayoutRequested()
|
abstract boolean |
isTextAlignmentResolved()
|
abstract boolean |
isTextDirectionResolved()
|
abstract 视图 |
keyboardNavigationClusterSearch(View arg0, int arg1)
|
abstract void |
notifySubtreeAccessibilityStateChanged(View arg0, View arg1, int arg2)
|
void |
onDescendantInvalidated(查看 arg0,数据视图 1)
|
abstract boolean |
onNestedFling(View arg0, float arg1, float arg2, boolean arg3)
|
abstract boolean |
onNestedPreFling(View arg0, float arg1, float arg2)
|
abstract boolean |
onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
|
abstract void |
onNestedPreScroll(View arg0, int arg1, int arg2, int[] arg3)
|
abstract void |
onNestedScroll(View arg0, int arg1, int arg2, int arg3, int arg4)
|
abstract void |
onNestedScrollAccepted(View arg0, View arg1, int arg2)
|
abstract boolean |
onStartNestedScroll(View arg0, View arg1, int arg2)
|
abstract void |
onStopNestedScroll(查看 arg0)
|
abstract void |
recomputeViewAttributes(视图 arg0)
|
abstract void |
requestChildFocus(视图 arg0,视图 arg1)
|
abstract boolean |
requestChildRectangleOnScreen(View arg0, Rect arg1, boolean arg2)
|
abstract void |
requestDisallowInterceptTouchEvent(布尔值 arg0)
|
abstract void |
requestFitSystemWindows()
|
abstract void |
requestLayout()
|
abstract boolean |
requestSendAccessibilityEvent(View arg0、AccessibilityEvent arg1)
|
abstract void |
requestTransparentRegion(查看 arg0)
|
abstract boolean |
showContextMenuForChild(View arg0)
|
abstract boolean |
showContextMenuForChild(View arg0, float arg1, float arg2)
|
abstract ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1, int arg2)
|
abstract ActionMode |
startActionModeForChild(View arg0, ActionMode.Callback arg1)
|
abstract void |
addView(View arg0, ViewGroup.LayoutParams arg1)
|
abstract void |
removeView(视图 arg0)
|
abstract void |
updateViewLayout(View arg0、ViewGroup.LayoutParams arg1)
|
abstract void |
invalidateDrawable(Drawable arg0)
|
abstract void |
scheduleDrawable(Drawable arg0, Runnable arg1, long arg2)
|
abstract void |
unscheduleDrawable(Drawable arg0、Runnable arg1)
|
abstract boolean |
onKeyDown(int arg0, KeyEvent arg1)
|
abstract boolean |
onKeyLongPress(int arg0, KeyEvent arg1)
|
abstract boolean |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
abstract boolean |
onKeyUp(int arg0, KeyEvent arg1)
|
abstract void |
sendAccessibilityEvent(int arg0)
|
abstract void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
公共构造函数
public MapView (上下文上下文)
参数
context |
---|
public MapView (上下文上下文,AttributeSet 属性)
参数
context | |
---|---|
attrs |
public MapView (Context context, AttributeSet attrs, int defStyle)
参数
context | |
---|---|
attrs | |
defStyle |
公共方法
public void getMapAsync (OnMapReadyCallback 回调)
public final void onCreate (Bundle savedInstanceState)
您必须从父级 Activity/Fragment 的相应方法调用此方法。
参数
savedInstanceState |
---|
public final void onDestroy ()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
public final void onEnterAmbient (BundleAmbientDetails)
您必须从父级 WearableActivity 的相应方法调用此方法。
参数
ambientDetails |
---|
public final void onExitAmbient ()
您必须从父级 WearableActivity 的相应方法调用此方法。
public final void onLowMemory ()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
public final void onPause ()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
public final void onResume ()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
public final void onSaveInstanceState (Bundle outState)
您必须从父级 Activity/Fragment 的相应方法调用此方法。
提供一个 Bundle
,用于存储 View 在被销毁之前的状态。之后,当再次调用 onCreate(Bundle)
时,可以对其进行检索。
参数
outState |
---|
public final void onStart ()
您必须从父级 Activity/Fragment 的相应方法调用此方法。
public final void onStop ()
您必须从父级 Activity/Fragment 的相应方法调用此方法。