Code example for Bitmap

Methods: getHeightgetRowBytes

0
   * 
   * @param bitmap 
   * @return byte count 
   */ 
  public static final int getByteCount(final Bitmap bitmap) {
    return bitmap.getRowBytes() * bitmap.getHeight();
  } 
 
  private static final byte[] BUFFER = new byte[16 * 1024];
 
  /** 
   * Maximum width of decoded bitmap 
   */ 
  protected final int maxWidth;
 
  /** 
   * Maximum height of decoded bitmap 
   */ 
  protected final int maxHeight;
 
  /**