diff options
| author | 2017-03-07 18:25:35 +0000 | |
|---|---|---|
| committer | 2017-03-07 18:25:38 +0000 | |
| commit | 798dcd93fd0018f81f75f3fa49a7ed9eaf3402ac (patch) | |
| tree | 814898368466c9eb222292027df6cdc94fda2673 | |
| parent | a61627935edd3b76b822bb1100baf5cca5e0c758 (diff) | |
| parent | fc4373c7f623d72bd92fc560a157aa4b5c21ef43 (diff) | |
Merge "Mark @ symbols in code snippet as literal so javadoc doesn't choke on them. Which for some reason only starts to happen when we start processing the annotation methods in this CL: https://googleplex-android-review.git.corp.google.com/#/c/1892771/"
| -rw-r--r-- | core/java/android/view/ViewDebug.java | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/core/java/android/view/ViewDebug.java b/core/java/android/view/ViewDebug.java index 047a515bb99e..66c05785d6a9 100644 --- a/core/java/android/view/ViewDebug.java +++ b/core/java/android/view/ViewDebug.java @@ -107,10 +107,10 @@ public class ViewDebug { * these human readable values: * * <pre> - * @ViewDebug.ExportedProperty(mapping = { - * @ViewDebug.IntToString(from = 0, to = "VISIBLE"), - * @ViewDebug.IntToString(from = 4, to = "INVISIBLE"), - * @ViewDebug.IntToString(from = 8, to = "GONE") + * {@literal @}ViewDebug.ExportedProperty(mapping = { + * {@literal @}ViewDebug.IntToString(from = 0, to = "VISIBLE"), + * {@literal @}ViewDebug.IntToString(from = 4, to = "INVISIBLE"), + * {@literal @}ViewDebug.IntToString(from = 8, to = "GONE") * }) * public int getVisibility() { ... * <pre> @@ -127,10 +127,10 @@ public class ViewDebug { * of an array: * * <pre> - * @ViewDebug.ExportedProperty(indexMapping = { - * @ViewDebug.IntToString(from = 0, to = "INVALID"), - * @ViewDebug.IntToString(from = 1, to = "FIRST"), - * @ViewDebug.IntToString(from = 2, to = "SECOND") + * {@literal @}ViewDebug.ExportedProperty(indexMapping = { + * {@literal @}ViewDebug.IntToString(from = 0, to = "INVALID"), + * {@literal @}ViewDebug.IntToString(from = 1, to = "FIRST"), + * {@literal @}ViewDebug.IntToString(from = 2, to = "SECOND") * }) * private int[] mElements; * <pre> @@ -148,9 +148,11 @@ public class ViewDebug { * for the flags of an integer: * * <pre> - * @ViewDebug.ExportedProperty(flagMapping = { - * @ViewDebug.FlagToString(mask = ENABLED_MASK, equals = ENABLED, name = "ENABLED"), - * @ViewDebug.FlagToString(mask = ENABLED_MASK, equals = DISABLED, name = "DISABLED"), + * {@literal @}ViewDebug.ExportedProperty(flagMapping = { + * {@literal @}ViewDebug.FlagToString(mask = ENABLED_MASK, equals = ENABLED, + * name = "ENABLED"), + * {@literal @}ViewDebug.FlagToString(mask = ENABLED_MASK, equals = DISABLED, + * name = "DISABLED"), * }) * private int mFlags; * <pre> |