/aosp14/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
H A D | TestEnrollmentActivity.java | 75 this, "Successfully enrolled, model UUID=" + modelUuid, Toast.LENGTH_SHORT) 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() 95 Toast.LENGTH_SHORT) 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() 120 Toast.LENGTH_SHORT) in onReEnrollButtonClicked() 123 Toast.makeText(this, "Failed to re-enroll!!!", Toast.LENGTH_SHORT).show(); in onReEnrollButtonClicked()
|
/aosp14/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A 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); 145 Toast.LENGTH_SHORT);
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | DateUtilsTest.java | 76 assertEquals("0 sec", DateUtils.formatDuration(0, DateUtils.LENGTH_SHORT)); in test_formatDuration_seconds() 77 assertEquals("1 sec", DateUtils.formatDuration(1000, DateUtils.LENGTH_SHORT)); in test_formatDuration_seconds() 78 assertEquals("2 sec", DateUtils.formatDuration(1500, DateUtils.LENGTH_SHORT)); in test_formatDuration_seconds() 95 assertEquals("1 min", DateUtils.formatDuration(60000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Minutes() 96 assertEquals("2 min", DateUtils.formatDuration(120000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Minutes() 111 assertEquals("1 hr", DateUtils.formatDuration(3600000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Hours() 112 assertEquals("48 hr", DateUtils.formatDuration(172800000, DateUtils.LENGTH_SHORT)); in test_formatDuration_Hours()
|
/aosp14/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | ObjectViewer.java | 85 Toast.LENGTH_SHORT).show(); 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()
|
/aosp14/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 168 public static final int LENGTH_SHORT = 30; field in DateUtils 216 case LENGTH_SHORT: // TODO in getDayOfWeekString() 261 case LENGTH_SHORT: in getMonthString() 406 case LENGTH_SHORT: in formatDuration()
|
/aosp14/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
H A D | TrackerActivity.java | 188 exportFileName, Toast.LENGTH_SHORT).show(); in exportFile() 192 e.getLocalizedMessage(), Toast.LENGTH_SHORT).show(); in exportFile()
|
H A D | TrackerService.java | 111 Toast.makeText(this, "Tracking service started", Toast.LENGTH_SHORT); in onStart() 234 Toast.makeText(this, "Tracking service stopped", Toast.LENGTH_SHORT); in onDestroy()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
H A D | ClipboardToast.java | 43 R.string.clipboard_overlay_text_copied, Toast.LENGTH_SHORT); in showCopiedToast()
|
/aosp14/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A 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() 287 Toast.LENGTH_SHORT).show(); in getView()
|
/aosp14/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
H A D | CrashingService.java | 49 Toast.makeText(this, "service starting", Toast.LENGTH_SHORT).show(); in onCreate()
|
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
H A D | BubbleActivity.java | 75 Toast.makeText(this, "Activity result: " + result, Toast.LENGTH_SHORT).show(); in onActivityResult()
|
/aosp14/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
H A D | AELogger.java | 63 eventType + ": " + eventClass, Toast.LENGTH_SHORT); in onAccessibilityEvent()
|
/aosp14/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show(); 118 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
|
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/ |
H A D | ComponentActivationActivity.java | 39 Toast toast = Toast.makeText(this, s, Toast.LENGTH_SHORT); in toastUp()
|
/aosp14/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
H A 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()
|
/aosp14/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
H A D | VolumeShortcutToggleAccessibilityServiceTarget.java | 75 Toast.makeText(getContext(), warningText, Toast.LENGTH_SHORT).show(); in onCheckedFromAccessibilityButton()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | ExpandableNotificationRowDragController.java | 20 import static android.widget.Toast.LENGTH_SHORT; 112 Toast.makeText(mContext, R.string.drag_split_not_supported, LENGTH_SHORT) in startDragAndDrop()
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | VideoViewCaptureActivity.java | 62 "Failed to copy", Toast.LENGTH_SHORT).show(); in onCreate()
|
H A D | GetBitmapSurfaceViewActivity.java | 60 "Failed to copy", Toast.LENGTH_SHORT).show(); in onCreate()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
H A D | SplitScreenController.java | 590 Toast.LENGTH_SHORT).show(); in startShortcut() 621 Toast.LENGTH_SHORT).show(); in startShortcutAndTaskWithLegacyTransition() 655 Toast.LENGTH_SHORT).show(); in startShortcutAndTask() 692 Toast.LENGTH_SHORT).show(); in startIntentAndTaskWithLegacyTransition() 724 Toast.LENGTH_SHORT).show(); in startIntentAndTask() 754 Toast.LENGTH_SHORT).show(); in startIntentsWithLegacyTransition() 796 Toast.LENGTH_SHORT).show(); in startIntents() 845 Toast.LENGTH_SHORT).show(); in startIntent()
|
/aosp14/frameworks/base/core/java/android/database/sqlite/ |
H A D | SqliteWrapper.java | 51 Toast.LENGTH_SHORT).show(); in checkSQLiteException()
|
/aosp14/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
H A D | HandwritingIme.java | 368 Toast.makeText(this, "START HW", Toast.LENGTH_SHORT).show(); in onStartStylusHandwriting() 377 Toast.makeText(this, "Finish HW", Toast.LENGTH_SHORT).show(); in onFinishStylusHandwriting()
|
/aosp14/frameworks/base/core/java/android/provider/ |
H A D | ContactsInternal.java | 81 Toast.LENGTH_SHORT).show(); in startQuickContactWithErrorToastForUser()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbContaminantActivity.java | 94 Toast.LENGTH_SHORT).show(); in onClick()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSFooterViewController.java | 80 Toast.makeText(getContext(), R.string.build_number_copy_toast, Toast.LENGTH_SHORT) in onViewAttached()
|