diff options
| author | Leon Scroggins III <scroggo@google.com> | 2019-03-21 15:10:24 -0400 |
|---|---|---|
| committer | Leon Scroggins III <scroggo@google.com> | 2019-03-21 16:04:06 -0400 |
| commit | fda4f610605a3e9330f1a4a66d435902cdcaf206 (patch) | |
| tree | 251f02e24ab0be72310056e22cddba90389478d3 /core/java | |
| parent | 417059b13ef2d7c0bec2278fe1c58ce975bf99c5 (diff) | |
Clean up references to @ColorLong
Bug: 120904891
Test: make docs && look at the output
Remove instances of {@link ColorLong}. Although the link is supposed to
go to
https://developer.android.com/reference/android/annotation/ColorLong.html
my web browser redirects me to
https://developer.android.com/reference
Perhaps there's a bug somewhere in the generation (I am able to navigate
to
https://developer.android.com/reference/android/support/annotation/ColorLong?hl=en
by searching on developer.android.com - notice the addition of
"support"), but I still think it would make more sense to send users to
the page for android.graphics.Color directly.
Switch over to {@code ColorLong} (which does not generate a link) and a
reference to look at the {@link Color} class.
Update parameter named "c" to one named "color".
Unify various Canvas#drawColor APIs to say "to draw onto the canvas"
(previously some said this, while others said "to draw with").
Change-Id: I78eff5c35e350f763aac0416f6ec1ccf12f89418
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/inspector/PropertyReader.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/inspector/PropertyReader.java b/core/java/android/view/inspector/PropertyReader.java index b5020ce6495f..5be0e3f3ccf2 100644 --- a/core/java/android/view/inspector/PropertyReader.java +++ b/core/java/android/view/inspector/PropertyReader.java @@ -133,10 +133,11 @@ public interface PropertyReader { void readColor(int id, @ColorInt int value); /** - * Read a color packed into a {@link ColorLong} as a property. + * Read a color packed into a {@code ColorLong} as a property. * * @param id Identifier of the property from a {@link PropertyMapper} - * @param value Value of the property + * @param value Value of the property packed as a {@code ColorLong}. See the + * {@link Color} class for details of the packing. * @throws PropertyTypeMismatchException If the property ID is not mapped as a color */ void readColor(int id, @ColorLong long value); |
