Loading graphics/java/android/graphics/Bitmap.java +6 −0 Original line number Diff line number Diff line Loading @@ -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. */ Loading @@ -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. */ Loading Loading
graphics/java/android/graphics/Bitmap.java +6 −0 Original line number Diff line number Diff line Loading @@ -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. */ Loading @@ -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. */ Loading