/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowProgressDialog.java | 4 import android.app.ProgressDialog; 12 @Implements(ProgressDialog.class) 18 public static ProgressDialog show(Context context, CharSequence title, CharSequence message) { 23 public static ProgressDialog show(Context context, CharSequence title, CharSequence message, boolean indeterminate) { 28 public static ProgressDialog show(Context context, CharSequence title, CharSequence message, boolean indeterminate, boolean cancelable) { 33 public static ProgressDialog show(Context context, CharSequence title, CharSequence message, boolean indeterminate, boolean cancelable, ProgressDialog.OnCancelListener onCancelListener) { 34 ProgressDialog progressDialog = new ProgressDialog(context) [all...] |
/cts/tests/app/src/android/app/cts/ |
ProgressDialogTest.java | 20 import android.app.ProgressDialog; 35 * Test {@link ProgressDialog}. 71 new ProgressDialog(mContext); 76 new ProgressDialog(mContext, R.style.Theme_AlertDialog); 96 ProgressDialog.show(mContext, TITLE, MESSAGE); 101 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); 109 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); 123 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ProgressDialogTest.java | 4 import android.app.ProgressDialog; 29 private ProgressDialog dialog; 34 dialog = new ProgressDialog(null); 67 ProgressDialog progressDialog = ProgressDialog.show(context, "Title", "Message", true, true, cancelListener); 68 ShadowProgressDialog shadowProgressDialog = shadowOf(progressDialog); 74 progressDialog.cancel(); 75 assertThat(cancelListener.onCancelDialogInterface, is((DialogInterface) progressDialog)); 80 assertLatestDialogsSet("Title", "Message", false, false, null, new Callable<ProgressDialog>() { [all...] |
/external/lzma/CPP/7zip/Bundles/SFXSetup/ |
ExtractCallbackSfx.h | 18 #include "../../UI/FileManager/ProgressDialog.h"
58 CProgressDialog ProgressDialog;
73 ProgressDialog.Create(title, thread, 0);
75 ProgressDialog.SetText(LangString(IDS_PROGRESS_EXTRACTING));
78 ProgressDialog.Show(SW_SHOWNORMAL);
81 virtual ~CExtractCallbackImp() { ProgressDialog.Destroy(); }
|
resource.rc | 16 #include "../../UI/FileManager/ProgressDialog.rc"
|
ExtractCallbackSfx.cpp | 41 return ProgressDialog.Sync.ProcessStopAndPause();
55 return ProgressDialog.Sync.ProcessStopAndPause();
64 ProgressDialog.Sync.SetProgress(size, 0);
72 RINOK(ProgressDialog.Sync.ProcessStopAndPause());
74 ProgressDialog.Sync.SetPos(*completeValue);
94 if (ProgressDialog.Sync.GetStopped())
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
ProgressDialogTask.java | 19 import android.app.ProgressDialog; 45 mDialog = new ProgressDialog(getActivity()); 46 ((ProgressDialog) mDialog).setProgressStyle(mStyle); 47 ((ProgressDialog) mDialog).setMax(mMax); 50 ((ProgressDialog) mDialog).setMessage(mMessage);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ClearCallLogDialog.java | 24 import android.app.ProgressDialog; 57 final ProgressDialog progressDialog = ProgressDialog.show(getActivity(), 60 progressDialog.setOwnerActivity(getActivity()); 72 final Activity activity = progressDialog.getOwnerActivity(); 78 if (progressDialog != null && progressDialog.isShowing()) { 79 progressDialog.dismiss(); 83 // TODO: Once we have the API, we should configure this ProgressDialog [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ProgressBar3.java | 23 import android.app.ProgressDialog; 35 ProgressDialog mDialog1; 36 ProgressDialog mDialog2; 67 ProgressDialog dialog = new ProgressDialog(this); 75 ProgressDialog dialog = new ProgressDialog(this);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
VrActivity.java | 20 import android.app.ProgressDialog; 73 ProgressDialog progressDialog; 77 progressDialog = new ProgressDialog(VrActivity.this); 78 progressDialog.setMessage(message= "Loading Volume"); 79 progressDialog.setIndeterminate(true); 80 progressDialog.setCancelable(false); 81 progressDialog.setProgress(0); 82 progressDialog.setMax(100) [all...] |
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
DeviceListFragment.java | 20 import android.app.ProgressDialog; 46 ProgressDialog progressDialog = null; 157 if (progressDialog != null && progressDialog.isShowing()) { 158 progressDialog.dismiss(); 179 if (progressDialog != null && progressDialog.isShowing()) { 180 progressDialog.dismiss(); 182 progressDialog = ProgressDialog.show(getActivity(), "Press back to cancel", "finding peers", true [all...] |
DeviceDetailFragment.java | 20 import android.app.ProgressDialog; 58 ProgressDialog progressDialog = null; 76 if (progressDialog != null && progressDialog.isShowing()) { 77 progressDialog.dismiss(); 79 progressDialog = ProgressDialog.show(getActivity(), "Press back to cancel", 141 if (progressDialog != null && progressDialog.isShowing()) [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 20 import android.app.ProgressDialog; 46 ProgressDialog progressDialog = null; 157 if (progressDialog != null && progressDialog.isShowing()) { 158 progressDialog.dismiss(); 179 if (progressDialog != null && progressDialog.isShowing()) { 180 progressDialog.dismiss(); 182 progressDialog = ProgressDialog.show(getActivity(), "Press back to cancel", "finding peers", true [all...] |
DeviceDetailFragment.java | 20 import android.app.ProgressDialog; 59 ProgressDialog progressDialog = null; 77 if (progressDialog != null && progressDialog.isShowing()) { 78 progressDialog.dismiss(); 80 progressDialog = ProgressDialog.show(getActivity(), "Press back to cancel", 140 if (progressDialog != null && progressDialog.isShowing()) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
MasterClearConfirm.java | 19 import android.app.ProgressDialog; 77 ProgressDialog mProgressDialog; 110 private ProgressDialog getProgressDialog() { 111 final ProgressDialog progressDialog = new ProgressDialog(getActivity()); 112 progressDialog.setIndeterminate(true); 113 progressDialog.setCancelable(false); 114 progressDialog.setTitle( 116 progressDialog.setMessage [all...] |
/frameworks/base/core/java/android/app/ |
ProgressDialog.java | 43 public class ProgressDialog extends AlertDialog { 45 /** Creates a ProgressDialog with a circular, spinning progress 50 /** Creates a ProgressDialog with a horizontal progress bar. 76 public ProgressDialog(Context context) { 81 public ProgressDialog(Context context, int theme) { 92 public static ProgressDialog show(Context context, CharSequence title, 97 public static ProgressDialog show(Context context, CharSequence title, 102 public static ProgressDialog show(Context context, CharSequence title, 107 public static ProgressDialog show(Context context, CharSequence title, 110 ProgressDialog dialog = new ProgressDialog(context) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
MuteVideo.java | 20 import android.app.ProgressDialog; 36 private ProgressDialog mMuteProgress; 97 mMuteProgress = new ProgressDialog(mActivity);
|
/packages/apps/Dialer/src/com/android/dialer/ |
SpecialCharSequenceMgr.java | 23 import android.app.ProgressDialog; 81 * QueryHandler may call {@link ProgressDialog#dismiss()} when the screen is already gone, 240 sc.progressDialog = new ProgressDialog(context); 241 sc.progressDialog.setTitle(R.string.simContacts_title); 242 sc.progressDialog.setMessage(context.getText(R.string.simContacts_emptyLoading)); 243 sc.progressDialog.setIndeterminate(true); 244 sc.progressDialog.setCancelable(true); 245 sc.progressDialog.setOnCancelListener(sc); 246 sc.progressDialog.getWindow().addFlags [all...] |
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
UrlDownloaderTask.java | 19 import android.app.ProgressDialog; 48 private final ProgressDialog mDialog; 71 mDialog = new ProgressDialog(context); 87 mDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
|
InterpreterUninstaller.java | 19 import android.app.ProgressDialog; 46 protected final ProgressDialog mDialog; 79 mDialog = new ProgressDialog(context);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
AttachmentProgressDialogFragment.java | 21 import android.app.ProgressDialog; 37 private ProgressDialog mDialog; 68 mDialog = new ProgressDialog(getActivity()); 71 mDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
|
/external/lzma/CPP/7zip/UI/FileManager/ |
ExtractCallback.cpp | 53 ProgressDialog->Sync.AddError_Message(s);
65 ProgressDialog->Sync.Set_NumFilesTotal(numFiles);
74 ProgressDialog->Sync.Set_NumBytesTotal(total);
80 return ProgressDialog->Sync.Set_NumBytesCur(value);
85 return ProgressDialog->Sync.CheckStop();
90 // if (numFiles != NULL) ProgressDialog->Sync.SetNumFilesTotal(*numFiles);
96 // if (numFiles != NULL) ProgressDialog->Sync.SetNumFilesCur(*numFiles);
97 return ProgressDialog->Sync.CheckStop();
130 ProgressDialog->Sync.Set_Ratio(inSize, outSize);
138 ProgressDialog->Sync.SetNumFilesTotal(total); [all...] |
/external/lzma/CPP/7zip/UI/GUI/ |
ExtractGUI.cpp | 250 extracter.ExtractCallbackSpec->ProgressDialog = &extracter.ProgressDialog;
254 extracter.ProgressDialog.CompressingMode = false;
264 extracter.ProgressDialog.IconID = IDI_ICON;
268 extracter.ProgressDialog.MessagesDisplayed;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothToggleActivity.java | 23 import android.app.ProgressDialog; 50 private ProgressDialog mDisablingDialog; 68 mDisablingDialog = new ProgressDialog(this);
|
/frameworks/base/services/core/java/com/android/server/ |
MasterClearReceiver.java | 19 import android.app.ProgressDialog; 79 private final ProgressDialog mProgressDialog; 84 mProgressDialog = new ProgressDialog(context);
|