Home
last modified time | relevance | path

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

123

/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java69 Toast.makeText( in onEnrollButtonClicked()
73 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked()
84 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked()
89 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.uuid, in onUnEnrollButtonClicked()
93 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked()
104 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
114 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.uuid, in onReEnrollButtonClicked()
118 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
/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/packages/SystemUI/src/com/android/systemui/
DSysUIToast.java24 public static Toast makeText(Context context, CharSequence text, int duration) { in makeText() method in SysUIToast
25 Toast toast = Toast.makeText(context, text, duration); in makeText()
/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.java91 … Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); in handleMessage()
102 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); in handleMessage()
108 … Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); in handleMessage()
119 … Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show(); in handleMessage()
125 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show(); in handleMessage()
/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/tests/ActivityTests/src/com/google/android/test/activity/
DServiceUserTarget.java32 Toast.makeText(this, in onCreate()
DSingleUserService.java32 Toast.makeText(this, in onCreate()
DActivityTestMain.java112 Toast.makeText(ActivityTestMain.this, in onReceive()
219 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
254 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
278 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu()
321 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
345 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
/frameworks/base/core/java/android/widget/
DToast.java258 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in Toast
284 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() method in Toast
286 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/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventslogger/
DAELogger.java60 final Toast toast = Toast.makeText(this, in onAccessibilityEvent()
/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/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/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/services/core/java/com/android/server/am/
DLockTaskNotify.java78 Toast toast = Toast.makeText(mContext, text, Toast.LENGTH_LONG); in makeAllUserToastAndShow()
/frameworks/base/core/java/android/provider/
DContactsInternal.java76 Toast.makeText(context, com.android.internal.R.string.quick_contacts_not_available, in startQuickContactWithErrorToastForUser()
/frameworks/base/core/java/android/database/sqlite/
DSqliteWrapper.java49 Toast.makeText(context, com.android.internal.R.string.low_memory, in checkSQLiteException()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java92 Toast.makeText( in onStartJob()
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DSqliteWrapper.java61 Toast.makeText(context, com.android.internal.R.string.low_memory, in checkSQLiteException()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java104 Toast.makeText(getApplicationContext(), in onResume()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java152 … Toast.makeText(this, "NI error" /* com.android.internal.R.string.usb_storage_error_message */, in showNIError()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxService.java166 Toast.makeText(this, "Task removed: " + rootIntent, Toast.LENGTH_LONG).show(); in onTaskRemoved()

123