OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:alertDialog
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
MigrateBlockedNumbersDialogFragment.java
21
import android.app.
AlertDialog
;
61
AlertDialog
dialog = new
AlertDialog
.Builder(getActivity())
72
final
AlertDialog
alertDialog
= (
AlertDialog
) dialog;
73
alertDialog
.getButton(
AlertDialog
.BUTTON_POSITIVE)
74
.setOnClickListener(newPositiveButtonOnClickListener(
alertDialog
));
85
private View.OnClickListener newPositiveButtonOnClickListener(final
AlertDialog
alertDialog)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/
NonPhoneActivity.java
23
import android.app.
AlertDialog
;
77
final
AlertDialog
alertDialog
;
78
alertDialog
= new
AlertDialog
.Builder(getActivity(), R.style.NonPhoneDialogTheme)
80
alertDialog
.setTitle(R.string.non_phone_caption);
81
alertDialog
.setMessage(getArgumentPhoneNumber());
82
alertDialog
.setButton(DialogInterface.BUTTON_POSITIVE,
84
alertDialog
.setButton(DialogInterface.BUTTON_NEGATIVE,
86
return
alertDialog
;
[
all
...]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
AlertDialogTest.java
16
import android.app.
AlertDialog
;
33
AlertDialog
.Builder builder = new
AlertDialog
.Builder(new ContextWrapper(null));
36
AlertDialog
alert = builder.create();
53
AlertDialog
dialog = new
AlertDialog
.Builder(new ContextWrapper(null)).show();
59
AlertDialog
.Builder builder = new
AlertDialog
.Builder(new ContextWrapper(null));
61
AlertDialog
dialog = builder.create();
63
assertThat(shadowOf(dialog).getButton(
AlertDialog
.BUTTON_POSITIVE), not(nullValue()))
[
all
...]
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
AddContactsConfirmationDialog.java
18
import android.app.
AlertDialog
;
48
final
AlertDialog
alertDialog
= new
AlertDialog
.Builder(mContext)
54
alertDialog
.show();
56
final Button cancelButton =
alertDialog
.getButton(DialogInterface.BUTTON_NEGATIVE);
60
final Button addButton =
alertDialog
.getButton(DialogInterface.BUTTON_POSITIVE);
/cts/tests/tests/widget/src/android/widget/cts/
SpinnerTest.java
22
import android.app.
AlertDialog
;
111
AlertDialog
.Builder builder = new
AlertDialog
.Builder(getActivity());
112
AlertDialog
alertDialog
= builder.show();
113
assertTrue(
alertDialog
.isShowing());
114
spinner.onClick(
alertDialog
, 10);
116
assertFalse(
alertDialog
.isShowing());
/packages/apps/DeskClock/src/com/android/deskclock/
LabelDialogFragment.java
26
import android.support.v7.app.
AlertDialog
;
107
final
AlertDialog
alertDialog
= new
AlertDialog
.Builder(context)
114
alertDialog
.getWindow().setSoftInputMode(SOFT_INPUT_STATE_VISIBLE);
115
return
alertDialog
;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
ProfileOwnerProvisioningActivity.java
28
import android.app.
AlertDialog
;
203
AlertDialog
alertDialog
= new
AlertDialog
.Builder(this)
224
alertDialog
.show();
237
new
AlertDialog
.Builder(this)
/packages/apps/Settings/src/com/android/settings/fingerprint/
FingerprintSettings.java
22
import android.app.
AlertDialog
;
582
final
AlertDialog
alertDialog
= new
AlertDialog
.Builder(getActivity())
616
alertDialog
.setOnShowListener(new DialogInterface.OnShowListener() {
619
mDialogTextField = (EditText)
alertDialog
.findViewById(
632
alertDialog
.getWindow().setSoftInputMode(
635
return
alertDialog
;
682
final
AlertDialog
alertDialog
= new AlertDialog.Builder(getActivity()
[
all
...]
/packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java
19
import android.app.
AlertDialog
;
229
return new
AlertDialog
.Builder(activity)
241
final
AlertDialog
alertDialog
= (
AlertDialog
)dialog;
244
final CheckBox checkBox = (CheckBox)
alertDialog
.findViewById(R.id.setPrimary);
Completed in 394 milliseconds