summaryrefslogtreecommitdiff
path: root/src/com/android/bitmap/drawable/BasicBitmapDrawable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/bitmap/drawable/BasicBitmapDrawable.java')
-rw-r--r--src/com/android/bitmap/drawable/BasicBitmapDrawable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/bitmap/drawable/BasicBitmapDrawable.java b/src/com/android/bitmap/drawable/BasicBitmapDrawable.java
index f9d39a3..e058868 100644
--- a/src/com/android/bitmap/drawable/BasicBitmapDrawable.java
+++ b/src/com/android/bitmap/drawable/BasicBitmapDrawable.java
@@ -281,7 +281,7 @@ public class BasicBitmapDrawable extends Drawable implements DecodeCallback,
// Rotate the canvas.
canvas.save();
canvas.rotate(orientation, bounds.centerX(), bounds.centerY());
- drawBitmap(canvas, rotatedBounds);
+ onDrawBitmap(canvas, rotatedBounds);
canvas.restore();
}
}
@@ -290,7 +290,7 @@ public class BasicBitmapDrawable extends Drawable implements DecodeCallback,
* Override this method to customize how to draw the bitmap to the canvas for the given bounds.
* The bitmap to be drawn can be found at {@link #getBitmap()}.
*/
- protected void drawBitmap(final Canvas canvas, final Rect bounds) {
+ protected void onDrawBitmap(final Canvas canvas, final Rect bounds) {
canvas.drawBitmap(mBitmap.bmp, sRect, bounds, mPaint);
}