/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/ |
D | TestEnrollmentActivity.java | 69 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/ |
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 Toast toast = Toast.makeText(context, text, duration); in makeText()
|
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/ |
D | MainActivity.java | 204 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/ |
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/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
D | TextListItemActivity.java | 99 Toast.makeText(mContext, "Clicked!", Toast.LENGTH_SHORT).show(); 103 Toast.makeText(v.getContext(), 164 v -> Toast.makeText( in SampleProvider() 167 v -> Toast.makeText( in SampleProvider() 175 v -> Toast.makeText( in SampleProvider() 178 v -> Toast.makeText( in SampleProvider() 187 v -> Toast.makeText( in SampleProvider() 190 v -> Toast.makeText( in SampleProvider() 231 Toast.makeText(v.getContext(), String.format("%s x %s dp", pixelToDip(c, size.x), in SampleProvider() 245 Toast.makeText(v.getContext(), in SampleProvider() [all …]
|
D | SeekbarListItemActivity.java | 61 Toast.makeText(mContext, "" + progress, Toast.LENGTH_SHORT).show(); 129 item.setPrimaryActionIconListener(v -> Toast.makeText(mContext, in SampleProvider() 155 item.setSupplementalIconListener(v -> Toast.makeText(mContext, in SampleProvider()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
D | ActionBarFragmentMenu.java | 147 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 151 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 187 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 207 Toast.makeText(getActivity(), "Created nested fragment's menu.", in onCreateOptionsMenu() 215 Toast.makeText(getActivity(), "Destroyed nested fragment's menu.", in onDestroyOptionsMenu() 222 Toast.makeText(getActivity(), "Prepared nested fragment's menu.", in onPrepareOptionsMenu() 230 Toast.makeText(getActivity(), "Selected nested fragment's menu item.", in onOptionsItemSelected()
|
D | ToolbarFragmentPagerMenu.java | 120 Toast.makeText(getActivity(), "Selected Menu 1a.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 124 Toast.makeText(getActivity(), "Selected Menu 1b.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 162 Toast.makeText(getActivity(), "Selected Menu 2.", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarUsage.java | 82 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected() 106 Toast.makeText(ActionBarUsage.this,
|
D | ActionBarPreferences.java | 46 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
D | ActionBarMechanics.java | 70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
|
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/ |
D | SnackbarUsage.java | 57 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showAction() 74 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showLongAction() 86 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showLongLongAction()
|
/frameworks/support/core/ktx/src/main/java/androidx/core/widget/ |
D | Toast.kt | 31 return Toast.makeText(this, text, duration).apply { show() } in toast() 41 return Toast.makeText(this, resId, duration).apply { show() } in toast()
|
/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 | 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/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/ |
D | SliceBroadcastReceiver.java | 53 Toast.makeText(context, message, Toast.LENGTH_SHORT).show(); in onReceive() 57 Toast.makeText(context, "value: " + range, Toast.LENGTH_SHORT).show(); in onReceive()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 269 public static Toast makeText(Context context, CharSequence text, @Duration int duration) { in makeText() method in Toast 270 return makeText(context, null, text, duration); in makeText() 278 public static Toast makeText(@NonNull Context context, @Nullable Looper looper, in makeText() method in Toast 305 public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) in makeText() method in Toast 307 return makeText(context, context.getResources().getText(resId), duration); in makeText()
|
/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 | 100 … Toast.makeText(HomeActivity.this, "Exporting...", Toast.LENGTH_LONG).show(); in onOptionsItemSelected() 115 Toast.makeText(HomeActivity.this, "Done", Toast.LENGTH_LONG).show(); in onOptionsItemSelected()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 113 Toast.makeText(ActivityTestMain.this, in onReceive() 180 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 215 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 239 Toast.makeText(ActivityTestMain.this, in onCreateOptionsMenu() 282 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu() 306 Toast.makeText(ActivityTestMain.this, "Failed to bind", in onCreateOptionsMenu()
|
D | SingleUserService.java | 32 Toast.makeText(this, in onCreate()
|
D | ServiceUserTarget.java | 32 Toast.makeText(this, in onCreate()
|
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/ |
D | VideoViewTest.java | 150 Toast.makeText(this, "speed rate: " + String.format("%.2f", mSpeed), Toast.LENGTH_SHORT) in onTouchEvent() 281 Toast.makeText(this, "switch to TextureView", Toast.LENGTH_SHORT).show(); in onConfigurationChanged() 285 Toast.makeText(this, "switch to SurfaceView", Toast.LENGTH_SHORT).show(); in onConfigurationChanged()
|
/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/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()
|