/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Spinner1.java | 35 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/ |
D | ShortcutTemplateListFragment.java | 45 Global.showToast(getActivity(), "Couldn't start activity: " + e.getMessage()); in onLaunch() 58 Global.showToast(getActivity(), in onActivityResult()
|
D | BaseActivityListFragment.java | 66 Global.showToast(getContext(), e.getMessage()); in refreshList() 190 Global.showToast(getContext(), e.getMessage()); in onClick() 197 Global.showToast(getContext(), e.getMessage()); in onClick()
|
D | ShortcutListFragment.java | 114 Global.showToast(getContext(), e.getMessage()); in togglePin() 123 Global.showToast(getContext(), e.getMessage()); in launch() 154 Global.showToast(getContext(), message); in refreshList()
|
D | Global.java | 24 public static void showToast(Context context, String message) { in showToast() method in Global
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | VoiceRecognition.java | 189 showToast("Error code:" + getResultCode()); in onReceive() 198 showToast("No extra"); in onReceive() 226 private void showToast(String text) { in showToast() method in VoiceRecognition.SupportedLanguageBroadcastReceiver
|
D | DeviceAdminSample.java | 1090 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/ |
D | GeofenceTransitionsIntentService.java | 107 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/ |
D | ShortcutPublisher.java | 160 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()
|
D | RequestPinShortcutResultReceiver.java | 28 ShortcutPublisher.showToast(context, "Result received"); in onReceive()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | Utils.java | 27 public static void showToast(Context context, String message) { in showToast() method in Utils
|
D | ShortcutHelper.java | 77 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/ |
D | Utils.java | 27 public static void showToast(Context context, String message) { in showToast() method in Utils
|
D | MyReceiver.java | 39 Utils.showToast(context, "Pin request accepted."); in onReceive()
|
D | ShortcutHelper.java | 79 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/ |
D | Camera2BasicFragment.java | 356 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/ |
D | Camera2RawFragment.java | 568 showToast(sb.toString()); 580 showToast("Capture failed!"); 964 showToast("Failed to configure camera."); in createCameraPreviewSessionLocked() 1752 private void showToast(String text) {
|