Home
last modified time | relevance | path

Searched refs:makeText (Results 1 – 25 of 164) sorted by relevance

1234567

/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java142 Toast.makeText(WiFiDirectActivity.this, R.string.p2p_off_warning, in onOptionsItemSelected()
153 Toast.makeText(WiFiDirectActivity.this, "Discovery Initiated", in onOptionsItemSelected()
159 Toast.makeText(WiFiDirectActivity.this, "Discovery Failed : " + reasonCode, in onOptionsItemSelected()
188 Toast.makeText(WiFiDirectActivity.this, "Connect failed. Retry.", in connect()
219 Toast.makeText(this, "Channel lost. Trying again", Toast.LENGTH_LONG).show(); in onChannelDisconnected()
224 Toast.makeText(this, in onChannelDisconnected()
251 Toast.makeText(WiFiDirectActivity.this, "Aborting connection", in cancelDisconnect()
257 Toast.makeText(WiFiDirectActivity.this, in cancelDisconnect()
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarFragmentMenu.java147 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()
DActionBarUsage.java77 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
101 Toast.makeText(ActionBarUsage.this,
DToolbarFragmentPagerMenu.java120 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()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DInstallApk.java78 Toast.makeText(this, "Install succeeded!", Toast.LENGTH_SHORT).show(); in onActivityResult()
80 Toast.makeText(this, "Install canceled!", Toast.LENGTH_SHORT).show(); in onActivityResult()
82 Toast.makeText(this, "Install Failed!", Toast.LENGTH_SHORT).show(); in onActivityResult()
86 Toast.makeText(this, "Uninstall succeeded!", Toast.LENGTH_SHORT).show(); in onActivityResult()
88 Toast.makeText(this, "Uninstall canceled!", Toast.LENGTH_SHORT).show(); in onActivityResult()
90 Toast.makeText(this, "Uninstall Failed!", Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DSnackbarUsage.java56 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showAction()
73 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showLongAction()
85 Toast.makeText(SnackbarUsage.this, "Snackbar Action pressed", in showLongLongAction()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DSetupProfileFragment.java82 Toast.makeText(activity, "Device provisioning is not enabled. Stopping.", in provisionManagedProfile()
91 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult()
93 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DSetupProfileFragment.java84 Toast.makeText(activity, "Device provisioning is not enabled. Stopping.", in provisionManagedProfile()
93 Toast.makeText(getActivity(), "Provisioning done.", Toast.LENGTH_SHORT).show(); in onActivityResult()
95 Toast.makeText(getActivity(), "Provisioning failed.", Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShareService.java41 Toast.makeText(ReceiveShareService.this, R.string.preparing_to_process_share, in onHandleIntent()
56 Toast.makeText(ReceiveShareService.this, text, Toast.LENGTH_LONG).show(); in onHandleIntent()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DNotifyWithText.java58 Toast.makeText(NotifyWithText.this, R.string.short_notification_text, in onCreate()
70 Toast.makeText(NotifyWithText.this, R.string.long_notification_text, in onCreate()
DAlarmController.java108 mToast = Toast.makeText(AlarmController.this, R.string.one_shot_scheduled,
140 mToast = Toast.makeText(AlarmController.this, R.string.repeating_scheduled,
162 mToast = Toast.makeText(AlarmController.this, R.string.repeating_unscheduled,
DAlarmService.java72 Toast.makeText(AlarmService.this, R.string.repeating_scheduled,
84 Toast.makeText(AlarmService.this, R.string.repeating_unscheduled,
DActionBarUsage.java68 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
90 Toast.makeText(this, "Searching for: " + query + "...", Toast.LENGTH_SHORT).show(); in onQueryTextSubmit()
DRemoteService.java95 Toast.makeText(this, R.string.remote_service_stopped, Toast.LENGTH_SHORT).show(); in onDestroy()
147 Toast.makeText(this, "Task removed: " + rootIntent, Toast.LENGTH_LONG).show(); in onTaskRemoved()
330 Toast.makeText(Binding.this, R.string.remote_service_connected,
342 Toast.makeText(Binding.this, R.string.remote_service_disconnected,
427 Toast.makeText(Binding.this,
501 Toast.makeText(BindingOptions.this, R.string.remote_service_connected, in onServiceConnected()
510 Toast.makeText(BindingOptions.this, R.string.remote_service_disconnected, in onServiceDisconnected()
515 Toast.makeText(BindingOptions.this, R.string.remote_service_unbind_disconn, in onServiceDisconnected()
DMenuInflateFromXml.java145 Toast.makeText(this, "Jump up in the air!", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
150 Toast.makeText(this, "Dive into the water!", Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
171 Toast.makeText(this, item.getTitle(), Toast.LENGTH_SHORT).show(); in onOptionsItemSelected()
DFragmentContextMenu.java69 Toast.makeText(getActivity(), "Item 1a was chosen", Toast.LENGTH_SHORT).show(); in onContextItemSelected()
72 Toast.makeText(getActivity(), "Item 1b was chosen", Toast.LENGTH_SHORT).show(); in onContextItemSelected()
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmActivity.java108 Toast.makeText(
126 Toast.makeText(
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreviewActivity.java61 Toast.makeText(this, "Camera is not available.", Toast.LENGTH_SHORT).show(); in onCreate()
92 Toast.makeText(this, "Camera " + cameraId + " is not available: " + e.getMessage(), in getCameraInstance()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
DMainActivity.java95 Toast.makeText(this, "Handle SEND and SENDTO intents: " + getIntent().getDataString(), in onCreate()
111 Toast.makeText(this, "Sending text message: " + smsText, Toast.LENGTH_SHORT).show(); in sendSms()
115 Toast.makeText(this, "Not default", Toast.LENGTH_SHORT).show(); in sendSms()
159 Toast.makeText(this, phoneNumberToast, Toast.LENGTH_SHORT).show(); in onResume()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/
DDialogExampleFragment.java59 Toast.makeText(getActivity(), R.string.dialog_example_button_toast_positive_clicked, in onGuidedActionClicked()
62 Toast.makeText(getActivity(), R.string.dialog_example_button_toast_negative_clicked, in onGuidedActionClicked()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList16.java68 Toast.makeText(List16.this, "Shared " + getListView().getCheckedItemCount() + in onActionItemClicked()
73 Toast.makeText(List16.this, "Clicked " + item.getTitle(), in onActionItemClicked()
DList15.java67 Toast.makeText(List15.this, "Shared " + getListView().getCheckedItemCount() + in onActionItemClicked()
72 Toast.makeText(List15.this, "Clicked " + item.getTitle(), in onActionItemClicked()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatFragment.java99 Toast.makeText(activity, "Bluetooth is not available", Toast.LENGTH_LONG).show(); in onCreate()
210 Toast.makeText(getActivity(), R.string.not_connected, Toast.LENGTH_SHORT).show(); in sendMessage()
314 Toast.makeText(activity, "Connected to "
320 Toast.makeText(activity, msg.getData().getString(Constants.TOAST),
350 Toast.makeText(getActivity(), R.string.bt_not_enabled_leaving, in onActivityResult()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java97 Toast.makeText(this, "Bluetooth is not available", Toast.LENGTH_LONG).show(); in onCreate()
203 Toast.makeText(this, R.string.not_connected, Toast.LENGTH_SHORT).show(); in sendMessage()
279 Toast.makeText(getApplicationContext(), "Connected to "
283 Toast.makeText(getApplicationContext(), msg.getData().getString(TOAST),
313 Toast.makeText(this, R.string.bt_not_enabled_leaving, Toast.LENGTH_SHORT).show(); in onActivityResult()
/development/samples/browseable/BorderlessButtons/src/com.example.android.borderlessbuttons/
DMainActivity.java92 Toast.makeText(MainActivity.this,
102 Toast.makeText(MainActivity.this,

1234567