Searched refs:makeText (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
H A DTestEnrollmentActivity.java69 Toast.makeText(
73 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show();
84 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show();
89 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.uuid,
93 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show();
104 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show();
114 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.uuid,
118 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show();
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A 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/tests/ActivityTests/src/com/google/android/test/activity/
H A DServiceUserTarget.java32 Toast.makeText(this,
H A DSingleUserService.java32 Toast.makeText(this,
H A DActivityTestMain.java92 Toast.makeText(ActivityTestMain.this,
195 Toast.makeText(ActivityTestMain.this, "Failed to bind",
226 Toast.makeText(ActivityTestMain.this,
269 Toast.makeText(ActivityTestMain.this, "Failed to bind",
293 Toast.makeText(ActivityTestMain.this, "Failed to bind",
/frameworks/base/services/core/java/com/android/server/am/
H A DLockTaskNotify.java59 mLastToast = Toast.makeText(mContext, text, Toast.LENGTH_LONG);
68 Toast.makeText(mContext, mContext.getString(showString), Toast.LENGTH_LONG).show();
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectViewer.java84 Toast.makeText(mContext, R.string.start_activity_failed_message,
178 Toast.makeText(this, R.string.object_saved_message, Toast.LENGTH_SHORT).show();
183 Toast.makeText(this, R.string.save_failed_message, Toast.LENGTH_SHORT).show();
189 Toast.makeText(this, R.string.object_deleted_message, Toast.LENGTH_SHORT).show();
192 Toast.makeText(this, R.string.delete_failed_message, Toast.LENGTH_SHORT).show();
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java90 Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show();
101 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show();
107 Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show();
118 Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show();
124 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show();
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
H A DSampleTrustAgent.java81 Toast.makeText(this, "onTrustTimeout(): timeout expired", Toast.LENGTH_SHORT).show();
87 Toast.makeText(this, "onUnlockAttempt(successful=" + successful + ")",
120 Toast.makeText(context,
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBench.java107 Toast.makeText(getApplicationContext(),
123 Toast.makeText(getApplicationContext(),
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListWithDisappearingItemBug.java44 Toast.makeText(this, "Make sure you rotate screen to see bug", Toast.LENGTH_LONG).show();
/frameworks/base/core/java/android/widget/
H A DToast.java249 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { method in class:Toast
275 public static Toast makeText(Context context, int resId, @Duration int duration) method in class:Toast
277 return makeText(context, context.getResources().getText(resId), duration);
281 * Update the text in a Toast that was previously created using one of the makeText() methods.
289 * Update the text in a Toast that was previously created using one of the makeText() methods.
294 throw new RuntimeException("This Toast was not created with Toast.makeText()");
298 throw new RuntimeException("This Toast was not created with Toast.makeText()");
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java49 Toast.makeText(context, com.android.internal.R.string.low_memory,
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
H A DTestJobService.java92 Toast.makeText(
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
H A DAnimatedGifTest.java101 Toast.makeText(getApplicationContext(),
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java61 Toast.makeText(context, com.android.internal.R.string.low_memory,
/frameworks/base/core/java/com/android/internal/os/storage/
H A DExternalStorageFormatter.java138 Toast.makeText(this, msg, Toast.LENGTH_LONG).show();
182 Toast.makeText(ExternalStorageFormatter.this,
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java304 Toast.makeText(context, R.string.wifi_connected, Toast.LENGTH_SHORT).show();
317 Toast.makeText(context, R.string.lost_connection, Toast.LENGTH_SHORT).show();
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java187 Toast.makeText(this, "Successfully exported data to " +
191 Toast.makeText(this, "Error exporting file: " +
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
118 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
/frameworks/base/core/java/com/android/internal/app/
H A DIntentForwarderActivity.java128 Toast.makeText(this, getString(userMessageId), Toast.LENGTH_LONG).show();
H A DNetInitiatedActivity.java152 Toast.makeText(this, "NI error" /* com.android.internal.R.string.usb_storage_error_message */,
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DCreateDirectoryFragment.java126 Toast.makeText(mActivity, R.string.create_error, Toast.LENGTH_SHORT).show();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DConsole.java76 Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxService.java101 //Toast.makeText(this, R.string.remote_service_stopped, Toast.LENGTH_SHORT).show();
166 Toast.makeText(this, "Task removed: " + rootIntent, Toast.LENGTH_LONG).show();

Completed in 7067 milliseconds

12