/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationAccessSettings.java | 20 import android.app.Dialog; 78 // show a friendly dialog 87 // show a scary dialog 90 .show(getFragmentManager(), "dialog"); 148 public Dialog onCreateDialog(Bundle savedInstanceState) { 161 (dialog, id) -> disable(parent, cn)) 163 (dialog, id) -> {
|
ZenRuleNameDialog.java | 20 import android.app.Dialog; 61 ZenRuleNameDialog dialog = new ZenRuleNameDialog(); local 62 dialog.setArguments(args); 63 dialog.setTargetFragment(parent, 0); 64 dialog.show(parent.getFragmentManager(), TAG); 68 public Dialog onCreateDialog(Bundle savedInstanceState) { 92 public void onClick(DialogInterface dialog, int which) {
|
NotificationLockscreenPreference.java | 25 import android.app.Dialog; 65 // Call super to create preference dialog only when work mode is on 88 protected void onDialogCreated(Dialog dialog) { 89 super.onDialogCreated(dialog); 90 dialog.create(); 91 CheckBox checkbox = (CheckBox) dialog.findViewById(R.id.lockscreen_remote_input); 96 View restricted = dialog.findViewById(R.id.restricted_lock_icon_remote_input); 101 dialog.findViewById(com.android.internal.R.id.customPanel) 107 protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState) [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
AutoSyncDataPreferenceController.java | 20 import android.app.Dialog; 95 * Dialog to inform user about changing auto-sync setting 109 final ConfirmAutoSyncChangeFragment dialog = new ConfirmAutoSyncChangeFragment(); 110 dialog.mEnabling = enabling; 111 dialog.mUserHandle = userHandle; 112 dialog.setTargetFragment(parent, 0); 113 dialog.mPreference = preference; 114 dialog.show(parent.getFragmentManager(), TAG_CONFIRM_AUTO_SYNC_CHANGE); 118 public Dialog onCreateDialog(Bundle savedInstanceState) { 153 public void onClick(DialogInterface dialog, int which) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/details/ |
WifiNetworkDetailsFragment.java | 20 import android.app.Dialog; 87 public Dialog onCreateDialog(int dialogId) {
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
StorageManagerUpsellDialog.java | 19 import android.app.Dialog; 59 StorageManagerUpsellDialog dialog = new StorageManagerUpsellDialog(); local 62 dialog.setArguments(args); 63 return dialog; 72 public Dialog onCreateDialog(Bundle savedInstanceState) { 87 public void onClick(DialogInterface dialog, int buttonId) { 106 public void onCancel(DialogInterface dialog) { 118 * Returns if the dialog should be shown, given the delays between when it is shown.
|
/packages/apps/TV/src/com/android/tv/dialog/ |
DvrHistoryDialogFragment.java | 17 package com.android.tv.dialog; 22 import android.app.Dialog; 55 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
RecentlyWatchedDialogFragment.java | 17 package com.android.tv.dialog; 20 import android.app.Dialog; 48 public Dialog onCreateDialog(Bundle savedInstanceState) {
|
/packages/services/Telephony/src/com/android/phone/ |
MMIDialogActivity.java | 20 import android.app.Dialog; 38 * Used to display a dialog from within the Telephony service when running an USSD code 43 private Dialog mMMIDialog; 127 Log.d(TAG, "onMMIComplete: Got MMI_COMPLETE, finishing dialog activity..."); 137 * (labeled either "OK" or "Cancel") on the "MMI Started" dialog. 148 // take us to the MMI Complete dialog (see 153 // partially-constructed state as soon as the "MMI Started" dialog 155 Log.d(TAG, "onMMICancel: finishing MMI dialog...");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LayoutCreatorDialog.java | 28 import org.eclipse.jface.dialogs.Dialog; 38 * Dialog to choose a non existing {@link FolderConfiguration}. 51 * Creates a dialog, and init the UI from a {@link FolderConfiguration}. 144 String displayString = Dialog.shortenText(String.format("New File: res/%1$s/%2$s",
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
SdkLocationChooserDialog.java | 21 import org.eclipse.jface.dialogs.Dialog; 41 public class SdkLocationChooserDialog extends Dialog {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleConnectionPriorityClientBaseActivity.java | 20 import android.app.Dialog;
44 private Dialog mDialog;
117 ProgressDialog dialog = new ProgressDialog(this);
local 118 dialog.setTitle(R.string.ble_test_running);
119 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
120 dialog.setMessage(getString(R.string.ble_test_running_message));
121 dialog.setCanceledOnTouchOutside(false);
122 mDialog = dialog;
131 builder.setOnCancelListener(new Dialog.OnCancelListener() {
133 public void onCancel(DialogInterface dialog) {
[all...] |
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CredentialsInstallDialog.java | 21 import android.app.Dialog; 64 public void onClick(DialogInterface dialog, int which) { 65 dialog.dismiss();
|
/developers/build/prebuilts/gradle/StorageClient/Application/src/main/java/com/example/android/storageclient/ |
StorageClientFragment.java | 20 import android.app.Dialog; 134 private Dialog mDialog; 172 public Dialog onCreateDialog(Bundle savedInstanceState) { 175 // title, remove the bar along the top of the fragment where a dialog title would
|
/developers/samples/android/content/documentsUi/StorageClient/Application/src/main/java/com/example/android/storageclient/ |
StorageClientFragment.java | 20 import android.app.Dialog; 134 private Dialog mDialog; 172 public Dialog onCreateDialog(Bundle savedInstanceState) { 175 // title, remove the bar along the top of the fragment where a dialog title would
|
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/ |
StorageClientFragment.java | 20 import android.app.Dialog; 134 private Dialog mDialog; 172 public Dialog onCreateDialog(Bundle savedInstanceState) { 175 // title, remove the bar along the top of the fragment where a dialog title would
|
/external/replicaisland/src/com/replica/replicaisland/ |
ExtrasMenuActivity.java | 8 import android.app.Dialog; 153 protected Dialog onCreateDialog(int id) { 154 Dialog dialog = null; local 157 dialog = new AlertDialog.Builder(this) 160 public void onClick(DialogInterface dialog, int whichButton) { 168 dialog = new AlertDialog.Builder(this) 174 return dialog;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
GlobalActionsImpl.java | 20 import android.app.Dialog; 81 Dialog d = new Dialog(mContext,
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
SystemBarHelper.java | 21 import android.app.Dialog; 72 * Hide the navigation bar for a dialog. 76 public static void hideSystemBars(final Dialog dialog) { 78 final Window window = dialog.getWindow(); 116 public static void showSystemBars(final Dialog dialog, final Context context) { 117 showSystemBars(dialog.getWindow(), context); 308 // if the dialog has editable text fields.
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
SystemBarHelperTest.java | 24 import android.app.Dialog; 181 final Dialog dialog = new Dialog(InstrumentationRegistry.getContext()); local 183 final WindowManager.LayoutParams attrs = dialog.getWindow().getAttributes(); 185 dialog.getWindow().setAttributes(attrs); 188 SystemBarHelper.hideSystemBars(dialog); 192 dialog.getWindow().getAttributes().systemUiVisibility);
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarColorPickerDialog.java | 20 import android.app.Dialog; 157 // Empty constructor required for dialog fragments. 224 public Dialog onCreateDialog(Bundle savedInstanceState) { 225 Dialog dialog = super.onCreateDialog(savedInstanceState); local 230 return dialog;
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
AccountDetailsFragment.java | 25 import android.app.Dialog; 145 * Dialog to confirm with user about account removal 182 final ConfirmRemoveAccountDialog dialog = new ConfirmRemoveAccountDialog(); local 186 dialog.setArguments(bundle); 187 dialog.setTargetFragment(parent, 0); 188 dialog.show(parent.getFragmentManager(), DIALOG_TAG); 200 public Dialog onCreateDialog(Bundle savedInstanceState) { 210 public void onClick(DialogInterface dialog, int which) { 214 dialog.dismiss(); 219 * Dialog to tell user about account removal failur 226 final RemoveAccountFailureDialog dialog = new RemoveAccountFailureDialog(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ExportVCardActivity.java | 20 import android.app.Dialog; 43 * Shows a dialog confirming the export and asks actual vCard export to {@link VCardService} 178 protected Dialog onCreateDialog(int id, Bundle bundle) { 194 protected void onPrepareDialog(int id, Dialog dialog, Bundle args) { 196 ((AlertDialog)dialog).setMessage(mErrorReason); 198 super.onPrepareDialog(id, dialog, args); 203 public void onClick(DialogInterface dialog, int which) { 209 public void onCancel(DialogInterface dialog) {
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
UninstallUninstalling.java | 22 import android.app.Dialog; 42 * Start an uninstallation, show a dialog while uninstalling and return result to the caller. 77 // Show dialog, which is the whole UI 79 Fragment prev = getFragmentManager().findFragmentByTag("dialog"); 83 DialogFragment dialog = new UninstallUninstallingFragment(); local 84 dialog.setCancelable(false); 85 dialog.show(transaction, "dialog"); 166 * Dialog that shows that the app is uninstalling. 170 public Dialog onCreateDialog(Bundle savedInstanceState) 177 Dialog dialog = dialogBuilder.create(); local [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
RemoveAccountPreferenceController.java | 26 import android.app.Dialog; 103 * Dialog to confirm with user about account removal 117 final ConfirmRemoveAccountDialog dialog = new ConfirmRemoveAccountDialog(); local 121 dialog.setArguments(bundle); 122 dialog.setTargetFragment(parent, 0); 123 dialog.show(parent.getFragmentManager(), REMOVE_ACCOUNT_DIALOG); 124 return dialog; 136 public Dialog onCreateDialog(Bundle savedInstanceState) { 152 public void onClick(DialogInterface dialog, int which) { 187 * Dialog to tell user about account removal failur 197 final RemoveAccountFailureDialog dialog = new RemoveAccountFailureDialog(); local [all...] |