title: Android BitmapFactory decodeStream()
body: <p>I have a question that I seem to find the answer nowhere.
  Does this lines of code:</p>
  
  <pre><code>final BitmapFactory.Options options = new BitmapFactory.Options();
      options.inJustDecodeBounds = true;
  
      BitmapFactory.decodeStream(is, null, options);
  </code></pre>
  
  <p>actually mean that, that file is being downloaded? Android docs say something like this: </p>
  
  <blockquote>
    <p>decode with inJustDecodeBounds=true to check dimensions</p>
  </blockquote>
  
  <p><strong>and</strong>
  Does: </p>
  
  <pre><code>options.inSampleSize = calculateInSampleSize(options, reqWidth,
              reqHeight);
  
      // Decode bitmap with inSampleSize set
      options.inJustDecodeBounds = false;
      BitmapFactory.decodeStream(is, null, options);
  </code></pre>
  
  <p>means that it will actually download the file smaller (<strong>not downloaded as original size and copied after that to a smaller size bitmap</strong>).</p>
  
  <p>Clear example: I have some url's that point to many 2000 x 1500 images. By decoding those files and loading them to bitmaps, do I need to have enough memory for downloading the file at its full resolution (2000 x 1500), if I only need thumbnails of (200 x 150)?</p>