公開類別 SceneView
已知的直接子類別
|
用於管理轉譯和場景互動的 Sceneform SurfaceView。
巢狀類別
SceneView.AnimationTimeTransformer | 定義從 Choreographer 時間到動畫時間的轉換。 |
繼承的常數
來自 android.view.View 類別
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 | VIEW_LOG_TAG | |
int | VISIBLE |
沿用欄位
來自 android.view.View 類別
公開靜態 Property<View、Float> | ALPHA | |
受保護的靜態最終 int[] | EMPTY_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_FOCused_SELECTED_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_FOCused_SELECTED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_FOCused_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_FOCused_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_SELECTED_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_SELECTED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_STATE_SET | |
受保護的靜態最終 int[] | ENABLED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | FOCused_SELECTED_STATE_SET | |
受保護的靜態最終 int[] | FOCused_SELECTED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | FOCused_STATE_SET | |
受保護的靜態最終 int[] | FOCused_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_FOCused_SELECTED_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_FOCused_SELECTED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_FOCused_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_SELECTED_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_SELECTED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_ENABLED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_FOCused_SELECTED_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_FOCused_SELECTED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_FOCused_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_SELECTED_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_SELECTED_WINDOW_FOCused_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_STATE_SET | |
受保護的靜態最終 int[] | PRESSED_WINDOW_FOCused_STATE_SET | |
公開靜態 Property<View、Float> | ROTATION | |
公開靜態 Property <View、Float> | ROTATION_X | |
公開靜態 Property<View、Float> | ROTATION_Y | |
公開靜態 Property <View、Float> | SCALE_X | |
公開靜態 Property<View、Float> | SCALE_Y | |
受保護的靜態最終 int[] | SELECTED_STATE_SET | |
受保護的靜態最終 int[] | SELECTED_WINDOW_FOCused_STATE_SET | |
公開靜態 Property <View、Float> | TRANSLATION_X | |
公開靜態 Property<View、Float> | TRANSLATION_Y | |
公開靜態 Property<View、Float> | TRANSLATION_Z | |
受保護的靜態最終 int[] | WINDOW_FOCused_STATE_SET | |
公開靜態 Property<View、Float> | X | |
公開靜態 Property<View、Float> | 是 | |
公開靜態 Property<View、Float> | Z |
公用建構函式
公用方法
void |
delete()
必須提供場景才能退出場景。
|
static void |
deleteAllResources()
立即釋出所有轉譯資源,即使在使用中也一樣。
|
void |
enableDebug(布林值啟用)
啟用後,會提供各種偵錯的視覺化圖表。
|
場景 |
getScene()
傳回由這個檢視畫面建立的場景。
|
布林 |
isDebugEnabled()
指出這個檢視畫面是否已啟用偵錯功能。
|
布林 |
onTouchEvent(MotionEventMotionEvent)
|
void |
pause()
暫停場景,暫停轉譯執行緒。
|
靜態 |
reclaimReleasedResources()
發布可用於垃圾收集的轉譯資源
呼叫每個頁框來收集未使用的資源。 |
void |
resume()
用於繼續顯示算繪的場景。
|
void |
setAnimationTimeTransformer(SceneView.AnimationTimeTransformer AnimationTime 轉換工具)
如要控制動畫播放速率,
SceneView 客戶可以提供函式,以便傳回更新全域動畫遊標時間的時間。 |
void | |
void |
startMirroringToSurface(Surface Surface, int left, int Under, int width, int height)
如要擷取這個檢視畫面的內容,請指定一個應建立在這個 SceneView 鏡像的
Surface 。 |
void |
沿用的方法
來自 android.view.SurfaceView 類別
void |
dispatchDraw(Canvas arg0)
|
void |
draw(Canvas arg0)
|
布林 |
gatherTransparentRegion(區域 arg0)
|
SurfaceHolder |
getHolder()
|
SurfaceControl |
getSurfaceControl()
|
void |
onAttachedToWindow()
|
void |
onDetachedFromWindow()
|
void |
onMeasure(int arg0, int arg1)
|
void |
onWindowVisibilityChanged(int arg0)
|
void |
setSecure(布林值 arg0)
|
void |
setVisibility (int arg0)
|
void |
setZOrderMediaOverlay (布林值 arg0)
|
void |
setZOrderOnTop(布林值 arg0)
|
來自 android.view.View 類別
void | |
void | |
void | |
void | |
void | |
void |
addOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
addOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void | |
ViewPropertyAnimator |
animate()
|
void |
notificationForAccessibility (CharSequence arg0)
|
void |
autofill(AutofillValue arg0)
|
void |
autofill(SparseArray<AutofillValue> arg0)
|
布林 |
awakenScrollBars(整數 arg0、布林值 arg1)
|
布林 |
awakenScrollBars (整數 arg0)
|
布林 |
awakenScrollBars
|
void |
bringToFront()
|
void |
buildDrawingCache(布林值 arg0)
|
void |
buildDrawingCache()
|
void |
buildLayer()
|
布林 |
callOnClick()
|
布林 |
canResolveLayoutDirection()
|
布林 |
canResolveTextAlignment()
|
布林 |
canResolveTextDirection (())
|
布林 |
canScrollHorizontally(整數 arg0)
|
布林 |
canScrollVertically(整數 arg)
|
Final void |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
Final void |
cancelPendingInputEvents()
|
布林 |
checkInputConnectionProxy(查看 arg0)
|
void |
clearAnimation()
|
void |
clearFocus()
|
靜態 int |
combineMeasuredStates(int arg0, int arg1)
|
整數 |
computeHorizontalScrollExtent()
|
整數 |
computeHorizontalScrollOffset()
|
整數 |
computeHorizontalScrollRange()
|
void |
computeScroll()
|
WindowInsets | |
整數 |
computeVerticalScrollExtent()
|
整數 |
computeVerticalScrollOffset()
|
整數 |
computeVerticalScrollRange()
|
AccessibilityNodeInfo |
createAccessibilityNodeInfo()
|
void |
createContextMenu(ContextMenu arg0)
|
void |
deleteDrawingCache()
|
WindowInsets |
dispatchApplyWindowInsets(WindowInsets arg0)
|
布林 |
dispatchCapturedPointerEvent (MotionEvent arg0)
|
void |
dispatchConfigurationChanged (設定 arg0)
|
void |
dispatchDisplayHint(int arg0)
|
布林 |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDraw(Canvas arg0)
|
void |
dispatchDrawableHotspotChanged (float arg0, float arg1)
|
void |
dispatchFinish 臨時 Detach
|
布林 |
dispatchGenericFocusedEvent (MotionEvent arg0)
|
布林 |
dispatchGenericMotionEvent(MotionEvent arg0)
|
布林 |
dispatchGenericPointerEvent (MotionEvent arg0)
|
布林 |
dispatchHoverEvent(MotionEvent arg0)
|
布林 |
dispatchKeyEvent (KeyEvent arg0)
|
布林 |
dispatchKeyEventPreIme(KeyEvent arg0)
|
布林 |
dispatchKeyShortcutEvent (KeyEvent arg0)
|
布林 |
dispatchNestedFling (float arg0、float arg1、布林值 arg2)
|
布林 |
dispatchNestedPreFling (float arg0、float arg1)
|
布林 |
dispatchNestedPrePerformAccessibilityAction(int arg0, Bundle arg1)
|
布林 |
dispatchNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3)
|
布林 |
dispatchNestedScroll(int arg0, int arg1, int arg2, int arg3, int[] arg4)
|
void |
dispatchPointerCaptureChanged(布林值 arg0)
|
布林 |
dispatchPopulateAccessibilityEvent (AccessibilityEvent arg0)
|
void |
dispatchProvideAutofillStructure (ViewStructure arg0、int arg1)
|
void |
dispatchProvideStructure(ViewStructure arg0)
|
void | |
void | |
void |
dispatchSetActivated (布林值 arg0)
|
void |
dispatchSet Pressed(布林值 arg0)
|
void |
dispatchSetSelected(布林值 arg0)
|
void |
dispatchStartTemporaryDetach()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
布林 |
dispatchTouchEvent(MotionEvent arg0)
|
布林 |
dispatchTrackballEvent (MotionEvent arg0)
|
布林 |
dispatchUnhandledMove(查看 arg0、int arg1)
|
void |
dispatchVisibilityChanged(View arg0, int arg1)
|
void |
dispatchWindowFocusChanged(布林值 arg0)
|
void |
dispatchWindowSystemUiVisiblityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
draw(Canvas arg0)
|
void |
drawableHotspotChanged(float arg0, float arg1)
|
void |
drawableStateChanged()
|
檢視畫面 |
findFocus()
|
最終 <lt;T 延伸了 檢視& t; T |
findViewById(int arg0)
|
最終 <lt;T 延伸了 檢視& t; T |
findViewWithTag(物件 arg0)
|
void | |
布林 |
fitSystemWindows(Rect arg0)
|
檢視畫面 |
focusSearch(int arg0)
|
void |
forceHasOverlappingrender(布林值 arg0)
|
void |
forceLayout()
|
靜態 int |
generateViewId()
|
CharSequence |
getAccessibilityClassName()
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
整數 |
getAccessibilityLiveRegion()
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider()
|
CharSequence |
getAccessibilityPaneTitle()
|
整數 |
getAccessibilityTraversalAfter()
|
整數 |
getAccessibilityTraversalbefore()
|
浮點值 |
getAlpha()
|
動畫 |
getAnimation()
|
矩陣 |
getAnimationMatrix()
|
IBinder |
getApplicationWindowToken()
|
int[] |
getAttributeResolutionStack(int arg0)
|
Map<Integer、Integer> |
getAttributeSourceResourceMap()
|
字串 [] |
getAutofillHints()
|
final AutofillId |
getAutofillId()
|
整數 |
getAutofillType()
|
AutofillValue |
getAutofillValue()
|
可繪項目 |
getBackground()
|
BlendMode |
getBackgroundTintBlendMode()
|
ColorStateList |
getBackgroundTintList()
|
PorterDuff.Mode |
getBackgroundTintMode()
|
整數 |
getBaseline()
|
final int |
getBottom()
|
浮點值 |
getBottomFadingEdgeStrength()
|
整數 |
getBottomPaddingOffset()
|
浮點值 |
getCameraDistance()
|
布林 |
getClipBounds(Rect arg0)
|
矩形 |
getClipBounds()
|
最終布林值 |
getClipToOutline()
|
finalContentCaptureSession |
getContentCaptureSession()
|
CharSequence |
getContentDescription()
|
最終 情境 |
getContext()
|
ContextMenu.ContextMenuInfo |
getContextMenuInfo()
|
最終布林值 |
getDefaultFocushighlightEnabled()
|
靜態 int |
getDefaultSize(int arg0, int arg1)
|
顯示 |
getDisplay()
|
final int[] |
getDrawableState()
|
點陣圖 |
getDrawingCache()
|
點陣圖 |
getDrawingCache(布林值 arg0)
|
整數 |
getDrawingCacheBackgroundColor()
|
整數 |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect arg0)
|
長 |
getDrawingTime()
|
浮點值 |
getElevation()
|
整數 |
getExplicitStyle()
|
布林 |
getFilterTouchesWhenObscured()
|
布林 |
getFitsSystemWindows()
|
整數 |
getFocusable()
|
ArrayList<View> |
getFocusables (int arg0)
|
void |
getFocusedRect(Rect arg0)
|
可繪項目 |
getForeground()
|
整數 |
getForegroundGravity()
|
BlendMode |
getForegroundTintBlendMode()
|
ColorStateList |
getForegroundTintList()
|
PorterDuff.Mode |
getForegroundTintMode()
|
最終布林值 |
getGlobalVisibleRect(Rect arg0)
|
布林 | |
處理常式 |
getHandler()
|
最終布林值 |
getHasOverlappingrender()
|
final int |
getHeight()
|
void |
getHitRect(Rect arg0)
|
整數 |
getHorizontalFadingEdgeLength()
|
整數 |
getHorizontalScrollbarHeight()
|
可繪項目 |
getHorizontalScrollbarThumbDrawable()
|
可繪項目 |
getHorizontalScrollbarTrackDrawable()
|
整數 |
getId()
|
整數 |
get 重要 ForAccessibility()
|
整數 |
get 重要注意事項 ForAutofill()
|
布林 |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
整數 |
getLabelFor()
|
整數 |
getLayerType()
|
整數 |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams()
|
final int |
getLeft()
|
浮點值 |
getLeftFadingEdgeStrength()
|
整數 |
getLeftPaddingOffset()
|
最終布林值 |
getLocalVisibleRect(Rect arg0)
|
void |
getLocationInSurface(int[] arg0)
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
矩陣 |
getMatrix()
|
final int |
getMeasuredHeight()
|
final int |
getMeasuredHeightAndState()
|
final int |
getMeasuredState()
|
final int |
getMeasuredWidth()
|
final int |
getMeasuredWidthAndState()
|
整數 |
getMinimumHeight()
|
整數 |
getMinimumWidth()
|
整數 |
getNextClusterForwardId()
|
整數 |
getNextFocusDownId()
|
整數 |
getNextFocusForwardId()
|
整數 |
getNextFocusLeftId()
|
整數 |
getNextFocusRightId()
|
整數 |
getNextFocusUpId()
|
View.OnFocusChangeListener |
getOnFocusChangeListener()
|
整數 |
getOutlineAmbientShadowColor()
|
ViewOutlineProvider |
getOutlineProvider()
|
整數 |
getOutlineSpotShadowColor()
|
整數 |
getOverScrollMode()
|
ViewOverlay |
getOverlay()
|
整數 |
getPaddingBottom()
|
整數 |
getPaddingEnd()
|
整數 |
getPaddingLeft()
|
整數 |
getPaddingRight()
|
整數 |
getPaddingStart()
|
整數 |
getPaddingTop()
|
最終 ViewParent |
getParent()
|
ViewParent |
getParentForAccessibility() 屬性
|
浮點值 |
getPivotX()
|
浮點值 |
getPivotY()
|
Pointer 圖示 |
getPointerIcon()
|
資源 |
getResources()
|
最終布林值 |
getRevealOnFocusHint()
|
final int |
getRight()
|
浮點值 |
getRightFadingEdgeStrength()
|
整數 |
getRightPaddingOffset()
|
檢視畫面 |
getRootView()
|
WindowInsets |
getRootWindowInsets()
|
浮點值 |
getRotation()
|
浮點值 |
getRotationX()
|
浮點值 |
getRotationY()
|
浮點值 |
getScaleX()
|
浮點值 |
getScaleY()
|
整數 |
getScrollBarDefaultDelayBeforeFade()
|
整數 |
getScrollBarFadeDuration()
|
整數 |
getScrollBarSize()
|
整數 |
getScrollBarStyle()
|
整數 |
getScrollIndicators()
|
final int |
getScrollX()
|
final int |
getScrollY()
|
整數 |
getSolidColor()
|
整數 |
getSourceLayoutResId
|
StateListAnimator |
getStateListAnimator()
|
整數 |
getSuggestedMinimumHeight()
|
整數 |
getSuggestedMinimumWidth()
|
List<Rect> |
getSystemGestureExclusionRects()
|
整數 |
getSystemUiVisibility()
|
物件 |
getTag()
|
物件 |
getTag (int arg0)
|
整數 |
getTextAlignment()
|
整數 |
getTextDirection()
|
CharSequence |
getTooltipText()
|
final int |
getTop()
|
浮點值 |
getTopFadingEdgeStrength()
|
整數 |
getTopPaddingOffset()
|
TouchDelegate |
getTouchDelegate()
|
ArrayList<View> |
getTouchables()
|
浮點值 |
getTransitionAlpha()
|
字串 |
getTransitionName()
|
浮點值 |
getTranslationX()
|
浮點值 |
getTranslationY()
|
浮點值 |
getTranslationZ()
|
長 |
getUniqueDrawingId()
|
整數 |
getVerticalFadingEdgeLength()
|
整數 |
getVerticalScrollbarPosition()
|
可繪項目 |
getVerticalScrollbarThumbDrawable()
|
可繪項目 |
getVerticalScrollbarTrackDrawable()
|
整數 |
getVerticalScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver()
|
整數 |
getVisibility()
|
final int |
getWidth()
|
整數 |
getWindowAttachCount()
|
WindowId |
getWindowId()
|
整數 |
getWindowSystemUiVisibility()
|
IBinder |
getWindowToken()
|
整數 |
getWindowVisibility()
|
void |
getWindowVisibleDisplayFrame(Rect arg0)
|
浮點值 |
getX()
|
浮點值 |
getY()
|
浮點值 |
getZ()
|
布林 |
hasExplicitFocusable()
|
布林 |
hasFocus()
|
布林 |
hasFocusable()
|
布林 |
hasNestedScrollingParent()
|
布林 |
hasOnClickListeners()
|
布林 |
hasOverlappingrender()
|
布林 |
hasPointerCapture()
|
布林 |
hasTransientState()
|
布林 |
hasWindowFocus()
|
靜態檢視 | |
void |
invalidate()
|
void |
invalidate(矩形 arg0)
|
void |
invalidate (int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(可繪項目 arg0)
|
void |
invalidateOutline()
|
布林 |
isAccessibilityFocused()
|
布林 |
isAccessibilityHeading()
|
布林 |
isActivated()
|
布林 |
isAttachedToWindow()
|
布林 |
isClickable()
|
布林 |
isContextClickable()
|
布林 |
isDirty()
|
布林 |
isDrawingCacheEnabled()
|
布林 |
is 重複的 ParentStateEnabled()
|
布林 |
isEnabled()
|
最終布林值 |
isFocusable()
|
最終布林值 |
isFocusableInTouchMode()
|
布林 |
isFocused()
|
最終布林值 |
isFocusedByDefault()
|
布林 |
isForceDarkAllowed()
|
布林 |
isHapticfeedbackEnabled()
|
布林 |
isHardwareAccelerated()
|
布林 |
isHorizontalFadingEdgeEnabled()
|
布林 |
isHorizontalScrollBarEnabled()
|
布林 |
isHovered()
|
布林 |
is 重要事項 ForAccessibility()
|
最終布林值 |
is 重要事項 ForAutofill()
|
布林 |
isInEditMode()
|
布林 |
isInLayout()
|
布林 |
isInTouchMode()
|
最終布林值 |
isKeyboardNavigationCluster()
|
布林 |
isLaidOut()
|
布林 |
isLayoutDirectionResolved()
|
布林 |
isLayoutRequested()
|
布林 |
isLongClickable()
|
布林 |
isNestedScrollingEnabled()
|
布林 |
isOpaque()
|
布林 |
isPaddingOffsetRequired()
|
布林 |
isPAddingRelative()
|
布林 |
isPivotSet()
|
布林 |
isPressed()
|
布林 |
isSaveEnabled()
|
布林 |
isSaveFromParentEnabled()
|
布林 |
isScreenReaderFocusable()
|
布林 |
isScrollContainer()
|
布林 |
isScrollbarFadingEnabled()
|
布林 |
isSelected()
|
布林 |
isShown()
|
布林 |
isSoundEffectsEnabled()
|
最終布林值 |
isTemporarilyDetached()
|
布林 |
isTextAlignmentResolved()
|
布林 |
isTextDirectionResolved()
|
布林 |
isVerticalFadingEdgeEnabled()
|
布林 |
isVerticalScrollBarEnabled()
|
布林 |
isVisibleToUserForAutofill (int arg0)
|
void |
jumpDrawablesToCurrentState()
|
檢視畫面 |
KeyboardNavigationClusterSearch(View arg0, int arg1)
|
void |
layout(int arg0, int arg1, int arg2, int arg3)
|
Final void |
measure(int arg0, int arg1)
|
static int[] |
mergeDrawableStates(int[] arg0, int[] arg1)
|
void |
offsetLeftAndRight(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
void |
onAnimationEnd()
|
void |
onAnimationStart()
|
WindowInsets |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onAttachedToWindow()
|
void |
onCancelPendingInputEvents()
|
布林 |
onCapturedPointerEvent(MotionEvent arg0)
|
布林 |
onCheckIsTextEditor()
|
void |
onConfigurationChanged (設定 arg0)
|
void |
onCreateContextMenu(ContextMenu arg0)
|
int[] |
onCreateDrawableState(int arg0)
|
InputConnection |
onCreateInputConnection(EditorInfo arg0)
|
void |
onDetachedFromWindow()
|
void |
onDisplayHint(int arg0)
|
布林 |
onDragEvent(DragEvent arg0)
|
void |
onDraw(Canvas arg0)
|
void |
onDrawForeground(Canvas arg0)
|
Final void |
onDrawScrollBars(Canvas arg0)
|
布林 |
onFilterTouchEventForSecurity (MotionEvent arg0)
|
void |
onFinishInflate()
|
void |
onFinish 臨時 Detach
|
void |
onFocusChanged(布林值 arg0, int arg1, Rect arg2)
|
布林 |
onGeneralMotionEvent(MotionEvent arg0)
|
void |
onHoverChanged(布林值 arg0)
|
布林 |
onHoverEvent(MotionEvent arg0)
|
void |
onInitializeAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo arg0)
|
布林 |
onKeyDown (int arg0、KeyEvent arg1)
|
布林 |
onKeyLongPress(int arg0, KeyEvent arg1)
|
布林 |
onKeyMultiple(int arg0、int arg1、KeyEvent arg2)
|
布林 |
onKeyPreIme(int arg0, KeyEvent arg1)
|
布林 |
onKeyShortcut(int arg0、KeyEvent arg1)
|
布林 |
onKeyUp(int arg0, KeyEvent arg1)
|
void |
onLayout(布林值 arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onMeasure(int arg0, int arg1)
|
void |
onOverScrolled (整數 arg0、int arg1、布林值 arg2、布林值 arg3)
|
void |
onPointerCaptureChange (布林值 arg0)
|
void |
onPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillStructure(ViewStructure arg0、int arg1)
|
void |
onProvideAutofillVirtualStructure(ViewStructure arg0、int arg1)
|
void |
onProvideStructure (ViewStructure arg0)
|
void |
onProvideVirtualStructure (ViewArchitecture arg0)
|
Pointer 圖示 | |
void |
onRestoreInstanceState(Parcelable arg0)
|
void |
onRtlPropertiesChanged(int arg0)
|
Parcelable |
onSaveInstanceState()
|
void |
onScreenStateChanged(整數 arg0)
|
void |
onScrollChanged(int arg0, int arg1, int arg2, int arg3)
|
布林 |
onSetAlpha(整數 arg0)
|
void |
onSizeChanged(int arg0, int arg1, int arg2, int arg3)
|
void |
onStartTemporaryDetach
|
布林 |
onTouchEvent(MotionEvent arg0)
|
布林 |
onTrackballEvent(MotionEvent arg0)
|
void |
onVisibilityAggregated(布林值 arg0)
|
void |
onVisibilityChanged(View arg0, int arg1)
|
void |
onWindowFocusChanged (布林值 arg0)
|
void |
onWindowSystemUiVisibilityChanged(int arg0)
|
void |
onWindowVisibilityChanged(int arg0)
|
布林 |
overScrollBy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, 布林值 arg8)
|
布林 |
performanceAccessibilityAction(int arg0、Bundle arg1)
|
布林 |
performanceClick()
|
布林 |
performanceContextClick(float arg0, float arg1)
|
布林 |
performanceContextClick()
|
布林 |
performanceHapticfeedback(整數 arg0)
|
布林 |
performanceHapticFeedback(int arg0, int arg1)
|
布林 |
performanceLongClick(float arg0, float arg1)
|
布林 |
performanceLongClick()
|
void |
playSoundEffect(int arg0)
|
布林 |
post(Runnable arg0)
|
布林 |
postDelayed(Runnable arg0、long arg1)
|
void |
postInvalidate()
|
void |
postInvalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateDelayed(long arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
postInvalidateDelayed (長 arg0)
|
void |
postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateOnAnimation()
|
void |
postOnAnimation(Runnable arg0)
|
void |
postOnAnimationDelayed(Runnable arg0, long arg1)
|
void |
refreshDrawableState()
|
void |
releasePointerCapture()
|
布林 |
removeCallback(可執行 arg0)
|
void |
removeOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
最終布林值 |
requestFocus(int arg0)
|
最終布林值 |
requestFocus()
|
布林 |
requestFocus(int arg0、Rect arg1)
|
最終布林值 |
requestFocusFromTouch()
|
void |
requestLayout()
|
void |
requestPointerCapture()
|
布林 |
requestRectangleOnScreen(Rect arg0)
|
布林 |
requestRectangleOnScreen (Rect arg0、布林值 arg1)
|
Final void |
requestUnbufferedDispatch(MotionEvent arg0)
|
最終 <lt;T 延伸了 檢視& t; T |
requireViewById(int arg0)
|
void |
resetPivot()
|
靜態 int |
ResolveSize (int arg0, int arg1)
|
靜態 int |
ResolveSizeAndState(int arg0, int arg1, int arg2)
|
布林 |
restoreDefaultFocus()
|
void | |
Final void |
saveAttributeDataForStyleable(Context arg0, int[] arg1, AttributeSet arg2, TypedArray arg3, int arg4, int arg5)
|
void | |
void | |
void |
scrollBy(int arg0, int arg1)
|
void |
scrollTo(int arg0, int arg1)
|
void |
sendAccessibilityEvent(int arg0)
|
void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
void |
setAccessibilityDelegate(View.AccessibilityDelegate arg0)
|
void |
setAccessibilityHeading(布林值 arg0)
|
void |
setAccessibilityLiveRegion(int arg0)
|
void |
setAccessibilityPaneTitle (CharSequence arg0)
|
void |
setAccessibilityTraversalAfter (int arg0)
|
void |
setAccessibilityTraversalBefore(int arg0)
|
void |
setActivated (布林值 arg0)
|
void |
setAlpha (浮點 arg0)
|
void |
setAnimation(動畫 arg0)
|
void |
setAnimationMatrix (Matrix arg0)
|
void |
setAutofillHints (字串... arg0)
|
void |
setAutofillId (AutofillId arg0)
|
void |
setBackground(Drawable arg0)
|
void |
setBackgroundColor(int arg0)
|
void |
setBackgroundDrawable(可繪項目arg0)
|
void |
setBackgroundResource(int arg0)
|
void |
setBackgroundTintBlendMode(BlendMode arg0)
|
void |
setBackgroundTintList(ColorStateList arg0)
|
void |
setBackgroundTintMode(PorterDuff.Mode arg0)
|
Final void |
setBottom (int arg0)
|
void |
setCameraDistance(float arg0)
|
void |
setClickable (布林值 arg0)
|
void |
setClipBounds(Rect arg0)
|
void |
setClipToOutline(布林值 arg0)
|
void |
setContentCaptureSession(ContentCaptureSession arg0)
|
void |
setContentDescription(CharSequence arg0)
|
void |
setContextClickable (布林值 arg0)
|
void |
setDefaultFocushighlightEnabled (布林值 arg0)
|
void |
setDrawingCacheBackgroundColor(int arg0)
|
void |
setDrawingCacheEnabled (布林值 arg0)
|
void |
setDrawingCacheQuality(int arg0)
|
void |
setRepeatParentStateEnabled (布林值 arg0)
|
void |
setElevation(浮點 arg0)
|
void |
setEnabled (布林值 arg0)
|
void |
setFadingEdgeLength(int arg0)
|
void |
setFilterTouchesWhenObscured (布林值 arg0)
|
void |
setFitsSystemWindows(布林值 arg0)
|
void |
setFocusable (布林值 arg0)
|
void |
setFocusable(int arg0)
|
void |
setFocusableInTouchMode (布林值 arg0)
|
void |
setFocusedByDefault (布林值 arg0)
|
void |
setForceDarkAllowed(布林值 arg0)
|
void |
setForeground(可繪項目arg0)
|
void |
setForegroundGravity(int arg0)
|
void |
setForegroundTintBlendMode(BlendMode arg0)
|
void |
setForegroundTintList(ColorStateList arg0)
|
void |
setForegroundTintMode(PorterDuff.Mode arg0)
|
void |
setHapticfeedbackEnabled(布林值 arg0)
|
void |
setHasTransientState(布林值 arg0)
|
void |
setHorizontalFadingEdgeEnabled(布林值 arg0)
|
void |
setHorizontalScrollBarEnabled (布林值 arg0)
|
void |
setHorizontalScrollbarThumbDrawable(可繪項目arg0)
|
void |
setHorizontalScrollbarTrackDrawable (可繪項目 arg0)
|
void |
setHovered (布林值 arg0)
|
void |
setId (int arg0)
|
void |
set 重要 ForAccessibility(int arg0)
|
void |
set 重要 ForAutofill(int arg0)
|
void |
setKeepScreenOn (布林值 arg0)
|
void |
setKeyboardNavigationCluster(布林值 arg0)
|
void |
setLabelFor(int arg0)
|
void |
setLayerPaint(Paint arg0)
|
void |
setLayerType (int arg0、Paint arg1)
|
void |
setLayoutDirection (int arg0)
|
void |
setLayoutParams(ViewGroup.LayoutParams arg0)
|
Final void |
setLeft(整數 arg0)
|
Final void |
setLeftTopRightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable (布林值 arg0)
|
Final void |
setMeasuredDimensions(int arg0、int arg1)
|
void |
setMinimumHeight (整數 arg)
|
void |
setMinimumWidth(int arg0)
|
void |
setNestedScrollingEnabled(布林值 arg0)
|
void |
setNextClusterForwardId(int arg0)
|
void |
setNextFocusDownId(int arg0)
|
void |
setNextFocusForwardId (整數 arg0)
|
void |
setNextFocusLeftId(整數 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 |
setOnGeneralMotionListener(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(整數 arg0)
|
void |
setOverScrollMode (整數 arg0)
|
void |
setPadding(int arg0、int arg1、int arg2、int arg3)
|
void |
setPaddingRelative(int arg0, int arg1, int arg2, int arg3)
|
void |
setPivotX(浮點 arg0)
|
void |
setPivotY(浮點 arg0)
|
void |
setPointerIcon (PointerIcon arg0)
|
void |
setPressed(布林值 arg0)
|
Final void |
setRevealOnFocusHint(布林值 arg0)
|
Final void |
setRight (int arg0)
|
void |
setRotation(浮點 arg0)
|
void |
setRotationX(浮點 arg0)
|
void |
setRotationY(浮點 arg0)
|
void |
setSaveEnabled(布林值 arg0)
|
void |
setSaveFromParentEnabled (布林值 arg0)
|
void |
setScaleX (浮點 arg0)
|
void |
setScaleY(浮點 arg0)
|
void |
setScreenReaderFocusable (布林值 arg0)
|
void |
setScrollBarDefaultDelayBeforeFade(整數 arg0)
|
void |
setScrollBarFadeDuration (整數 arg0)
|
void |
setScrollBarSize(整數 arg0)
|
void |
setScrollBarStyle (整數 arg0)
|
void |
setScrollContainer(布林值 arg0)
|
void |
setScrollIndicators(int arg0、int arg1)
|
void |
setScrollIndicators (int arg0)
|
void |
setScrollX (整數 arg0)
|
void |
setScrollY (整數 arg0)
|
void |
setScrollbarFadingEnabled(布林值 arg0)
|
void |
setSelected (布林值 arg0)
|
void |
setSoundEffectsEnabled (布林值 arg0)
|
void |
setStateListAnimator(StateListAnimator arg0)
|
void | |
void |
setSystemUiVisibility(int arg0)
|
void |
setTag(int arg0、Object arg1)
|
void |
setTag(物件 arg0)
|
void |
setTextAlignment(整數 arg0)
|
void |
setTextDirection (整數 arg0)
|
void |
setTooltipText(CharSequence arg0)
|
Final void |
setTop (整數 arg0)
|
void |
setTouchDelegate(TouchDelegate arg0)
|
void |
setTransitionAlpha(浮點 arg0)
|
Final void |
setTransitionName(字串 arg0)
|
void |
setTransitionVisibility(int arg0)
|
void |
setTranslationX(浮點 arg0)
|
void |
setTranslationY(float arg0)
|
void |
setTranslationZ (float arg0)
|
void |
setVerticalFadingEdgeEnabled(布林值 arg0)
|
void |
setVerticalScrollBarEnabled(布林值 arg0)
|
void |
setVerticalScrollbarPosition(整數 arg0)
|
void |
setVerticalScrollbarThumbDrawable(可繪項目 arg0)
|
void |
setVerticalScrollbarTrackDrawable (可繪項目 arg0)
|
void |
setVisibility (int arg0)
|
void |
setWillNotCacheDrawing (布林值 arg0)
|
void |
setWillNotDraw(布林值 arg0)
|
void |
setX(浮點 arg0)
|
void |
setY(浮點 arg0)
|
void |
setZ (浮點 arg0)
|
布林 |
showContextMenu()
|
布林 |
showContextMenu(float arg0、float arg1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0、int arg1)
|
ActionMode |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(動畫 arg0)
|
最終布林值 | |
最終布林值 | |
布林 |
startNestedScroll(整數 arg0)
|
void |
stopNestedScroll()
|
字串 |
toString()
|
void |
transformMatrixToGlobal(Matrix arg0)
|
void |
transformMatrixToLocal(Matrix arg0)
|
void | |
void |
unscheduleDrawable (可繪項目 arg0)
|
Final void |
updateDragShadow (View.DragShadowBuilder arg0)
|
布林 |
verifyDrawable (可繪項目 arg0)
|
布林 |
willNotCacheDrawing()
|
布林 |
willNotDraw()
|
從 java.lang.Object 類別
來自介面
android.graphics.drawable.Drawable.Callback
來自介面
android.view.KeyEvent.Callback
來自介面 android.view.accessibility.AccessibilityEventSource
抽象 void |
sendAccessibilityEvent(int arg0)
|
抽象 void |
sendAccessibilityEventUnchecked(AccessibilityEvent arg0)
|
來自介面
android.view.Choreographer.FrameCallback
抽象 void |
doFrame(long arg0)
|
公用建構函式
public SceneView (結構定義結構定義、AttributeSet Attrs)
建構 SceneView 物件,並將其繫結至 Android Context。
參數
context | 要使用的 Android 結構定義 |
---|---|
attrs | 與 Android 屬性集 |
公用方法
public delete ()
必須提供場景才能退出場景。
通常從 onDestroy() 呼叫。
public static void deleteAllResources ()
立即釋出所有轉譯資源,即使在使用中也一樣。
如果這個情境或任何其他內容不再顯示,請使用這個選項,且必須立即釋放記憶體。
public enableDebug (布林值啟用)
啟用後,會提供各種偵錯的視覺化圖表。
參數
啟用 | 設為 True 可啟用偵錯視覺化功能,設為 False 可停用。 |
---|
公用布林值 isDebugEnabled ()
指出這個檢視畫面是否已啟用偵錯功能。
public pause ()
暫停場景,暫停轉譯執行緒。
通常從 onPause() 呼叫。
public static long reclaimReleasedResources()
發布可用於垃圾收集的轉譯資源
呼叫每個頁框來收集未使用的資源。算繪停止後,系統可能會手動呼叫來釋出資源。
傳回
- 目前使用的資源數量
public resume ()
繼續算繪執行緒。
通常從 onContinue() 呼叫。
擲回
相機例外狀況 |
---|
public setAnimationTimeTransformer (SceneView.AnimationTimeTransformer AnimationTimeTransformer)
如要控制動畫播放速率,SceneView
客戶可以提供函式,以便傳回更新全域動畫遊標時間的時間。請注意,傳回的時間必須單調遞增。
參數
動畫時間轉換器 | 套用至從 Choreographer 產生的 Nano 影格時間的轉換,以產生動畫更新時間。請注意,預設實作會使用 Choreographer 未轉換時間。如果在播放期間遭到覆寫,傳回的時間仍須與傳回的值從先前值中遞增 (即 Choreographer 值)。輸入 nano 時間可用於確保傳回的時間不會減少。 |
---|
public setBackground (可繪項目背景)
將背景設為指定的 Drawable
,或者移除背景。如果背景是 ColorDrawable
,則 Scene
的背景顏色設定為 getColor()
(系統會忽略顏色的 Alpha)。否則,預設值為 setBackground(Drawable)
的行為。
參數
background |
---|
public void startMirroringToSurface (Surface 表面、int 左、Int 底部、整數寬度、整數高度)
如要擷取這個檢視畫面的內容,請指定一個應建立在這個 SceneView 鏡像的 Surface
。使用 getSurface()
、createInputSurface()
或 createPersistentInputSurface()
取得錄製的輸入途徑。這會產生算繪效能費用,且必須在擷取這個檢視表時設定。如要停止額外轉譯,請呼叫 stopMirroringToSurface。
參數
surface | 算繪後場景應鏡射的介面。 |
---|---|
左側 | 矩形的左邊緣,應在其上鏡像呈現檢視畫面。 |
下半局 | 矩形的底部邊緣,應在其上鏡像呈現檢視畫面。 |
寬度 | SceneView 應在其鏡像上繪製的矩形寬度。 |
高度 | 途徑中應呈現 SceneView 的矩形高度, |