diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2017-12-13 20:05:05 -0700 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2017-12-13 20:05:36 -0700 |
| commit | ce8db9911494225fcd99711d7df85a130de5a6ce (patch) | |
| tree | f967d6665fbe29cbcc7310493b254bb7610ec92c /core/java/android/widget/GridView.java | |
| parent | ff38f236b55b51a9f8e03b909f4791ccca329c48 (diff) | |
Add more IntDef prefixes for auto-documenting.
Test: builds, boots
Bug: 70177949
Exempt-From-Owner-Approval: annotation-only changes
Change-Id: I76dde6054e06f52240bd4b1a0f196dcb74623608
Diffstat (limited to 'core/java/android/widget/GridView.java')
| -rw-r--r-- | core/java/android/widget/GridView.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/java/android/widget/GridView.java b/core/java/android/widget/GridView.java index fcb44af672d5..1ec9b2f043b5 100644 --- a/core/java/android/widget/GridView.java +++ b/core/java/android/widget/GridView.java @@ -65,7 +65,12 @@ import java.lang.annotation.RetentionPolicy; @RemoteView public class GridView extends AbsListView { /** @hide */ - @IntDef({NO_STRETCH, STRETCH_SPACING, STRETCH_COLUMN_WIDTH, STRETCH_SPACING_UNIFORM}) + @IntDef(prefix = { "NO_STRETCH", "STRETCH_" }, value = { + NO_STRETCH, + STRETCH_SPACING, + STRETCH_COLUMN_WIDTH, + STRETCH_SPACING_UNIFORM + }) @Retention(RetentionPolicy.SOURCE) public @interface StretchMode {} |
