/** * {@inheritDoc} Set the new image to display and reset the internal matrix. * * @param bitmap the {@link Bitmap} to display * @see {@link ImageView#setImageBitmap(Bitmap)} */ @Override public void setImageBitmap(final Bitmap bitmap) { setImageBitmap(bitmap, null, ZOOM_INVALID, ZOOM_INVALID); }
/** * Clear the current drawable */ public void clear() { setImageBitmap(null); }
/** * {@inheritDoc} Set the new image to display and reset the internal matrix. * * @param bitmap the {@link Bitmap} to display * @see {@link AppCompatImageView#setImageBitmap(Bitmap)} */ @Override public void setImageBitmap(final Bitmap bitmap) { setImageBitmap(bitmap, null, ZOOM_INVALID, ZOOM_INVALID); }
/** * Clear the current drawable */ public void clear() { setImageBitmap(null); }