/**@class android.app.AlertDialog
 implements android.content.DialogInterface

@extends android.app.Dialog

 A subclass of Dialog that can display one, two or three buttons. If you only want to
 display a String in this dialog box, use the setMessage() method.  If you
 want to display a more complex view, look up the FrameLayout called "custom"
 and add your view to it:

 <pre>
 FrameLayout fl = findViewById(android.R.id.custom);
 fl.addView(myView, new LayoutParams(MATCH_PARENT, WRAP_CONTENT));
 </pre>

 <p>The AlertDialog class takes care of automatically setting
 {@link android.view.WindowManager.LayoutParams#FLAG_ALT_FOCUSABLE_IM
 WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM} for you based on whether
 any views in the dialog return true from {@link View#onCheckIsTextEditor()
 View.onCheckIsTextEditor()}.  Generally you want this set for a Dialog
 without text editors, so that it will be placed on top of the current
 input method UI.  You can modify this behavior by forcing the flag to your
 desired mode after calling {@link #onCreate}.

 <div class="special reference">
 <h3>Developer Guides</h3>
 <p>For more information about creating dialogs, read the
 <a href="{@docRoot}guide/topics/ui/dialogs.html">Dialogs</a> developer guide.</p>
 </div>
*/
var AlertDialog = {

/** Special theme constant for {@link #AlertDialog(Context, int)}: use
 the traditional (pre-Holo) alert dialog theme.

 @deprecated Use {@link android.R.style#Theme_Material_Dialog_Alert}.
*/
THEME_TRADITIONAL : "1",
/** Special theme constant for {@link #AlertDialog(Context, int)}: use
 the holographic alert theme with a dark background.

 @deprecated Use {@link android.R.style#Theme_Material_Dialog_Alert}.
*/
THEME_HOLO_DARK : "2",
/** Special theme constant for {@link #AlertDialog(Context, int)}: use
 the holographic alert theme with a light background.

 @deprecated Use {@link android.R.style#Theme_Material_Light_Dialog_Alert}.
*/
THEME_HOLO_LIGHT : "3",
/** Special theme constant for {@link #AlertDialog(Context, int)}: use
 the device's default alert theme with a dark background.

 @deprecated Use {@link android.R.style#Theme_DeviceDefault_Dialog_Alert}.
*/
THEME_DEVICE_DEFAULT_DARK : "4",
/** Special theme constant for {@link #AlertDialog(Context, int)}: use
 the device's default alert theme with a light background.

 @deprecated Use {@link android.R.style#Theme_DeviceDefault_Light_Dialog_Alert}.
*/
THEME_DEVICE_DEFAULT_LIGHT : "5",
/** No layout hint.
 @hide
*/
LAYOUT_HINT_NONE : "0",
/** Hint layout to the side.
 @hide
*/
LAYOUT_HINT_SIDE : "1",
/**Gets one of the buttons used in the dialog. Returns null if the specified
 button does not exist or the dialog has not yet been fully created (for
 example, via {@link #show}() or {@link #create}()).
@param {Number} whichButton The identifier of the button that should be returned.
            For example, this can be
            {@link DialogInterface#BUTTON_POSITIVE}.
@return {Object {android.widget.Button}} The button from the dialog, or null if a button does not exist.
*/
getButton : function(  ) {},

/**Gets the list view used in the dialog.
@return {Object {android.widget.ListView}} The {@link ListView} from the dialog.
*/
getListView : function(  ) {},

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

/**
@see Builder#setCustomTitle(View)
*/
setCustomTitle : function(  ) {},

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

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

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

/**Set the view to display in that dialog.
*/
setView : function(  ) {},

/**Set the view to display in that dialog, specifying the spacing to appear around that
 view.
@param {Object {View}} view The view to show in the content area of the dialog
@param {Number} viewSpacingLeft Extra space to appear to the left of {@code view}
@param {Number} viewSpacingTop Extra space to appear above {@code view}
@param {Number} viewSpacingRight Extra space to appear to the right of {@code view}
@param {Number} viewSpacingBottom Extra space to appear below {@code view}
*/
setView : function(  ) {},

/**Set a message to be sent when a button is pressed.
@param {Number} whichButton Which button to set the message for, can be one of
            {@link DialogInterface#BUTTON_POSITIVE},
            {@link DialogInterface#BUTTON_NEGATIVE}, or
            {@link DialogInterface#BUTTON_NEUTRAL}
@param {Object {CharSequence}} text The text to display in positive button.
@param {Object {Message}} msg The {@link Message} to be sent when clicked.
*/
setButton : function(  ) {},

/**Set a listener to be invoked when the positive button of the dialog is pressed.
@param {Number} whichButton Which button to set the listener on, can be one of
            {@link DialogInterface#BUTTON_POSITIVE},
            {@link DialogInterface#BUTTON_NEGATIVE}, or
            {@link DialogInterface#BUTTON_NEUTRAL}
@param {Object {CharSequence}} text The text to display in positive button.
@param {Object {DialogInterface.OnClickListener}} listener The {@link DialogInterface.OnClickListener} to use.
*/
setButton : function(  ) {},

/**
@deprecated Use {@link #setButton(int, CharSequence, Message)} with
             {@link DialogInterface#BUTTON_POSITIVE}.
*/
setButton : function(  ) {},

/**
@deprecated Use {@link #setButton(int, CharSequence, Message)} with
             {@link DialogInterface#BUTTON_NEGATIVE}.
*/
setButton2 : function(  ) {},

/**
@deprecated Use {@link #setButton(int, CharSequence, Message)} with
             {@link DialogInterface#BUTTON_NEUTRAL}.
*/
setButton3 : function(  ) {},

/**Set a listener to be invoked when button 1 of the dialog is pressed.
@param {Object {CharSequence}} text The text to display in button 1.
@param {Object {DialogInterface.OnClickListener}} listener The {@link DialogInterface.OnClickListener} to use.
@deprecated Use
             {@link #setButton(int, CharSequence, android.content.DialogInterface.OnClickListener)}
             with {@link DialogInterface#BUTTON_POSITIVE}
*/
setButton : function(  ) {},

/**Set a listener to be invoked when button 2 of the dialog is pressed.
@param {Object {CharSequence}} text The text to display in button 2.
@param {Object {DialogInterface.OnClickListener}} listener The {@link DialogInterface.OnClickListener} to use.
@deprecated Use
             {@link #setButton(int, CharSequence, android.content.DialogInterface.OnClickListener)}
             with {@link DialogInterface#BUTTON_NEGATIVE}
*/
setButton2 : function(  ) {},

/**Set a listener to be invoked when button 3 of the dialog is pressed.
@param {Object {CharSequence}} text The text to display in button 3.
@param {Object {DialogInterface.OnClickListener}} listener The {@link DialogInterface.OnClickListener} to use.
@deprecated Use
             {@link #setButton(int, CharSequence, android.content.DialogInterface.OnClickListener)}
             with {@link DialogInterface#BUTTON_NEUTRAL}
*/
setButton3 : function(  ) {},

/**Set resId to 0 if you don't want an icon.
@param {Number} resId the resourceId of the drawable to use as the icon or 0
 if you don't want an icon.
*/
setIcon : function(  ) {},

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

/**Set an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon
@param {Number} attrId ID of a theme attribute that points to a drawable resource.
*/
setIconAttribute : function(  ) {},

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

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

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


};