/**@class android.graphics.drawable.DrawableInflater @extends java.lang.Object Instantiates a drawable XML file into its corresponding {@link android.graphics.drawable.Drawable} objects. <p> For performance reasons, inflation relies heavily on pre-processing of XML files that is done at build time. Therefore, it is not currently possible to use this inflater with an XmlPullParser over a plain XML file at runtime; it only works with an XmlPullParser returned from a compiled resource (R. <em>something</em> file.) @hide Pending API finalization. */ var DrawableInflater = { /**Loads the drawable resource with the specified identifier. @param {Object {Context}} context the context in which the drawable should be loaded @param {Number} id the identifier of the drawable resource @return {Object {android.graphics.drawable.Drawable}} a drawable, or {@code null} if the drawable failed to load */ loadDrawable : function( ) {}, /**Loads the drawable resource with the specified identifier. @param {Object {Resources}} resources the resources from which the drawable should be loaded @param {Object {Resources.Theme}} theme the theme against which the drawable should be inflated @param {Number} id the identifier of the drawable resource @return {Object {android.graphics.drawable.Drawable}} a drawable, or {@code null} if the drawable failed to load */ loadDrawable : function( ) {}, /**Inflates a drawable from inside an XML document using an optional {@link Theme}. <p> This method should be called on a parser positioned at a tag in an XML document defining a drawable resource. It will attempt to create a Drawable from the tag at the current position. @param {String} name the name of the tag at the current position @param {Object {XmlPullParser}} parser an XML parser positioned at the drawable tag @param {Object {AttributeSet}} attrs an attribute set that wraps the parser @param {Object {Resources.Theme}} theme the theme against which the drawable should be inflated, or {@code null} to not inflate against a theme @return {Object {android.graphics.drawable.Drawable}} a drawable @throws XmlPullParserException @throws IOException */ inflateFromXml : function( ) {}, };