Searched refs:toast (Results 1 – 10 of 10) 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/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/ |
D | PackageNamePicker.java | 47 Utils.toast(this, "Error: " + e.getMessage()); in getList()
|
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainMobileActivity.java | 100 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/ |
D | Utils.java | 62 public static void toast(Context context, String message) { in toast() method in Utils
|
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/ |
D | MainActivity.java | 160 Toast toast = Toast.makeText( in onMenuItemClick() local 164 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()
|