Home
last modified time | relevance | path

Searched refs:toast (Results 1 – 7 of 7) 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/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/
DMainActivity.java156 Toast toast = Toast.makeText( in onMenuItemClick() local
160 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()