Home
last modified time | relevance | path

Searched refs:showToast (Results 1 – 17 of 17) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DSpinner1.java35 void showToast(CharSequence msg) { in showToast() method in Spinner1
53 showToast("Spinner1: position=" + position + " id=" + id); in onCreate()
57 showToast("Spinner1: unselected"); in onCreate()
70 showToast("Spinner2: position=" + position + " id=" + id); in onCreate()
74 showToast("Spinner2: unselected"); in onCreate()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutTemplateListFragment.java45 Global.showToast(getActivity(), "Couldn't start activity: " + e.getMessage()); in onLaunch()
58 Global.showToast(getActivity(), in onActivityResult()
DBaseActivityListFragment.java66 Global.showToast(getContext(), e.getMessage()); in refreshList()
190 Global.showToast(getContext(), e.getMessage()); in onClick()
197 Global.showToast(getContext(), e.getMessage()); in onClick()
DShortcutListFragment.java114 Global.showToast(getContext(), e.getMessage()); in togglePin()
123 Global.showToast(getContext(), e.getMessage()); in launch()
154 Global.showToast(getContext(), message); in refreshList()
DGlobal.java24 public static void showToast(Context context, String message) { in showToast() method in Global
/development/samples/ApiDemos/src/com/example/android/apis/app/
DVoiceRecognition.java189 showToast("Error code:" + getResultCode()); in onReceive()
198 showToast("No extra"); in onReceive()
226 private void showToast(String text) { in showToast() method in VoiceRecognition.SupportedLanguageBroadcastReceiver
DDeviceAdminSample.java1090 void showToast(Context context, String msg) { in showToast() method in DeviceAdminSample.DeviceAdminSampleReceiver
1105 showToast(context, context.getString(R.string.admin_receiver_status_enabled)); in onEnabled()
1115 showToast(context, context.getString(R.string.admin_receiver_status_disabled)); in onDisabled()
1120 showToast(context, context.getString(R.string.admin_receiver_status_pw_changed)); in onPasswordChanged()
1125 showToast(context, context.getString(R.string.admin_receiver_status_pw_failed)); in onPasswordFailed()
1130 showToast(context, context.getString(R.string.admin_receiver_status_pw_succeeded)); in onPasswordSucceeded()
1143 showToast(context, message); in onPasswordExpiring()
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DGeofenceTransitionsIntentService.java107 showToast(this, R.string.exiting_geofence); in onHandleIntent()
116 private void showToast(final Context context, final int resourceId) { in showToast() method in GeofenceTransitionsIntentService
/development/samples/ShortcutDemo/publisher/src/com/example/android/pm/shortcutdemo/
DShortcutPublisher.java160 public static void showToast(Context context, String message) { in showToast() method in ShortcutPublisher
165 showToast(context, in showThrottledToast()
176 showToast(context, r.getMessage()); in callApi()
327 showToast(context, "requestPinShortcut() is not supported by launcher"); in requestPinShortcut()
DRequestPinShortcutResultReceiver.java28 ShortcutPublisher.showToast(context, "Result received"); in onReceive()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DUtils.java27 public static void showToast(Context context, String message) { in showToast() method in Utils
DShortcutHelper.java77 Utils.showToast(mContext, "Call to ShortcutManager is rate-limited"); in callShortcutManager()
81 Utils.showToast(mContext, "Error while calling ShortcutManager: " + e.toString()); in callShortcutManager()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DUtils.java27 public static void showToast(Context context, String message) { in showToast() method in Utils
DMyReceiver.java39 Utils.showToast(context, "Pin request accepted."); in onReceive()
DShortcutHelper.java79 Utils.showToast(mContext, "Call to ShortcutManager is rate-limited"); in callShortcutManager()
83 Utils.showToast(mContext, "Error while calling ShortcutManager: " + e.toString()); in callShortcutManager()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java356 private void showToast(final String text) { in showToast() method in Camera2BasicFragment
723 showToast("Failed"); in createCameraPreviewSession()
838 showToast("Saved: " + mFile); in captureStillPicture()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java568 showToast(sb.toString());
580 showToast("Capture failed!");
964 showToast("Failed to configure camera."); in createCameraPreviewSessionLocked()
1752 private void showToast(String text) {