Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20fc9bfe authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Fixed links in MipmapDrawable documentation.

Fix for 78aaa97b

Change-Id: I3b4a3b987560d5d3934776cdc7ae98c954bfab32
parent 1477798b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
        /**
+4 −4
Original line number Diff line number Diff line
@@ -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
         */