Home
last modified time | relevance | path

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

/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DNavigationViewUsageBase.java63 showToast(R.string.navigation_sub_item_1); in handleNavigationItemSelected()
66 showToast(R.string.navigation_sub_item_2); in handleNavigationItemSelected()
69 showToast(R.string.navigation_item_with_icon); in handleNavigationItemSelected()
72 showToast(R.string.navigation_item_without_icon); in handleNavigationItemSelected()
79 private void showToast(int res) { in showToast() method in NavigationViewUsageBase
/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/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/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) {