summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/drawable/Drawable.java3
-rw-r--r--graphics/java/android/graphics/drawable/MipmapDrawable.java8
2 files changed, 6 insertions, 5 deletions
diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java
index 0f48f3a..856f24e 100644
--- a/graphics/java/android/graphics/drawable/Drawable.java
+++ b/graphics/java/android/graphics/drawable/Drawable.java
@@ -837,7 +837,8 @@ public abstract class Drawable {
* Create a new drawable without supplying resources the caller
* is running in. Note that using this means the density-dependent
* drawables (like bitmaps) will not be able to update their target
- * density correctly.
+ * density correctly. One should use {@link #newDrawable(Resources)}
+ * instead to provide a resource.
*/
public abstract Drawable newDrawable();
/**
diff --git a/graphics/java/android/graphics/drawable/MipmapDrawable.java b/graphics/java/android/graphics/drawable/MipmapDrawable.java
index 300d160..75fdeed 100644
--- a/graphics/java/android/graphics/drawable/MipmapDrawable.java
+++ b/graphics/java/android/graphics/drawable/MipmapDrawable.java
@@ -56,8 +56,8 @@ import java.io.IOException;
*
* <p>
* The intrinsic size of a MipmapDrawable are inferred from those of the largest mipmap (in terms of
- * {@link #Drawable.getIntrinsicHeight()}). On the opposite, its minimum size is defined by the
- * smallest provided mipmap.
+ * {@link Drawable#getIntrinsicHeight()}). On the opposite, its minimum
+ * size is defined by the smallest provided mipmap.
* </p>
* It can be defined in an XML file with the <code>&lt;mipmap></code> element.
@@ -229,8 +229,8 @@ public class MipmapDrawable extends DrawableContainer {
/**
* Adds a Drawable to the list of available mipmap Drawables. This list can be retrieved
- * using {@link #DrawableContainer.getChildren()} and this method ensures that it is
- * always sorted by increasing Drawable {@link #Drawable.getIntrinsicHeight()}.
+ * using {@link DrawableContainer.DrawableContainerState#getChildren()} and this method
+ * ensures that it is always sorted by increasing {@link Drawable#getIntrinsicHeight()}.
*
* @param drawable The Drawable that will be added to children list
*/