/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 30 import android.widget.Toast; 69 Toast.makeText( in onEnrollButtonClicked() 70 this, "Successfully enrolled, model UUID=" + modelUuid, Toast.LENGTH_SHORT) 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() 90 Toast.LENGTH_SHORT) 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() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ToastTest.java | 32 import android.widget.Toast; 44 Toast mToast1; 45 Toast mToast2; 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", 145 Toast.LENGTH_SHORT);
|
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/ |
D | MainActivity.java | 31 import android.widget.Toast; 204 Toast.makeText( in onCreate() 205 MainActivity.this, "Config pushed", Toast.LENGTH_LONG).show(); in onCreate() 207 Toast.makeText(MainActivity.this, "Config push FAILED!", in onCreate() 208 Toast.LENGTH_LONG).show(); in onCreate() 212 Toast.makeText(MainActivity.this, "failed to read config", Toast.LENGTH_LONG); in onCreate() 229 Toast.makeText(MainActivity.this, in onCreate() 230 "Receiver specified to pending intent", Toast.LENGTH_LONG) in onCreate() 233 Toast.makeText(MainActivity.this, "Statsd did not set receiver", in onCreate() 234 Toast.LENGTH_LONG) in onCreate() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SysUIToast.java | 18 import static android.widget.Toast.Duration; 23 import android.widget.Toast; 27 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { in makeText() 31 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() 32 Toast toast = Toast.makeText(context, text, duration); in makeText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScreenPinningNotify.java | 22 import android.widget.Toast; 36 private Toast mLastToast; 71 private Toast makeAllUserToastAndShow(int resId) { in makeAllUserToastAndShow() 72 Toast toast = SysUIToast.makeText(mContext, resId, Toast.LENGTH_LONG); in makeAllUserToastAndShow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenRecordDialog.java | 29 import android.widget.Toast; 102 Toast.makeText(this, in onActivityResult() 104 Toast.LENGTH_SHORT).show(); in onActivityResult() 111 Toast.makeText(this, in onActivityResult() 113 Toast.LENGTH_SHORT).show(); in onActivityResult() 125 Toast.makeText(this, in onActivityResult() 127 Toast.LENGTH_SHORT).show(); in onActivityResult()
|
D | RecordingService.java | 45 import android.widget.Toast; 145 Toast.makeText(this, R.string.screenrecord_delete_error, Toast.LENGTH_LONG) in onStartCommand() 148 Toast.makeText(this, R.string.screenrecord_cancel_success, Toast.LENGTH_LONG) in onStartCommand() 196 Toast.makeText( in onStartCommand() 199 Toast.LENGTH_LONG).show(); in onStartCommand() 428 Toast.makeText(this, R.string.screenrecord_delete_error, Toast.LENGTH_LONG) in saveRecording()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectViewer.java | 36 import android.widget.Toast; 84 Toast.makeText(mContext, R.string.start_activity_failed_message, in onScanCompleted() 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()
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 38 import android.widget.Toast; 94 … Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show(); in handleMessage() 105 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show(); in handleMessage() 111 … Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show(); in handleMessage() 122 … Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show(); in handleMessage() 128 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show(); in handleMessage()
|
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/ |
D | AELogger.java | 21 import android.widget.Toast; 62 final Toast toast = Toast.makeText(this, in onAccessibilityEvent() 63 eventType + ": " + eventClass, Toast.LENGTH_SHORT); in onAccessibilityEvent()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | SingleUserService.java | 24 import android.widget.Toast; 32 Toast.makeText(this, in onCreate() 34 Toast.LENGTH_LONG).show(); in onCreate()
|
D | ServiceUserTarget.java | 24 import android.widget.Toast; 32 Toast.makeText(this, in onCreate() 34 Toast.LENGTH_LONG).show(); in onCreate()
|
D | ActivityTestMain.java | 53 import android.widget.Toast; 166 Toast.makeText(ActivityTestMain.this, msg, Toast.LENGTH_LONG) 177 Toast.makeText(ActivityTestMain.this, in onReceive() 180 Toast.LENGTH_LONG).show(); in onReceive() 244 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 245 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu() 279 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 280 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu() 303 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu() 306 Toast.LENGTH_LONG).show(); in onCreateOptionsMenu() [all …]
|
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/App/src/com/android/aapt/namespace/app/ |
D | MainActivity.java | 20 import android.widget.Toast; 32 Toast.makeText(this, tv.getTextViewAttr(), Toast.LENGTH_LONG).show(); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | ForcedResizableInfoActivityController.java | 28 import android.widget.Toast; 123 Toast.makeText(mContext, R.string.dock_non_resizeble_failed_to_dock_text, in activityDismissingDockedStack() 124 Toast.LENGTH_SHORT).show(); in activityDismissingDockedStack() 128 Toast.makeText(mContext, R.string.activity_launch_on_secondary_display_failed_text, in activityLaunchOnSecondaryDisplayFailed() 129 Toast.LENGTH_SHORT).show(); in activityLaunchOnSecondaryDisplayFailed()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 30 import android.widget.Toast; 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 | 29 import android.widget.Toast; 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/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
D | CrashingService.java | 27 import android.widget.Toast; 49 Toast.makeText(this, "service starting", Toast.LENGTH_SHORT).show(); in onCreate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | InfoMediaDevice.java | 20 import android.widget.Toast; 68 Toast.makeText(mContext, "This is cast device !", Toast.LENGTH_SHORT).show(); in connect()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerActivity.java | 36 import android.widget.Toast; 187 Toast.makeText(this, "Successfully exported data to " + in exportFile() 188 exportFileName, Toast.LENGTH_SHORT).show(); in exportFile() 191 Toast.makeText(this, "Error exporting file: " + in exportFile() 192 e.getLocalizedMessage(), Toast.LENGTH_SHORT).show(); in exportFile()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 71 public class Toast { class 111 public Toast(Context context) { in Toast() method in Toast 119 public Toast(@NonNull Context context, @Nullable Looper looper) { in Toast() method in Toast 275 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() 284 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, in makeText() 286 Toast result = new Toast(context, looper); in makeText() 311 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() 502 Toast.LENGTH_LONG ? LONG_DURATION_TIMEOUT : SHORT_DURATION_TIMEOUT; in handleShow()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListWithDisappearingItemBug.java | 31 import android.widget.Toast; 44 Toast.makeText(this, "Make sure you rotate screen to see bug", Toast.LENGTH_LONG).show(); in onCreate()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 42 import android.widget.Toast; 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() 287 Toast.LENGTH_SHORT).show(); in getView()
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 34 import android.widget.Toast; 74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show(); 118 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | VideoViewCaptureActivity.java | 29 import android.widget.Toast; 61 Toast.makeText(VideoViewCaptureActivity.this, in onCreate() 62 "Failed to copy", Toast.LENGTH_SHORT).show(); in onCreate()
|