summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-05-04 14:46:31 -0700
committerAmith Yamasani <yamasani@google.com>2012-05-04 14:47:25 -0700
commit3d3e7a5816b5c78687bbfa4ef32abb8f1a5b83e1 (patch)
tree74278998df7be984ba7fc026a0c4f12d62d55a24 /core
parentad759f958a8bd87982b3f34d8424d1ac69c20342 (diff)
downloadframeworks_base-3d3e7a5816b5c78687bbfa4ef32abb8f1a5b83e1.zip
frameworks_base-3d3e7a5816b5c78687bbfa4ef32abb8f1a5b83e1.tar.gz
frameworks_base-3d3e7a5816b5c78687bbfa4ef32abb8f1a5b83e1.tar.bz2
Javadoc improvements in SearchView per API review.
Bug: 6442174 Added attr refs to 2 methods. Change-Id: I9b5f93e8e921a7260fdc25c8134e655f09a1ffb7
Diffstat (limited to 'core')
-rw-r--r--core/java/android/widget/SearchView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/widget/SearchView.java b/core/java/android/widget/SearchView.java
index 561326e..521597b 100644
--- a/core/java/android/widget/SearchView.java
+++ b/core/java/android/widget/SearchView.java
@@ -576,6 +576,8 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
/**
* Returns the default iconified state of the search field.
* @return
+ *
+ * @attr ref android.R.styleable#SearchView_iconifiedByDefault
*/
public boolean isIconfiedByDefault() {
return mIconifiedByDefault;
@@ -696,6 +698,8 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
* Gets the specified maximum width in pixels, if set. Returns zero if
* no maximum width was specified.
* @return the maximum width of the view
+ *
+ * @attr ref android.R.styleable#SearchView_maxWidth
*/
public int getMaxWidth() {
return mMaxWidth;