/**@class android.widget.ImageView
@extends android.view.View

 Displays image resources, for example {@link android.graphics.Bitmap}
 or {@link android.graphics.drawable.Drawable} resources.
 ImageView is also commonly used to {@link #setImageTintMode(PorterDuff.Mode)
 apply tints to an image} and handle {@link #setScaleType(ScaleType) image scaling}.

 <p>
 The following XML snippet is a common example of using an ImageView to display an image resource:
 </p>
 <pre>
 &lt;LinearLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"&gt;
     &lt;ImageView
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:src="@mipmap/ic_launcher"
         /&gt;
 &lt;/LinearLayout&gt;
 </pre>

 <p>
 To learn more about Drawables, see: <a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.
 To learn more about working with Bitmaps, see: <a href="{@docRoot}topic/performance/graphics/index.html">Handling Bitmaps</a>.
 </p>

 @attr ref android.R.styleable#ImageView_adjustViewBounds
 @attr ref android.R.styleable#ImageView_src
 @attr ref android.R.styleable#ImageView_maxWidth
 @attr ref android.R.styleable#ImageView_maxHeight
 @attr ref android.R.styleable#ImageView_tint
 @attr ref android.R.styleable#ImageView_scaleType
 @attr ref android.R.styleable#ImageView_cropToPadding
*/
var ImageView = {

/**
*/
jumpDrawablesToCurrentState : function(  ) {},

/**
*/
invalidateDrawable : function(  ) {},

/**
*/
hasOverlappingRendering : function(  ) {},

/**
@hide 
*/
onPopulateAccessibilityEventInternal : function(  ) {},

/**True when ImageView is adjusting its bounds
 to preserve the aspect ratio of its drawable
@return {Boolean} whether to adjust the bounds of this view
 to preserve the original aspect ratio of the drawable
@see #setAdjustViewBounds(boolean)
@attr ref android.R.styleable#ImageView_adjustViewBounds
*/
getAdjustViewBounds : function(  ) {},

/**Set this to true if you want the ImageView to adjust its bounds
 to preserve the aspect ratio of its drawable.

 <p><strong>Note:</strong> If the application targets API level 17 or lower,
 adjustViewBounds will allow the drawable to shrink the view bounds, but not grow
 to fill available measured space in all cases. This is for compatibility with
 legacy {@link android.view.View.MeasureSpec MeasureSpec} and
 {@link android.widget.RelativeLayout RelativeLayout} behavior.</p>
@param {Boolean} adjustViewBounds Whether to adjust the bounds of this view
 to preserve the original aspect ratio of the drawable.
@see #getAdjustViewBounds()
@attr ref android.R.styleable#ImageView_adjustViewBounds
*/
setAdjustViewBounds : function(  ) {},

/**The maximum width of this view.
@return {Number} The maximum width of this view
@see #setMaxWidth(int)
@attr ref android.R.styleable#ImageView_maxWidth
*/
getMaxWidth : function(  ) {},

/**An optional argument to supply a maximum width for this view. Only valid if
 {@link #setAdjustViewBounds}(boolean) has been set to true. To set an image to be a maximum
 of 100 x 100 while preserving the original aspect ratio, do the following: 1) set
 adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
 layout params to WRAP_CONTENT.

 <p>
 Note that this view could be still smaller than 100 x 100 using this approach if the original
 image is small. To set an image to a fixed size, specify that size in the layout params and
 then use {@link #setScaleType(android.widget.ImageView.ScaleType)} to determine how to fit
 the image within the bounds.
 </p>
@param {Number} maxWidth maximum width for this view
@see #getMaxWidth()
@attr ref android.R.styleable#ImageView_maxWidth
*/
setMaxWidth : function(  ) {},

/**The maximum height of this view.
@return {Number} The maximum height of this view
@see #setMaxHeight(int)
@attr ref android.R.styleable#ImageView_maxHeight
*/
getMaxHeight : function(  ) {},

/**An optional argument to supply a maximum height for this view. Only valid if
 {@link #setAdjustViewBounds}(boolean) has been set to true. To set an image to be a
 maximum of 100 x 100 while preserving the original aspect ratio, do the following: 1) set
 adjustViewBounds to true 2) set maxWidth and maxHeight to 100 3) set the height and width
 layout params to WRAP_CONTENT.

 <p>
 Note that this view could be still smaller than 100 x 100 using this approach if the original
 image is small. To set an image to a fixed size, specify that size in the layout params and
 then use {@link #setScaleType(android.widget.ImageView.ScaleType)} to determine how to fit
 the image within the bounds.
 </p>
@param {Number} maxHeight maximum height for this view
@see #getMaxHeight()
@attr ref android.R.styleable#ImageView_maxHeight
*/
setMaxHeight : function(  ) {},

/**Gets the current Drawable, or null if no Drawable has been
 assigned.
@return {Object {android.graphics.drawable.Drawable}} the view's drawable, or null if no drawable has been
 assigned.
*/
getDrawable : function(  ) {},

/**Sets a drawable as the content of this ImageView.
 <p class="note">This does Bitmap reading and decoding on the UI
 thread, which can cause a latency hiccup.  If that's a concern,
 consider using {@link #setImageDrawable(android.graphics.drawable.Drawable)} or
 {@link #setImageBitmap(android.graphics.Bitmap)} and
 {@link android.graphics.BitmapFactory} instead.</p>
@param {Number} resId the resource identifier of the drawable
@attr ref android.R.styleable#ImageView_src
*/
setImageResource : function(  ) {},

/**
@hide 
*/
setImageResourceAsync : function(  ) {},

/**Sets the content of this ImageView to the specified Uri.
 Note that you use this method to load images from a local Uri only.
 <p/>
 To learn how to display images from a remote Uri see: <a href="https://developer.android.com/topic/performance/graphics/index.html">Handling Bitmaps</a>
 <p/>
 <p class="note">This does Bitmap reading and decoding on the UI
 thread, which can cause a latency hiccup.  If that's a concern,
 consider using {@link #setImageDrawable}(Drawable) or
 {@link #setImageBitmap(android.graphics.Bitmap)} and
 {@link android.graphics.BitmapFactory} instead.</p>

 <p class="note">On devices running SDK < 24, this method will fail to
 apply correct density scaling to images loaded from
 {@link ContentResolver#SCHEME_CONTENT content} and
 {@link ContentResolver#SCHEME_FILE file} schemes. Applications running
 on devices with SDK >= 24 <strong>MUST</strong> specify the
 {@code targetSdkVersion} in their manifest as 24 or above for density
 scaling to be applied to images loaded from these schemes.</p>
@param {Object {Uri}} uri the Uri of an image, or {@code null} to clear the content
*/
setImageURI : function(  ) {},

/**
@hide 
*/
setImageURIAsync : function(  ) {},

/**Sets a drawable as the content of this ImageView.
@param {Object {Drawable}} drawable the Drawable to set, or {@code null} to clear the
                 content
*/
setImageDrawable : function(  ) {},

/**Sets the content of this ImageView to the specified Icon.

 <p class="note">Depending on the Icon type, this may do Bitmap reading
 and decoding on the UI thread, which can cause UI jank.  If that's a
 concern, consider using
 {@link Icon#loadDrawableAsync(Context, Icon.OnDrawableLoadedListener, Handler)}
 and then {@link #setImageDrawable(android.graphics.drawable.Drawable)}
 instead.</p>
@param {Object {Icon}} icon an Icon holding the desired image, or {@code null} to clear
             the content
*/
setImageIcon : function(  ) {},

/**
@hide 
*/
setImageIconAsync : function(  ) {},

/**Applies a tint to the image drawable. Does not modify the current tint
 mode, which is {@link PorterDuff.Mode#SRC_IN} by default.
 <p>
 Subsequent calls to {@link #setImageDrawable}(Drawable) will automatically
 mutate the drawable and apply the specified tint and tint mode using
 {@link Drawable#setTintList(ColorStateList)}.
 <p>
 <em>Note:</em> The default tint mode used by this setter is NOT
 consistent with the default tint mode used by the
 {@link android.R.styleable#ImageView_tint android:tint}
 attribute. If the {@code android:tint} attribute is specified, the
 default tint mode will be set to {@link PorterDuff.Mode#SRC_ATOP} to
 ensure consistency with earlier versions of the platform.
@param {Object {ColorStateList}} tint the tint to apply, may be {@code null} to clear tint
@attr ref android.R.styleable#ImageView_tint
@see #getImageTintList()
@see Drawable#setTintList(ColorStateList)
*/
setImageTintList : function(  ) {},

/**Get the current {@link android.content.res.ColorStateList} used to tint the image Drawable,
 or null if no tint is applied.
@return {Object {android.content.res.ColorStateList}} the tint applied to the image drawable
@attr ref android.R.styleable#ImageView_tint
@see #setImageTintList(ColorStateList)
*/
getImageTintList : function(  ) {},

/**Specifies the blending mode used to apply the tint specified by
 {@link #setImageTintList}(ColorStateList)} to the image drawable. The default
 mode is {@link PorterDuff.Mode#SRC_IN}.
@param {Object {PorterDuff.Mode}} tintMode the blending mode used to apply the tint, may be
                 {@code null} to clear tint
@attr ref android.R.styleable#ImageView_tintMode
@see #getImageTintMode()
@see Drawable#setTintMode(PorterDuff.Mode)
*/
setImageTintMode : function(  ) {},

/**Specifies the blending mode used to apply the tint specified by
 {@link #setImageTintList}(ColorStateList)} to the image drawable. The default
 mode is {@link BlendMode#SRC_IN}.
@param {Object {BlendMode}} blendMode the blending mode used to apply the tint, may be
                 {@code null} to clear tint
@attr ref android.R.styleable#ImageView_tintMode
@see #getImageTintMode()
@see Drawable#setTintBlendMode(BlendMode)
*/
setImageTintBlendMode : function(  ) {},

/**Gets the blending mode used to apply the tint to the image Drawable
@return {Object {android.graphics.PorterDuff.Mode}} the blending mode used to apply the tint to the image Drawable
@attr ref android.R.styleable#ImageView_tintMode
@see #setImageTintMode(PorterDuff.Mode)
*/
getImageTintMode : function(  ) {},

/**Gets the blending mode used to apply the tint to the image Drawable
@return {Object {android.graphics.BlendMode}} the blending mode used to apply the tint to the image Drawable
@attr ref android.R.styleable#ImageView_tintMode
@see #setImageTintBlendMode(BlendMode)
*/
getImageTintBlendMode : function(  ) {},

/**Sets a Bitmap as the content of this ImageView.
@param {Object {Bitmap}} bm The bitmap to set
*/
setImageBitmap : function(  ) {},

/**Set the state of the current {@link android.graphics.drawable.StateListDrawable}.
 For more information about State List Drawables, see: <a href="https://developer.android.com/guide/topics/resources/drawable-resource.html#StateList">the Drawable Resource Guide</a>.
@param {Object {int[]}} state the state to set for the StateListDrawable
@param {Boolean} merge if true, merges the state values for the state you specify into the current state
*/
setImageState : function(  ) {},

/**
*/
setSelected : function(  ) {},

/**Sets the image level, when it is constructed from a
 {@link android.graphics.drawable.LevelListDrawable}.
@param {Number} level The new level for the image.
*/
setImageLevel : function(  ) {},

/**Controls how the image should be resized or moved to match the size
 of this ImageView.
@param {Object {ImageView.ScaleType}} scaleType The desired scaling mode.
@attr ref android.R.styleable#ImageView_scaleType
*/
setScaleType : function(  ) {},

/**Returns the current ScaleType that is used to scale the bounds of an image to the bounds of the ImageView.
@return {Object {android.widget.ImageView.ScaleType}} The ScaleType used to scale the image.
@see ImageView.ScaleType
@attr ref android.R.styleable#ImageView_scaleType
*/
getScaleType : function(  ) {},

/**Returns the view's optional matrix. This is applied to the
        view's drawable when it is drawn. If there is no matrix,
        this method will return an identity matrix.
        Do not change this matrix in place but make a copy.
        If you want a different matrix applied to the drawable,
        be sure to call setImageMatrix().
*/
getImageMatrix : function(  ) {},

/**Adds a transformation {@link Matrix} that is applied
 to the view's drawable when it is drawn.  Allows custom scaling,
 translation, and perspective distortion.
@param {Object {Matrix}} matrix The transformation parameters in matrix form.
*/
setImageMatrix : function(  ) {},

/**Return whether this ImageView crops to padding.
@return {Boolean} whether this ImageView crops to padding
@see #setCropToPadding(boolean)
@attr ref android.R.styleable#ImageView_cropToPadding
*/
getCropToPadding : function(  ) {},

/**Sets whether this ImageView will crop to padding.
@param {Boolean} cropToPadding whether this ImageView will crop to padding
@see #getCropToPadding()
@attr ref android.R.styleable#ImageView_cropToPadding
*/
setCropToPadding : function(  ) {},

/**
*/
onCreateDrawableState : function(  ) {},

/**
*/
onRtlPropertiesChanged : function(  ) {},

/**
*/
drawableHotspotChanged : function(  ) {},

/**Applies a temporary transformation {@link Matrix} to the view's drawable when it is drawn.
 Allows custom scaling, translation, and perspective distortion during an animation.

 This method is a lightweight analogue of {@link android.widget.ImageView#setImageMatrix(Matrix)} to use
 only during animations as this matrix will be cleared after the next drawable
 update or view's bounds change.
@param {Object {Matrix}} matrix The transformation parameters in matrix form.
*/
animateTransform : function(  ) {},

/**<p>Return the offset of the widget's text baseline from the widget's top
 boundary. </p>
@return {Number} the offset of the baseline within the widget's bounds or -1
         if baseline alignment is not supported.
*/
getBaseline : function(  ) {},

/**<p>Set the offset of the widget's text baseline from the widget's top
 boundary.  This value is overridden by the {@link #setBaselineAlignBottom}(boolean)
 property.</p>
@param {Number} baseline The baseline to use, or -1 if none is to be provided.
@see #setBaseline(int)
@attr ref android.R.styleable#ImageView_baseline
*/
setBaseline : function(  ) {},

/**Sets whether the baseline of this view to the bottom of the view.
 Setting this value overrides any calls to setBaseline.
@param {Boolean} aligned If true, the image view will be baseline aligned by its bottom edge.
@attr ref android.R.styleable#ImageView_baselineAlignBottom
*/
setBaselineAlignBottom : function(  ) {},

/**Checks whether this view's baseline is considered the bottom of the view.
@return {Boolean} True if the ImageView's baseline is considered the bottom of the view, false if otherwise.
@see #setBaselineAlignBottom(boolean)
*/
getBaselineAlignBottom : function(  ) {},

/**Sets a tinting option for the image.
@param {Number} color Color tint to apply.
@param {Object {PorterDuff.Mode}} mode How to apply the color.  The standard mode is
 {@link PorterDuff.Mode#SRC_ATOP}
@attr ref android.R.styleable#ImageView_tint
*/
setColorFilter : function(  ) {},

/**Set a tinting option for the image. Assumes
 {@link PorterDuff.Mode#SRC_ATOP} blending mode.
@param {Number} color Color tint to apply.
@attr ref android.R.styleable#ImageView_tint
*/
setColorFilter : function(  ) {},

/**Removes the image's {@link android.graphics.ColorFilter}.
@see #setColorFilter(int)
@see #getColorFilter()
*/
clearColorFilter : function(  ) {},

/**
@hide Candidate for future API inclusion
*/
setXfermode : function(  ) {},

/**Returns the active color filter for this ImageView.
@return {Object {android.graphics.ColorFilter}} the active color filter for this ImageView
@see #setColorFilter(android.graphics.ColorFilter)
*/
getColorFilter : function(  ) {},

/**Apply an arbitrary colorfilter to the image.
@param {Object {ColorFilter}} cf the colorfilter to apply (may be null)
@see #getColorFilter()
*/
setColorFilter : function(  ) {},

/**Returns the alpha that will be applied to the drawable of this ImageView.
@return {Number} the alpha value that will be applied to the drawable of this
 ImageView (between 0 and 255 inclusive, with 0 being transparent and
 255 being opaque)
@see #setImageAlpha(int)
*/
getImageAlpha : function(  ) {},

/**Sets the alpha value that should be applied to the image.
@param {Number} alpha the alpha value that should be applied to the image (between
 0 and 255 inclusive, with 0 being transparent and 255 being opaque)
@see #getImageAlpha()
*/
setImageAlpha : function(  ) {},

/**Sets the alpha value that should be applied to the image.
@param {Number} alpha the alpha value that should be applied to the image
@deprecated use #setImageAlpha(int) instead
*/
setAlpha : function(  ) {},

/**
*/
isOpaque : function(  ) {},

/**
*/
onVisibilityAggregated : function(  ) {},

/**
*/
setVisibility : function(  ) {},

/**
*/
getAccessibilityClassName : function(  ) {},

/**
@hide 
*/
isDefaultFocusHighlightNeeded : function(  ) {},


};