Vue qui affiche une carte pour la navigation.
Les utilisateurs de cette classe doivent transmettre toutes les méthodes de cycle de vie de l'élément Activity
ou Fragment
contenant cette vue aux méthodes correspondantes de cette classe. Vous devez notamment transférer les données des méthodes suivantes:
onCreate(Bundle)
onStart()
onResume()
onPause()
onStop()
onDestroy()
onConfigurationChanged(Configuration)
onSaveInstanceState(Bundle)
onTrimMemory(int)
Si le NavView est ajouté après que son Activity
ou Fragment
parent a terminé son cycle de création, vous devez appeler onCreate(Bundle)
, onStart()
et onResume()
manuellement pour l'initialiser correctement. De même, si un NavView est dissocié de son Activity
ou Fragment
parent, vous devez appeler manuellement onPause()
, onStop()
et onDestroy()
pour éviter les fuites.
Remarque: Nous vous recommandons de ne pas ajouter d'enfants à cette vue.
Tous les appels à NavView doivent être effectués sur le thread UI.
Récapitulatif des classes imbriquées
interface | NavigationView.OnNightModeChangedListener | Interface d'un écouteur qui sera averti lorsque l'interface utilisateur sera en mode Nuit ou en sortira. | |
interface | NavigationView.OnRecenterButtonClickedListener | Interface d'un écouteur qui sera averti lorsque l'utilisateur cliquera sur le bouton de recentrage. |
Récapitulatif des constantes héritées
int | AU-DESSUS | |
int | ALIGN_BASELINE | |
int | ALIGN_BOTTOM | |
int | ALIGN_END | |
int | ALIGN_LEFT | |
int | ALIGN_PARENT_BOTTOM | |
int | ALIGN_PARENT_END | |
int | ALIGN_PARENT_LEFT | |
int | ALIGN_PARENT_RIGHT | |
int | ALIGN_PARENT_START | |
int | ALIGN_PARENT_TOP | |
int | ALIGN_RIGHT | |
int | ALIGN_START | |
int | ALIGN_TOP | |
int | CI-DESSOUS | |
int | CENTER_HORIZONTAL | |
int | CENTER_IN_PARENT | |
int | CENTER_VERTICAL | |
int | END_OF | |
int | LEFT_OF | |
int | RIGHT_OF | |
int | START_OF | |
int | TRUE |
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 | |
Chaîne | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE | |
Chaîne | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY | |
Chaîne | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH | |
Chaîne | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR | |
Chaîne | AUTOFILL_HINT_CREDIT_CARD_NUMBER | |
Chaîne | AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE | |
Chaîne | AUTOFILL_HINT_EMAIL_ADDRESS | |
Chaîne | AUTOFILL_HINT_NAME | |
Chaîne | AUTOFILL_HINT_PASSWORD | |
Chaîne | AUTOFILL_HINT_PHONE | |
Chaîne | AUTOFILL_HINT_POSTAL_ADDRESS | |
Chaîne | AUTOFILL_HINT_POSTAL_CODE | |
Chaîne | 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 | 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 |
Récapitulatif des champs hérités
public statique final Property<View, Float> | ALPHA | |
public statique final Property<View, Float> | ROTATION | |
public statique final Property<View, Float> | ROTATION_X | |
public statique final Property<View, Float> | ROTATION_Y | |
public statique final Property<View, Float> | SCALE_X | |
public statique final Property<View, Float> | SCALE_Y | |
public statique final Property<View, Float> | TRANSLATION_X | |
public statique final Property<View, Float> | TRANSLATION_Y | |
public statique final Property<View, Float> | TRANSLATION_Z | |
public statique final Property<View, Float> | X | |
public statique final Property<View, Float> | O | |
public statique final Property<View, Float> | Z |
Récapitulatif des constructeurs publics
NavigationView(contexte contextuel)
|
|
NavigationView(contexte de contexte, attributs AttributeSet)
|
|
NavigationView(contexte de contexte, attributs AttributeSet, int defStyleAttr)
|
Récapitulatif des méthodes publiques
Appareil photo |
getCamera()
Renvoie un objet appareil photo qui peut être utilisé pour modifier la fenêtre d'affichage de la carte.
|
NavigationMap |
getMap()
Renvoie un objet qui peut être utilisé pour ajouter du contenu à la carte.
|
void |
onConfigurationChanged(configuration de la configuration)
|
void |
onCreate(Bundle savedInstanceState)
|
void | |
void |
onPause()
|
void |
onResume()
|
void |
onSaveInstanceState(outState du bundle)
|
void |
onStart()
|
void |
onStop()
|
void |
onTrimMemory(niveau entier)
|
void |
setCalloutInfoDisplayModeOverride(NavigationCalloutDisplayMode calloutInfoDisplayModeOverride)
Remplace le mode d'affichage par défaut pour les appels d'heure d'arrivée prévue pendant la navigation.
|
void |
setCalloutInfoFormatOverride(RouteCalloutInfoFormat calloutInfoFormatOverride)
Définit le format des informations sur les accroches pour les itinéraires.
|
void |
setCompassEnabled(valeur booléenne activée)
Détermine si la boussole est visible.
|
void |
setCustomControl(commande d'affichage, position de CustomControlPosition)
Définit une vue des commandes personnalisée qui s'affichera à la position indiquée dans l'interface utilisateur de navigation.
|
void |
setEtaCardEnabled(valeur booléenne activée)
Détermine si la carte de l'heure d'arrivée prévue est visible pendant la navigation.
|
void |
setForceNightMode(int nightMode)
Définit la
ForceNightMode actuelle. |
void |
setHeaderEnabled(booléen activé)
Détermine si l'en-tête de la navigation détaillée est visible pendant la navigation.
|
void |
setOnNightModeChangedListener(écouteur NavigationView.OnNightModeChangedListener)
Définit un écouteur qui sera averti immédiatement de l'état actuel du "mode Nuit" et de chaque fois que l'interface utilisateur activera ou quittera le "mode Nuit".
|
void |
setOnRecenterButtonClickedListener(écouteur NavigationView.OnRecenterButtonClickedListener)
Définit un écouteur qui sera averti lorsque l'utilisateur cliquera sur le bouton de recentrage.
|
void |
setRecenterButtonEnabled(booléen activé)
Détermine si le bouton de recentrage doit être affiché.
|
void |
setSpeedAlertOptions(SpeedAlertOptions SpeedAlertOptions)
Définit
SpeedAlertOptions pour personnaliser les seuils de déclenchement pour les SpeedAlertSeverity . |
void |
setSpeedLimitIconEnabled(valeur booléenne activée)
Indique si l'icône de limitation de vitesse doit être affichée.
|
void |
setSpeedometerIconEnabled(valeur booléenne activée)
Indique si l'icône de compteur de vitesse est affichée.
|
void |
setSpeedometerUiOptions(SpeedometerUiOptions SpeedometerUiOptions
Définit la configuration de l'interface utilisateur du compteur de vitesse
SpeedometerUiOptions en fonction de SpeedAlertSeverity . |
void |
setStylingOptions(StylingOptions stylingOptions)
Définit des options de style pour l'interface utilisateur de navigation.
|
void |
setTrafficIncidentCardsEnabled(valeur booléenne activée)
Détermine si les fiches sur les incidents de circulation doivent être affichées lorsque l'utilisateur clique sur une icône d'incident de circulation.
|
void |
setTrafficPromptsEnabled(booléen activé)
Détermine si les invites liées au trafic doivent être affichées.
|
Récapitulatif des méthodes héritées
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
CharSequence |
getAccessibilityClassName().
|
int |
getBaseline()
|
int |
getGravity()
|
int |
getIgnoreGravity()
|
void |
requestLayout()
|
void |
setGravity(int arg0)
|
void |
setHorizontalGravity(int arg0)
|
void |
setIgnoreGravity(int arg0)
|
void |
setVerticalGravity(int arg0)
|
boolean |
shouldDelayChildPressedState()
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addFocusables(ArrayList<View> arg0, int arg1, int arg2)
|
void |
addKeyboardNavigationClusters(Collection<View> arg0, int arg1)
|
boolean |
addStatesFromChildren()
|
void |
addTouchables(ArrayList<View> arg0)
|
void |
addView(View arg0, ViewGroup.LayoutParams arg1)
|
void |
addView(Afficher arg0, int arg1)
|
void |
addView(View arg0, int arg1, ViewGroup.LayoutParams arg2)
|
void |
addView(Afficher arg0)
|
void |
addView(Afficher arg0, int arg1, int arg2)
|
void |
bringChildToFront(Afficher arg0)
|
void |
childDrawableStateChanged(vue arg0)
|
void |
childHasTransientStateChanged(View arg0, boolean arg1)
|
void |
clearChildFocus(Afficher l'argument)
|
void |
clearDisappearingChildren()
|
void |
clearFocus().
|
WindowInsets |
dispatchApplyWindowInsets(WindowInsets arg0)
|
boolean |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(argument de configuration)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishTemporaryDetach()
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
void |
dispatchPointerCaptureChanged(boolean arg0)
|
void |
dispatchProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void |
dispatchSetActivated(boolean arg0)
|
void |
dispatchSetSelected(boolean arg0)
|
void |
dispatchStartTemporaryDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(MotionEvent arg0)
|
boolean |
dispatchTrackballEvent(MotionEvent arg0)
|
boolean |
dispatchUnhandledMove(Afficher arg0, int arg1)
|
void |
dispatchWindowFocusChanged(boolean arg0)
|
void |
dispatchWindowSystemUiVisibilityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
endViewTransition(Afficher arg0)
|
Afficher |
findFocus()
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
Afficher |
focusSearch(Afficher arg0, int arg1)
|
void |
focusableViewAvailable(Afficher arg0)
|
boolean |
gatherTransparentRegion(Région arg0)
|
ViewGroup.LayoutParams |
generateLayoutParams(AttributeSet arg0)
|
CharSequence |
getAccessibilityClassName().
|
Afficher |
getChildAt(int arg0)
|
int |
getChildCount()
|
entier entier |
getChildDrawingOrder(int arg0)
|
statique int |
getChildMeasureSpec(int arg0, int arg1, int arg2)
|
boolean |
getChildVisibleRect(View arg0, Rect arg1, Point arg2)
|
boolean |
getClipChildren()
|
boolean |
getClipToPadding()
|
int |
getDescendantFocusability()
|
Afficher |
getFocusedChild()
|
LayoutAnimationController |
getLayoutAnimation()
|
Animation.AnimationListener |
getLayoutAnimationListener()
|
int |
getLayoutMode()
|
LayoutTransition |
getLayoutTransition()
|
int |
getNestedScrollAxes()
|
ViewOverlay |
getOverlay()
|
int |
getPersistentDrawingCache()
|
boolean |
getTouchscreenBlocksFocus()
|
boolean |
hasFocus().
|
boolean |
hasTransientState()
|
int |
indexOfChild(Afficher arg0)
|
final vide |
invalidateChild(Afficher arg0, arg1 du rectangle)
|
ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
boolean |
isAlwaysDrawnWithCacheEnabled()
|
boolean |
isAnimationCacheEnabled()
|
boolean |
isLayoutSuppressed()
|
boolean |
isMotionEventSplittingEnabled()
|
boolean |
isTransitionGroup()
|
void |
jumpDrawablesToCurrentState()
|
final vide |
layout(int arg0, int arg1, int arg2, int arg3)
|
void |
notifySubtreeAccessibilityStateChanged(View arg0, View arg1, int arg2)
|
final vide |
offsetDescendantRectToMyCoords(View arg0, Rect arg1)
|
final vide |
offsetRectIntoDescendantCoords(View arg0, Rect arg1)
|
void |
onDescendantInvalidated(Afficher arg0, Afficher arg1)
|
boolean |
onInterceptHoverEvent(MotionEvent arg0)
|
boolean |
onInterceptTouchEvent(MotionEvent arg0)
|
boolean |
onNestedFling(View arg0, float arg1, float arg2, boolean arg3)
|
boolean |
onNestedPreFling(Afficher arg0, float arg1, float arg2)
|
boolean |
onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
|
void |
onNestedPreScroll(Afficher arg0, int arg1, int arg2, int[] arg3)
|
void |
onNestedScroll(Afficher arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onNestedScrollAccepted(View arg0, View arg1, int arg2)
|
boolean |
onRequestSendAccessibilityEvent(View arg0, AccessibilityEvent arg1)
|
PointerIcon |
onResolvePointerIcon(MotionEvent arg0, int arg1)
|
boolean |
onStartNestedScroll(View arg0, View arg1, int arg2)
|
void |
onStopNestedScroll(View arg0)
|
void |
onViewAdded(Afficher arg0)
|
void |
onViewRemoved(Afficher arg0)
|
void |
recomputeViewAttributes(Afficher arg0)
|
void |
removeAllViews().
|
void |
removeAllViewsInLayout().
|
void |
removeView(Afficher arg0)
|
void |
removeViewAt(int arg0)
|
void |
removeViewInLayout(Afficher arg0)
|
void |
removeViews(int arg0, int arg1)
|
void |
removeViewsInLayout(int arg0, int arg1)
|
void |
requestChildFocus(Afficher arg0, Afficher arg1)
|
boolean |
requestChildRectangleOnScreen(View arg0, Rect arg1, boolean arg2)
|
void |
requestDisallowInterceptTouchEvent(boolean arg0)
|
boolean |
requestFocus(int arg0, Rect arg1)
|
boolean |
requestSendAccessibilityEvent(Afficher arg0, AccessibilityEvent arg1)
|
void |
requestTransparentRegion(Afficher arg0)
|
boolean |
restoreDefaultFocus().
|
void |
scheduleLayoutAnimation()
|
void |
setAddStatesFromChildren(boolean arg0)
|
void |
setAlwaysDrawnWithCacheEnabled(boolean arg0)
|
void |
setAnimationCacheEnabled(boolean arg0)
|
void |
setClipChildren(boolean arg0)
|
void |
setClipToPadding(boolean arg0)
|
void |
setDescendantFocusability(int arg0)
|
void |
setLayoutAnimation(LayoutAnimationController arg0)
|
void |
setLayoutAnimationListener(Animation.AnimationListener arg0)
|
void |
setLayoutMode(int arg0)
|
void |
setLayoutTransition(LayoutTransition arg0)
|
void |
setMotionEventSplittingEnabled(boolean arg0)
|
void |
setOnHierarchyChangeListener(ViewGroup.OnHierarchyChangeListener arg0)
|
void |
setPersistentDrawingCache(int arg0)
|
void |
setTouchscreenBlocksFocus(boolean arg0)
|
void |
setTransitionGroup(boolean arg0)
|
boolean |
shouldDelayChildPressedState()
|
boolean |
showContextMenuForChild(Afficher arg0, float arg1, float arg2)
|
boolean |
showContextMenuForChild(Afficher arg0)
|
ActionMode |
startActionModeForChild(vue arg0, ActionMode.Callback arg1, int arg2)
|
ActionMode |
startActionModeForChild(vue arg0, ActionMode.Callback arg1)
|
void |
startLayoutAnimation()
|
void |
startViewTransition(Afficher arg0)
|
void |
suppressLayout(boolean arg0)
|
void |
updateViewLayout(View arg0, ViewGroup.LayoutParams arg1)
|
void |
addChildrenForAccessibility(ArrayList<View> arg0)
|
void |
addExtraDataToAccessibilityNodeInfo(AccessibilityNodeInfo arg0, chaîne 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 (animer) ;
|
void |
announceForAccessibility(CharSequence arg0)
|
void |
autofill(AutofillValue arg0)
|
void |
autofill(SparseArray<AutofillValue> arg0)
|
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 vide |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
final vide |
cancelPendingInputEvents()
|
boolean |
checkInputConnectionProxy(Afficher arg0)
|
void |
clearAnimation()
|
void |
clearFocus().
|
statique 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)
|
boolean |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(argument de configuration)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishTemporaryDetach()
|
boolean |
dispatchGenericMotionEvent(MotionEvent arg0)
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
boolean |
dispatchNestedFling(float arg0, float arg1, boolean arg2)
|
boolean |
dispatchNestedPreFling(float arg0, float arg1)
|
boolean |
dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1)
|
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 |
dispatchPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
dispatchProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void |
dispatchStartTemporaryDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(MotionEvent arg0)
|
boolean |
dispatchTrackballEvent(MotionEvent arg0)
|
boolean |
dispatchUnhandledMove(Afficher arg0, int arg1)
|
void |
dispatchWindowFocusChanged(boolean arg0)
|
void |
dispatchWindowSystemUiVisibilityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
draw(Canvas arg0)
|
void |
drawableHotspotChanged(float arg0, float arg1)
|
Afficher |
findFocus()
|
final <T étend la vue> T |
findViewById(int arg0)
|
final <T étend la vue> T |
findViewWithTag(Objet arg0)
|
void |
findViewsWithText(ArrayList<View> arg0, CharSequence arg1, int arg2)
|
Afficher |
focusSearch(int arg0)
|
void |
forceHasOverlappingRendering(boolean arg0)
|
void |
forceLayout()
|
statique int |
generateViewId()
|
CharSequence |
getAccessibilityClassName().
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
int |
getAccessibilityLiveRegion().
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider().
|
CharSequence |
getAccessibilityPaneTitle()
|
int |
getAccessibilityTraversalAfter()
|
int |
getAccessibilityTraversalBefore()
|
float |
getAlpha()
|
Animation |
getAnimation()
|
Matrice |
getAnimationMatrix()
|
IBinder |
getApplicationWindowToken()
|
int[] |
getAttributeResolutionStack(int arg0)
|
Map<Entier, entier> |
getAttributeSourceResourceMap()
|
Chaîne[] |
getAutofillHints()
|
final AutofillId |
getAutofillId()
|
int |
getAutofillType()
|
AutofillValue |
getAutofillValue()
|
Drawable |
getBackground()
|
BlendMode |
getBackgroundTintBlendMode()
|
ColorStateList |
getBackgroundTintList()
|
PorterDuff.Mode |
getBackgroundTintMode()
|
int |
getBaseline()
|
entier entier |
getBottom()
|
float |
getCameraDistance()
|
boolean |
getClipBounds(Rect arg0)
|
Rect |
getClipBounds()
|
final booléen |
getClipToOutline()
|
dernière ContentCaptureSession |
getContentCaptureSession()
|
CharSequence |
getContentDescription()
|
Contexte final |
getContext()
|
final booléen |
getDefaultFocusHighlightEnabled()
|
statique int |
getDefaultSize(int arg0, int arg1)
|
Display |
getDisplay()
|
final int[] |
getDrawableState()
|
Bitmap |
getDrawingCache()
|
Bitmap |
getDrawingCache(boolean arg0)
|
int |
getDrawingCacheBackgroundColor()
|
int |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect arg0)
|
long |
getDrawingTime()
|
float |
getElevation()
|
int |
getExplicitStyle()
|
boolean |
getFilterTouchesWhenObscured()
|
boolean |
getFitsSystemWindows()
|
int |
getFocusable()
|
ArrayList<View> |
getFocusables(int arg0)
|
void |
getFocusedRect(Rect arg0)
|
Drawable |
getForeground()
|
int |
getForegroundGravity()
|
BlendMode |
getForegroundTintBlendMode()
|
ColorStateList |
getForegroundTintList()
|
PorterDuff.Mode |
getForegroundTintMode()
|
final booléen |
getGlobalVisibleRect(Rect arg0)
|
boolean |
getGlobalVisibleRect(Rect arg0, point arg1)
|
Handler |
getHandler()
|
final booléen |
getHasOverlappingRendering()
|
entier entier |
getHeight()
|
void |
getHitRect(Rect arg0)
|
int |
getHorizontalFadingEdgeLength()
|
Drawable |
getHorizontalScrollbarThumbDrawable()
|
Drawable |
getHorizontalScrollbarTrackDrawable()
|
int |
getId()
|
int |
getImportantForAccessibility()
|
int |
getImportantForAutofill()
|
boolean |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
int |
getLabelFor()
|
int |
getLayerType()
|
int |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams()
|
entier entier |
getLeft()
|
final booléen |
getLocalVisibleRect(Rect arg0)
|
void |
getLocationInSurface(int[] arg0)
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
Matrice |
getMatrix()
|
entier entier |
getMeasuredHeight()
|
entier entier |
getMeasuredHeightAndState().
|
entier entier |
getMeasuredState().
|
entier entier |
getMeasuredWidth()
|
entier entier |
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()
|
float |
getPivotX()
|
float |
getPivotY()
|
PointerIcon |
getPointerIcon()
|
Ressources |
getResources()
|
final booléen |
getRevealOnFocusHint().
|
entier entier |
getRight()
|
Afficher |
getRootView()
|
WindowInsets |
getRootWindowInsets()
|
float |
getRotation()
|
float |
getRotationX()
|
float |
getRotationY()
|
float |
getScaleX()
|
float |
getScaleY()
|
int |
getScrollBarDefaultDelayBeforeFade()
|
int |
getScrollBarFadeDuration()
|
int |
getScrollBarSize()
|
int |
getScrollBarStyle()
|
int |
getScrollIndicators()
|
entier entier |
getScrollX()
|
entier entier |
getScrollY()
|
int |
getSolidColor()
|
int |
getSourceLayoutResId()
|
StateListAnimator |
getStateListAnimator()
|
List<Rect> |
getSystemGestureExclusionRects()
|
int |
getSystemUiVisibility()
|
Objet |
getTag()
|
Objet |
getTag(int arg0)
|
int |
getTextAlignment()
|
int |
getTextDirection()
|
CharSequence |
getTooltipText()
|
entier entier |
getTop()
|
TouchDelegate |
getTouchDelegate()
|
ArrayList<View> |
getTouchables()
|
float |
getTransitionAlpha()
|
Chaîne |
getTransitionName()
|
float |
getTranslationX()
|
float |
getTranslationY()
|
float |
getTranslationZ()
|
long |
getUniqueDrawingId()
|
int |
getVerticalFadingEdgeLength()
|
int |
getVerticalScrollbarPosition()
|
Drawable |
getVerticalScrollbarThumbDrawable()
|
Drawable |
getVerticalScrollbarTrackDrawable()
|
int |
getVerticalScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver().
|
int |
getVisibility()
|
entier entier |
getWidth()
|
WindowId |
getWindowId()
|
int |
getWindowSystemUiVisibility()
|
IBinder |
getWindowToken()
|
int |
getWindowVisibility()
|
void |
getWindowVisibleDisplayFrame(Rect arg0)
|
float |
getX()
|
float |
getY()
|
float |
getZ()
|
boolean |
hasExplicitFocusable().
|
boolean |
hasFocus().
|
boolean |
hasFocusable().
|
boolean |
hasNestedScrollingParent()
|
boolean |
hasOnClickListeners()
|
boolean |
hasOverlappingRendering()
|
boolean |
hasPointerCapture()
|
boolean |
hasTransientState()
|
boolean |
hasWindowFocus().
|
statique Vue |
inflate(Contexte arg0, int arg1, ViewGroup arg2)
|
void |
invalidate()
|
void |
invalidate(Rect arg0)
|
void |
invalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(Drawable arg0)
|
void |
invalidateOutline()
|
boolean |
isAccessibilityFocused().
|
boolean |
isAccessibilityHeading()
|
boolean |
isActivated()
|
boolean |
isAttachedToWindow()
|
boolean |
isClickable()
|
boolean |
isContextClickable()
|
boolean |
isDirty()
|
boolean |
isDrawingCacheEnabled()
|
boolean |
isDuplicateParentStateEnabled()
|
boolean |
isEnabled()
|
final booléen |
isFocusable().
|
final booléen |
isFocusableInTouchMode()
|
boolean |
isFocused()
|
final booléen |
isFocusedByDefault()
|
boolean |
isForceDarkAllowed()
|
boolean |
isHapticFeedbackEnabled()
|
boolean |
isHardwareAccelerated()
|
boolean |
isHorizontalFadingEdgeEnabled()
|
boolean |
isHorizontalScrollBarEnabled()
|
boolean |
isHovered()
|
boolean |
isImportantForAccessibility()
|
final booléen |
isImportantForAutofill()
|
boolean |
isInEditMode()
|
boolean |
isInLayout()
|
boolean |
isInTouchMode()
|
final booléen |
isKeyboardNavigationCluster()
|
boolean |
isLaidOut()
|
boolean |
isLayoutDirectionResolved()
|
boolean |
isLayoutRequested()
|
boolean |
isLongClickable()
|
boolean |
isNestedScrollingEnabled()
|
boolean |
isOpaque()
|
boolean |
isPaddingRelative()
|
boolean |
isPivotSet()
|
boolean |
isPressed()
|
boolean |
isSaveEnabled()
|
boolean |
isSaveFromParentEnabled()
|
boolean |
isScreenReaderFocusable()
|
boolean |
isScrollContainer()
|
boolean |
isScrollbarFadingEnabled()
|
boolean |
isSelected()
|
boolean |
isShown()
|
boolean |
isSoundEffectsEnabled()
|
final booléen |
isTemporarilyDetached()
|
boolean |
isTextAlignmentResolved()
|
boolean |
isTextDirectionResolved()
|
boolean |
isVerticalFadingEdgeEnabled()
|
boolean |
isVerticalScrollBarEnabled()
|
boolean |
isVisibleToUserForAutofill(int arg0)
|
void |
jumpDrawablesToCurrentState()
|
Afficher |
keyboardNavigationClusterSearch(Afficher arg0, int arg1)
|
void |
layout(int arg0, int arg1, int arg2, int arg3)
|
final vide |
measure(int arg0, int arg1)
|
void |
offsetLeftAndRight(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
WindowInsets |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onCancelPendingInputEvents()
|
boolean |
onCapturedPointerEvent(MotionEvent arg0)
|
boolean |
onCheckIsTextEditor()
|
InputConnection |
onCreateInputConnection(EditorInfo arg0)
|
boolean |
onDragEvent(DragEvent arg0)
|
void |
onDrawForeground(Canvas arg0)
|
boolean |
onFilterTouchEventForSecurity(MotionEvent arg0)
|
void |
onFinishTemporaryDetach()
|
boolean |
onGenericMotionEvent(MotionEvent arg0)
|
void |
onHoverChanged(boolean arg0)
|
boolean |
onHoverEvent(MotionEvent arg0)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo arg0)
|
boolean |
onKeyDown(int arg0, KeyEvent arg1)
|
boolean |
onKeyLongPress(int arg0, KeyEvent arg1)
|
boolean |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
boolean |
onKeyPreIme(int arg0, KeyEvent arg1)
|
boolean |
onKeyShortcut(int arg0, KeyEvent arg1)
|
boolean |
onKeyUp(int arg0, KeyEvent arg1)
|
void |
onPointerCaptureChange(boolean arg0)
|
void |
onPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
onProvideAutofillVirtualStructure(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()
|
boolean |
onTouchEvent(MotionEvent arg0)
|
boolean |
onTrackballEvent(MotionEvent arg0)
|
void |
onVisibilityAggregated(boolean arg0)
|
void |
onWindowFocusChanged(boolean arg0)
|
void |
onWindowSystemUiVisibilityChanged(int arg0)
|
boolean |
performAccessibilityAction(int arg0, Bundle arg1)
|
boolean |
performClick()
|
boolean |
performContextClick(float arg0, float arg1)
|
boolean |
performContextClick()
|
boolean |
performHapticFeedback(int arg0)
|
boolean |
performHapticFeedback(int arg0, int arg1)
|
boolean |
performLongClick(float arg0, float arg1)
|
boolean |
performLongClick()
|
void |
playSoundEffect(int arg0)
|
boolean |
post(exécutable arg0)
|
boolean |
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(exécutable arg0)
|
void |
postOnAnimationDelayed(Runnable arg0, arg1 long)
|
void |
refreshDrawableState()
|
void |
releasePointerCapture()
|
boolean |
removeCallbacks(exécutable arg0)
|
void |
removeOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
final booléen |
requestFocus(int arg0)
|
final booléen |
requestFocus().
|
boolean |
requestFocus(int arg0, Rect arg1)
|
final booléen |
requestFocusFromTouch()
|
void |
requestLayout()
|
void |
requestPointerCapture()
|
boolean |
requestRectangleOnScreen(Rect arg0)
|
boolean |
requestRectangleOnScreen(Rect arg0, boolean arg1)
|
final vide |
requestUnbufferedDispatch(MotionEvent arg0)
|
final <T étend la vue> T |
requireViewById(int arg0)
|
void |
resetPivot()
|
statique int |
resolveSize(int arg0, int arg1)
|
statique int |
resolveSizeAndState(int arg0, int arg1, int arg2)
|
boolean |
restoreDefaultFocus().
|
void |
restoreHierarchyState(SparseArray<Parcelable> arg0)
|
final vide |
saveAttributeDataForStyleable(Contexte 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.AccessibilityDeélégation arg0)
|
void |
setAccessibilityHeading(boolean arg0)
|
void |
setAccessibilityLiveRegion(int arg0)
|
void |
setAccessibilityPaneTitle(CharSequence arg0)
|
void |
setAccessibilityTraversalAfter(int arg0)
|
void |
setAccessibilityTraversalBefore(int arg0)
|
void |
setActivated(boolean 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 vide |
setBottom(int arg0)
|
void |
setCameraDistance(float arg0)
|
void |
setClickable(boolean arg0)
|
void |
setClipBounds(Rect arg0)
|
void |
setClipToOutline(boolean arg0)
|
void |
setContentCaptureSession(ContentCaptureSession arg0)
|
void |
setContentDescription(CharSequence 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 |
setForeground(Drawable arg0)
|
void |
setForegroundGravity(int arg0)
|
void |
setForegroundTintBlendMode(BlendMode arg0)
|
void |
setForegroundTintList(ColorStateList arg0)
|
void |
setForegroundTintMode(PorterDuff.Mode arg0)
|
void |
setHapticFeedbackEnabled(boolean arg0)
|
void |
setHasTransientState(boolean arg0)
|
void |
setHorizontalFadingEdgeEnabled(boolean arg0)
|
void |
setHorizontalScrollBarEnabled(boolean arg0)
|
void |
setHorizontalScrollbarThumbDrawable(Drawable arg0)
|
void |
setHorizontalScrollbarTrackDrawable(arg0 de drawable)
|
void |
setHovered(boolean arg0)
|
void |
setId(int arg0)
|
void |
setImportantForAccessibility(int arg0)
|
void |
setImportantForAutofill(int arg0)
|
void |
setKeepScreenOn(boolean arg0)
|
void |
setKeyboardNavigationCluster(boolean 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 vide |
setLeft(int arg0)
|
final vide |
setLeftTopRightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable(boolean arg0)
|
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 |
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(boolean arg0)
|
final vide |
setRevealOnFocusHint(boolean arg0)
|
final vide |
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)
|
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 |
setStateListAnimator(StateListAnimator arg0)
|
void |
setSystemGestureExclusionRects(List<Rect> arg0)
|
void |
setSystemUiVisibility(int arg0)
|
void |
setTag(int arg0, objet arg1)
|
void |
setTag(Objet arg0)
|
void |
setTextAlignment(int arg0)
|
void |
setTextDirection(int arg0)
|
void |
setTooltipText(CharSequence arg0)
|
final vide |
setTop(int arg0)
|
void |
setTouchDelegate(TouchDélégation arg0)
|
void |
setTransitionAlpha(float arg0)
|
final vide |
setTransitionName(chaîne arg0)
|
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 |
setVerticalScrollbarThumbDrawable(Drawable arg0)
|
void |
setVerticalScrollbarTrackDrawable(arg0 de drawable)
|
void |
setVisibility(int arg0)
|
void |
setWillNotCacheDrawing(boolean arg0)
|
void |
setWillNotDraw(boolean arg0)
|
void |
setX(float arg0)
|
void |
setY(float arg0)
|
void |
setZ(float arg0)
|
boolean |
showContextMenu()
|
boolean |
showContextMenu(float arg0, float arg1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0, int arg1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(Animation arg0)
|
final booléen |
startDrag(ClipData arg0, View.DragShadowBuilder arg1, Object arg2, int arg3)
|
final booléen |
startDragAndDrop(ClipData arg0, View.DragShadowBuilder arg1, Object arg2, int arg3)
|
boolean |
startNestedScroll(int arg0)
|
void |
stopNestedScroll()
|
Chaîne |
toString()
|
void |
transformMatrixToGlobal(Matrix arg0)
|
void |
transformMatrixToLocal(Matrix arg0)
|
void |
unscheduleDrawable(Drawable arg0, exécutable arg1)
|
void |
unscheduleDrawable(Drawable arg0)
|
final vide |
updateDragShadow(View.DragShadowBuilder arg0)
|
boolean |
willNotCacheDrawing()
|
boolean |
willNotDraw()
|
boolean |
est égal(e) à (objet arg0)
|
final Classe<?> |
getClass()
|
int |
hashCode()
|
final vide |
notify()
|
final vide |
notifyAll()
|
Chaîne |
toString()
|
final vide |
wait(long arg0, int arg1)
|
final vide |
wait(long arg0)
|
final vide |
wait()
|
abstrait vide |
bringChildToFront(Afficher arg0)
|
abstrait booléen |
canResolveLayoutDirection()
|
abstrait booléen |
canResolveTextAlignment()
|
abstrait booléen |
canResolveTextDirection()
|
abstrait vide |
childDrawableStateChanged(vue arg0)
|
abstrait vide |
childHasTransientStateChanged(View arg0, boolean arg1)
|
abstrait vide |
clearChildFocus(Afficher l'argument)
|
abstrait vide |
createContextMenu(ContextMenu arg0)
|
résumé Afficher |
focusSearch(Afficher arg0, int arg1)
|
abstrait vide |
focusableViewAvailable(Afficher arg0)
|
abstrait booléen |
getChildVisibleRect(View arg0, Rect arg1, Point arg2)
|
abstrait entier |
getLayoutDirection()
|
abstrait ViewParent |
getParent()
|
abstrait ViewParent |
getParentForAccessibility()
|
abstrait entier |
getTextAlignment()
|
abstrait entier |
getTextDirection()
|
abstrait vide |
invalidateChild(Afficher arg0, arg1 du rectangle)
|
abstrait ViewParent |
invalidateChildInParent(int[] arg0, Rect arg1)
|
abstrait booléen |
isLayoutDirectionResolved()
|
abstrait booléen |
isLayoutRequested()
|
abstrait booléen |
isTextAlignmentResolved()
|
abstrait booléen |
isTextDirectionResolved()
|
résumé Afficher |
keyboardNavigationClusterSearch(Afficher arg0, int arg1)
|
abstrait vide |
notifySubtreeAccessibilityStateChanged(View arg0, View arg1, int arg2)
|
void |
onDescendantInvalidated(Afficher arg0, Afficher arg1)
|
abstrait booléen |
onNestedFling(View arg0, float arg1, float arg2, boolean arg3)
|
abstrait booléen |
onNestedPreFling(Afficher arg0, float arg1, float arg2)
|
abstrait booléen |
onNestedPrePerformAccessibilityAction(View arg0, int arg1, Bundle arg2)
|
abstrait vide |
onNestedPreScroll(Afficher arg0, int arg1, int arg2, int[] arg3)
|
abstrait vide |
onNestedScroll(Afficher arg0, int arg1, int arg2, int arg3, int arg4)
|
abstrait vide |
onNestedScrollAccepted(View arg0, View arg1, int arg2)
|
abstrait booléen |
onStartNestedScroll(View arg0, View arg1, int arg2)
|
abstrait vide |
onStopNestedScroll(View arg0)
|
abstrait vide |
recomputeViewAttributes(Afficher arg0)
|
abstrait vide |
requestChildFocus(Afficher arg0, Afficher arg1)
|
abstrait booléen |
requestChildRectangleOnScreen(View arg0, Rect arg1, boolean arg2)
|
abstrait vide |
requestDisallowInterceptTouchEvent(boolean arg0)
|
abstrait vide |
requestFitSystemWindows()
|
abstrait vide |
requestLayout()
|
abstrait booléen |
requestSendAccessibilityEvent(Afficher arg0, AccessibilityEvent arg1)
|
abstrait vide |
requestTransparentRegion(Afficher arg0)
|
abstrait booléen |
showContextMenuForChild(Afficher arg0)
|
abstrait booléen |
showContextMenuForChild(Afficher arg0, float arg1, float arg2)
|
abstrait ActionMode |
startActionModeForChild(vue arg0, ActionMode.Callback arg1, int arg2)
|
abstrait ActionMode |
startActionModeForChild(vue arg0, ActionMode.Callback arg1)
|
abstrait vide |
addView(View arg0, ViewGroup.LayoutParams arg1)
|
abstrait vide |
removeView(Afficher arg0)
|
abstrait vide |
updateViewLayout(View arg0, ViewGroup.LayoutParams arg1)
|
abstrait vide |
invalidateDrawable(Drawable arg0)
|
abstrait vide |
scheduleDrawable(Drawable arg0, Runnable arg1, long arg2)
|
abstrait vide |
unscheduleDrawable(Drawable arg0, exécutable arg1)
|
abstrait booléen |
onKeyDown(int arg0, KeyEvent arg1)
|
abstrait booléen |
onKeyLongPress(int arg0, KeyEvent arg1)
|
abstrait booléen |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
abstrait booléen |
onKeyUp(int arg0, KeyEvent arg1)
|
abstrait vide |
sendAccessibilityEvent(int arg0)
|
abstrait vide |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
Constructeurs publics
public NavigationView (Contexte)
Paramètres
context |
---|
public NavigationView (Contexte contextuel, attributs AttributeSet)
Paramètres
context | |
---|---|
attrs |
public NavigationView (Contexte, AttributeSet attrs, int defStyleAttr)
Paramètres
context | |
---|---|
attrs | |
defStyleAttr |
Méthodes publiques
public Caméra getCamera ()
Renvoie un objet appareil photo qui peut être utilisé pour modifier la fenêtre d'affichage de la carte. Cette méthode ne doit être appelée que sur le thread UI.
Renvoie
- l'objet
Camera
associé à cette vue
public NavigationMap getMap ()
Renvoie un objet qui peut être utilisé pour ajouter du contenu à la carte. Cette méthode ne doit être appelée que sur le thread UI.
public vide onConfigurationChanged (configuration de configuration)
Paramètres
config |
---|
public vide onCreate (Bundle savedInstanceState)
Paramètres
savedInstanceState |
---|
public void onDestroy ()
public vide onPause ()
public vide onResume ()
public vide onSaveInstanceState (Bundle outState)
Paramètres
outState |
---|
public vide onStart ()
public vide onStop ()
public vide onTrimMemory (niveau d'int)
Paramètres
level |
---|
public vide setCalloutInfoDisplayModeOverride (NavigationCalloutDisplayMode calloutInfoDisplayModeOverride)
Remplace le mode d'affichage par défaut pour les appels d'heure d'arrivée prévue pendant la navigation. La transmission d'une valeur nulle réinitialise le mode d'affichage par défaut.
Paramètres
calloutInfoDisplayModeOverride | le nouveau mode d'affichage souhaité. |
---|
public void setCalloutInfoFormatOverride (RouteCalloutInfoFormat calloutInfoFormatOverride)
Définit le format des informations sur les accroches pour les itinéraires. Si cette méthode n'est pas appelée, les accroches suivront le comportement défini par RouteCalloutInfoFormat.DEFAULT.
Paramètres
calloutInfoFormatOverride | le nouveau format d'accroche souhaité. |
---|
public vide setCompassEnabled (boolean enabled)
Détermine si la boussole est visible. Cette méthode ne doit être appelée que sur le thread UI.
Paramètres
activé |
---|
public void setCustomControl (commande d'affichage, position CustomControlPosition)
Définit une vue des commandes personnalisée qui s'affichera à la position indiquée dans l'interface utilisateur de navigation. S'il existe déjà une commande personnalisée à la position donnée, elle sera remplacée. Si vous appelez cette méthode avec une valeur de commande nulle, la commande personnalisée à la position indiquée sera supprimée. Si la commande a déjà été ajoutée à une autre position ou a déjà un parent, elle sera ignorée. Cette méthode ne doit être appelée que sur le thread UI.
Paramètres
contrôle | Une vue qui sera positionnée dans l'interface utilisateur de navigation |
---|---|
position | Détermine l'emplacement de la commande personnalisée dans l'interface utilisateur par rapport aux commandes intégrées. |
public vide setEtaCardEnabled (boolean enabled)
Détermine si la carte de l'heure d'arrivée prévue est visible pendant la navigation. Cette méthode ne doit être appelée que sur le thread UI.
Paramètres
activé |
---|
public void setForceNightMode (int nightMode)
Définit la ForceNightMode
actuelle.
Paramètres
nightMode |
---|
public vide setHeaderEnabled (boolean enabled)
Détermine si l'en-tête de la navigation détaillée est visible pendant la navigation. Cette méthode ne doit être appelée que sur le thread UI.
Paramètres
activé |
---|
public void setOnNightModeChangedListener (écouteur NavigationView.OnNightModeChangedListener)
Définit un écouteur qui sera averti immédiatement de l'état actuel du "mode Nuit" et de chaque fois que l'interface utilisateur activera ou quittera le "mode Nuit". Cette méthode ne doit être appelée que sur le thread UI.
Remarque: Pour éviter les fuites de mémoire, setOnNightModeChangedListener(null)
doit être appelé lorsque l'écouteur n'est plus nécessaire.
Paramètres
écouteur | Un écouteur qui sera averti lorsque l'UI passera en mode Nuit ou le quittera |
---|
public void setOnRecenterButtonClickedListener (écouteur NavigationView.OnRecenterButtonClickedListener)
Définit un écouteur qui sera averti lorsque l'utilisateur cliquera sur le bouton de recentrage. Cette méthode ne doit être appelée que sur le thread UI.
Remarque: Pour éviter les fuites de mémoire, setOnRecenterButtonClickedListener(null)
doit être appelé lorsque l'écouteur n'est plus nécessaire.
Paramètres
écouteur | Un écouteur qui sera averti lorsque l'utilisateur cliquera sur le bouton de recentrage |
---|
public void setRecenterButtonEnabled (boolean enabled)
Détermine si le bouton de recentrage doit être affiché. Cette méthode ne doit être appelée que sur le thread UI.
Paramètres
activé |
---|
public void setSpeedAlertOptions (SpeedAlertOptions SpeedAlertOptions)
Définit SpeedAlertOptions
pour personnaliser les seuils de déclenchement pour les SpeedAlertSeverity
.
Cette méthode permet de personnaliser les seuils de déclenchement des alertes de vitesse en pourcentage pour les alertes MINOR
et MAJOR
. Vous pouvez également utiliser cette méthode pour configurer le délai, en secondes, nécessaire pour faire passer les alertes de vitesse de MINOR
à MAJOR
.
Si vous définissez une SpeedAlertOptions
sur null
ou n'en définissez aucune, l'alerte de vitesse par défaut du NavSDK affiche un texte en rouge sur fond blanc/sombre en mode Jour/Nuit, respectivement lorsque la vitesse est inférieure à 5 mph ou 10 km/h au-dessus de la limite de vitesse, et s'affiche en blanc sur fond rouge si la vitesse est supérieure à 5 mph ou 10 km/h.
Paramètres
speedAlertOptions |
---|
public vide setSpeedLimitIconEnabled (boolean enabled)
Indique si l'icône de limitation de vitesse doit être affichée. N'appelez cette méthode que sur le thread UI.
Lorsque cette option est activée, une icône de limitation de vitesse indiquant la limitation de vitesse de la route s'affiche dans l'angle de départ du trajet en bas de l'écran. L'icône ne s'affiche que dans les endroits où des données fiables sur les limitations de vitesse sont disponibles. Lorsque l'icône du compteur de vitesse est visible, cela signifie qu'ils sont joints.
Si le bouton de recentrage est activé, l'icône de limite de vitesse est temporairement masquée lorsque le bouton de recentrage est affiché.
Remarque: Les conducteurs doivent respecter tous les panneaux de signalisation sur la route et n'utiliser l'icône de limitation de vitesse qu'à titre indicatif. L'exactitude des données sur les limitations de vitesse ne peut pas être garantie. Vous pouvez signaler des inexactitudes dans les données sur les limites de vitesse en envoyant une demande sur le portail d'assistance Google Cloud.
Paramètres
activé |
---|
public void setSpeedometerIconEnabled (boolean enabled)
Indique si l'icône de compteur de vitesse est affichée. N'appelez cette méthode que sur le thread UI.
Lorsque cette option est activée, une icône de compteur de vitesse indiquant la vitesse du véhicule s'affiche dans l'angle de démarrage inférieur pendant le guidage. Lorsque l'icône de limite de vitesse est visible, ils sont joints. Le texte et l'arrière-plan du compteur de vitesse peuvent alors être de différentes couleurs selon la gravité de la vitesse.
L'activation de l'icône de limitation de vitesse active également l'icône de limitation de vitesse, mais vous pouvez utiliser setSpeedLimitIconEnabled(boolean)
pour désactiver/activer cette icône séparément.
Si le bouton de recentrage est activé, l'icône du compteur de vitesse est temporairement masquée lorsque ce bouton s'affiche.
Paramètres
activé |
---|
public void setSpeedometerUiOptions (SpeedometerUiOptions SpeedometerUiOptions)
Définit la configuration de l'interface utilisateur du compteur de vitesse SpeedometerUiOptions
en fonction de SpeedAlertSeverity
. N'appelez cette méthode que sur le thread UI.
En définissant un SpeedometerUiOptions
null
, vous effacez le précédent s'il est défini. Si aucun SpeedometerUiOptions
n'est configuré, l'interface utilisateur du compteur de vitesse utilise les configurations par défaut du NavSDK pour les alertes de vitesse de différentes SpeedAlertSeverity
:
Paramètres
speedometerUiOptions |
---|
public vide setStylingOptions (StylingOptions stylingOptions)
Définit des options de style pour l'interface utilisateur de navigation. Cette méthode ne doit être appelée que sur le thread UI.
Paramètres
stylingOptions |
---|
public void setTrafficIncidentCardsEnabled (boolean enabled)
Détermine si les fiches sur les incidents de circulation doivent être affichées lorsque l'utilisateur clique sur une icône d'incident de circulation. Cette méthode ne doit être appelée que sur le thread UI.
Notez que lorsque la navigation guidée est en cours d'exécution, les détails de l'incident de circulation s'affichent dans les invites.
Pour désactiver les informations sur les incidents de circulation pendant la navigation, utilisez plutôt setTrafficPromptsEnabled(boolean)
.
Paramètres
activé |
---|
public void setTrafficPromptsEnabled (boolean enabled)
Détermine si les invites liées au trafic doivent être affichées. Des invites de circulation s'affichent régulièrement pour informer l'utilisateur des conditions de circulation pendant la navigation. Cette méthode ne doit être appelée que sur le thread UI.
Paramètres
activé |
---|