Home
last modified time | relevance | path

Searched refs:toast (Results 1 – 10 of 10) sorted by relevance

/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DAddFileActivity.java150 Toast toast = Toast.makeText(this, getText(R.string.file_exists), Toast.LENGTH_LONG); in onCreateFileButtonClick() local
151 toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0); in onCreateFileButtonClick()
152 toast.show(); in onCreateFileButtonClick()
157 Toast toast = Toast.makeText(this, getText(R.string.file_size_is_invalid), in onCreateFileButtonClick() local
159 toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0); in onCreateFileButtonClick()
160 toast.show(); in onCreateFileButtonClick()
167 Toast toast = Toast.makeText(this, in onCreateFileButtonClick() local
169 toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0); in onCreateFileButtonClick()
170 toast.show(); in onCreateFileButtonClick()
264 Toast toast = Toast.makeText(this, message, Toast.LENGTH_LONG); in createFileWithRandomDataAndFinishActivity() local
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSecureView.java103 Toast toast = new Toast(getApplicationContext()); in showOverlay() local
104 toast.setGravity(Gravity.FILL, 0, 0); in showOverlay()
105 toast.setView(overlay); in showOverlay()
106 toast.show(); in showOverlay()
DSplitTouchView.java62 Toast toast = Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT);
63 toast.show();
DGameControllerInput.java369 Toast toast = Toast.makeText( in onItemClick() local
371 toast.show(); in onItemClick()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/
DPackageNamePicker.java47 Utils.toast(this, "Error: " + e.getMessage()); in getList()
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/
DMainMobileActivity.java100 Toast toast = Toast.makeText(
104 toast.show();
107 Toast toast = Toast.makeText(
112 toast.show();
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DUtils.java62 public static void toast(Context context, String message) { in toast() method in Utils
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/
DMainActivity.java160 Toast toast = Toast.makeText( in onMenuItemClick() local
164 toast.show(); in onMenuItemClick()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DChangedContacts.java62 Toast toast = Toast.makeText(context, "Contacts database created.", Toast.LENGTH_SHORT);
63 toast.show();
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java222 Toast toast = Toast.makeText(ctx, txt, duration); in createContactEntry()
223 toast.show(); in createContactEntry()