OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:alertDialog
(Results
1 - 5
of
5
) sorted by null
/packages/apps/Contacts/src/com/android/contacts/
NonPhoneActivity.java
20
import android.app.
AlertDialog
;
71
final
AlertDialog
alertDialog
;
72
alertDialog
= new
AlertDialog
.Builder(getActivity(), R.style.NonPhoneDialogTheme)
74
alertDialog
.setTitle(R.string.non_phone_caption);
75
alertDialog
.setMessage(getArgumentPhoneNumber());
76
alertDialog
.setButton(DialogInterface.BUTTON_POSITIVE,
78
alertDialog
.setButton(DialogInterface.BUTTON_NEGATIVE,
80
return
alertDialog
;
[
all
...]
/external/robolectric/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
...]
/cts/tests/tests/widget/src/android/widget/cts/
SpinnerTest.java
22
import android.app.
AlertDialog
;
95
AlertDialog
.Builder builder = new
AlertDialog
.Builder(getActivity());
96
AlertDialog
alertDialog
= builder.show();
97
assertTrue(
alertDialog
.isShowing());
98
spinner.onClick(
alertDialog
, 10);
100
assertFalse(
alertDialog
.isShowing());
/packages/apps/Settings/src/com/android/settings/quicklaunch/
QuickLaunchSettings.java
19
import android.app.
AlertDialog
;
145
return new
AlertDialog
.Builder(this)
164
AlertDialog
alertDialog
= (
AlertDialog
) dialog;
165
alertDialog
.setMessage(getString(R.string.quick_launch_clear_dialog_message,
181
if (mClearDialogShortcut > 0 && which ==
AlertDialog
.BUTTON_POSITIVE) {
/packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java
19
import android.app.
AlertDialog
;
220
return new
AlertDialog
.Builder(activity)
232
final
AlertDialog
alertDialog
= (
AlertDialog
)dialog;
235
final CheckBox checkBox = (CheckBox)
alertDialog
.findViewById(R.id.setPrimary);
Completed in 676 milliseconds