/**@class android.widget.GridView
@extends android.widget.AbsListView

 A view that shows items in two-dimensional scrolling grid. The items in the
 grid come from the {@link android.widget.ListAdapter} associated with this view.

 <p>See the <a href="{@docRoot}guide/topics/ui/layout/gridview.html">Grid
 View</a> guide.</p>

 @attr ref android.R.styleable#GridView_horizontalSpacing
 @attr ref android.R.styleable#GridView_verticalSpacing
 @attr ref android.R.styleable#GridView_stretchMode
 @attr ref android.R.styleable#GridView_columnWidth
 @attr ref android.R.styleable#GridView_numColumns
 @attr ref android.R.styleable#GridView_gravity
*/
var GridView = {

/** Disables stretching.

 @see #setStretchMode(int)
*/
NO_STRETCH : "0",
/** Stretches the spacing between columns.

 @see #setStretchMode(int)
*/
STRETCH_SPACING : "1",
/** Stretches columns.

 @see #setStretchMode(int)
*/
STRETCH_COLUMN_WIDTH : "2",
/** Stretches the spacing between columns. The spacing is uniform.

 @see #setStretchMode(int)
*/
STRETCH_SPACING_UNIFORM : "3",
/** Creates as many columns as can fit on screen.

 @see #setNumColumns(int)
*/
AUTO_FIT : "-1",
/**
*/
getAdapter : function(  ) {},

/**Sets up this AbsListView to use a remote views adapter which connects to a RemoteViewsService
 through the specified intent.
@param {Object {Intent}} intent the intent used to identify the RemoteViewsService for the adapter to connect to.
*/
setRemoteViewsAdapter : function(  ) {},

/**Sets the data behind this GridView.
@param {Object {ListAdapter}} adapter the adapter providing the grid's data
*/
setAdapter : function(  ) {},

/**Smoothly scroll to the specified adapter position. The view will
 scroll such that the indicated position is displayed.
@param {Number} position Scroll to this adapter position.
*/
smoothScrollToPosition : function(  ) {},

/**Smoothly scroll to the specified adapter position offset. The view will
 scroll such that the indicated position is displayed.
@param {Number} offset The amount to offset from the adapter position to scroll to.
*/
smoothScrollByOffset : function(  ) {},

/**Sets the currently selected item
@param {Number} position Index (starting at 0) of the data item to be selected.

 If in touch mode, the item will not be selected but it will still be positioned
 appropriately.
*/
setSelection : function(  ) {},

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

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

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

/**Set the gravity for this grid. Gravity describes how the child views
 are horizontally aligned. Defaults to Gravity.LEFT
@param {Number} gravity the gravity to apply to this grid's children
@attr ref android.R.styleable#GridView_gravity
*/
setGravity : function(  ) {},

/**Describes how the child views are horizontally aligned. Defaults to Gravity.LEFT
@return {Number} the gravity that will be applied to this grid's children
@attr ref android.R.styleable#GridView_gravity
*/
getGravity : function(  ) {},

/**Set the amount of horizontal (x) spacing to place between each item
 in the grid.
@param {Number} horizontalSpacing The amount of horizontal space between items,
 in pixels.
@attr ref android.R.styleable#GridView_horizontalSpacing
*/
setHorizontalSpacing : function(  ) {},

/**Returns the amount of horizontal spacing currently used between each item in the grid.

 <p>This is only accurate for the current layout. If {@link #setHorizontalSpacing}(int)
 has been called but layout is not yet complete, this method may return a stale value.
 To get the horizontal spacing that was explicitly requested use
 {@link #getRequestedHorizontalSpacing}().</p>
@return {Number} Current horizontal spacing between each item in pixels
@see #setHorizontalSpacing(int)
@see #getRequestedHorizontalSpacing()
@attr ref android.R.styleable#GridView_horizontalSpacing
*/
getHorizontalSpacing : function(  ) {},

/**Returns the requested amount of horizontal spacing between each item in the grid.

 <p>The value returned may have been supplied during inflation as part of a style,
 the default GridView style, or by a call to {@link #setHorizontalSpacing}(int).
 If layout is not yet complete or if GridView calculated a different horizontal spacing
 from what was requested, this may return a different value from
 {@link #getHorizontalSpacing}().</p>
@return {Number} The currently requested horizontal spacing between items, in pixels
@see #setHorizontalSpacing(int)
@see #getHorizontalSpacing()
@attr ref android.R.styleable#GridView_horizontalSpacing
*/
getRequestedHorizontalSpacing : function(  ) {},

/**Set the amount of vertical (y) spacing to place between each item
 in the grid.
@param {Number} verticalSpacing The amount of vertical space between items,
 in pixels.
@see #getVerticalSpacing()
@attr ref android.R.styleable#GridView_verticalSpacing
*/
setVerticalSpacing : function(  ) {},

/**Returns the amount of vertical spacing between each item in the grid.
@return {Number} The vertical spacing between items in pixels
@see #setVerticalSpacing(int)
@attr ref android.R.styleable#GridView_verticalSpacing
*/
getVerticalSpacing : function(  ) {},

/**Control how items are stretched to fill their space.
@param {Number} stretchMode Either {@link #NO_STRETCH},
 {@link #STRETCH_SPACING}, {@link #STRETCH_SPACING_UNIFORM}, or {@link #STRETCH_COLUMN_WIDTH}.
@attr ref android.R.styleable#GridView_stretchMode
*/
setStretchMode : function(  ) {},

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

/**Set the width of columns in the grid.
@param {Number} columnWidth The column width, in pixels.
@attr ref android.R.styleable#GridView_columnWidth
*/
setColumnWidth : function(  ) {},

/**Return the width of a column in the grid.

 <p>This may not be valid yet if a layout is pending.</p>
@return {Number} The column width in pixels
@see #setColumnWidth(int)
@see #getRequestedColumnWidth()
@attr ref android.R.styleable#GridView_columnWidth
*/
getColumnWidth : function(  ) {},

/**Return the requested width of a column in the grid.

 <p>This may not be the actual column width used. Use {@link #getColumnWidth}()
 to retrieve the current real width of a column.</p>
@return {Number} The requested column width in pixels
@see #setColumnWidth(int)
@see #getColumnWidth()
@attr ref android.R.styleable#GridView_columnWidth
*/
getRequestedColumnWidth : function(  ) {},

/**Set the number of columns in the grid
@param {Number} numColumns The desired number of columns.
@attr ref android.R.styleable#GridView_numColumns
*/
setNumColumns : function(  ) {},

/**Get the number of columns in the grid.
 Returns {@link #AUTO_FIT} if the Grid has never been laid out.
@attr ref android.R.styleable#GridView_numColumns
@see #setNumColumns(int)
*/
getNumColumns : function(  ) {},

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

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

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

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


};