/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 74 Toast.makeText( in onEnrollButtonClicked() 78 Toast.makeText(this, "Failed to enroll!!!" + modelUuid, Toast.LENGTH_SHORT).show(); in onEnrollButtonClicked() 89 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 94 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.getUuid(), in onUnEnrollButtonClicked() 98 Toast.makeText(this, "Failed to un-enroll!!!", Toast.LENGTH_SHORT).show(); in onUnEnrollButtonClicked() 109 Toast.makeText(this, "Sound model not found!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked() 119 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.getUuid(), in onReEnrollButtonClicked() 123 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SysUIToast.java | 26 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { in makeText() method in SysUIToast 27 return makeText(context, context.getString(resId), duration); in makeText() 30 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in SysUIToast 31 return Toast.makeText(context, text, duration); in makeText()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ToastTest.java | 89 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/core/tests/mockingcoretests/src/android/widget/ |
D | ToastTest.java | 106 Toast t = Toast.makeText(mContext, "Toast1", Toast.LENGTH_SHORT); in enqueueFail_nullifiesNextView() 113 t = Toast.makeText(mContext, "Toast2", Toast.LENGTH_SHORT); in enqueueFail_nullifiesNextView() 130 Toast t = Toast.makeText(mContext, "Toast1", Toast.LENGTH_SHORT); in enqueueFail_doesNotNullifyNextView() 137 t = Toast.makeText(mContext, "Toast2", Toast.LENGTH_SHORT); in enqueueFail_doesNotNullifyNextView()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 84 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/ |
D | BackupRestoreConfirmation.java | 90 … Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); in handleMessage() 101 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); in handleMessage() 107 … Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); in handleMessage() 118 … Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show(); in handleMessage() 124 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show(); in handleMessage()
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MainActivity.java | 228 Toast.makeText(mainActivity.getApplicationContext(), "Encoding Completed", in onPostExecute() 238 Toast.makeText(mainActivity.getApplicationContext(), in onPostExecute() 468 Toast.makeText(MainActivity.this, "Cannot start recording.", Toast.LENGTH_SHORT).show(); in startRecordingVideo() 522 Toast.makeText(MainActivity.this, "Error occurred while setting up the MediaRecorder", in setUpMediaRecorder() 588 Toast.makeText(MainActivity.this, "Recording Finished", Toast.LENGTH_SHORT).show(); in stopRecordingVideo() 618 Toast.makeText(MainActivity.this, in startPreview() 631 Toast.makeText(MainActivity.this, "Camera not found; Cannot update " + "preview", in updatePreview()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 113 Toast.makeText(this, "We need this permission", Toast.LENGTH_LONG).show(); in checkPermission() 136 Toast.makeText(this, "We need permissions", Toast.LENGTH_LONG).show(); in onRequestPermissionsResult()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | HomeActivity.java | 102 … Toast.makeText(HomeActivity.this, "Exporting...", Toast.LENGTH_LONG).show(); in onOptionsItemSelected() 117 Toast.makeText(HomeActivity.this, "Done", Toast.LENGTH_LONG).show(); in onOptionsItemSelected()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | SingleUserService.java | 32 Toast.makeText(this, in onCreate()
|
D | ServiceUserTarget.java | 32 Toast.makeText(this, in onCreate()
|
D | ActivityTestMain.java | 167 Toast.makeText(ActivityTestMain.this, msg, Toast.LENGTH_LONG) 178 Toast.makeText(ActivityTestMain.this, in onReceive() 245 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 280 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 304 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu() 347 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 371 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/App/src/com/android/aapt/namespace/app/ |
D | MainActivity.java | 32 Toast.makeText(this, tv.getTextViewAttr(), Toast.LENGTH_LONG).show(); in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 506 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in Toast 507 return makeText(context, null, text, duration); in makeText() 516 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, in makeText() method in Toast 563 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() method in Toast 565 return makeText(context, context.getResources().getText(resId), duration); in makeText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardToast.java | 42 mCopiedToast = Toast.makeText(mContext, in showCopiedToast()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerActivity.java | 187 Toast.makeText(this, "Successfully exported data to " + in exportFile() 191 Toast.makeText(this, "Error exporting file: " + in exportFile()
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
D | CrashingService.java | 49 Toast.makeText(this, "service starting", Toast.LENGTH_SHORT).show(); in onCreate()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | BubbleActivity.java | 75 Toast.makeText(this, "Activity result: " + result, Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | ScreenPinningNotify.java | 72 Toast toast = SysUIToast.makeText(mContext, resId, Toast.LENGTH_LONG); in makeAllUserToastAndShow()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 75 Toast.makeText(this, "Timeout of observed app\n" + extras, Toast.LENGTH_SHORT).show(); in onCreate() 84 Toast.makeText(this, "Timeout of observed app\n" + extras, Toast.LENGTH_SHORT).show(); in onNewIntent() 286 Toast.makeText(getApplicationContext(), "package name copied to clipboard", in getView()
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 62 final Toast toast = Toast.makeText(this, in onAccessibilityEvent()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 74 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/ |
D | ListWithDisappearingItemBug.java | 44 Toast.makeText(this, "Make sure you rotate screen to see bug", Toast.LENGTH_LONG).show(); in onCreate()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 304 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/packages/EasterEgg/src/com/android/egg/ |
D | ComponentActivationActivity.java | 44 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp()
|