Searched refs:showToast (Results 1 – 10 of 10) sorted by relevance
25 fun Activity.showToast(text: String) { in Activity() method
139 showToast(getString(R.string.all_jobs_cancelled)) in cancelAllJobs()153 showToast(getString(R.string.cancelled_job, id)) in finishJob()155 showToast(getString(R.string.no_jobs_to_cancel)) in finishJob()
32 fun FragmentActivity.showToast(text: String) { in FragmentActivity() method
536 activity.showToast("Failed") in createCameraPreviewSession()646 activity.showToast("Saved: $file") in captureStillPicture()
27 public static void showToast(Context context, String message) { in showToast() method in Utils
77 Utils.showToast(mContext, "Call to ShortcutManager is rate-limited"); in callShortcutManager()81 Utils.showToast(mContext, "Error while calling ShortcutManager: " + e.toString()); in callShortcutManager()
107 showToast(this, R.string.exiting_geofence); in onHandleIntent()116 private void showToast(final Context context, final int resourceId) { in showToast() method in GeofenceTransitionsIntentService
356 showToast("Cannot access the camera.") in openCamera()410 if (activity != null) showToast("Failed") in startPreview()550 if (activity != null) showToast("Failed") in startRecordingVideo()574 if (activity != null) showToast("Video saved: $nextVideoAbsolutePath") in stopRecordingVideo()579 private fun showToast(message : String) = Toast.makeText(activity, message, LENGTH_SHORT).show() in showToast() method
356 private void showToast(final String text) { in showToast() method in Camera2BasicFragment723 showToast("Failed"); in createCameraPreviewSession()838 showToast("Saved: " + mFile); in captureStillPicture()
569 showToast(sb.toString());581 showToast("Capture failed!");966 showToast("Failed to configure camera."); in createCameraPreviewSessionLocked()1754 private void showToast(String text) {