When calculating memory cache size, use Runtime.maxMemory() instead
of getMemoryClass() which is a more accurate value of available VM
heap size.
Bug: 7988323
Change-Id: Iaa9681a11aad5cad3857dfe76f0b8e4811b2243c
When computing inSampleSize, calculateInSampleSize() needs to compare
height/width ratios, rather than raw values.
Bug: 7951398
Change-Id: I207f9abc2aae4cc569b406bac237e221d8e64d1e
Changes:
-Updated code sample (see http://ag/214812)
-Updated code snippets to match updated sample
-Fixed <> in code snippets
-Updated disk cache section
-Some other minor updates
Change-Id: Id7ca4d161f165814d71f238f940b2c5bfbc220aa
This directory is not included in the final docs output, but is
merely here as a "master" source for the downloadable bits that we
upload and serve from elsewhere, such as from Google Cloud Storage.
Change-Id: I181438f9ec4513cf2e49455803bbe434c8f29d36