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

Commit c04886e8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Added additional documentation to Bitmap#getScaledWidth, Bitmap#getScaledHeight"

parents 3a5211e7 9167126a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1509,6 +1509,9 @@ public final class Bitmap implements Parcelable {
     * Convenience method that returns the width of this bitmap divided
     * by the density scale factor.
     *
     * Returns the bitmap's width multiplied by the ratio of the target density to the bitmap's
     * source density
     *
     * @param targetDensity The density of the target canvas of the bitmap.
     * @return The scaled width of this bitmap, according to the density scale factor.
     */
@@ -1520,6 +1523,9 @@ public final class Bitmap implements Parcelable {
     * Convenience method that returns the height of this bitmap divided
     * by the density scale factor.
     *
     * Returns the bitmap's height multiplied by the ratio of the target density to the bitmap's
     * source density
     *
     * @param targetDensity The density of the target canvas of the bitmap.
     * @return The scaled height of this bitmap, according to the density scale factor.
     */