Home
last modified time | relevance | path

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

1234

/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/packages/SystemUI/src/com/android/systemui/
DSysUIToast.java27 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) { in makeText() method in SysUIToast
28 return makeText(context, context.getString(resId), duration); in makeText()
31 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in SysUIToast
32 Toast toast = Toast.makeText(context, text, duration); in makeText()
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DMainActivity.java204 Toast.makeText( in onCreate()
207 Toast.makeText(MainActivity.this, "Config push FAILED!", in onCreate()
212 Toast.makeText(MainActivity.this, "failed to read config", Toast.LENGTH_LONG); in onCreate()
229 Toast.makeText(MainActivity.this, in onCreate()
233 Toast.makeText(MainActivity.this, "Statsd did not set receiver", in onCreate()
239 Toast.makeText(MainActivity.this, "failed to set receiver", Toast.LENGTH_LONG); in onCreate()
253 Toast.makeText(MainActivity.this, "Receiver remove", Toast.LENGTH_LONG) in onCreate()
256 Toast.makeText(MainActivity.this, "Statsd did not remove receiver", in onCreate()
262 Toast.makeText( in onCreate()
273 Toast.makeText(MainActivity.this, "Statsd NOT running!", Toast.LENGTH_LONG).show(); in statsdRunning()
[all …]
/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/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/SystemUI/src/com/android/systemui/screenrecord/
DScreenRecordDialog.java102 Toast.makeText(this, in onActivityResult()
111 Toast.makeText(this, in onActivityResult()
125 Toast.makeText(this, in onActivityResult()
DRecordingService.java145 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()
428 Toast.makeText(this, R.string.screenrecord_delete_error, Toast.LENGTH_LONG) in saveRecording()
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
DBackupRestoreConfirmation.java94 … 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/core/java/android/widget/
DToast.java275 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in Toast
276 return makeText(context, null, text, duration); in makeText()
284 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, in makeText() method in Toast
311 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() method in Toast
313 return makeText(context, context.getResources().getText(resId), duration); in makeText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java123 Toast.makeText(mContext, R.string.dock_non_resizeble_failed_to_dock_text, in activityDismissingDockedStack()
128 Toast.makeText(mContext, R.string.activity_launch_on_secondary_display_failed_text, in activityLaunchOnSecondaryDisplayFailed()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java113 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/
DHomeActivity.java102 … 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/
DActivityTestMain.java166 Toast.makeText(ActivityTestMain.this, msg, Toast.LENGTH_LONG)
177 Toast.makeText(ActivityTestMain.this, in onReceive()
244 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
279 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
303 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu()
346 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
370 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
DSingleUserService.java32 Toast.makeText(this, in onCreate()
DServiceUserTarget.java32 Toast.makeText(this, in onCreate()
/frameworks/base/tools/aapt2/integration-tests/NamespaceTest/App/src/com/android/aapt/namespace/app/
DMainActivity.java32 Toast.makeText(this, tv.getTextViewAttr(), Toast.LENGTH_LONG).show(); in onCreate()
/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()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java75 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/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DCrashingService.java49 Toast.makeText(this, "service starting", Toast.LENGTH_SHORT).show(); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaDevice.java68 Toast.makeText(mContext, "This is cast device !", Toast.LENGTH_SHORT).show(); in connect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScreenPinningNotify.java72 Toast toast = SysUIToast.makeText(mContext, resId, Toast.LENGTH_LONG); in makeAllUserToastAndShow()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java62 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()

1234