/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PickContact.java | 36 import android.widget.Toast; 46 Toast mToast; 102 mToast = Toast.makeText(this, txt, Toast.LENGTH_LONG);
|
/development/samples/browseable/ListPopupMenu/src/com.example.android.actionbarcompat.listpopupmenu/ |
PopupListFragment.java | 26 import android.widget.Toast; 55 // Show a toast if the user clicks on an item 56 Toast.makeText(getActivity(), "Item Clicked: " + item, Toast.LENGTH_SHORT).show();
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/notifications/ |
options.html | 19 <img src="64.png" alt="Toast">
|
/external/replicaisland/res/layout/ |
custom_toast.xml | 2 <!-- Thanks to http://hustleplay.wordpress.com/2009/07/23/replicating-default-android-toast/ ! -->
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothEnabler.java | 27 import android.widget.Toast; 109 // Show toast message if Bluetooth is not allowed in airplane mode 112 Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show();
|
/packages/services/Telephony/res/layout/ |
delete_fdn_contact_screen.xml | 21 <!-- Modified to remove the status field in favor of a toast.-->
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ActivityTestMain.java | 41 import android.widget.Toast; 66 Toast.makeText(ActivityTestMain.this, 69 Toast.LENGTH_LONG).show(); 169 Toast.makeText(ActivityTestMain.this, "Failed to bind", 170 Toast.LENGTH_LONG).show(); 200 Toast.makeText(ActivityTestMain.this, 203 Toast.LENGTH_LONG).show(); 243 Toast.makeText(ActivityTestMain.this, "Failed to bind", 244 Toast.LENGTH_LONG).show(); 267 Toast.makeText(ActivityTestMain.this, "Failed to bind" [all...] |
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/ |
MainActivity.java | 37 import android.widget.Toast; 50 * Intent in this case (just a Toast is displayed) 93 Toast.makeText(this, "Handle SEND and SENDTO intents: " + getIntent().getDataString(), 94 Toast.LENGTH_SHORT).show(); 109 Toast.makeText(this, "Sending text message: " + smsText, Toast.LENGTH_SHORT).show(); 113 Toast.makeText(this, "Not default", Toast.LENGTH_SHORT).show();
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
TracingControllerAndroid.java | 14 import android.widget.Toast; 62 // showing the toast impacts performance. This gives us the chance to disable them. 165 // Don't need a toast because this shouldn't happen via the UI. 201 // Don't need a toast because this shouldn't happen via the UI. 223 if (mShowToasts) Toast.makeText(mContext, str, Toast.LENGTH_SHORT).show(); 228 if (mShowToasts) Toast.makeText(mContext, str, Toast.LENGTH_SHORT).show();
|
/packages/apps/Browser/src/com/android/browser/ |
Bookmarks.java | 35 import android.widget.Toast; 59 * Toast confirming that the bookmark has been added. If the 60 * caller provides null, the Toast will not be shown. 86 Toast.makeText(context, R.string.added_to_bookmarks, 87 Toast.LENGTH_LONG).show(); 96 * Toast confirming that the bookmark has been removed and to 123 Toast.makeText(context, R.string.removed_from_bookmarks, 124 Toast.LENGTH_LONG).show();
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
DemoMainActivity.java | 41 Toast.makeText(parent.getContext(), "Set EGLConfig " + 42 parent.getItemAtPosition(pos).toString(), Toast.LENGTH_LONG).show(); 65 Toast.makeText(parent.getContext(), "Set Logging " + 66 parent.getItemAtPosition(pos).toString(), Toast.LENGTH_LONG).show(); 128 Toast.makeText(this, message, Toast.LENGTH_LONG).show();
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiEnabler.java | 32 import android.widget.Toast; 108 // Show toast message if Wi-Fi is not allowed in airplane mode 110 Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show(); 127 Toast.makeText(mContext, R.string.wifi_error, Toast.LENGTH_SHORT).show();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
AlbumSetPage.java | 34 import android.widget.Toast; 214 WeakReference<Toast> mEmptyAlbumToast = null; 217 Toast toast; local 219 toast = mEmptyAlbumToast.get(); 220 if (toast != null) { 221 toast.show(); 225 toast = Toast.makeText(mActivity, R.string.empty_album, toastLength); 226 mEmptyAlbumToast = new WeakReference<Toast>(toast) 232 Toast toast = mEmptyAlbumToast.get(); local [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
DownloadManager.java | 36 import android.widget.Toast; 196 Toast.makeText(mContext, R.string.service_message_not_found, 197 Toast.LENGTH_LONG).show(); 213 Toast.makeText(mContext, getMessage(uri), 214 Toast.LENGTH_LONG).show(); 237 Toast.makeText(mContext, errStr, Toast.LENGTH_LONG).show();
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideEditorActivity.java | 44 import android.widget.Toast; 286 Toast.makeText(SlideEditorActivity.this, R.string.cannot_add_picture_and_video, 287 Toast.LENGTH_SHORT).show(); 482 Toast.makeText(this, 484 Toast.LENGTH_SHORT).show(); 500 Toast.makeText(this, R.string.cannot_add_slide_anymore, 501 Toast.LENGTH_SHORT).show(); 620 Toast.makeText(SlideEditorActivity.this, 622 Toast.LENGTH_SHORT).show(); 633 Toast.makeText(SlideEditorActivity.this [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiver.java | 49 import android.widget.Toast; 102 // Display toast message 112 Toast.makeText(context, toastMsg, Toast.LENGTH_SHORT).show(); 131 Toast.makeText(context, context.getString(R.string.incoming_file_toast_msg), 132 Toast.LENGTH_SHORT).show(); 276 if (V) Log.v(TAG, "Toast msg == " + toastMsg); 278 Toast.makeText(context, toastMsg, Toast.LENGTH_SHORT).show();
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
AlarmActivity.java | 28 import android.widget.Toast; 108 Toast.makeText( 111 Toast.LENGTH_LONG // how long to display the message 126 Toast.makeText( 129 Toast.LENGTH_LONG // how long to display the message
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalServiceActivities.java | 31 import android.widget.Toast; 106 Toast.makeText(Binding.this, R.string.local_service_connected, 107 Toast.LENGTH_SHORT).show(); 116 Toast.makeText(Binding.this, R.string.local_service_disconnected, 117 Toast.LENGTH_SHORT).show();
|
MessengerServiceActivities.java | 21 import android.widget.Toast; 96 Toast.makeText(Binding.this, R.string.remote_service_connected, 97 Toast.LENGTH_SHORT).show(); 107 Toast.makeText(Binding.this, R.string.remote_service_disconnected, 108 Toast.LENGTH_SHORT).show();
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Video.java | 32 import android.widget.Toast; 84 Toast 90 Toast.LENGTH_LONG).show(); 107 Toast 112 Toast.LENGTH_LONG).show();
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessagingDemo.java | 41 import android.widget.Toast; 99 Toast.makeText(SmsMessagingDemo.this, "Please enter a message recipient.", 100 Toast.LENGTH_SHORT).show(); 105 Toast.makeText(SmsMessagingDemo.this, "Please enter a message body.", 106 Toast.LENGTH_SHORT).show();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ExpandableList1.java | 32 import android.widget.Toast; 71 Toast.makeText(this, title + ": Child " + childPos + " clicked in group " + groupPos, 72 Toast.LENGTH_SHORT).show(); 76 Toast.makeText(this, title + ": Group " + groupPos + " clicked", Toast.LENGTH_SHORT).show();
|
/frameworks/base/core/java/com/android/internal/os/storage/ |
ExternalStorageFormatter.java | 20 import android.widget.Toast; 136 Toast.makeText(this, msg, Toast.LENGTH_LONG).show(); 177 Toast.makeText(ExternalStorageFormatter.this, 178 R.string.format_error, Toast.LENGTH_LONG).show();
|
/frameworks/base/packages/BackupRestoreConfirmation/res/values/ |
strings.xml | 51 <!-- Text of a toast telling the user that a full backup operation has begun --> 53 <!-- Text of a toast telling the user that a full backup operation has ended --> 55 <!-- Text of a toast telling the user that a full restore operation has begun --> 57 <!-- Text of a toast telling the user that a full restore operation has ended --> 59 <!-- Text of a toast telling the user that the operation has timed out -->
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerActivity.java | 36 import android.widget.Toast; 187 Toast.makeText(this, "Successfully exported data to " + 188 exportFileName, Toast.LENGTH_SHORT).show(); 191 Toast.makeText(this, "Error exporting file: " + 192 e.getLocalizedMessage(), Toast.LENGTH_SHORT).show();
|