ViewDebug
open class ViewDebug
kotlin.Any | |
↳ | android.view.ViewDebug |
Various debugging/tracing tools related to View
and the view hierarchy.
Summary
Nested classes | |
---|---|
This annotation can be used to mark fields and methods to be dumped when the view is captured. |
|
This annotation can be used to mark fields and methods to be dumped by the view server. |
|
Defines a mapping from a flag to a String. |
|
Defines a mapping from an int value to a String. |
|
Constants | |
---|---|
static Boolean | |
static Boolean |
Public constructors | |
---|---|
Public methods | |
---|---|
open static Unit |
dumpCapturedView(tag: String!, view: Any!) Dump view info for id based instrument test generation (and possibly further data analysis). |
open static Unit |
startHierarchyTracing(prefix: String!, view: View!) |
open static Unit |
startRecyclerTracing(prefix: String!, view: View!) |
open static Unit | |
open static Unit | |
open static Unit |
trace(view: View!, type: ViewDebug.HierarchyTraceType!) |
open static Unit |
trace(view: View!, type: ViewDebug.RecyclerTraceType!, vararg parameters: Int) |
Constants
TRACE_HIERARCHY
static valTRACE_HIERARCHY: Boolean
Deprecated: This flag is now unused
Value: false
Public constructors
ViewDebug
ViewDebug()
Public methods
dumpCapturedView
open static fun dumpCapturedView(
tag: String!,
view: Any!
): Unit
Dump view info for id based instrument test generation (and possibly further data analysis). The results are dumped to the log.
Parameters | |
---|---|
tag |
String!: for log |
view |
Any!: for dump |
startHierarchyTracing
open static funstartHierarchyTracing(
prefix: String!,
view: View!
): Unit
Deprecated: This method is now unused and invoking it is a no-op
startRecyclerTracing
open static funstartRecyclerTracing(
prefix: String!,
view: View!
): Unit
Deprecated: This method is now unused and invoking it is a no-op
stopHierarchyTracing
open static funstopHierarchyTracing(): Unit
Deprecated: This method is now unused and invoking it is a no-op
stopRecyclerTracing
open static funstopRecyclerTracing(): Unit
Deprecated: This method is now unused and invoking it is a no-op
trace
open static funtrace(
view: View!,
type: ViewDebug.HierarchyTraceType!
): Unit
Deprecated: This method is now unused and invoking it is a no-op
trace
open static funtrace(
view: View!,
type: ViewDebug.RecyclerTraceType!,
vararg parameters: Int
): Unit
Deprecated: This method is now unused and invoking it is a no-op