Một SurfaceView tích hợp với ARCore và hiển thị một cảnh.
Hằng số kế thừa
int | TIẾP CẬN_TRỰC TIẾP_REGION_ASSERTIVE | |
int | ACCESSIBILITY_LIVE_REGION_NONE | |
int | TIẾP CẬN_LIVE_REGION_POLITE | |
int | AutoFILL_FLAG_INCLUDE_NOT_INFORMATION_VIEWS | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_DATE | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_DAY | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_MONTH | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_EXPIRE_YEAR | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_NUMBER | |
Chuỗi | AutoFILL_HINT_CREDIT_CARD_MANAGE_CODE | |
Chuỗi | AutoFILL_HINT_EMAIL_ADDRESS | |
Chuỗi | AutoFILL_HINT_NAME | |
Chuỗi | AutoFILL_HINT_VERIFICATION | |
Chuỗi | AutoFILL_HINT_PHONE | |
Chuỗi | AutoFILL_HINT_POSTAL_ADDRESS | |
Chuỗi | AutoFILL_HINT_POSTAL_CODE | |
Chuỗi | AutoFILL_HINT_TÊN | |
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 | DRAW__REDIRECT_CHẤT_ĐƯỢC_TÍCH HOẠT | |
int | DRAW__REDIRECT_CHẤT LƯỢNG CAO | |
int | VUI LÒNG_NHẤT_CHẤP_CHẤT_CHẤU_ lựa | |
int | FIND_VIEWS_WITH_CONTENT_DESCRIPTION | |
int | FIND_VIEWS_WITH_TEXT | |
int | CÓ THỂ DÙNG | |
int | FOCUSABLES_ALL | |
int | FOCUSABLES_TOTouch_MODE | |
int | FOCUSABLE_Auto | |
int | FOCUS_BACKWARD | |
int | FOCUS_DOWN | |
int | CHUYỂN ĐỔI | |
int | FOCUS_LEFT | |
int | FOCUS_RIGHT | |
int | FOCUS_UP | |
int | GONE | |
int | PHẢN HỒI HAPTIC_ĐÃ_BẬT | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | QUAN TRỌNG | |
int | INVISIBLE | |
int | GIỮ_Màn_Hình_ảnh | |
int | LAYER_TYPE_HARDWARE | |
int | LAYER_TYPE_KHÔNG | |
int | LAYER_TYPE_software | |
int | ngăn_PHÁ_GIÁ_HƯỚNG | |
int | Nguyên_BẢNG_PH_GIÁ_DẤT | |
int | Video_DIRECTION_LTR | |
int | khỏi_BẢNG_ hướng_RTL | |
int | MEASURED_HEIGHT_State_SHIFT | |
int | MEASURED_SIZE_Mask | |
int | MEASURED_State_Mask | |
int | MEASURED_State_TOO_SMALL | |
int | KHÔNG_HOẠT ĐỘNG | |
int | NO_ID | |
int | GHI ĐÈ | |
int | GHI ĐÈ | |
int | GHI ĐÈ_NỀN TẢNG | |
int | màn hình_ĐÃ_TẮT | |
int | TRẠNG_THÁI_HIỂN THỊ | |
int | SCROLLBARS_INEXTERNAL_INSET | |
int | SCROLLBOOKS_INEXTERNAL_OVERLAY | |
int | SCROLLBARS_OUTEXTERNAL_INSET | |
int | SCROLLBARS_OUTEXTERNAL_OVERLAY | |
int | SCROLLBOOK_Position_DEFAULT | |
int | SCROLLBAR_ VỊ TRÍ_LEFT | |
int | ĐĂNG KÝ | |
int | SCROLL_AXIS_HORIZONTAL | |
int | SCROLL_AXIS_NONE | |
int | SCROLL_AXIS_COLUMNS | |
int | SCROLL_INDICATOR_LEFT | |
int | SCROLL_INDICATOR_END | |
int | SCROLL_INDICATOR_LEFT | |
int | SCROLL_INDICATOR_RIGHT | |
int | SCROLL_INDICATOR_START | |
int | SCROLL_INDICATOR_TOP | |
int | ÂM THANH_ĐÃ_BẬT | |
int | TRẠNG THÁI_BẢNG_DỮ LIỆU | |
int | TRẠNG_THÁI_BẢNG_DỄ DÀNG | |
int | HIỂN THỊ_HỘP_CÁT_HỘP_CÁT | |
int | System_UI_FLAG_HIDDEN_NAVIGATION | |
int | System_UI_FLAG_IMMORSIVE | |
int | System_UI_FLAG_IMMORSIVE_STICAZ | |
int | system_UI_FLAG_ROOM_FULLSỐ MÀN HÌNH | |
int | System_UI_FLAG_ROOM_VISIT_NAVIGATION | |
int | TABLE_UI_FLAG_ROOM_STABLE | |
int | System_UI_FLAG_LIGHT_NAVIGATION_BAR | |
int | System_UI_FLAG_LIGHT_STATUS_BAR | |
int | System_UI_FLAG_FLAG_PROFILE | |
int | System_UI_FLAG_VISIBLE | |
int | System_UI_ROOM_FLAGS | |
int | VĂN BẢN_TRUNG BÌNH | |
int | TEXT_ALIGNMENT_GRAVITY | |
int | VĂN BẢN_VĂN BẢN_VĂN BẢN | |
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_ANGLE | |
int | TEXT_DIRECTION_LTR | |
int | TEXT_DIRECTION_RTL | |
Chuỗi | CHẾ ĐỘ XEM | |
int | VISIBLE |
Các trường kế thừa
public static final Thuộc tính<Chế độ xem, Float> | ALPHA | |
được bảo vệ tĩnh cuối cùng int[] | EMPTY_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_FOCUSED_SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_FOCUSED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_SELECTED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | ENABLED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | FOCUSED_SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | FOCUSED_SELECTED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | FOCUSED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_FOCUSED_SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_ENABLED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_FOCUSED_SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_FOCUSED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_SELECTED_WINDOW_FOCUSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | PRESSED_WINDOW_FOCUSED_State_SET | |
public static final Thuộc tính<Chế độ xem, Float> | XOÁ | |
public static final Thuộc tính<Chế độ xem, Float> | ROTATION_X (ROTATION_X) | |
public static final Thuộc tính<Chế độ xem, Float> | ROTATION_Y | |
public static final Thuộc tính<Chế độ xem, Float> | ĐIỀU CHỈNH_SX | |
public static final Thuộc tính<Chế độ xem, Float> | ĐIỀU CHỈNH THEO SỐ LIỆU | |
được bảo vệ tĩnh cuối cùng int[] | SELECTED_State_SET | |
được bảo vệ tĩnh cuối cùng int[] | SELECTED_WINDOW_FOCUSED_State_SET | |
public static final Thuộc tính<Chế độ xem, Float> | TRANSLATION_X | |
public static final Thuộc tính<Chế độ xem, Float> | BẢN DỊCH_PHIÊN | |
public static final Thuộc tính<Chế độ xem, Float> | TRANSLATION_Z | |
được bảo vệ tĩnh cuối cùng int[] | WINDOW_FOCUSED_State_SET | |
public static final Thuộc tính<Chế độ xem, Float> | X | |
public static final Thuộc tính<Chế độ xem, Float> | Có | |
public static final Thuộc tính<Chế độ xem, Float> | Z |
Xây dựng công cộng
ArSceneView(ngữ cảnh Context)
Tạo một đối tượng ArSceneView và liên kết đối tượng đó với một Ngữ cảnh Android.
|
|
ArSceneView(ngữ cảnh Context, AttributesSet)
Tạo một đối tượng ArSceneView và liên kết đối tượng đó với một Ngữ cảnh Android.
|
Phương thức công khai
Khung |
getArFrame()
Trả về Khung ARCore gần đây nhất nếu có.
|
int |
getCameraStreamRenderPreferences()
Nhận mức độ ưu tiên kết xuất kiểm soát thứ tự kết xuất luồng máy ảnh.
|
Trình kết xuất phẳng |
getPlaneRenderer()
Trả về PlaneRenderer, dùng để kiểm soát tính năng trực quan hóa mặt phẳng.
|
Phiên hoạt động |
getSession()
Trả về Phiên ARCore mà chế độ xem này sử dụng.
|
boolean |
isEnvironmentalHdrLightingAvailable()
Trả về true nếu máy ảnh ARCore được định cấu hình bằng Config.LightEstimationMode.ENVIRONMENTAL_HDR.
|
boolean |
isLightDirectionUpdateEnabled()
Kiểm tra xem ánh sáng mặt trời có đang được cập nhật từng khung hình hay không dựa trên số liệu ước tính về ánh sáng của công nghệ HDR của môi trường.
|
boolean | |
void |
pause()
Tạm dừng luồng kết xuất và phiên ARCore.
|
CompletableFuture<Void> | |
void |
resume()
Tiếp tục luồng kết xuất và phiên ARCore.
|
CompletableFuture<Void> |
resumeAsync(Trình thực thi Trình thực thi)
Lệnh gọi không chặn để tiếp tục luồng kết xuất và phiên ARCore trong nền
Lệnh này phải được gọi từ onResume(). |
void |
setCameraStreamRenderpriority(mức độ ưu tiên của mạng int)
Đặt mức độ ưu tiên kết xuất để kiểm soát thứ tự kết xuất luồng máy ảnh.
|
void |
setLightDirectionUpdateEnabled(boolean isLightDirectionUpdateEnabled)
Đặt hướng của ánh sáng mặt trời được tạo ra từ hệ thống chiếu sáng môi trường HDR có nên được cập nhật hay không
trên mọi khung hình.
|
void |
setLightEstimationEnabled(bật boolean)
Bật tính năng Ước tính ánh sáng dựa trên nguồn cấp dữ liệu máy ảnh.
|
void |
Các phương thức kế thừa
void |
destroy ()
Bắt buộc để thoát khỏi Cảnh.
|
khoảng trống tĩnh |
destroyAllResources()
Ngay lập tức giải phóng tất cả các tài nguyên hiển thị, ngay cả khi đang sử dụng.
|
void |
enableDebug(bật boolean)
Nếu tùy chọn này được bật, hãy cung cấp nhiều hình ảnh để gỡ lỗi.
|
Cảnh |
getScene()
Trả về Cảnh cảnh tạo bởi thành phần hiển thị này.
|
boolean |
isDebugEnabled()
Cho biết liệu tính năng gỡ lỗi đã được bật cho chế độ xem này hay chưa.
|
boolean |
onTouchEvent(MotionEvent MotionEvent)
|
void |
pause()
Tạm dừng Sceneform để tạm dừng luồng kết xuất.
|
long tĩnh |
reclaimReleasedResources()
Phát hành tài nguyên kết xuất đã sẵn sàng để thu gom rác
Gọi mọi khung để thu thập tài nguyên không sử dụng. |
void |
resume()
Tiếp tục Cảnh quan, tiếp tục luồng kết xuất.
|
void |
setAnimationTimeTransformer(SceneView.AnimationTimeTransformer animationTimeTransformer)
Để kiểm soát tốc độ phát ảnh động, khách hàng
SceneView có thể cung cấp một hàm để
trả về thời gian cập nhật thời gian của con trỏ ảnh động chung. |
void | |
void |
startStartToSurface(Surface (nền tảng), int trái, int bottom, int width, int height)
Để ghi lại nội dung của thành phần hiển thị này, hãy chỉ định một
Surface mà phản chiếu Chế độ xem này sẽ được phản chiếu. |
void |
stopThẻToSurface(Nền tảng)
Khi chụp xong, hãy gọi phương thức này để ngừng phản chiếu SceneView tới
Surface được chỉ định. |
void |
dispatchDraw(Canvas arg0)
|
void |
draw(Canvas arg0)
|
boolean |
gatherTransparentRegion(Khu vực arg0)
|
SurfaceHolder |
getHolder()
|
SurfaceControl |
getSurfaceControl()
|
void |
onAttachedToWindow()
|
void |
onDetachedFromWindow()
|
void |
onMeasure(int arg0, int arg1)
|
void |
onWindowVisibilityChanged(int arg0)
|
void |
setSecure(boolean arg0)
|
void |
setVisibility(int arg0)
|
void |
setZorderMediaOverlay(boolean arg0)
|
void |
setZorderOnTop(boolean arg0)
|
void | |
void | |
void | |
void | |
void | |
void |
addOnAttachStateChangeListener(View.OnAttachStateChangeListener arg0)
|
void |
addOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
addOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void | |
ViewPropertyAnimator |
animate()
|
void |
announceForAccessibility(CharSequence arg0)
|
void |
autofill (AutofillValue arg0)
|
void |
autofill(SparseArray<AutofillValue> arg0)
|
boolean |
awakenScrollBars(int arg0, boolean arg1)
|
boolean |
awakenScrollBars(int arg0)
|
boolean |
awakenScrollBars()
|
void |
bringToFront()
|
void |
buildDrawingCache(boolean arg0)
|
void |
buildDrawingCache()
|
void |
buildLayer()
|
boolean |
callOnClick()
|
boolean |
can resolveLayoutDirection()
|
boolean |
can resolveTextAlignment()
|
boolean |
can rồiTextDirection()
|
boolean |
canScrollHorizontally(int arg0)
|
boolean |
canScrollVertically(int arg0)
|
khoảng trống cuối cùng |
cancelDragAndDrop()
|
void |
cancelLongPress()
|
khoảng trống cuối cùng |
cancel đangInputEvents()
|
boolean |
checkInputConnectionProxy(Xem arg0)
|
void |
clearAnimation()
|
void |
clearFocus()
|
static int |
combineMeasuredStates(int arg0, int arg1)
|
int |
computeHorizontalScrollExtent()
|
int |
computeHorizontalScrollOffset()
|
int |
computeHorizontalScrollRange()
|
void |
computeScroll()
|
Cửa sổ lồng ghép | |
int |
computeVerticalScrollExtent()
|
int |
computeVerticalScrollOffset()
|
int |
computeVerticalScrollRange()
|
AccessibilityNodeInfo |
createAccessibilityNodeInfo()
|
void |
createContextMenu(ContextMenu arg0)
|
void |
destroyDrawingCache()
|
Cửa sổ lồng ghép |
dispatchApplyWindowInsets(WindowInsets arg0)
|
boolean |
dispatchCapturedPointerEvent(MotionEvent arg0)
|
void |
dispatchConfigurationChanged(Cấu hình arg0)
|
void |
dispatchDisplayHint(int arg0)
|
boolean |
dispatchDragEvent(DragEvent arg0)
|
void |
dispatchDraw(Canvas arg0)
|
void |
dispatchDrawableHotspotChanged(float arg0, float arg1)
|
void |
dispatchFinishPauseDetach ()
|
boolean |
dispatchGenericFocusedEvent(MotionEvent arg0)
|
boolean |
dispatchGenericMotionEvent(MotionEvent arg0)
|
boolean |
dispatchGenericPointerEvent(MotionEvent arg0)
|
boolean |
dispatchHoverEvent(MotionEvent arg0)
|
boolean |
dispatchKeyEvent(KeyEvent arg0)
|
boolean |
dispatchKeyEventPreIme(KeyEvent arg0)
|
boolean |
dispatchKeyShortcutEvent(KeyEvent arg0)
|
boolean |
dispatchNestedFling(float arg0, arg1, boolean arg2)
|
boolean |
dispatchNestedPreFling(float arg0, arg1 (nổi) arg1)
|
boolean |
dispatchNestedPrePerformAccessibilityAction(int arg0, Gói 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 |
dispatchAutofillAccessibilityEvent(AccessibilityEventargs)
|
void |
dispatchProvideAutofillAutofill(ViewStructure arg0, int arg1)
|
void |
dispatchProvideStructure(ViewStructure đối số)
|
void | |
void | |
void |
dispatchSetActivated (boolean arg0)
|
void |
dispatchSetpressed(boolean arg0)
|
void |
dispatchSetSelected(boolean arg0)
|
void |
dispatchStartPauseDetach ()
|
void |
dispatchSystemUiVisibilityChanged(int arg0)
|
boolean |
dispatchTouchEvent(MotionEvent arg0)
|
boolean |
dispatchTrackballEvent(MotionEvent arg0)
|
boolean |
dispatchUnhandledMove(Xem arg0, int arg1)
|
void |
dispatchVisibilityChanged(Xem arg0, int arg1)
|
void |
dispatchWindowFocusChanged(boolean arg0)
|
void |
dispatchWindowSystemUiVisiblityChanged(int arg0)
|
void |
dispatchWindowVisibilityChanged(int arg0)
|
void |
draw(Canvas arg0)
|
void |
drawableHotspotChanged(float arg0, float arg1)
|
void |
drawableStateChanged()
|
Xem |
findFocus()
|
Final <T mở rộng Xem> T |
findViewById(int arg0)
|
Final <T mở rộng Xem> T |
findViewWithTag(Đối tượng arg0)
|
void | |
boolean |
fitSystemWindows(Rect arg0)
|
Xem |
focusSearch(int arg0)
|
void |
force Hasđang kết xuất (boolean arg0)
|
void |
forceLayout()
|
static int |
generateViewId()
|
CharSequence |
getAccessibilityClassName()
|
View.AccessibilityDelegate |
getAccessibilityDelegate()
|
int |
getAccessibilityLiveRegion()
|
AccessibilityNodeProvider |
getAccessibilityNodeProvider()
|
CharSequence |
getAccessibilityPaneTitle()
|
int |
getAccessibilityTraversalAfter()
|
int |
getAccessibilityTraversalBefore()
|
số thực dấu phẩy động |
getAlpha()
|
Ảnh động |
getAnimation()
|
Ma trận |
getAnimationMatrix()
|
IBinder |
getApplicationWindowToken()
|
int[] |
getAttributeResolutionStack(int arg0)
|
Bản đồ<Số nguyên, Số nguyên> |
getAttributeSourceResourceMap()
|
Chuỗi[] |
getAutofillHints()
|
Mã tự động điền cuối cùng |
getAutofillId()
|
int |
getAutofillType()
|
Giá trị tự động điền |
getAutofillValue()
|
Tài nguyên có thể vẽ |
getBackground()
|
Chế độ trộn |
getBackgroundTintBlendMode()
|
ColorStateList |
getBackgroundTintList()
|
PorterDuff.Mode |
getBackgroundTintMode()
|
int |
getBaseline()
|
số nguyên cuối cùng |
getBottom()
|
số thực dấu phẩy động |
getBottomFadingEdgeStrength()
|
int |
getBottomPaddingOffset()
|
số thực dấu phẩy động |
getCameraDistance()
|
boolean |
getClipBounds(Rect arg0)
|
Rect |
getClipBounds()
|
boolean cuối cùng |
getClipToOutline()
|
ContentCaptureSession cuối cùng |
getContentCaptureSession()
|
CharSequence |
getContentDescription()
|
Context cuối cùng |
getContext()
|
ContextMenu.ContextMenuInfo |
getContextMenuInfo()
|
boolean cuối cùng |
getDefaultFocusHighlightEnabled()
|
static int |
getDefaultSize(int arg0, int arg1)
|
Hiển thị |
getDisplay()
|
int int[] |
getDrawableState()
|
Bitmap |
getDrawingCache()
|
Bitmap |
getDrawingCache (boolean arg0)
|
int |
getDrawingCacheBackgroundColor()
|
int |
getDrawingCacheQuality()
|
void |
getDrawingRect(Rect arg0)
|
dài |
getDrawingTime()
|
số thực dấu phẩy động |
getElevation()
|
int |
getexplicitStyle()
|
boolean |
getFilterTouchesKhihiddened()
|
boolean |
getFitsSystemWindows()
|
int |
getFocusable
|
ArrayList<Xem> |
getFocusables (int arg0)
|
void |
getFocusedRect(Rect arg0)
|
Tài nguyên có thể vẽ |
getForeground()
|
int |
getForegroundGravity()
|
Chế độ trộn |
getForegroundTintBlendMode()
|
ColorStateList |
getForegroundTintList()
|
PorterDuff.Mode |
getForegroundTintMode()
|
boolean cuối cùng |
getglobalVisibleRect(Rect arg0)
|
boolean | |
Trình xử lý |
getHandler()
|
boolean cuối cùng |
getHASđangRender()
|
số nguyên cuối cùng |
getHeight()
|
void |
getHitRect(Rect arg0)
|
int |
getHorizontalFadingEdgeLength()
|
int |
getHorizontalScrollbarHeight()
|
Tài nguyên có thể vẽ |
getHorizontalScrollbarThumbDrawable()
|
Tài nguyên có thể vẽ |
getHorizontalScrollbarTrackDrawable()
|
int |
getId()
|
int |
getimportantForAccessibility()
|
int |
getimportantForAutofill()
|
boolean |
getKeepScreenOn()
|
KeyEvent.DispatcherState |
getKeyDispatcherState()
|
int |
getLabelFor()
|
int |
getLayerType()
|
int |
getLayoutDirection()
|
ViewGroup.LayoutParams |
getLayoutParams()
|
số nguyên cuối cùng |
getLeft()
|
số thực dấu phẩy động |
getLeftFadingEdgeStrength()
|
int |
getLeftPaddingOffset()
|
boolean cuối cùng |
getLocalVisibleRect(Rect arg0)
|
void |
getLocationInSurface(int[] arg0)
|
void |
getLocationInWindow(int[] arg0)
|
void |
getLocationOnScreen(int[] arg0)
|
Ma trận |
getMatrix()
|
số nguyên cuối cùng |
getMeasuredHeight()
|
số nguyên cuối cùng |
getMeasuredHeightAndState()
|
số nguyên cuối cùng |
getMeasuredState()
|
số nguyên cuối cùng |
getMeasuredWidth()
|
số nguyên cuối cùng |
getMeasuredWidthAndState()
|
int |
getMinimumHeight()
|
int |
getMinimumWidth()
|
int |
getNextClusterFrontId()
|
int |
getNextFocusDownId()
|
int |
getNextFocusFocusId()
|
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()
|
số thực dấu phẩy động |
getPivotX()
|
số thực dấu phẩy động |
getPivotY()
|
Biểu tượng con trỏ |
getPointerIcon()
|
Tài nguyên |
getResources()
|
boolean cuối cùng |
getGetOnFocusHint()
|
số nguyên cuối cùng |
getRight ()
|
số thực dấu phẩy động |
getRightFadingEdgeStrength()
|
int |
getRightPaddingOffset()
|
Xem |
getRootView()
|
Cửa sổ lồng ghép |
getRootWindowInsets ()
|
số thực dấu phẩy động |
getRotation()
|
số thực dấu phẩy động |
getRotationX()
|
số thực dấu phẩy động |
getRotationY()
|
số thực dấu phẩy động |
getScaleX()
|
số thực dấu phẩy động |
getScaleY()
|
int |
getScrollBarDefaultDelayBeforeFade()
|
int |
getScrollBarFadeDuration()
|
int |
getScrollBarSize()
|
int |
getScrollBarStyle()
|
int |
getScrollIndicator()
|
số nguyên cuối cùng |
getScrollX()
|
số nguyên cuối cùng |
getScrollY()
|
int |
getSolidColor()
|
int |
getSourceLayoutResId()
|
StateListAnimator |
getStateListAnimator()
|
int |
getsuggestedMinimumHeight()
|
int |
getsuggestedMinimumWidth()
|
List<Rect> |
getSystemGestureExclusionRects()
|
int |
getSystemUiVisibility()
|
Đối tượng |
getTag()
|
Đối tượng |
getTag(int arg0)
|
int |
getTextAlignment()
|
int |
getTextDirection()
|
CharSequence |
getTooltipText()
|
số nguyên cuối cùng |
getTop()
|
số thực dấu phẩy động |
getTopFadingEdgeStrength()
|
int |
getTopPaddingOffset()
|
TouchDelegate |
getTouchDelegate()
|
ArrayList<Xem> |
getTouchables()
|
số thực dấu phẩy động |
getTransitionAlpha()
|
Chuỗi |
getTransitionName()
|
số thực dấu phẩy động |
getTranslationX()
|
số thực dấu phẩy động |
getTranslationY()
|
số thực dấu phẩy động |
getTranslationZ()
|
dài |
getSingleDrawingId()
|
int |
getVerticalFadingEdgeLength()
|
int |
getVerticalScrollbarPosition()
|
Tài nguyên có thể vẽ |
getVerticalScrollbarThumbDrawable()
|
Tài nguyên có thể vẽ |
getVerticalScrollbarTrackDrawable()
|
int |
getVerticalScrollbarWidth()
|
ViewTreeObserver |
getViewTreeObserver()
|
int |
getVisibility()
|
số nguyên cuối cùng |
getWidth()
|
int |
getWindowAttachCount()
|
WindowId |
getWindowId()
|
int |
getWindowSystemUiVisibility()
|
IBinder |
getWindowToken()
|
int |
getWindowVisibility()
|
void |
getWindowVisibleDisplayFrame(Rect arg0)
|
số thực dấu phẩy động |
getX()
|
số thực dấu phẩy động |
getY()
|
số thực dấu phẩy động |
getZ()
|
boolean |
hasexplicitFocusable()
|
boolean |
hasFocus()
|
boolean |
hasFocusable()
|
boolean |
hasNestedScrollingParent()
|
boolean |
hasOnClickListeners()
|
boolean |
hasđangRender()
|
boolean |
hasPointerCapture()
|
boolean |
hasTransientState()
|
boolean |
hasWindowFocus()
|
Chế độ xem tĩnh | |
void |
invalidate()
|
void |
vô hiệu hoá(Rect arg0)
|
void |
invalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
invalidateDrawable(đối tượng có thể vẽ arg0)
|
void |
invalidateOutline()
|
boolean |
isAccessibilityFocused()
|
boolean |
isAccessibilityHeader()
|
boolean |
isactivate()
|
boolean |
isAttachedToWindow()
|
boolean |
isClickable()
|
boolean |
isContextClickable()
|
boolean |
isDirty()
|
boolean |
isDrawingCacheEnabled()
|
boolean |
isduplicateParentStateEnabled()
|
boolean |
isEnabled()
|
boolean cuối cùng |
isFocusable()
|
boolean cuối cùng |
isFocusableInTouchMode()
|
boolean |
isFocused()
|
boolean cuối cùng |
isFocusedByDefault()
|
boolean |
isForceDarkAllowed()
|
boolean |
isHapticFeedbackEnabled()
|
boolean |
isHardwareAccelerated()
|
boolean |
isHorizontalFadingEdgeEnabled()
|
boolean |
isHorizontalScrollBarEnabled()
|
boolean |
isHovered()
|
boolean |
isQuan trọng cho hỗ trợ tiếp cận()
|
boolean cuối cùng |
isQuan trọng cho tự động điền()
|
boolean |
isInEditMode()
|
boolean |
isInLayout()
|
boolean |
isInTouchMode()
|
boolean cuối cùng |
isKeyboardNavigationCluster()
|
boolean |
isLaidOut()
|
boolean |
isLayoutDirectionResolved()
|
boolean |
isLayoutRequest()
|
boolean |
isLongClickable()
|
boolean |
isNestedscrollingEnabled()
|
boolean |
isOpaque()
|
boolean |
isPaddingOffsetrequired()
|
boolean |
isPaddingRelative()
|
boolean |
isPivotSet()
|
boolean |
ispressed()
|
boolean |
isSaveEnabled()
|
boolean |
isSaveFromParentEnabled()
|
boolean |
isScreenReaderFocusable()
|
boolean |
isScrollContainer()
|
boolean |
isScrollbarFadingEnabled()
|
boolean |
isSelected ()
|
boolean |
isHiển thị()
|
boolean |
isAudioEffectsEnabled()
|
boolean cuối cùng |
isPauseDetached()
|
boolean |
isTextAlignmentResolved()
|
boolean |
isTextDirectionResolved()
|
boolean |
isVerticalFadingEdgeEnabled()
|
boolean |
isVerticalScrollBarEnabled()
|
boolean |
isVisibleToUserForAutofill(int arg0)
|
void |
jumpDrawablesToCurrentState()
|
Xem |
keyboardNavigationClusterSearch(Xem arg0, int arg1)
|
void |
layout(int arg0, int arg1, int arg2, int arg3)
|
khoảng trống cuối cùng |
measure(int arg0, int arg1)
|
static int[] |
mergeDrawableStates(int[] arg0, int[] arg1)
|
void |
offsetLeftAndRight(int arg0)
|
void |
offsetTopAndBottom(int arg0)
|
void |
onAnimationEnd()
|
void |
onAnimationStart()
|
Cửa sổ lồng ghép |
onApplyWindowInsets(WindowInsets arg0)
|
void |
onAttachedToWindow()
|
void |
onCancellationPendingInputEvents()
|
boolean |
onCapturedPointerEvent(MotionEvent arg0)
|
boolean |
onCheckIsTextEditor()
|
void |
onConfigurationChanged(Config arg0)
|
void |
onCreateContextMenu(ContextMenu arg0)
|
int[] |
onCreateDrawableState(int arg0)
|
InputConnection |
onCreateInputConnection(EditorInfo arg0)
|
void |
onDetachedFromWindow()
|
void |
onDisplayHint(int arg0)
|
boolean |
onDragEvent(DragEvent arg0)
|
void |
onDraw(Canvas arg0)
|
void |
onDrawForeground(Canvas arg0)
|
khoảng trống cuối cùng |
onDrawScrollBars(Canvas arg0)
|
boolean |
onFilterTouchEventForSecurity(MotionEvent arg0)
|
void |
onFinishInflate()
|
void |
onFinishPauseDetach()
|
void |
onFocusChanged(boolean arg0, int arg1, Rect arg2)
|
boolean |
onGenericMotionEvent(MotionEvent arg0)
|
void |
onHoverChanged(boolean arg0)
|
boolean |
onHoverEvent(MotionEvent arg0)
|
void |
onInitializeAccessibilityEvent(AccessibilityEventargs)
|
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 |
onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
onMeasure(int arg0, int arg1)
|
void |
onOverScrolled (int arg0, int arg1, boolean arg2, boolean arg3)
|
void |
onPointerCaptureChange(đối số boolean 0)
|
void |
onAutofillAccessibilityEvent(AccessibilityEvent arg0)
|
void |
onProvideAutofillAutofill(ViewStructure arg0, int arg1)
|
void |
onProvideAutofillAutofillStructure (ViewStructure arg0, int arg1)
|
void |
onProvideStructure(ViewStructure đối số 0)
|
void |
onProvideVirtualVirtual (Đối số Cấu trúc View0)
|
Biểu tượng con trỏ |
on resolvePointerIcon(MotionEvent arg0, int arg1)
|
void |
onRestoreInstanceState(Parcelable arg0)
|
void |
onRtlPropertiesChanged(int arg0)
|
Theo gói |
onSaveInstanceState()
|
void |
onScreenStateChanged(int arg0)
|
void |
onScrollChanged(int arg0, int arg1, int arg2, int arg3)
|
boolean |
onSetAlpha(int arg0)
|
void |
onSizeChanged(int arg0, int arg1, int arg2, int arg3)
|
void |
onStartPauseDetach ()
|
boolean |
onTouchEvent(MotionEvent arg0)
|
boolean |
onTrackballEvent(MotionEvent arg0)
|
void |
onVisibilityAggregated(đối số boolean 0)
|
void |
onVisibilityChanged(Xem arg0, int arg1)
|
void |
onWindowFocusChanged(boolean arg0)
|
void |
onWindowSystemUiVisibilityChanged(int arg0)
|
void |
onWindowVisibilityChanged(int arg0)
|
boolean |
overScrollBy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8)
|
boolean |
performAccessibilityAction(int arg0, Bundle cho 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 |
playAudioEffect(int arg0)
|
boolean |
đăng bài(Runnable arg0)
|
boolean |
postDelayed(Tài liệu có thể chạy arg0, long arg1)
|
void |
postInvalidate()
|
void |
postInvalidate(int arg0, int arg1, int arg2, int arg3)
|
void |
postInvalidateDelayed(dài arg0, int arg1, int arg2, int arg3, int arg4)
|
void |
postInvalidateDelayed(dài 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()
|
boolean |
removeCallbacks(Runnable arg0)
|
void |
removeOnAttachStateChangeListener(View.OnAttachStateChangeListener đối số)
|
void |
removeOnLayoutChangeListener(View.OnLayoutChangeListener arg0)
|
void |
removeOnUnhandledKeyEventListener(View.OnUnhandledKeyEventListener arg0)
|
void |
requestApplyInsets()
|
void |
requestFitSystemWindows()
|
boolean cuối cùng |
requestFocus(int arg0)
|
boolean cuối cùng |
requestFocus()
|
boolean |
requestFocus(int arg0, Rect arg1)
|
boolean cuối cùng |
requestFocusFromTouch()
|
void |
requestLayout()
|
void |
requestPointerCapture()
|
boolean |
requestRectangleOnScreen(Rect arg0)
|
boolean |
requestRectangleOnScreen(Rect arg0, boolean arg1)
|
khoảng trống cuối cùng |
requestUnbufferedDispatch(MotionEvent arg0)
|
Final <T mở rộng Xem> T |
requiredViewById(int arg0)
|
void |
resetPivot()
|
static int |
resolveSize(int arg0, int arg1)
|
static int |
resolveSizeAndState (int arg0, int arg1, int arg2)
|
boolean |
restoreDefaultFocus()
|
void | |
khoảng trống cuối cùng |
saveAttributeDataForStyleable(Ngữ cảnh 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 |
sendAccessibilityEvent nghệ thuật bỏ qua(AccessibilityEvent arg0)
|
void |
setAccessibilityDelegate(View.AccessibilityDelegate arg0)
|
void |
setAccessibilityHeader(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(Chuỗi... arg0)
|
void |
setAutofillId(AutofillId arg0)
|
void |
setBackground(Tài nguyên có thể vẽ arg0)
|
void |
setBackgroundColor(int arg0)
|
void |
setBackgroundDrawable(Tài nguyên có thể vẽ arg0)
|
void |
setBackgroundResource(int arg0)
|
void |
setBackgroundTintBlendMode(BlendMode arg0)
|
void |
setBackgroundTintList(ColorStateList arg0)
|
void |
setBackgroundTintMode(PorterDuff.Mode arg0)
|
khoảng trống cuối cùng |
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 |
setFilterTouchesWhenkhied bị ẩn(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(Tài nguyên có thể vẽ 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(Đối tượng có thể vẽ arg0)
|
void |
setHorizontalScrollbarTrackDrawable(Tài nguyên có thể vẽ arg0)
|
void |
setHovered (đối số boolean 0)
|
void |
setId(int arg0)
|
void |
setQuan trọng cho tính năng hỗ trợ tiếp cận (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)
|
khoảng trống cuối cùng |
setLeft(int arg0)
|
khoảng trống cuối cùng |
setLeftTopRightBottom(int arg0, int arg1, int arg2, int arg3)
|
void |
setLongClickable(boolean arg0)
|
khoảng trống cuối cùng |
setMeasuredDimension(int arg0, int arg1)
|
void |
setMinimumHeight(int arg0)
|
void |
setMinimumWidth(int arg0)
|
void |
setNestedScrollingEnabled(boolean arg0)
|
void |
setNextClusterforwardId(int arg0)
|
void |
setNextFocusDownId(int arg0)
|
void |
setNextFocusFocusId(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(nổi arg0)
|
void |
setPointerIcon(PointerIcon arg0)
|
void |
setpressed(boolean arg0)
|
khoảng trống cuối cùng |
set rồiOnFocusHint(boolean arg0)
|
khoảng trống cuối cùng |
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(nổi 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 |
setScrollIndicator(int arg0, int arg1)
|
void |
setScrollIndicator(int arg0)
|
void |
setScrollX(int arg0)
|
void |
setScrollY(int arg0)
|
void |
setScrollbarFadingEnabled(boolean arg0)
|
void |
setSelected (đối số boolean 0)
|
void |
setAudioEffectsEnabled(boolean arg0)
|
void |
setStateListAnimator(StateListAnimator arg0)
|
void | |
void |
setSystemUiVisibility(int arg0)
|
void |
setTag(int arg0, Object cho arg1)
|
void |
setTag(Đối tượng arg0)
|
void |
setTextAlignment(int arg0)
|
void |
setTextDirection(int arg0)
|
void |
setTooltipText(CharSequence arg0)
|
khoảng trống cuối cùng |
setTop(int arg0)
|
void |
setTouchDelegate(TouchDelegate arg0)
|
void |
setTransitionAlpha(nổi arg0)
|
khoảng trống cuối cùng |
setTransitionName(Chuỗi 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(Tài nguyên có thể vẽ arg0)
|
void |
setVerticalScrollbarTrackDrawable(Drawable arg0)
|
void |
setVisibility(int arg0)
|
void |
setWillNotCacheDrawing (boolean arg0)
|
void |
setWillNotDraw(boolean arg0)
|
void |
setX(float arg0)
|
void |
setY (nổi arg0)
|
void |
setZ(float arg0)
|
boolean |
showContextMenu()
|
boolean |
showContextMenu (float arg0, float arg1)
|
ActionMode (Chế độ hành động) |
startActionMode(ActionMode.Callback arg0, int arg1)
|
ActionMode (Chế độ hành động) |
startActionMode(ActionMode.Callback arg0)
|
void |
startAnimation(Ảnh động arg0)
|
boolean cuối cùng | |
boolean cuối cùng | |
boolean |
startNestedscroll(int arg0)
|
void |
stopNestedscroll()
|
Chuỗi |
toString()
|
void |
transformMatrixToGlobal(Ma trận arg0)
|
void |
transformMatrixToLocal(Ma trận arg0)
|
void | |
void |
unscheduleDrawable(Tài nguyên có thể vẽ arg0)
|
khoảng trống cuối cùng |
updateDragShadow(View.DragShadowBuilder arg0)
|
boolean |
verifyDrawable(đối tượng có thể vẽ arg0)
|
boolean |
SẽNotCacheDrawing ()
|
boolean |
SẽNotDraw()
|
Đối tượng |
clone()
|
boolean |
equals(Đối tượng arg0)
|
void |
finalize()
|
Final Class<?> |
getClass()
|
int |
hashCode()
|
khoảng trống cuối cùng |
notifications()
|
khoảng trống cuối cùng |
notifyAll()
|
Chuỗi |
toString()
|
khoảng trống cuối cùng |
wait(long arg0, int arg1)
|
khoảng trống cuối cùng |
wait (args dài)
|
khoảng trống cuối cùng |
wait()
|
khoảng trống trừu tượng |
doFrame(đối số dài)
|
khoảng trống trừu tượng |
invalidateDrawable(đối tượng có thể vẽ arg0)
|
khoảng trống trừu tượng | |
khoảng trống trừu tượng |
khoảng trống trừu tượng |
sendAccessibilityEvent(int arg0)
|
khoảng trống trừu tượng |
sendAccessibilityEvent nghệ thuật bỏ qua(AccessibilityEvent arg0)
|
Xây dựng công cộng
công khai ArSceneView (Ngữ cảnh ngữ cảnh)
Tạo một đối tượng ArSceneView và liên kết đối tượng đó với một Ngữ cảnh Android.
Để có thể hoạt động chính xác, bạn phải gọi setupSession(Session)
.
Các tham số
bối cảnh | ngữ cảnh Android cần sử dụng |
---|
Xem thêm
công khai ArSceneView (Ngữ cảnh Ngữ cảnh, AttributesSet)
Tạo một đối tượng ArSceneView và liên kết đối tượng đó với một Ngữ cảnh Android.
Để có thể hoạt động chính xác, bạn phải gọi setupSession(Session)
.
Các tham số
bối cảnh | ngữ cảnh Android cần sử dụng |
---|---|
thuộc tính | Bộ thuộc tính Android liên kết với |
Xem thêm
Phương thức công khai
công khai Khung getArFrame ()
Trả về Khung ARCore gần đây nhất nếu có. Khung này được cập nhật ở đầu mỗi khung vẽ. Các lệnh gọi của phương thức này không được giữ lại tham chiếu đến giá trị trả về vì sẽ không hợp lệ khi sử dụng khung ARCore bắt đầu từ khung tiếp theo.
public int getCameraStreamRender sản phẩm ()
Nhận mức độ ưu tiên kết xuất kiểm soát thứ tự kết xuất luồng máy ảnh. Mức độ ưu tiên nằm trong khoảng từ 0 (hiển thị đầu tiên) đến 7 (hiển thị cuối cùng).
Giá trị mặc định là 7, bắt buộc luồng máy ảnh hiển thị cuối cùng. Cách này hiệu quả nhất để ngăn chặn tình trạng vẽ nhiều lần. Tuy nhiên, khi sử dụng một chất liệu làm lớp phủ (ví dụ: trong mẫu khuôn mặt tăng cường), bạn nên thay đổi kích thước này. Nếu không, trình bao phủ sẽ chiếm dụng luồng máy ảnh và sẽ có màu đen xuất hiện.
công khai PlaneRenderer getPlaneRenderer ()
Trả về PlaneRenderer, dùng để kiểm soát tính năng trực quan hóa mặt phẳng.
boolean công khai isEnvironmentalHdrLightingAvailable ()
Trả về true nếu máy ảnh ARCore được định cấu hình bằng Config.LightEstimationMode.ENVIRONMENTAL_HDR. Khi bạn bật chế độ chiếu sáng HDR trong môi trường, kết quả ước tính ánh sáng kết quả sẽ được áp dụng cho Scene Scene Scene.
Trả về
- true nếu tính năng chiếu sáng HDR được bật trong Sceneform vì tính năng ước tính ánh sáng ARCore HDR đang bật.
boolean công khai isLightDirectionUpdateEnabled ()
Kiểm tra xem ánh sáng mặt trời có đang được cập nhật từng khung hình hay không dựa trên số liệu ước tính về ánh sáng của công nghệ HDR của môi trường.
Trả về
- true nếu hướng của ánh sáng mặt trời được cập nhật trong mọi khung hình, false nếu không được cập nhật.
boolean công khai isLightEstimationEnabled ()
Trả về
- trả về true nếu ước tính ánh sáng được bật.
công khai khoảng trống pause ()
Tạm dừng luồng kết xuất và phiên ARCore.
Lệnh gọi này phải được gọi từ onPause().
public CompletableFuture<Void> pauseAsync (Trình thực thi)
Lệnh gọi không chặn để tạm dừng luồng kết xuất và phiên ARCore.
Lệnh này sẽ được gọi từ onPause().
Nếu pauseAsync được gọi trong khi đang tạm dừng hoặc tiếp tục, thì quá trình tạm dừng sẽ được thêm vào hàng đợi và xảy ra sau khi thao tác hiện tại hoàn tất.
Các tham số
người thi hành |
---|
Trả về
CompletableFuture
đã hoàn tất trên chuỗi chính trong thời gian tạm dừng đã hoàn tất. Di chúc trong tương lai sẽ được hoàn tất đặc biệt nếu không thể tiếp tục.
công khai khoảng trống tiếp tục ()
Tiếp tục luồng kết xuất và phiên ARCore.
Lệnh này phải được gọi từ onResume().
Gửi
Ngoại lệ máy ảnh không khả dụng | nếu không thể mở máy ảnh |
---|
public CompletableFuture<Void> resumeAsync (Bộ thực thi)
Lệnh gọi không chặn để tiếp tục luồng kết xuất và phiên ARCore trong nền
Lệnh này phải được gọi từ onResume().
Nếu được gọi trong khi đang tạm dừng hoặc tiếp tục, thì quá trình tiếp tục sẽ được đưa vào hàng đợi và xảy ra sau khi thao tác hiện tại hoàn tất.
Các tham số
người thi hành |
---|
Trả về
- CompletableFuture đã hoàn thành trên chuỗi chính sau khi tiếp tục hoàn tất. Bạn sẽ hoàn thành trong tương lai nếu không thể tiếp tục.
public void setCameraStreamRenderpriority (mức độ ưu tiên của inint)
Đặt mức độ ưu tiên kết xuất để kiểm soát thứ tự kết xuất luồng máy ảnh. Mức độ ưu tiên nằm trong khoảng từ 0 (hiển thị đầu tiên) đến 7 (hiển thị cuối cùng).
Giá trị mặc định là 7, bắt buộc luồng máy ảnh hiển thị cuối cùng. Cách này hiệu quả nhất để ngăn chặn tình trạng vẽ nhiều lần. Tuy nhiên, khi sử dụng một chất liệu làm lớp phủ (ví dụ: trong mẫu khuôn mặt tăng cường), bạn nên thay đổi kích thước này. Nếu không, trình bao phủ sẽ chiếm dụng luồng máy ảnh và sẽ có màu đen xuất hiện.
Các tham số
tuyển sinh ưu tiên |
---|
public void setLightDirectionUpdateEnabled (boolean isLightDirectionUpdateEnabled)
Đặt hướng của ánh sáng mặt trời được tạo ra từ hệ thống chiếu sáng môi trường HDR có nên được cập nhật hay không trên mọi khung hình. Nếu bạn tắt, hướng sáng sẽ được cập nhật một lần và sau đó không còn thay đổi.
Bạn có thể sử dụng tính năng này để tắt tính năng cập nhật hướng bóng khi các nội dung này gây mất tập trung hoặc không mong muốn.
Trạng thái mặc định là true, với hướng ánh sáng mặt trời được cập nhật trong mọi khung hình.
Các tham số
isLightDirectionUpdateEnabled |
---|
public void setLightEstimationEnabled (bật tính năng boolean)
Bật tính năng Ước tính ánh sáng dựa trên nguồn cấp dữ liệu máy ảnh. Màu sắc và cường độ của ánh sáng mặt trời gián tiếp sẽ được điều chỉnh theo các giá trị do công cụ ước tính ánh sáng của ARCore cung cấp. Các đối tượng Lint trong cảnh sẽ bị ảnh hưởng.
Các tham số
bật | đặt thành true để bật tính năng Ước tính ánh sáng hoặc false để sử dụng số liệu ước tính mặc định, tức là cường độ pixel là 1.0 và giá trị chỉnh màu của màu trắng (1.0, 1.0, 1.0). |
---|
public void setupSession (Phiên))
Thiết lập chế độ xem bằng Phiên thực tế tăng cường. Phương thức này phải được gọi một lần để cung cấp phiên ARCore. Phiên cần phải có để quá trình kết xuất xảy ra.
Theo dự kiến, phiên họp sẽ được định cấu hình với chế độ cập nhật là MOST_CAMERA_IMAGE. Nếu không có cấu hình này, việc cập nhật phiên ARCore có thể chặn Luồng giao diện người dùng gây ra trải nghiệm giao diện người dùng kém.
Các tham số
phiên hoạt động | phiên ARCore sử dụng cho chế độ xem này |
---|