Home
last modified time | relevance | path

Searched refs:makeText (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DToastTest.java89 mToast1 = Toast.makeText(ToastTest.this, text, Toast.LENGTH_SHORT);
97 mToast1 = Toast.makeText(ToastTest.this, "hi 1", Toast.LENGTH_SHORT);
121 mToast2 = Toast.makeText(ToastTest.this, "hi 2", Toast.LENGTH_SHORT);
135 Toast toast = Toast.makeText(ToastTest.this, "LEFT", Toast.LENGTH_SHORT);
144 Toast toast = Toast.makeText(ToastTest.this, "FILL_HORIZONTAL",
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectViewer.java84 Toast.makeText(mContext, R.string.start_activity_failed_message, in onScanCompleted()
178 Toast.makeText(this, R.string.object_saved_message, Toast.LENGTH_SHORT).show(); in importObject()
183 Toast.makeText(this, R.string.save_failed_message, Toast.LENGTH_SHORT).show(); in importObject()
189 Toast.makeText(this, R.string.object_deleted_message, Toast.LENGTH_SHORT).show(); in deleteObject()
192 Toast.makeText(this, R.string.delete_failed_message, Toast.LENGTH_SHORT).show(); in deleteObject()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java89 … Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); in handleMessage()
100 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); in handleMessage()
106 … Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); in handleMessage()
117 … Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show(); in handleMessage()
123 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show(); in handleMessage()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java66 Toast.makeText(ActivityTestMain.this, in onReceive()
169 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
200 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu()
243 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
267 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
DServiceUserTarget.java32 Toast.makeText(this, in onCreate()
DSingleUserService.java32 Toast.makeText(this, in onCreate()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBench.java107 Toast.makeText(getApplicationContext(), in onOptionsItemSelected()
123 Toast.makeText(getApplicationContext(), in onOptionsItemSelected()
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dtoasts.jd36 object with one of the {@link android.widget.Toast#makeText(Context,int,int) makeText()} methods.
47 Toast toast = Toast.makeText(context, text, duration);
57 <pre>Toast.makeText(context, text, duration).show();</pre>
143 {@link android.widget.Toast#makeText(Context,int,int)} to create the Toast.</p>
/frameworks/base/core/java/android/widget/
DToast.java240 public static Toast makeText(Context context, CharSequence text, int duration) { in makeText() method in Toast
266 public static Toast makeText(Context context, int resId, int duration) in makeText() method in Toast
268 return makeText(context, context.getResources().getText(resId), duration); in makeText()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java187 Toast.makeText(this, "Successfully exported data to " + in exportFile()
191 Toast.makeText(this, "Error exporting file: " + in exportFile()
DTrackerService.java111 Toast.makeText(this, "Tracking service started", Toast.LENGTH_SHORT); in onStart()
234 Toast.makeText(this, "Tracking service stopped", Toast.LENGTH_SHORT); in onDestroy()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
118 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java44 Toast.makeText(this, "Make sure you rotate screen to see bug", Toast.LENGTH_LONG).show(); in onCreate()
/frameworks/base/core/java/com/android/internal/os/storage/
DExternalStorageFormatter.java136 Toast.makeText(this, msg, Toast.LENGTH_LONG).show(); in fail()
177 Toast.makeText(ExternalStorageFormatter.this, in updateProgressState()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java304 Toast.makeText(context, R.string.wifi_connected, Toast.LENGTH_SHORT).show(); in onReceive()
317 Toast.makeText(context, R.string.lost_connection, Toast.LENGTH_SHORT).show(); in onReceive()
/frameworks/base/core/java/android/database/sqlite/
DSqliteWrapper.java49 Toast.makeText(context, com.android.internal.R.string.low_memory, in checkSQLiteException()
/frameworks/opt/mms/src/java/com/google/android/mms/util/
DSqliteWrapper.java61 Toast.makeText(context, com.android.internal.R.string.low_memory, in checkSQLiteException()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxService.java166 Toast.makeText(this, "Task removed: " + rootIntent, Toast.LENGTH_LONG).show(); in onTaskRemoved()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java153 … Toast.makeText(this, "NI error" /* com.android.internal.R.string.usb_storage_error_message */, in showNIError()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DCreateDirectoryFragment.java126 Toast.makeText(mActivity, R.string.create_error, Toast.LENGTH_SHORT).show(); in onPostExecute()
/frameworks/base/docs/html/guide/topics/ui/
Dbinding.jd66 Toast.makeText(mContext,"You've got an event",Toast.LENGTH_SHORT).show();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java194 Toast cheatSheet = Toast.makeText(context, mItemData.getTitle(), Toast.LENGTH_SHORT); in onLongClick()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java240 Toast cheatSheet = Toast.makeText(context, mItemData.getTitle(), Toast.LENGTH_SHORT); in onLongClick()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java241 Toast.makeText(getApplicationContext(), "done!", Toast.LENGTH_SHORT).show(); in finishTest()
/frameworks/base/docs/html/training/location/
Dreceive-location-updates.jd253 Toast.makeText(this, "Connected", Toast.LENGTH_SHORT).show();
263 Toast.makeText(this, "Disconnected. Please re-connect.",
336 Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();
549 Toast.makeText(this, "Connected", Toast.LENGTH_SHORT).show();

123