/**@class android.app.ProgressDialog
@extends android.app.AlertDialog

 A dialog showing a progress indicator and an optional text message or view.
 Only a text message or a view can be used at the same time.

 <p>The dialog can be made cancelable on back key press.</p>

 <p>The progress range is 0 to {@link #getMax() max}.</p>

 @deprecated <code>ProgressDialog</code> is a modal dialog, which prevents the
 user from interacting with the app. Instead of using this class, you should
 use a progress indicator like {@link android.widget.ProgressBar}, which can
 be embedded in your app's UI. Alternatively, you can use a
 <a href="/guide/topics/ui/notifiers/notifications.html">notification</a>
 to inform the user of the task's progress.
*/
var ProgressDialog = {

/** Creates a ProgressDialog with a circular, spinning progress
 bar. This is the default.
*/
STYLE_SPINNER : "0",
/** Creates a ProgressDialog with a horizontal progress bar.
*/
STYLE_HORIZONTAL : "1",
/**Creates and shows a ProgressDialog.
@param {Object {Context}} context the parent context
@param {Object {CharSequence}} title the title text for the dialog's window
@param {Object {CharSequence}} message the text to be displayed in the dialog
@return {Object {android.app.ProgressDialog}} the ProgressDialog
*/
show : function(  ) {},

/**Creates and shows a ProgressDialog.
@param {Object {Context}} context the parent context
@param {Object {CharSequence}} title the title text for the dialog's window
@param {Object {CharSequence}} message the text to be displayed in the dialog
@param {Boolean} indeterminate true if the dialog should be {@link #setIndeterminate(boolean)
        indeterminate}, false otherwise
@return {Object {android.app.ProgressDialog}} the ProgressDialog
*/
show : function(  ) {},

/**Creates and shows a ProgressDialog.
@param {Object {Context}} context the parent context
@param {Object {CharSequence}} title the title text for the dialog's window
@param {Object {CharSequence}} message the text to be displayed in the dialog
@param {Boolean} indeterminate true if the dialog should be {@link #setIndeterminate(boolean)
        indeterminate}, false otherwise
@param {Boolean} cancelable true if the dialog is {@link #setCancelable(boolean) cancelable},
        false otherwise
@return {Object {android.app.ProgressDialog}} the ProgressDialog
*/
show : function(  ) {},

/**Creates and shows a ProgressDialog.
@param {Object {Context}} context the parent context
@param {Object {CharSequence}} title the title text for the dialog's window
@param {Object {CharSequence}} message the text to be displayed in the dialog
@param {Boolean} indeterminate true if the dialog should be {@link #setIndeterminate(boolean)
        indeterminate}, false otherwise
@param {Boolean} cancelable true if the dialog is {@link #setCancelable(boolean) cancelable},
        false otherwise
@param {Object {DialogInterface.OnCancelListener}} cancelListener the {@link #setOnCancelListener(OnCancelListener) listener}
        to be invoked when the dialog is canceled
@return {Object {android.app.ProgressDialog}} the ProgressDialog
*/
show : function(  ) {},

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

/**Sets the current progress.
@param {Number} value the current progress, a value between 0 and {@link #getMax()}
@see ProgressBar#setProgress(int)
*/
setProgress : function(  ) {},

/**Sets the secondary progress.
@param {Number} secondaryProgress the current secondary progress, a value between 0 and
 {@link #getMax()}
@see ProgressBar#setSecondaryProgress(int)
*/
setSecondaryProgress : function(  ) {},

/**Gets the current progress.
@return {Number} the current progress, a value between 0 and {@link #getMax()}
*/
getProgress : function(  ) {},

/**Gets the current secondary progress.
@return {Number} the current secondary progress, a value between 0 and {@link #getMax()}
*/
getSecondaryProgress : function(  ) {},

/**Gets the maximum allowed progress value. The default value is 100.
@return {Number} the maximum value
*/
getMax : function(  ) {},

/**Sets the maximum allowed progress value.
*/
setMax : function(  ) {},

/**Increments the current progress value.
@param {Number} diff the amount by which the current progress will be incremented,
 up to {@link #getMax()}
*/
incrementProgressBy : function(  ) {},

/**Increments the current secondary progress value.
@param {Number} diff the amount by which the current secondary progress will be incremented,
 up to {@link #getMax()}
*/
incrementSecondaryProgressBy : function(  ) {},

/**Sets the drawable to be used to display the progress value.
@param {Object {Drawable}} d the drawable to be used
@see ProgressBar#setProgressDrawable(Drawable)
*/
setProgressDrawable : function(  ) {},

/**Sets the drawable to be used to display the indeterminate progress value.
@param {Object {Drawable}} d the drawable to be used
@see ProgressBar#setProgressDrawable(Drawable)
@see #setIndeterminate(boolean)
*/
setIndeterminateDrawable : function(  ) {},

/**Change the indeterminate mode for this ProgressDialog. In indeterminate
 mode, the progress is ignored and the dialog shows an infinite
 animation instead.

 <p><strong>Note:</strong> A ProgressDialog with style {@link #STYLE_SPINNER}
 is always indeterminate and will ignore this setting.</p>
@param {Boolean} indeterminate true to enable indeterminate mode, false otherwise
@see #setProgressStyle(int)
*/
setIndeterminate : function(  ) {},

/**Whether this ProgressDialog is in indeterminate mode.
@return {Boolean} true if the dialog is in indeterminate mode, false otherwise
*/
isIndeterminate : function(  ) {},

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

/**Sets the style of this ProgressDialog, either {@link #STYLE_SPINNER} or
 {@link #STYLE_HORIZONTAL}. The default is {@link #STYLE_SPINNER}.

 <p><strong>Note:</strong> A ProgressDialog with style {@link #STYLE_SPINNER}
 is always indeterminate and will ignore the {@link #setIndeterminate(boolean)
 indeterminate} setting.</p>
@param {Number} style the style of this ProgressDialog, either {@link #STYLE_SPINNER} or
 {@link #STYLE_HORIZONTAL}
*/
setProgressStyle : function(  ) {},

/**Change the format of the small text showing current and maximum units
 of progress.  The default is "%1d/%2d".
 Should not be called during the number is progressing.
@param {String} format A string passed to {@link String#format String.format()};
 use "%1d" for the current number and "%2d" for the maximum.  If null,
 nothing will be shown.
*/
setProgressNumberFormat : function(  ) {},

/**Change the format of the small text showing the percentage of progress.
 The default is
 {@link NumberFormat#getPercentInstance() NumberFormat.getPercentageInstnace().}
 Should not be called during the number is progressing.
@param {Object {NumberFormat}} format An instance of a {@link NumberFormat} to generate the
 percentage text.  If null, nothing will be shown.
*/
setProgressPercentFormat : function(  ) {},


};