Searched refs:toast (Results 1 – 7 of 7) sorted by relevance
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
D | AddFileActivity.java | 150 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/ |
D | SecureView.java | 103 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()
|
D | SplitTouchView.java | 62 Toast toast = Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT); 63 toast.show();
|
D | GameControllerInput.java | 369 Toast toast = Toast.makeText( in onItemClick() local 371 toast.show(); in onItemClick()
|
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/ |
D | MainActivity.java | 156 Toast toast = Toast.makeText( in onMenuItemClick() local 160 toast.show(); in onMenuItemClick()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ChangedContacts.java | 62 Toast toast = Toast.makeText(context, "Contacts database created.", Toast.LENGTH_SHORT); 63 toast.show();
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
D | ContactAdder.java | 222 Toast toast = Toast.makeText(ctx, txt, duration); in createContactEntry() 223 toast.show(); in createContactEntry()
|