New XmlDocumentProvider class.
Minor changes in the Adapters.java helper class. Extracts data out of a XML document using an XPath-like syntax. Change-Id: I0617b0783f11c86118b42cd8485d54440810c805
This commit is contained in:
@@ -81,7 +81,7 @@ public class BitmapFactory {
|
||||
/**
|
||||
* The pixel density to use for the bitmap. This will always result
|
||||
* in the returned bitmap having a density set for it (see
|
||||
* {@link Bitmap#setDensity(int) Bitmap.setDensity(int)). In addition,
|
||||
* {@link Bitmap#setDensity(int) Bitmap.setDensity(int))}. In addition,
|
||||
* if {@link #inScaled} is set (which it is by default} and this
|
||||
* density does not match {@link #inTargetDensity}, then the bitmap
|
||||
* will be scaled to the target density before being returned.
|
||||
@@ -507,9 +507,7 @@ public class BitmapFactory {
|
||||
*
|
||||
* @param is The input stream that holds the raw data to be decoded into a
|
||||
* bitmap.
|
||||
* @return The decoded bitmap, or null if the image data could not be
|
||||
* decoded, or, if opts is non-null, if opts requested only the
|
||||
* size be returned (in opts.outWidth and opts.outHeight)
|
||||
* @return The decoded bitmap, or null if the image data could not be decoded.
|
||||
*/
|
||||
public static Bitmap decodeStream(InputStream is) {
|
||||
return decodeStream(is, null, null);
|
||||
|
||||
Reference in New Issue
Block a user