/**@class android.widget.ImageView.ScaleType @extends java.lang.Enum Options for scaling the bounds of an image to the bounds of this view. */ var ScaleType = { /** Scale using the image matrix when drawing. The image matrix can be set using {@link android.widget.ImageView#setImageMatrix(Matrix)}. From XML, use this syntax: <code>android:scaleType="matrix"</code>. */ MATRIX : "null", /** Scale the image using {@link Matrix.ScaleToFit#FILL}. From XML, use this syntax: <code>android:scaleType="fitXY"</code>. */ FIT_XY : "null", /** Scale the image using {@link Matrix.ScaleToFit#START}. From XML, use this syntax: <code>android:scaleType="fitStart"</code>. */ FIT_START : "null", /** Scale the image using {@link Matrix.ScaleToFit#CENTER}. From XML, use this syntax: <code>android:scaleType="fitCenter"</code>. */ FIT_CENTER : "null", /** Scale the image using {@link Matrix.ScaleToFit#END}. From XML, use this syntax: <code>android:scaleType="fitEnd"</code>. */ FIT_END : "null", /** Center the image in the view, but perform no scaling. From XML, use this syntax: <code>android:scaleType="center"</code>. */ CENTER : "null", /** Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). The image is then centered in the view. From XML, use this syntax: <code>android:scaleType="centerCrop"</code>. */ CENTER_CROP : "null", /** Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). The image is then centered in the view. From XML, use this syntax: <code>android:scaleType="centerInside"</code>. */ CENTER_INSIDE : "null", /** */ values : function( ) {}, /** */ valueOf : function( ) {}, };