Sous-classes directes connues
|
SurfaceView SurfaceView qui gère le rendu et les interactions avec la scène.
Cours imbriqués
interface | SceneView.AnimationTimeTransformer | Définit une transformation en Choreographer de l'heure de l'animation. |
Constantes héritées
int | ACCESSIBILITY_LIVE_REGION_ASSERTIVE | |
int | ACCESSIBILITY_LIVE_REGION_NONE | |
int | ACCESSIBILITY_LIVE_REGION_POLITE | |
int | AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS | |
String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE | |
String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY | |
String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH | |
String | AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR | |
String | AUTOFILL_HINT_CREDIT_CARD_NUMBER | |
String | AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE | |
String | AUTOFILL_HINT_EMAIL_ADDRESS | |
String | AUTOFILL_HINT_NAME | |
String | AUTOFILL_HINT_PASSWORD | |
String | AUTOFILL_HINT_PHONE | |
String | AUTOFILL_HINT_POSTAL_ADDRESS | |
String | AUTOFILL_HINT_POSTAL_CODE | |
String | AUTOFILL_HINT_USERNAME | |
int | AUTOFILL_TYPE_DATE | |
int | AUTOFILL_TYPE_LIST | |
int | AUTOFILL_TYPE_NONE | |
int | AUTOFILL_TYPE_TEXT | |
int | AUTOFILL_TYPE_TOGGLE | |
int | 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 | |
String | AFFICHER LE JOURNAL | |
int | VISIBLE |
Champs hérités
public static final Property<View, Float> | ALPHA | |
protection statique finale intégrée[] | EMPTY_STATUS_SET | |
protection statique finale intégrée[] | ENABLED_FOCUTIL_SELECTED_STATUS_SET | |
protection statique finale intégrée[] | Activé | |
protection statique finale intégrée[] | ENABLED_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | Activé | |
protection statique finale intégrée[] | ENABLED_SELECTED_STATUS_SET | |
protection statique finale intégrée[] | ENABLED_SELECTED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | ENABLED_STATUS_SET | |
protection statique finale intégrée[] | ENABLED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | FOCUTIL_SELECTED_STATE_SET | |
protection statique finale intégrée[] | FOCUSED_SELECTED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | FOCused_State_SET | |
protection statique finale intégrée[] | FOCUSED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_FOCUSED_SELECTED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_SELECTED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_ENABLED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_FOCUSED_SELECTED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_FOCUSED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_SELECTED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_SELECTED_WINDOW_FOCUSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_STATUS_SET | |
protection statique finale intégrée[] | PRESSED_WINDOW_FOCUSED_STATUS_SET | |
public static final Property<View, Float> | ROTATION | |
public static final Property<View, Float> | ROTATION_X | |
public static final Property<View, Float> | ROTATION_Y | |
public static final Property<View, Float> | SCALE_X | |
public static final Property<View, Float> | SCALE_Y | |
protection statique finale intégrée[] | SELECTED_STATUS_SET | |
protection statique finale intégrée[] | SELECTED_WINDOW_FOCUSED_STATUS_SET | |
public static final Property<View, Float> | TRANSLATION_X | |
public static final Property<View, Float> | TRANSLATION_Y | |
public static final Property<View, Float> | TRANSLATION_Z | |
protection statique finale intégrée[] | WINDOW_FOCUSED_STATUS_SET | |
public static final Property<View, Float> | X | |
public static final Property<View, Float> | O | |
public static final Property<View, Float> | Z |
Constructeurs publics
SceneView(contexte Context, attributs AttributeSet)
Construit un objet SceneView et l'associe à un contexte Android.
|
Méthodes publiques
void |
destroy()
Obligatoire pour quitter Sceneform.
|
Static void |
destroyAllResources
Libère immédiatement toutes les ressources de rendu, même lorsqu'elles sont utilisées.
|
void |
enableDebug(valeur booléenne)
Si cette option est activée, plusieurs visualisations sont disponibles pour le débogage.
|
Scène |
getScene
Renvoie la scène Sceneform créée par cette vue.
|
booléen |
isDebugEnabled()
Indique si le débogage est activé pour cette vue.
|
booléen |
onTouchEvent(Événement de mouvement MotionEvent)
|
void |
pause
Met en pause Sceneform, ce qui met en pause le thread de rendu.
|
long statique |
reclaimReleasedResources()
Libère les ressources de rendu prêtes à la récupération de mémoire
Appel de chaque image pour recueillir les ressources inutilisées. |
void |
Reprendre
Reprendre Sceneform, qui reprend le thread de rendu
|
void |
setAnimationTimeTransformer(SceneView.AnimationTimeTransformer animationTimeTransformer)
Pour contrôler la vitesse de lecture des animations, le client
SceneView peut fournir une fonction permettant de renvoyer l'heure afin de mettre à jour l'heure globale du curseur de l'animation. |
void |
setBackground(arrière-plan dessinable)
Définissez l'arrière-plan sur un
Drawable donné ou supprimez-le. |
void |
startMirroringToSurface(Surface surface, int gauche, int bas, int width, int height)
Pour capturer le contenu de cette vue, désignez une
Surface sur laquelle cette SceneView doit être mise en miroir. |
void |
stopMirroringToSurface(Surface Surface)
Une fois la capture terminée, appelez cette méthode pour arrêter la mise en miroir de SceneView sur la valeur
Surface spécifiée. |
Méthodes héritées
void |
shippingDraw(Canvas arg0)
|
void |
draw(args Canvas)
|
booléen |
gatherTransparentRegion(arg)
|
Support de surface |
getHolder
|
Contrôle de la surface |
getSurfaceControl()
|
void |
onAttachedToWindow()
|
void |
onDetachedFromWindow()
|
void |
onmeasure(int arg0, int arg1)
|
void |
onWindowvisibilitéChanged(int arg0)
|
void |
setSecure(arg booléen)
|
void |
setvisibilité (int arg0)
|
void |
setZOrderMediaOverlay(arg0 booléen)
|
void |
setZOrderOnTop(arg. booléen 0)
|
void | |
void | |
void | |
void | |
void | |
void |
addOnAttachStateChangeListener(arg.OnAttachStateChangeListener)
|
void |
addOnLayoutChangeListener(arg.OnLayoutChangeListener)
|
void |
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void | |
ViewPropertyAnimator |
animate()
|
void |
announceForAccessibility(CharSéquence arg0)
|
void |
autofill(Saisie automatique de la valeur)
|
void |
autofill(SparseArray<AutofillValue> arg0)
|
booléen |
awaken ScrollBars(int arg0, booléen arg1)
|
booléen |
awaken ScrollBars(int arg0)
|
booléen |
awaken ScrollBars()
|
void |
bringToFront()
|
void |
buildDrawingCache(arg0 booléen)
|
void |
buildDrawingCache()
|
void |
buildLayer().
|
booléen |
callOnClick()
|
booléen |
canSolveLayoutDirection()
|
booléen |
canSolveTextAlignment()
|
booléen |
canSolveTextDirection()
|
booléen |
canScrollHorizontally(int arg0)
|
booléen |
canScrollVertally(int arg0)
|
dernière valeur |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
dernière valeur |
cancelPendingInputEvents()
|
booléen |
checkInputConnectionProxy(arg0 de l'affichage)
|
void |
clearAnimation()
|
void |
clearFocus()
|
int statique |
combinemeasuredStates(int arg0, int arg1)
|
int |
computeHorizontalScrollExtent()
|
int |
computeHorizontalScrollOffset()
|
int |
computeHorizontalScrollRange()
|
void |
computeScroll()
|
Encarts sur fenêtre | |
int |
computeVertical ScrollExtent().
|
int |
computeVertical ScrollOffset()
|
int |
computeVertical ScrollRange()
|
AccessibilityNodeInfo |
createAccessibilityNodeInfo()
|
void |
createContextMenu(ContextMenu arg0)
|
void |
destroyDrawingCache()
|
Encarts sur fenêtre |
shippingApplyWindowInsets(WindowInsets arg0)
|
booléen |
shippingCapturedPointerEvent(argument MotionEvent)
|
void |
shippingConfigurationChanged(arg0 de la configuration)
|
void |
shippingDisplayHint(int arg0)
|
booléen |
shippingDragEvent(DragEvent arg0)
|
void |
shippingDraw(Canvas arg0)
|
void |
shippingDrawableHotspotChanged(arg arg0, float arg1)
|
void |
shippingFinishTemporaryDetach()
|
booléen |
shippingGenericFocusedEvent (MotionEvent arg0)
|
booléen |
shippingGenericMotionEvent(MotionEvent arg0)
|
booléen |
shippingGenericPointerEvent (arg: MotionEvent)
|
booléen |
shippingHoverEvent (MotionEvent arg0)
|
booléen |
shippingKeyEvent(KeyEvent arg0)
|
booléen |
shippingKeyEventPreIme(KeyEvent arg0)
|
booléen |
shippingKeyShortcutEvent(KeyEvent argument0)
|
booléen |
deliveryNestedFling(float arg0, float arg1, boolean arg2)
|
booléen |
shippingNestedPreFling(float arg0, float arg1)
|
booléen |
shippingNestedPrePerformAccessibilityAction(int arg0, Bundle arg1)
|
booléen |
shippingNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3)
|
booléen |
shippingNestedScroll(int arg0, int arg1, int arg2, int arg3, int[] arg4)
|
void |
shippingPointerCaptureChanged(arg0 booléen)
|
booléen |
shippingPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
shippingFourni : Structure automatique(ViewStructure arg0, int arg1)
|
void |
shippingDeliverStructure(ViewStructure arg0)
|
void | |
void | |
void |
shippingSetActivated(arg0 booléen)
|
void |
shippingSetPressed (arg booléen)
|
void |
shippingSetSelected(arg booléen)
|
void |
shippingStartTemporaryDetach()
|
void |
shippingSystemUiVisibilitéChanged (int arg0)
|
booléen |
shippingTouchEvent (MotionEvent arg0)
|
booléen |
shippingTrackballEvent(argEventEvent)
|
booléen |
deliveryUnhandledMove(View arg0, int arg1)
|
void |
shippingvisibilitéChanged(View arg0, int arg1)
|
void |
shippingWindowFocusChanged(valeur booléenne : 0)
|
void |
shippingWindowSystemUiVisiblityChanged(int arg0)
|
void |
shippingWindowVisibilitéChanged(int arg0)
|
void |
draw(args Canvas)
|
void |
drawableHotspotChanged(arg arg0, float arg1)
|
void |
drawableStateChanged()
|
Afficher |
findFocus()
|
final <T étend la vue View> T |
findViewById(int arg0)
|
final <T étend la vue View> T |
findViewWithTag(Object arg0)
|
void | |
booléen |
fitSystemWindows(Rect arg0)
|
Afficher |
focusSearch(int arg0)
|
void |
forceHas Chevauchement (argument booléen 0)
|
void |
forceLayout
|
int statique |
generateViewId()
|
Séquence de chants |
getAccessibilityClassName()
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
int |
getAccessibilityLiveRegion()
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider()
|
Séquence de chants |
getAccessibilityPaneTitle()
|
int |
getAccessibilityTraversalAfter()
|
int |
getAccessibilityTraversalBefore()
|
float |
getAlpha
|
Animation |
getAnimation()
|
Matrice |
getAnimationMatrix()
|
IBinder |
getApplicationWindowToken()
|
entier[] |
getAttributeResolutionStack(int arg0)
|
Map<Integer, Integer> |
getAttributeSourceResourceMap()
|
Chaîne[] |
getAutofillHints()
|
final automatiquement ID |
getAutofillId()
|
int |
getTypeType()
|
Valeur de saisie automatique |
getAutofillValue()
|
Dessinable |
getBackground()
|
Mode de fusion |
getBackgroundTintCombineMode()
|
ColorStateList |
getBackgroundTintList()
|
Porter Duff.Mode |
getBackgroundTintMode().
|
int |
getBaseline
|
entier int |
getBottom()
|
float |
getBottomFadingEdgeStrength()
|
int |
getBottomPaddingOffset()
|
float |
getCameraDistance()
|
booléen |
getClipBounds(argument Rect)
|
Rect |
getClipBounds()
|
booléen final |
getClipToOutline()
|
final ContentCaptureSession |
getContentCaptureSession()
|
Séquence de chants |
getContentDescription().
|
Contexte final |
getContext()
|
ContextMenu.ContextMenuInfo |
getContextMenuInfo().
|
booléen final |
getDefaultFocushighlightEnabled()
|
int statique |
getDefaultSize(int arg0, int arg1)
|
Écran |
getDisplay
|
entier int[] |
getDrawableState()
|
Carte de débit |
getDrawingCache()
|
Carte de débit |
getDrawingCache(arg0 booléen)
|
int |
getDrawingCacheBackgroundColor()
|
int |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect, argument 0)
|
long |
getDrawingTime
|
float |
getElevation()
|
int |
getExplicitStyle()
|
booléen |
getFilterTouchesQuandObscured()
|
booléen |
getFitsSystemWindows()
|
int |
getFocusable()
|
ArrayList<Afficher> |
getFocusables(int arg0)
|
void |
getFocusedRect(arg = Rect)
|
Dessinable |
getForeground()
|
int |
getForegroundGravity()
|
Mode de fusion |
getForegroundTintCombineMode()
|
ColorStateList |
getForegroundTintList()
|
Porter Duff.Mode |
getForegroundTintMode()
|
booléen final |
getGlobalVisibleRect(argument Rect)
|
booléen | |
Gestionnaire |
getHandler
|
booléen final |
getHas Chevaling()
|
entier int |
getHeight ()
|
void |
getHitRect(Rect, arg0)
|
int |
getHorizontalFadingEdgeLength()
|
int |
getHorizontal ScrollbarHeight().
|
Dessinable |
getHorizontalScrollbarThumbDrawable()
|
Dessinable |
getHorizontalScrollbarTrackDrawable()
|
int |
getId()
|
int |
getImportantForAccessibility().
|
int |
getImportantForAutofill
|
booléen |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
int |
getLabelFor()
|
int |
getLayerType()
|
int |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams().
|
entier int |
getLeft()
|
float |
getLeftFadingEdgeStrength()
|
int |
getLeftPaddingOffset()
|
booléen final |
getLocalVisibleRect(Rect, argument0)
|
void |
getLocationInSurface(int[] arg0)
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
Matrice |
getMatrix
|
entier int |
getmeasuredHeight().
|
entier int |
getmeasuredHeightAndState()
|
entier int |
getmeasuredState()
|
entier int |
getmeasuredWidth()
|
entier int |
getmeasuredWidthAndState()
|
int |
getMinimumHeight()
|
int |
getMinimumWidth()
|
int |
텔ClusterForwardId()
|
int |
fin de l'annonce()
|
int |
Demandez la priorité
|
int |
Demandez à gauche
|
int |
Demandez à l'identifiant de droite()
|
int |
tensorflowFocusUpId()
|
View.OnFocusChangeListener |
getOnFocusChangeListener()
|
int |
getOutlineAmbientShadowColor()
|
ViewOutlineProvider |
getOutlineProvider()
|
int |
getOutlineSpotShadowColor()
|
int |
getOver ScrollMode()
|
Superposition |
getOverlay()
|
int |
getPaddingBottom()
|
int |
getPaddingEnd
|
int |
getPaddingLeft()
|
int |
getPaddingDroite()
|
int |
getPaddingStart()
|
int |
getPaddingTop()
|
final ViewParent |
getParent()
|
Afficher le parent |
getParentForAccessibility().
|
float |
getPivotX()
|
float |
getPivotY()
|
Icône Pointer |
getPointerIcon()
|
Ressources |
getResources()
|
booléen final |
getRevealOnFocusHint().
|
entier int |
getdroite
|
float |
getrightFadingEdgeStrength()
|
int |
getrightPaddingOffset()
|
Afficher |
getRootView
|
Encarts sur fenêtre |
getRootWindowInsets()
|
float |
getRotation()
|
float |
getRotationX()
|
float |
getRotationY().
|
float |
getScaleX()
|
float |
getScaleY()
|
int |
get ScrollBarDefaultDelayBeforeFade()
|
int |
getScrollBarFadeDuration()
|
int |
getScrollBarSize()
|
int |
get ScrollBarStyle()
|
int |
get ScrollIndicators().
|
entier int |
getScrollX()
|
entier int |
getScrollY()
|
int |
getSolidColor().
|
int |
getSourceLayoutResId()
|
StateListAnimator |
getStateListAnimator()
|
int |
getsuggestedMinimumHeight()
|
int |
getsuggestedMinimumWidth()
|
List<Rect> |
getSystemGestureExclusionRects()
|
int |
getSystemUiVisibilité()
|
Objet |
getTag()
|
Objet |
getTag(int arg0)
|
int |
getTextAlignment()
|
int |
getTextDirection()
|
Séquence de chants |
getTooltipText()
|
entier int |
getTop()
|
float |
getTopFadingEdgeStrength()
|
int |
getTopPaddingOffset()
|
Délégué tactile |
getTouchDelegate()
|
ArrayList<Afficher> |
getTouchables()
|
float |
getTransitionAlpha()
|
String |
getTransitionName()
|
float |
getTranslationX()
|
float |
getTranslationY()
|
float |
getTranslationZ()
|
long |
getUniqueDrawingId()
|
int |
getVerticalFadingEdgeLength()
|
int |
getVerticalScrollbarPosition()
|
Dessinable |
getVertical ScrollbarThumbDrawable()
|
Dessinable |
getVertical ScrollbarTrackDrawable()
|
int |
getVertical ScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver()
|
int |
getVisibilité
|
entier int |
getWidth()
|
int |
getWindowAttachCount()
|
WindowId (ID de la fenêtre) |
getWindowId()
|
int |
getWindowSystemUiVisibilité()
|
IBinder |
getWindowToken()
|
int |
getWindowVisibilité()
|
void |
getWindowVisibleDisplayFrame(Rect arg0)
|
float |
getX()
|
float |
getY()
|
float |
getZ()
|
booléen |
hasExplicitFocusable()
|
booléen |
hasFocus()
|
booléen |
hasFocusable()
|
booléen |
hasNested ScrollingParent()
|
booléen |
hasOnClickListeners()
|
booléen |
has ChevacingTracking()
|
booléen |
hasPointerCapture()
|
booléen |
hasTransientState()
|
booléen |
hasWindowFocus()
|
Statique Afficher | |
void |
invalidate()
|
void |
invalidate(argument Rect)
|
void |
invalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(argument Drawable)
|
void |
invalidateOutline()
|
booléen |
isAccessibilityFocused()
|
booléen |
isAccessibilityTitre()
|
booléen |
isActivated()
|
booléen |
isAttachedToWindow()
|
booléen |
isClickable()
|
booléen |
isContextClickable()
|
booléen |
isDirty()
|
booléen |
isDrawingCacheEnabled().
|
booléen |
isDupliquerParentStateEnabled()
|
booléen |
isEnabled()
|
booléen final |
isFocusable()
|
booléen final |
isFocusableInTouchMode()
|
booléen |
isFocused()
|
booléen final |
isFocusedByDefault
|
booléen |
isForceDarkAllowed()
|
booléen |
isHapticFeedbackEnabled()
|
booléen |
isHardwareAccelerated()
|
booléen |
isHorizontalFadingEdgeEnabled()
|
booléen |
isHorizontal ScrollBarEnabled()
|
booléen |
isHovered()
|
booléen |
isImportantForAccessibility().
|
booléen final |
isImportantForAutofill()
|
booléen |
isInEditMode ()
|
booléen |
isInLayout
|
booléen |
isInTouchMode()
|
booléen final |
isKeyboardNavigationCluster()
|
booléen |
isLaidOut()
|
booléen |
isLayoutDirectionSolved()
|
booléen |
isLayoutRequest()
|
booléen |
isLongClickable()
|
booléen |
isNested ScrollingEnabled()
|
booléen |
isOpaque()
|
booléen |
isPaddingOffsetObligatoire()
|
booléen |
isPaddingrelative()
|
booléen |
isPivotSet()
|
booléen |
isPressed()
|
booléen |
isSaveEnabled()
|
booléen |
isSaveFromParentEnabled()
|
booléen |
isScreenReaderFocusable()
|
booléen |
isScrollContainer()
|
booléen |
isScrollbarFadingEnabled()
|
booléen |
isSelected()
|
booléen |
isShowing()
|
booléen |
isSoundEffectsEnabled()
|
booléen final |
isTimeDetached()
|
booléen |
isTextAlignmentSolved()
|
booléen |
isTextDirectionSolved()
|
booléen |
isVerticalFadingEdgeEnabled()
|
booléen |
isVertical ScrollBarEnabled()
|
booléen |
isVisibleToUserForAutofill (int arg0)
|
void |
jumpDrawablesToCurrentState()
|
Afficher |
KeyboardNavigationClusterSearch(Afficher arg0, int arg1)
|
void |
layout(int arg0, int arg1, int arg2, int arg3)
|
dernière valeur |
measure [mesure](int arg0, int arg1)
|
int[] |
mergeDrawableStates(int[] arg0, int[] arg1)
|
void |
offsetLeftAndright(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
void |
onAnimationEnd()
|
void |
onAnimationStart()
|
Encarts sur fenêtre |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onAttachedToWindow()
|
void |
onCancelPendingInputEvents()
|
booléen |
onCapturedPointerEvent(MotionEvent arg0)
|
booléen |
onCheckIsTextEditor
|
void |
onConfigurationChanged(arg. Configuration)
|
void |
onCreateContextMenu(ContextMenu arg0)
|
entier[] |
onCreateDrawableState (int arg0)
|
InputConnection (Connexion) |
onCreateInputConnection(argInfo arg0)
|
void |
onDetachedFromWindow()
|
void |
onDisplayHint(int arg0)
|
booléen |
onDragEvent(DragEvent arg0)
|
void |
onDraw(Canvas arg0)
|
void |
onDrawForeground(Canvas arg0)
|
dernière valeur |
onDrawScrollBars(arg0 de Canvas)
|
booléen |
onFilterTouchEventForSecurity(MotionEvent arg0)
|
void |
onFinishInflate()
|
void |
onFinishTemporaryDetach()
|
void |
onFocusChanged(booléen arg0, int arg1, Rect arg2)
|
booléen |
onGenericMotionEvent(MotionEvent arg0)
|
void |
onHoverChanged(arg0 booléen)
|
booléen |
onHoverEvent(MotionEvent arg0)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo arg0)
|
booléen |
onKeyDown(int arg0, KeyEvent arg1)
|
booléen |
onKeyLongPress(int arg0, KeyEvent arg1)
|
booléen |
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
booléen |
onKeyPreIme(int arg0, KeyEvent arg1)
|
booléen |
onKeyShortcut(int arg0, KeyEvent arg1)
|
booléen |
onKeyUp(int arg0, KeyEvent arg1)
|
void |
onLayout(booléen arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onmeasure(int arg0, int arg1)
|
void |
onOverScrolled(int arg0, int arg1, boolean arg2, boolean arg3)
|
void |
onPointerCaptureChange(arg booléen)
|
void |
onPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillStructure(ViewStructure arg0, int arg1)
|
void |
onProvideAutofillVirtualStructure(ViewStructure arg0, int arg1)
|
void |
onProvideStructure(ViewStructure arg0)
|
void |
onProvideVirtualStructure(ViewStructure arg0)
|
Icône Pointer |
onSolvePointerIcon(MotionEvent arg0, int arg1)
|
void |
onRestoreInstanceState(arg0 de Parcelable)
|
void |
onRtlPropertiesChanged(int arg0)
|
Parcelable (Parcelable) |
onSaveInstanceState()
|
void |
onScreenStateChanged(int arg0)
|
void |
onScrollChanged(int arg0, int arg1, int arg2, int arg3)
|
booléen |
onSetAlpha(int arg0)
|
void |
onSizeChanged(int arg0, int arg1, int arg2, int arg3)
|
void |
onStartTemporaryDetach()
|
booléen |
onTouchEvent(MotionEvent arg0)
|
booléen |
onTrackballEvent(argEvent arg0)
|
void |
onvisibilitéAggregated(argument booléen 0)
|
void |
onvisibilitéChanged(View arg0, int arg1)
|
void |
onWindowFocusChanged(boolean arg0)
|
void |
onWindowSystemUiVisibilitéChanged(int arg0)
|
void |
onWindowvisibilitéChanged(int arg0)
|
booléen |
over ScrollBy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8)
|
booléen |
performAccessibilityAction(int arg0, Bundle arg1)
|
booléen |
performClick()
|
booléen |
performContextClick(float arg0, float arg1)
|
booléen |
performContextClick()
|
booléen |
performHapticFeedback (int arg0)
|
booléen |
performHapticFeedback(int arg0, int arg1)
|
booléen |
performLongClick(float arg0, float arg1)
|
booléen |
performLongClick()
|
void |
playSoundEffect(int arg0)
|
booléen |
post(argable exécutable)
|
booléen |
postDelayed(argument exécutable, arg0 long)
|
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(argument long)
|
void |
postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateOnAnimation()
|
void |
postOnAnimation(arg0 exécutable)
|
void |
postOnAnimationDelayed(Runnable arg0, arg1 long)
|
void |
refreshDrawableState()
|
void |
releasePointerCapture()
|
booléen |
removeCallbacks(argable exécutable)
|
void |
removeOnAttachStateChangeListener(arg.OnAttachStateChangeListener)
|
void |
removeOnLayoutChangeListener(arg.OnLayoutChangeListener
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
booléen final |
requestFocus(int arg0)
|
booléen final |
requestFocus()
|
booléen |
requestFocus(int arg0, Rect arg1)
|
booléen final |
requestFocusFromTouch()
|
void |
requestLayout
|
void |
requestPointerCapture()
|
booléen |
requestRectangleOnScreen(Rect, argument0)
|
booléen |
requestRectangleOnScreen(Rect arg0, boolean arg1)
|
dernière valeur |
requestUnBufferedDispatch (arg0 de MotionEvent)
|
final <T étend la vue View> T |
requireViewById(int arg0)
|
void |
resetPivot
|
int statique |
resolveSize(int arg0, int arg1)
|
int statique |
resolveSizeAndState(int arg0, int arg1, int arg2)
|
booléen |
restoreDefaultFocus()
|
void | |
dernière valeur |
saveAttributeDataForStyleable(Context arg0, int[] arg1, AttributeSet arg2, TypedArray arg3, int arg4, int arg5)
|
void | |
void | |
void |
scrollBy(int arg0, int arg1)
|
void |
scrollTo(int arg0, int arg1)
|
void |
sendAccessibilityEvent(int arg0)
|
void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
void |
setAccessibilityDelegate(Argument View.AccessibilityDelegate)
|
void |
setAccessibilityTitre(arg0 booléen)
|
void |
setAccessibilityLiveRegion(int arg0)
|
void |
setAccessibilityPaneTitle(arghar)
|
void |
setAccessibilityTraversalAfter(int arg0)
|
void |
setAccessibilityTraversalBefore(int arg0)
|
void |
setActivated(arg0 booléen)
|
void |
setAlpha(float arg0)
|
void |
setAnimation(argation arg0)
|
void |
setAnimationMatrix(Matrix arg0)
|
void |
setAutofillHints(Chaîne... arg0)
|
void |
setAutofillId(Saisie automatique arg0)
|
void |
setBackground(arguable drawable)
|
void |
setBackgroundColor(int arg0)
|
void |
setBackgroundDrawable(arg0 drawable)
|
void |
setBackgroundResource(int arg0)
|
void |
setBackgroundTintCombineMode(Méthodes du mode Combine0)
|
void |
setBackgroundTintList(ColorStateList arg0)
|
void |
setBackgroundTintMode(argument PorterDuff.Mode)
|
dernière valeur |
setBottom(int arg0)
|
void |
setCameraDistance(float arg0)
|
void |
setClickable(arg0 booléen)
|
void |
setClipBounds(argument Rect)
|
void |
setClipToOutline(arg. booléen 0)
|
void |
setContentCaptureSession(ContentCaptureSession, arg0)
|
void |
setContentDescription(CharSéquence arg0)
|
void |
setContextClickable(arg0 booléen)
|
void |
setDefaultFocushighlightEnabled(arg0 booléen)
|
void |
setDrawingCacheBackgroundColor(int arg0)
|
void |
setDrawingCacheEnabled(argument booléen 0)
|
void |
setDrawingCacheQuality(int arg0)
|
void |
set DuplicateParentStateEnabled(arg booléen)
|
void |
setElevation(float arg0)
|
void |
setEnabled(arg0 booléen)
|
void |
setFadingEdgeLength(int arg0)
|
void |
setFilterTouchesQuandObscured(arg0 booléen)
|
void |
setFitsSystemWindows(arg0 booléen)
|
void |
setFocusable(arg0 booléen)
|
void |
setFocusable(int arg0)
|
void |
setFocusableInTouchMode(valeur booléenne : 0)
|
void |
setFocusedByDefault(arg0 booléen)
|
void |
setForceDarkAllowed(arg0 booléen)
|
void |
setForeground(drawable arg0)
|
void |
setForegroundGravity(int arg0)
|
void |
setForegroundTintMergeMode(argMode Combine0)
|
void |
setForegroundTintList(ColorStateList arg0)
|
void |
setForegroundTintMode(PorterDuff.Mode, arg0)
|
void |
setHapticFeedbackEnabled(argument booléen 0)
|
void |
setHasTransientState(arg booléen)
|
void |
setHorizontalFadingEdgeEnabled(arg0 booléen)
|
void |
setHorizontalScrollBarEnabled(arg. booléen 0)
|
void |
setHorizontal ScrollbarThumbDrawable(arg0 drawable)
|
void |
setHorizontal ScrollbarTrackDrawable(arguable Drawable)
|
void |
setHovered(arg0 booléen)
|
void |
setId (int arg0)
|
void |
setImportantForAccessibility(int arg0)
|
void |
setImportantForAutofill(int arg0)
|
void |
setKeepScreenOn(arg0 booléen)
|
void |
setKeyboardNavigationCluster(arg0 booléen)
|
void |
setLabelFor(int arg0)
|
void |
setLayerPaint(argument Paint)
|
void |
setLayerType(int arg0, Paint arg1)
|
void |
setLayoutDirection(int arg0)
|
void |
setLayoutParams(ViewGroup.LayoutParams arg0)
|
dernière valeur |
setLeft(int arg0)
|
dernière valeur |
setLeftTop RightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable(arg0 booléen)
|
dernière valeur |
setmeasuredDimension(int arg0, int arg1)
|
void |
setMinimumHeight(int arg0)
|
void |
setMinimumWidth(int arg0)
|
void |
setNested ScrollingEnabled(arg0 booléen)
|
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(arg.OnClickListener arg0)
|
void |
setOnContextClickListener(View.OnContextClickListener arg0)
|
void |
setOnCreateContextMenuListener(arg.OnCreateContextMenuListener)
|
void |
setOnDragListener(arg. View.OnDragListener)
|
void |
setOnFocusChangeListener(arg.OnFocusChangeListener) arg0
|
void |
setOnGenericMotionListener(arg.OnGenericMotionListener)
|
void |
setOnHoverListener(arg. View.OnHoverListener)
|
void |
setOnKeyListener(arg.OnKeyListener)
|
void |
setOnLongClickListener(arg0View.OnLongClickListener)
|
void |
setOn ScrollChangeListener(View.On ScrollChangeListener)
|
void |
setOnSystemUiVisibilitéChangeListener(arg0View.OnSystemUiVisibilitéChangeListener)
|
void |
setOnTouchListener(View.OnTouchListener arg0)
|
void |
setOutlineEnvironmentShadowColor(int arg0)
|
void |
setOutlineProvider(arg0 de ViewOutlineProvider)
|
void |
setOutlineSpotShadowColor(int arg0)
|
void |
setOver ScrollMode(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(arg_float0)
|
void |
setPointerIcon(PointerIcon arg0)
|
void |
setPressed(arg booléen)
|
dernière valeur |
setRevealOnFocusHint(arg0 booléen)
|
dernière valeur |
setright(int arg0)
|
void |
setRotation(float arg0)
|
void |
setRotationX(float arg0)
|
void |
setRotationY(arg_float0)
|
void |
setSaveEnabled(arg0 booléen)
|
void |
setSaveFromParentEnabled(arg. booléen 0)
|
void |
setScaleX(arg float0)
|
void |
setScaleY(arg float0)
|
void |
setScreenReaderFocusable(arg0 booléen)
|
void |
set ScrollBarDefaultDelayBeforeFade(int arg0)
|
void |
setScrollBarFadeDuration(int arg0)
|
void |
setscrollBarSize(int arg0)
|
void |
setScrollBarStyle(int arg0)
|
void |
setscrollContainer(arg0 booléen)
|
void |
setScrollIndicators(int arg0, int arg1)
|
void |
set ScrollIndicators(int arg0)
|
void |
setScrollX(int arg0)
|
void |
setScrollY(int arg0)
|
void |
setScrollbarFadingEnabled(arg0 booléen)
|
void |
setSelected(arg booléen)
|
void |
setSoundEffectsEnabled(arg. booléen 0)
|
void |
setStateListAnimator(argStateAnimator arg0)
|
void | |
void |
setSystemUiVisibilité (int arg0)
|
void |
setTag(int arg0, Object arg1)
|
void |
setTag(argument Object)
|
void |
setTextAlignment(int arg0)
|
void |
setTextDirection(int arg0)
|
void |
setTooltipText(CharSéquence arg0)
|
dernière valeur |
setTop(int arg0)
|
void |
setTouchDelegate(TouchDelegate arg0)
|
void |
setTransitionAlpha(float arg0)
|
dernière valeur |
set TransitionName (Chaîne arg0)
|
void |
setTransitionVisibilité(int arg0)
|
void |
setTranslationX(arg. flottante 0)
|
void |
setTranslationY(arg. flottant)
|
void |
setTranslationZ(float arg0)
|
void |
setVerticalFadingEdgeEnabled(arg0 booléen)
|
void |
setVerticalScrollBarEnabled(arg0 booléen)
|
void |
setVertical ScrollbarPosition(int arg0)
|
void |
setVerticalScrollbarThumbDrawable(arg0 drawable)
|
void |
setVerticalScrollbarTrackDrawable(arg0 de Drawable)
|
void |
setvisibilité (int arg0)
|
void |
setWillNotCacheDessin(arg0 booléen)
|
void |
setWillNotDraw(arg0 booléen)
|
void |
setX(float arg0)
|
void |
setY (float arg0)
|
void |
setZ(float arg0)
|
booléen |
showContextMenu()
|
booléen |
showContextMenu(float arg0, float arg1)
|
Action Mode |
startActionMode(ActionMode.Callback arg0, int arg1)
|
Action Mode |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(Animation arg0)
|
booléen final | |
booléen final | |
booléen |
startNested Scroll(int arg0)
|
void |
stopNested Scroll()
|
String |
toString()
|
void |
transformMatrixToGlobal(argx Matrix)
|
void |
transformMatrixToLocal(matrice arg0)
|
void | |
void |
unscheduleDrawable(argument Drawable)
|
dernière valeur |
updateDragShadow(View.DragShadowBuilder arg0)
|
booléen |
verifyDrawable(Drawable arg0)
|
booléen |
willNotCacheDrawing()
|
booléen |
willNotDraw()
|
élément abstrait nul |
invalidateDrawable(argument Drawable)
|
élément abstrait nul | |
élément abstrait nul |
élément abstrait nul |
sendAccessibilityEvent(int arg0)
|
élément abstrait nul |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
élément abstrait nul |
doFrame(argument long)
|
Constructeurs publics
public SceneView (contexte Context)
Construit un objet SceneView et l'associe à un contexte Android.
Paramètres
context | le contexte Android à utiliser |
---|
Voir également
public SceneView (Contexte Context, Attribut Set)
Construit un objet SceneView et l'associe à un contexte Android.
Paramètres
context | le contexte Android à utiliser |
---|---|
attrs | Android AttributeSet à associer |
Méthodes publiques
public void destroy ()
Obligatoire pour quitter Sceneform.
Généralement appelé à partir de onDestroy().
public static void destroyAllResources ()
Libère immédiatement toutes les ressources de rendu, même lorsqu'elles sont utilisées.
Utilisez cette option si aucune autre image ne doit être affichée dans cette scène ou dans une autre, et que la mémoire doit être libérée immédiatement.
public void enableDebug (valeur booléenne)
Si cette option est activée, plusieurs visualisations sont disponibles pour le débogage.
Paramètres
activer | True pour activer les visualisations de débogage, false pour le désactiver. |
---|
public booleanisDebugEnabled()
Indique si le débogage est activé pour cette vue.
public void pause ()
Met en pause Sceneform, ce qui met en pause le thread de rendu.
Généralement appelé à partir de onPause().
public static long reclaimReleasedResources ()
Libère les ressources de rendu prêtes à la récupération de mémoire
Appel de chaque image pour recueillir les ressources inutilisées. Peut être appelé manuellement pour libérer les ressources après l'arrêt du rendu.
Renvoie
- Nombre de ressources actuellement utilisées
public void Resume ()
Reprendre Sceneform, qui reprend le thread de rendu
Généralement appelé à partir de onResume().
Génère
Exception de l'appareil photo non disponible |
---|
public void setAnimationTimeTransformer (SceneView.AnimationTimeTransformer animationTimeTransformer)
Pour contrôler la vitesse de lecture des animations, le client SceneView
peut fournir une fonction permettant de renvoyer l'heure afin de mettre à jour l'heure globale du curseur de l'animation. Notez que les heures renvoyées doivent augmenter de façon monotone.
Paramètres
animationTimeTransformer | Transformation à appliquer aux nano-temps de rendu générés par Choreographer pour générer le temps de mise à jour de l'animation. Notez que l'implémentation par défaut utilise le temps Choreographer non transformé. En cas de substitution pendant la lecture, les temps renvoyés doivent augmenter de façon monétaire par rapport aux valeurs précédentes (à savoir les valeurs Choreographer ). Vous pouvez utiliser l'heure nano d'entrée pour vous assurer que les heures renvoyées ne diminuent jamais.
|
---|
public void setBackground (Arrière-plan Drawable)
Définissez l'arrière-plan sur un Drawable
donné ou supprimez-le. Si l'arrière-plan est un ColorDrawable
, la couleur d'arrière-plan de Scene
est définie sur getColor()
(la valeur alpha de la couleur est ignorée). Sinon, le comportement par défaut est setBackground(Drawable)
.
Paramètres
arrière-plan |
---|
public void startMirroringToSurface (Surface Surface, int gauche, int bas, int width, int height)
Pour capturer le contenu de cette vue, désignez une Surface
sur laquelle cette SceneView doit être mise en miroir. Utilisez getSurface()
, createInputSurface()
ou createPersistentInputSurface()
pour obtenir la surface d'entrée pour l'enregistrement. Cette opération entraîne des coûts de performances de rendu et ne doit être définie que lors de la capture de cette vue. Pour arrêter le rendu supplémentaire, appelez stopMirroringToSurface.
Paramètres
Surface | Surface sur laquelle la mise en miroir de la scène doit être effectuée. |
---|---|
gauche | le bord gauche du rectangle dans lequel la vue doit être mise en miroir sur la surface. |
bas | le bord inférieur du rectangle dans lequel la vue doit être mise en miroir sur la surface. |
largeur | Largeur du rectangle dans lequel la mise en miroir de la scène doit se faire sur la surface. |
hauteur | Hauteur du rectangle dans lequel la mise en miroir de la scène doit se faire sur la surface. |