Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 1 | <html devsite="true"> |
| 2 | <head> |
| 3 | <title>ViewDebug</title> |
| 4 | {% setvar book_path %}/reference/kotlin/dokkatest/_book.yaml{% endsetvar %} |
| 5 | {% include "_shared/_reference-head-tags.html" %} |
| 6 | </head> |
| 7 | <body> |
Tiem Song | 6f896de | 2022-11-03 14:55:52 -0700 | [diff] [blame^] | 8 | <div id="metadata-info-block"></div> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 9 | <h1>ViewDebug</h1> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 10 | <p> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 11 | <pre>class <a href="/reference/kotlin/dokkatest/platform/ViewDebug.html">ViewDebug</a></pre> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 12 | </p> |
| 13 | <hr> |
| 14 | <p>Various debugging/tracing tools related to View and the view hierarchy.</p> |
| 15 | <h2>Summary</h2> |
| 16 | <div class="devsite-table-wrapper"> |
| 17 | <table class="responsive"> |
| 18 | <thead> |
| 19 | <tr> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 20 | <th colspan="100%"><h3>Nested types</h3></th> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 21 | </tr> |
| 22 | </thead> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 23 | <tbody class="list"> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 24 | <tr> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 25 | <td width="40%"><code>@<a href="https://developer.android.com/reference/java/lang/annotation/Target.html">Target</a>(value = [ElementType.FIELD, ElementType.METHOD])<br>@<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html">Retention</a>(value = RetentionPolicy.RUNTIME)<br>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.CapturedViewProperty.html">ViewDebug.CapturedViewProperty</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 26 | <td> |
Owen Gray | f0f8583 | 2021-06-24 15:46:02 -0400 | [diff] [blame] | 27 | <p>This annotation can be used to mark fields and methods to be dumped when the view is captured.</p> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 28 | </td> |
| 29 | </tr> |
| 30 | <tr> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 31 | <td width="40%"><code>@<a href="https://developer.android.com/reference/java/lang/annotation/Target.html">Target</a>(value = [ElementType.FIELD, ElementType.METHOD])<br>@<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html">Retention</a>(value = RetentionPolicy.RUNTIME)<br>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.ExportedProperty.html">ViewDebug.ExportedProperty</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 32 | <td> |
Owen Gray | f0f8583 | 2021-06-24 15:46:02 -0400 | [diff] [blame] | 33 | <p>This annotation can be used to mark fields and methods to be dumped by the view server.</p> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 34 | </td> |
| 35 | </tr> |
| 36 | <tr> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 37 | <td width="40%"><code>@<a href="https://developer.android.com/reference/java/lang/annotation/Target.html">Target</a>(value = [ElementType.TYPE])<br>@<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html">Retention</a>(value = RetentionPolicy.RUNTIME)<br>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.FlagToString.html">ViewDebug.FlagToString</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 38 | <td> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 39 | <p>Defines a mapping from a flag to a String.</p> |
| 40 | </td> |
| 41 | </tr> |
| 42 | <tr> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 43 | <td width="40%"><code>enum <a href="/reference/kotlin/dokkatest/platform/ViewDebug.HierarchyTraceType.html">ViewDebug.HierarchyTraceType</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 44 | <td> |
Owen Gray | 5ac6835 | 2022-09-06 09:10:58 -0400 | [diff] [blame] | 45 | <p><strong>This enum is deprecated.</strong> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 46 | <p>This enum is now unused</p> |
| 47 | </p> |
| 48 | </td> |
| 49 | </tr> |
| 50 | <tr> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 51 | <td width="40%"><code>@<a href="https://developer.android.com/reference/java/lang/annotation/Target.html">Target</a>(value = [ElementType.TYPE])<br>@<a href="https://developer.android.com/reference/java/lang/annotation/Retention.html">Retention</a>(value = RetentionPolicy.RUNTIME)<br>annotation <a href="/reference/kotlin/dokkatest/platform/ViewDebug.IntToString.html">ViewDebug.IntToString</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 52 | <td> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 53 | <p>Defines a mapping from an int value to a String.</p> |
| 54 | </td> |
| 55 | </tr> |
| 56 | <tr> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 57 | <td width="40%"><code>enum <a href="/reference/kotlin/dokkatest/platform/ViewDebug.RecyclerTraceType.html">ViewDebug.RecyclerTraceType</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 58 | <td> |
Owen Gray | 5ac6835 | 2022-09-06 09:10:58 -0400 | [diff] [blame] | 59 | <p><strong>This enum is deprecated.</strong> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 60 | <p>This enum is now unused</p> |
| 61 | </p> |
| 62 | </td> |
| 63 | </tr> |
| 64 | </tbody> |
| 65 | </table> |
| 66 | </div> |
| 67 | <div class="devsite-table-wrapper"> |
| 68 | <table class="responsive"> |
| 69 | <thead> |
| 70 | <tr> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 71 | <th colspan="100%"><h3>Constants</h3></th> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 72 | </tr> |
| 73 | </thead> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 74 | <tbody class="list"> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 75 | <tr> |
Owen Gray | 3dc26bf | 2021-10-13 14:00:45 -0400 | [diff] [blame] | 76 | <td width="40%"><code>const <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 77 | <td> |
Owen Gray | b861f6d | 2022-08-23 11:17:57 -0400 | [diff] [blame] | 78 | <div><code><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_HIERARCHY()">TRACE_HIERARCHY</a> = false</code></div> |
Owen Gray | 5ac6835 | 2022-09-06 09:10:58 -0400 | [diff] [blame] | 79 | <p><strong>This property is deprecated.</strong> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 80 | <p>This flag is now unused</p> |
| 81 | </p> |
| 82 | </td> |
| 83 | </tr> |
| 84 | <tr> |
Owen Gray | 3dc26bf | 2021-10-13 14:00:45 -0400 | [diff] [blame] | 85 | <td width="40%"><code>const <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td> |
Andrea Falcone | d77cf9d | 2021-04-26 17:34:56 -0400 | [diff] [blame] | 86 | <td> |
Owen Gray | b861f6d | 2022-08-23 11:17:57 -0400 | [diff] [blame] | 87 | <div><code><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_RECYCLER()">TRACE_RECYCLER</a> = false</code></div> |
Owen Gray | 5ac6835 | 2022-09-06 09:10:58 -0400 | [diff] [blame] | 88 | <p><strong>This property is deprecated.</strong> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 89 | <p>This flag is now unused</p> |
| 90 | </p> |
| 91 | </td> |
| 92 | </tr> |
| 93 | </tbody> |
| 94 | </table> |
| 95 | </div> |
Owen Gray | 8b623eb | 2021-11-30 13:29:25 -0500 | [diff] [blame] | 96 | <div class="devsite-table-wrapper"> |
| 97 | <table class="responsive"> |
| 98 | <thead> |
| 99 | <tr> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 100 | <th colspan="100%"><h3>Public constructors</h3></th> |
Owen Gray | 8b623eb | 2021-11-30 13:29:25 -0500 | [diff] [blame] | 101 | </tr> |
| 102 | </thead> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 103 | <tbody class="list"> |
Owen Gray | 8b623eb | 2021-11-30 13:29:25 -0500 | [diff] [blame] | 104 | <tr> |
| 105 | <td> |
| 106 | <div><code><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#ViewDebug()">ViewDebug</a>()</code></div> |
| 107 | </td> |
| 108 | </tr> |
| 109 | </tbody> |
| 110 | </table> |
| 111 | </div> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 112 | <h2>Constants</h2> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 113 | <div><a name="getTRACE_HIERARCHY()"></a><a name="setTRACE_HIERARCHY()"></a><a name="getTRACE_HIERARCHY--"></a><a name="setTRACE_HIERARCHY--"></a> |
| 114 | <h3 class="api-name" id="TRACE_HIERARCHY()">TRACE_HIERARCHY</h3> |
Owen Gray | b861f6d | 2022-08-23 11:17:57 -0400 | [diff] [blame] | 115 | <pre class="api-signature no-pretty-print">const val <a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_HIERARCHY()">TRACE_HIERARCHY</a> = false: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 116 | <aside class="caution"><strong>This property is deprecated.</strong><br> |
| 117 | <p>This flag is now unused</p> |
| 118 | </aside> |
| 119 | </div> |
| 120 | <div><a name="getTRACE_RECYCLER()"></a><a name="setTRACE_RECYCLER()"></a><a name="getTRACE_RECYCLER--"></a><a name="setTRACE_RECYCLER--"></a> |
| 121 | <h3 class="api-name" id="TRACE_RECYCLER()">TRACE_RECYCLER</h3> |
Owen Gray | b861f6d | 2022-08-23 11:17:57 -0400 | [diff] [blame] | 122 | <pre class="api-signature no-pretty-print">const val <a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#TRACE_RECYCLER()">TRACE_RECYCLER</a> = false: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 123 | <aside class="caution"><strong>This property is deprecated.</strong><br> |
| 124 | <p>This flag is now unused</p> |
| 125 | </aside> |
| 126 | </div> |
Owen Gray | 8b623eb | 2021-11-30 13:29:25 -0500 | [diff] [blame] | 127 | <h2>Public constructors</h2> |
| 128 | <div><a name="ViewDebug--"></a><a name="viewdebug"></a> |
| 129 | <h3 class="api-name" id="ViewDebug()">ViewDebug</h3> |
| 130 | <pre class="api-signature no-pretty-print"><a href="/reference/kotlin/dokkatest/platform/ViewDebug.html#ViewDebug()">ViewDebug</a>()</pre> |
| 131 | </div> |
Owen Gray | 3cf32b6 | 2021-04-19 14:33:36 -0400 | [diff] [blame] | 132 | </body> |
| 133 | </html> |