From 8b9ed44f8d559be2590b25cb4b72d2aefd3b3784 Mon Sep 17 00:00:00 2001 From: Chet Haase Date: Thu, 25 Aug 2016 15:35:53 -0700 Subject: [PATCH] Various doc cleanups Issue #6439958 More R.attr breakage Issue #918412 android.graphics.Paint.FontMetricsInt fields & methods need doc Issue #917387 javadoc bug: Canvas.EdgeType has minimal documentation Issue #18948460 [DAC-bug] LinearLayout xml layout_weight parameter is missing description Change-Id: Idb289ca778b3f316923757405460031ce7a5e1e9 --- core/java/android/widget/LinearLayout.java | 4 ++-- core/res/res/values/attrs.xml | 19 ++++++++++++------- core/res/res/values/attrs_manifest.xml | 2 +- graphics/java/android/graphics/Canvas.java | 9 +++++++++ graphics/java/android/graphics/Paint.java | 17 +++++++++++++++++ 5 files changed, 41 insertions(+), 10 deletions(-) diff --git a/core/java/android/widget/LinearLayout.java b/core/java/android/widget/LinearLayout.java index e2c535ca16953..6511de81b6cb1 100644 --- a/core/java/android/widget/LinearLayout.java +++ b/core/java/android/widget/LinearLayout.java @@ -1935,8 +1935,8 @@ public class LinearLayout extends ViewGroup { @ViewDebug.IntToString(from = Gravity.BOTTOM, to = "BOTTOM"), @ViewDebug.IntToString(from = Gravity.LEFT, to = "LEFT"), @ViewDebug.IntToString(from = Gravity.RIGHT, to = "RIGHT"), - @ViewDebug.IntToString(from = Gravity.START, to = "START"), - @ViewDebug.IntToString(from = Gravity.END, to = "END"), + @ViewDebug.IntToString(from = Gravity.START, to = "START"), + @ViewDebug.IntToString(from = Gravity.END, to = "END"), @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"), @ViewDebug.IntToString(from = Gravity.FILL_VERTICAL, to = "FILL_VERTICAL"), @ViewDebug.IntToString(from = Gravity.CENTER_HORIZONTAL, to = "CENTER_HORIZONTAL"), diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 9a7fccc9d1354..fdea0450924ad 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -2334,8 +2334,8 @@ i - @@ -2585,8 +2585,7 @@ i - + @@ -2612,8 +2611,7 @@ i - + @@ -4934,7 +4932,14 @@ i + + diff --git a/core/res/res/values/attrs_manifest.xml b/core/res/res/values/attrs_manifest.xml index 01cb64db1e8eb..cad58547f390f 100644 --- a/core/res/res/values/attrs_manifest.xml +++ b/core/res/res/values/attrs_manifest.xml @@ -1305,7 +1305,7 @@ + The default value is false. -->